:root {
  --primary-blue: #0D4988;
  --accent-gold: #F5B014;
  --dark-blue: #061B36;
  --light-gray: #F9FAFB;
  --white: #FFFFFF;
  --text-dark: #1F2937;
  --text-muted: #6B7280;
  
  --font-main: 'Tajawal', 'Cairo', system-ui, sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 25px 35px -5px rgba(13, 73, 136, 0.15);
  
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-main);
  background-color: var(--light-gray);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--dark-blue);
  flex-shrink: 0;
}

.nav-logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
}

/* Navbar Buttons & Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-nav-login {
  background: transparent;
  color: var(--primary-blue);
  border: 1.5px solid var(--primary-blue);
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-nav-login:hover {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(13, 73, 136, 0.2);
  transform: translateY(-1px);
}

.btn-nav-join {
  background: var(--accent-gold);
  color: var(--dark-blue);
  border: 1.5px solid var(--accent-gold);
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(245, 176, 20, 0.25);
  text-decoration: none;
}

.btn-nav-join:hover {
  background: transparent;
  color: var(--dark-blue);
  border-color: var(--dark-blue);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 176, 20, 0.35);
}

.btn-nav-profile {
  background: #10B981;
  color: var(--white);
  border: 1.5px solid #10B981;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-nav-profile:hover {
  background: #059669;
  border-color: #059669;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-nav-logout {
  background: transparent;
  color: #EF4444;
  border: 1.5px solid #EF4444;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-nav-logout:hover {
  background: #EF4444;
  color: var(--white);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-blue);
  cursor: pointer;
}

/* Buttons */
.btn-primary {
  background: var(--accent-gold);
  color: var(--dark-blue);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s;
  border: 2px solid var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(245, 176, 20, 0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  color: var(--white);
  border: 2px solid var(--white);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--dark-blue);
}

.btn-large {
  padding: 14px 32px;
  font-size: 1.1rem;
}

.btn-outline {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}
.btn-outline.disabled {
  border-color: var(--text-muted);
  color: var(--text-muted);
  pointer-events: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80') center/cover;
  opacity: 0.15;
  mix-blend-mode: overlay;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
  opacity: 0.18;
  filter: blur(25px);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}
.shape-1 { top: 10%; right: 10%; width: 380px; height: 380px; animation: float 12s infinite alternate ease-in-out; }
.shape-2 { bottom: -10%; left: -5%; width: 450px; height: 450px; background: radial-gradient(circle, #3B82F6 0%, transparent 70%); animation: float 16s infinite alternate-reverse ease-in-out; }
.shape-3 { top: 40%; left: 30%; width: 220px; height: 220px; background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%); animation: float 14s infinite alternate ease-in-out; }

@keyframes float {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(0, -35px, 0) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
}

.hero-text-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badges-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-patronage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 176, 20, 0.18);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(245, 176, 20, 0.2);
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--accent-gold);
  text-shadow: 0 0 20px rgba(245, 176, 20, 0.4);
}

.hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Glassmorphism About Section */
.about-section {
  padding: 100px 0;
  background: var(--light-gray);
  margin-top: -80px;
  position: relative;
  z-index: 20;
}

.glass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
  transform: translateY(-15px);
}

.main-glass-card {
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  box-shadow: 0 20px 40px rgba(13, 73, 136, 0.3);
  transform: scale(1.05);
}
.main-glass-card:hover {
  transform: scale(1.05) translateY(-10px);
}

.glass-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--accent-gold);
}
.glass-card:not(.main-glass-card) .glass-icon {
  color: var(--primary-blue);
}

.glass-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: inherit;
}

/* Strategic Goals List inside Main Glass Card */
.strategic-goals-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
  margin-top: 15px;
}

.goal-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.25s ease, background 0.25s ease;
}

.goal-item:hover {
  transform: translateX(-4px);
  background: rgba(255, 255, 255, 0.18);
}

.goal-item i {
  color: var(--accent-gold);
  font-size: 1.15rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.goal-item strong {
  display: block;
  font-size: 0.98rem;
  color: var(--accent-gold);
  margin-bottom: 2px;
}

.goal-item span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

/* Operational Performance & Stats Section */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--light-gray) 0%, #edf2f7 100%);
}

.stats-hero-banner {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  box-shadow: 0 15px 35px rgba(13, 73, 136, 0.2);
  margin-bottom: 35px;
  border: 1px solid rgba(245, 176, 20, 0.3);
  text-align: center;
}

.stats-hero-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(245, 176, 20, 0.2);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.stats-hero-number {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--accent-gold);
  font-family: var(--font-main);
}

.stats-hero-label {
  display: block;
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 600;
  margin-top: 4px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 176, 20, 0.4);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(13, 73, 136, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  background: var(--primary-blue);
  color: var(--white);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--dark-blue);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.4;
}

/* Courses & Events (Tabs) */
.courses-section {
  padding: 100px 0;
  background: var(--white);
}

.tabs-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.tab-btn {
  background: var(--light-gray);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn.active {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 8px 15px rgba(13, 73, 136, 0.2);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.course-img-wrapper {
  position: relative;
  height: 200px;
}

.course-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-badge {
  position: absolute;
  top: 15px; right: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

.badge-active { background: #10B981; }
.badge-closed { background: #EF4444; }

.course-details {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-details h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark-blue);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-details p,
.course-short-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-footer-row {
  margin-top: auto;
  display: flex;
  width: 100%;
}

.course-footer-row .btn-outline {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Strategic Pillars Section (8 Pillars) */
.pillars-section {
  padding: 90px 0;
  background: var(--white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  border: 1px solid rgba(13, 73, 136, 0.08);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
  background: var(--white);
  border-color: rgba(245, 176, 20, 0.35);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(13, 73, 136, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
  background: var(--primary-blue);
  color: var(--accent-gold);
}

.pillar-content h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 4px;
}

.pillar-subtitle {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(245, 176, 20, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.pillar-content p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Ideology, Inclusion & Operational Policies Section */
.ideology-section {
  padding: 90px 0;
  background: var(--light-gray);
}

.ideology-tabs-wrapper {
  max-width: 1050px;
  margin: 0 auto;
}

.ideology-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.ideology-tab-btn {
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-main);
}

.ideology-tab-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.ideology-tab-btn.active {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
  box-shadow: 0 8px 20px rgba(13, 73, 136, 0.25);
}

.ideology-tab-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.ideology-tab-content.active {
  display: block;
}

/* Tab 1: Ideology Cards */
.ideology-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ideology-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  border-right: 4px solid var(--primary-blue);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ideology-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ideology-card-wide {
  grid-column: span 2;
  border-right-color: var(--accent-gold);
}

.ideology-card-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: rgba(13, 73, 136, 0.15);
  position: absolute;
  top: 16px;
  left: 18px;
  font-family: var(--font-main);
}

.ideology-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 8px;
}

.ideology-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Tab 2: Inclusion Showcase */
.inclusion-showcase {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.inclusion-hero-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, rgba(13, 73, 136, 0.06), rgba(245, 176, 20, 0.08));
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 28px;
  border: 1px solid rgba(13, 73, 136, 0.12);
}

.inclusion-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.inclusion-hero-text h3 {
  font-size: 1.4rem;
  color: var(--dark-blue);
  margin-bottom: 6px;
  font-weight: 800;
}

.inclusion-hero-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.inclusion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.inclusion-item {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.inclusion-item:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.inc-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 176, 20, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.inc-text h4 {
  font-size: 1.05rem;
  color: var(--dark-blue);
  font-weight: 700;
  margin-bottom: 6px;
}

.inc-text p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Tab 3: Policies Cards */
.policies-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.policy-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--accent-gold);
  transition: all 0.3s ease;
}

.policy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.policy-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(13, 73, 136, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.policy-card:hover .policy-icon {
  background: var(--primary-blue);
  color: var(--white);
}

.policy-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 8px;
}

.policy-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Masonry Gallery */
.gallery-section {
  padding: 100px 0;
  background: var(--white);
}

.masonry-gallery {
  column-count: 3;
  column-gap: 20px;
}

.gallery-item {
  position: relative;
  margin-bottom: 20px;
  break-inside: avoid;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(245, 176, 20, 0.25);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(6, 27, 54, 0.95), rgba(6, 27, 54, 0.65));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 15px;
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  transform: translateY(15px);
  transition: transform 0.3s ease;
}

.gallery-overlay .album-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 176, 20, 0.2);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: translateY(15px);
  transition: transform 0.3s ease 0.05s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-item:hover .gallery-overlay span,
.gallery-item:hover .gallery-overlay .album-badge {
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.show { display: flex; }
.lightbox-content { max-width: 90%; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  color: white; font-size: 40px; cursor: pointer;
}

/* Committees Section */
.committees-section {
  padding: 100px 0;
  background: var(--light-gray);
}

.committees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.committee-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 25px;
  border-right: 4px solid var(--accent-gold);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.committee-card:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.com-icon {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

/* Values */
.values-section {
  padding: 80px 0;
  background: var(--dark-blue);
  color: var(--white);
}

.values-section .section-header h2 {
  color: var(--white);
}

.values-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.value-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  backdrop-filter: blur(5px);
  transition: all 0.3s;
}

.value-badge:hover {
  background: var(--accent-gold);
  color: var(--dark-blue);
  border-color: var(--accent-gold);
  transform: scale(1.1);
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 100%);
  text-align: center;
  color: var(--white);
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Footer */
.footer {
  background: #041224;
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.footer-about p {
  color: var(--text-muted);
  max-width: 400px;
}

.footer h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: var(--accent-gold);
  padding-right: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--accent-gold);
  color: var(--dark-blue);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .glass-grid { grid-template-columns: 1fr; }
  .main-glass-card { transform: none; }
  .main-glass-card:hover { transform: translateY(-10px); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-about p { margin: 0 auto; }
  .social-icons { justify-content: center; }
  .masonry-gallery { column-count: 2; }
}

/* Login Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.login-modal-box {
  background: var(--white);
  width: 90%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  position: relative;
  transform: translateY(30px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-overlay.active .login-modal-box {
  transform: translateY(0);
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal-btn:hover {
  color: var(--error-color);
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-header img {
  height: 60px;
  margin-bottom: 15px;
}

.login-header h3 {
  color: var(--dark-blue);
  font-size: 1.5rem;
}

.login-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark-blue);
}

.login-form input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-md);
  font-family: 'Cairo', sans-serif;
  transition: border-color 0.3s;
}

.login-form input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(13, 73, 136, 0.1);
}

.login-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.login-footer a {
  color: var(--accent-gold);
  font-weight: 700;
  text-decoration: none;
}

.w-100 {
  width: 100%;
}

@media (max-width: 1150px) and (min-width: 769px) {
  .nav-links {
    gap: 12px;
  }
  .nav-link {
    font-size: 0.86rem;
  }
  .btn-nav-login,
  .btn-nav-join,
  .btn-nav-profile,
  .btn-nav-logout {
    padding: 7px 12px;
    font-size: 0.82rem;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }
  .nav-container {
    height: 64px;
  }
  .nav-logo {
    font-size: 1.25rem;
    gap: 8px;
  }
  .nav-logo img {
    height: 38px;
  }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 18px 20px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 18px 18px;
    gap: 10px;
    display: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-link {
    width: 100%;
    padding: 6px 10px;
    font-size: 0.95rem;
  }
  .nav-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
  .btn-nav-login,
  .btn-nav-join,
  .btn-nav-profile,
  .btn-nav-logout,
  .nav-cta {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.92rem;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 1.35rem;
  }

  /* Section Spacing & Headers */
  .section,
  .about-section,
  .courses-section,
  .services-section,
  .gallery-section,
  .committees-section,
  .values-section,
  .cta-section {
    padding: 42px 0;
  }

  .about-section {
    margin-top: -20px;
  }

  .section-header {
    margin-bottom: 26px;
  }
  .section-header h2 {
    font-size: 1.55rem;
    margin-bottom: 10px;
    line-height: 1.35;
  }
  .section-header h2::after {
    width: 50px;
    height: 3px;
    bottom: -6px;
  }
  .section-header p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 100%;
  }

  /* Hero Section */
  .hero-section {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 48px;
  }
  .hero-badges-wrapper {
    gap: 8px;
    margin-bottom: 14px;
  }
  .hero-patronage-badge {
    font-size: 0.78rem;
    padding: 4px 12px;
  }
  .hero-badge {
    font-size: 0.8rem;
    padding: 5px 14px;
    margin-bottom: 0;
  }
  .hero-title {
    font-size: 1.95rem;
    line-height: 1.25;
    margin-bottom: 14px;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 24px;
    opacity: 0.95;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .btn-large {
    padding: 11px 22px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
  .shape-1 { width: 180px; height: 180px; }
  .shape-2 { width: 220px; height: 220px; }

  /* Vision & Mission Cards - 2 Columns (Side by side in Row 1, Goals below in Row 2) */
  .glass-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    align-items: stretch;
  }
  .glass-card {
    padding: 16px 12px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .glass-icon {
    font-size: 1.7rem;
    margin-bottom: 8px;
  }
  .glass-card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }
  .glass-card p {
    font-size: 0.8rem;
    line-height: 1.45;
  }
  .card-vision {
    order: 1;
    height: 100%;
  }
  .card-mission {
    order: 2;
    height: 100%;
  }
  .card-goals,
  .main-glass-card {
    order: 3;
    grid-column: span 2;
    transform: none !important;
    box-shadow: var(--shadow-md);
    padding: 18px 14px;
    margin-top: 4px;
  }
  .strategic-goals-grid {
    gap: 8px;
    margin-top: 10px;
  }
  .goal-item {
    padding: 8px 10px;
    gap: 8px;
  }
  .goal-item i {
    font-size: 0.95rem;
    margin-top: 2px;
  }
  .goal-item strong {
    font-size: 0.82rem;
    margin-bottom: 2px;
  }
  .goal-item span {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  /* Tabs & Courses Cards - 2 Columns */
  .tabs-container {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
  }
  .tab-btn {
    padding: 8px 12px;
    font-size: 0.84rem;
    flex: 1;
    max-width: 170px;
    text-align: center;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .course-card {
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
  }
  .course-img-wrapper {
    height: 115px !important;
  }
  .course-badge {
    top: 6px !important;
    right: 6px !important;
    padding: 2px 7px !important;
    font-size: 0.68rem !important;
    border-radius: 8px !important;
  }
  .course-details {
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .course-details h3 {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.3em;
  }
  .course-details p,
  .course-short-desc {
    font-size: 0.74rem !important;
    line-height: 1.38 !important;
    margin: 0 0 10px 0 !important;
    color: var(--text-muted) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .course-footer-row {
    margin-top: auto;
    width: 100%;
    display: flex;
  }
  .course-footer-row .btn-outline {
    padding: 6px 8px;
    font-size: 0.74rem;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    display: block;
    box-sizing: border-box;
  }

  /* Stats Section - Mobile 2 Columns */
  .stats-section {
    padding: 38px 0;
  }
  .stats-hero-banner {
    padding: 16px 14px;
    gap: 12px;
    margin-bottom: 16px;
    border-radius: 14px;
    flex-direction: row;
    text-align: right;
  }
  .stats-hero-icon {
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
  }
  .stats-hero-number {
    font-size: 1.85rem;
  }
  .stats-hero-label {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 14px 10px;
    border-radius: 12px;
  }
  .stat-icon {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
    margin-bottom: 6px;
  }
  .stat-number {
    font-size: 1.35rem;
    margin-bottom: 2px;
  }
  .stat-label {
    font-size: 0.74rem;
    line-height: 1.3;
  }

  /* Pillars Section - Mobile 2 Columns */
  .pillars-section {
    padding: 38px 0;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .pillar-card {
    padding: 14px 10px;
    border-radius: 12px;
  }
  .pillar-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .pillar-content h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 2px;
  }
  .pillar-subtitle {
    font-size: 0.68rem;
    padding: 1px 6px;
    margin-bottom: 6px;
  }
  .pillar-content p {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  /* Ideology & Policies - Mobile 2 Columns */
  .ideology-section {
    padding: 38px 0;
  }
  .ideology-tabs-nav {
    gap: 6px;
    margin-bottom: 16px;
  }
  .ideology-tab-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    flex: 1;
    justify-content: center;
    border-radius: 20px;
  }
  .ideology-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .ideology-card {
    padding: 14px 10px;
    border-radius: 12px;
  }
  .ideology-card-wide {
    grid-column: span 2;
  }
  .ideology-card-number {
    font-size: 1.15rem;
    top: 8px;
    left: 8px;
  }
  .ideology-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
  }
  .ideology-card p {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  /* Inclusion Showcase Mobile */
  .inclusion-showcase {
    padding: 14px;
    border-radius: 14px;
  }
  .inclusion-hero-card {
    flex-direction: column;
    text-align: center;
    padding: 14px 10px;
    gap: 8px;
    margin-bottom: 14px;
  }
  .inclusion-icon {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
  .inclusion-hero-text h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  .inclusion-hero-text p {
    font-size: 0.78rem;
    line-height: 1.4;
  }
  .inclusion-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .inclusion-item {
    padding: 12px 8px;
    border-radius: 10px;
  }
  .inclusion-item:last-child {
    grid-column: span 2;
  }
  .inc-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .inc-text h4 {
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 3px;
  }
  .inc-text p {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  /* Policies Grid Mobile */
  .policies-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .policy-card {
    padding: 14px 10px;
    border-radius: 12px;
  }
  .policy-icon {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
    margin-bottom: 6px;
    border-radius: 8px;
  }
  .policy-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
  }
  .policy-card p {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  /* Gallery - 2 Columns */
  .masonry-gallery {
    column-count: 2;
    column-gap: 8px;
  }
  .gallery-item {
    margin-bottom: 8px;
    border-radius: 10px;
  }
  .gallery-overlay {
    padding: 8px;
  }
  .gallery-overlay span {
    font-size: 0.85rem;
  }
  .gallery-overlay .album-badge {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  /* Committees Grid - 2 Columns */
  .committees-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .committee-card {
    padding: 14px 10px;
    border-radius: 12px;
    border-right: 3px solid var(--accent-gold);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 135px;
    text-decoration: none;
  }
  .com-icon {
    font-size: 1.3rem;
    margin-bottom: 6px;
  }
  .committee-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
  }
  .committee-card p {
    font-size: 0.74rem;
    line-height: 1.35;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
  }

  /* Values Section */
  .values-wrapper {
    gap: 8px;
  }
  .value-badge {
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 20px;
  }

  /* CTA Section */
  .cta-section {
    padding: 45px 0;
  }
  .cta-content h2 {
    font-size: 1.45rem;
    margin-bottom: 10px;
    line-height: 1.35;
  }
  .cta-content p {
    font-size: 0.92rem;
    margin-bottom: 22px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    margin-bottom: 28px;
  }
  .footer-logo {
    height: 48px;
    margin-bottom: 14px;
  }
  .footer-about p {
    font-size: 0.88rem;
    margin: 0 auto;
  }
  .footer h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
  }
  .footer-links ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
  }
  .social-icons {
    justify-content: center;
  }
  .social-icons a {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .footer-bottom {
    font-size: 0.8rem;
    padding-top: 16px;
  }

  /* Login Modal Box */
  .login-modal-box {
    padding: 24px 18px;
    border-radius: 16px;
    width: 92%;
  }
  .login-header {
    margin-bottom: 20px;
  }
  .login-header img {
    height: 48px;
    margin-bottom: 10px;
  }
  .login-header h3 {
    font-size: 1.25rem;
  }
  .login-header p {
    font-size: 0.85rem;
  }
  .login-form .form-group {
    margin-bottom: 14px;
  }
  .login-form label {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }
  .login-form input {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .hero-subtitle {
    font-size: 0.88rem;
  }
  .section-header h2 {
    font-size: 1.32rem;
  }
  .tabs-container {
    flex-direction: row;
    gap: 6px;
    width: 100%;
  }
  .tab-btn {
    padding: 7px 8px;
    font-size: 0.8rem;
    flex: 1;
    max-width: 100%;
  }
}

/* ============================================================
   NEWS SLIDER COMPONENT
   ============================================================ */
.news-slider-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 52px;
}

.news-slider-container {
  position: relative;
  width: 100%;
  min-height: 260px;
}

.news-slide-card {
  background: rgba(15, 34, 64, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 24px 28px 24px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.news-slide-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-gold, #F5B014) 0%, #D97706 100%);
}

.news-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.news-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.news-badge-author {
  background: rgba(245, 176, 20, 0.15);
  color: var(--accent-gold, #F5B014);
  border: 1px solid rgba(245, 176, 20, 0.35);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-badge-date {
  color: #94A3B8;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
}

.news-title {
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 14px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.news-body-text {
  color: #CBD5E1;
  font-size: 0.96rem;
  line-height: 1.7;
  white-space: pre-line;
  word-break: break-word;
  margin: 0;
  max-height: 220px;
  overflow-y: auto;
  padding-left: 6px;
}

.news-body-text::-webkit-scrollbar {
  width: 5px;
}
.news-body-text::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

/* News Image Frame */
.news-image-frame {
  flex: 0 0 auto;
  align-self: center;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  max-width: 340px;
  max-height: 340px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.news-image-frame:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  border-color: rgba(245, 176, 20, 0.4);
}

.news-image-frame img {
  max-width: 100%;
  max-height: 340px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 11px;
}

.news-image-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(15, 34, 64, 0.85);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}

/* Slider Controls */
.news-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 34, 64, 0.9);
  border: 1px solid rgba(245, 176, 20, 0.4);
  color: var(--accent-gold, #F5B014);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.news-nav-btn:hover {
  background: var(--accent-gold, #F5B014);
  color: #0F2240;
  border-color: var(--accent-gold, #F5B014);
  transform: translateY(-50%) scale(1.1);
}

.news-nav-btn.prev-btn {
  right: 0;
}

.news-nav-btn.next-btn {
  left: 0;
}

/* Slider Footer (Dots & Counter) */
.news-slider-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 0 6px;
  flex-wrap: wrap;
  gap: 12px;
}

.news-counter-badge {
  color: var(--accent-gold, #F5B014);
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(245, 176, 20, 0.12);
  border: 1px solid rgba(245, 176, 20, 0.3);
  padding: 3px 12px;
  border-radius: 20px;
}

.news-dots-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-dot.active {
  background: var(--accent-gold, #F5B014);
  width: 24px;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .news-slider-wrapper {
    padding: 0 4px;
  }
  .news-slide-card {
    flex-direction: column;
    padding: 14px;
    gap: 12px;
    border-radius: 14px;
  }
  .news-title {
    font-size: 1.08rem;
    line-height: 1.4;
    margin: 0 0 8px 0;
  }
  .news-body-text {
    font-size: 0.88rem;
    line-height: 1.6;
    max-height: 150px;
  }
  .news-image-frame {
    flex: none;
    width: fit-content;
    height: fit-content;
    max-width: 100%;
    max-height: 190px;
    margin: 0 auto;
    border-radius: 10px;
  }
  .news-image-frame img {
    max-width: 100%;
    max-height: 190px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 9px;
  }
  .news-nav-btn {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  .news-badge-author,
  .news-badge-date {
    font-size: 0.75rem;
    padding: 3px 8px;
  }
  .news-slider-footer {
    margin-top: 12px;
    gap: 8px;
  }
  .news-counter-badge {
    font-size: 0.78rem;
    padding: 2px 10px;
  }
}

