.about-social-links-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.about-social-link {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: #1e3a8a;
    background: rgba(30, 58, 138, 0.12);
    box-shadow: inset 0 0 0 1px rgba(30, 58, 138, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.about-social-link:hover {
    transform: translateY(-4px);
    color: #0f172a;
    box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.4);
    text-decoration: none;
}
/* Student life card images */
.student-life-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.student-life-card-img-wrapper {
    width: 100%;
    height: 100%;
    min-height: 260px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .student-life-card-img-wrapper {
        min-height: 220px;
    }
}
/* (student life card overrides removed) */
/* ===== VENTURE GLOBAL - PROFESSIONAL DESIGN SYSTEM ===== */

:root {
  /* Color Palette */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-500: #0078D7;
  --primary-600: #005A9E;
  --primary-700: #004085;
  
  --gray-50: #fff8f1;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  
  /* Typography */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Spacing (8px Grid) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 120, 215, 0.8) 0%, rgba(0, 90, 158, 0.8) 100%);
}

/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
}

/* ===== UNIVERSITY DETAIL PAGE ===== */
.university-detail-page {
    padding-top: 2rem;
}

.university-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.university-logo-large {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.university-title {
    font-size: 2.5rem;
    font-weight: var(--font-bold);
    color: var(--gray-900);
    margin: 0;
}

.university-location {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin: 0;
}

.university-badges .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.quick-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.stat-content h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--gray-900);
}

.stat-content p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.content-section {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.content-section h2 {
    color: var(--gray-900);
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.university-description p {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.programs-grid {
    display: grid;
    gap: 1.5rem;
}

.program-card {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

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

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.program-header h4 {
    margin: 0;
    color: var(--gray-900);
    font-weight: var(--font-semibold);
}

.program-details p {
    margin: 0.5rem 0;
    color: var(--gray-700);
}

.program-details strong {
    color: var(--gray-900);
    font-weight: var(--font-medium);
}

.university-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.contact-info, .fees-info, .rankings-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item, .fee-item, .ranking-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
}

.contact-item i, .fee-item i, .ranking-item i {
    color: var(--primary-500);
    width: 16px;
}

.contact-item a {
    color: var(--primary-500);
    text-decoration: none;
    font-weight: var(--font-medium);
}

.contact-item a:hover {
    text-decoration: underline;
}

.fee-label, .ranking-label {
    color: var(--gray-600);
    font-weight: var(--font-medium);
}

.fee-value, .ranking-value {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
    margin-left: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cta-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: var(--font-medium);
}



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

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .university-hero {
        padding: 2rem 0;
    }
    
    .university-title {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .program-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #fff8f2;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
  color: var(--gray-900);
  background-color: #fff8f2;
    margin: 0;
    padding: 0;
}

/* ===== PROFESSIONAL NAVBAR ===== */
.navbar {
  --navbar-height: 72px;
  height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: sticky;
    top: 0;
  z-index: 9999;
  transition: all 0.2s ease;
  padding: 0.85rem 0;
    box-shadow: var(--shadow-sm);
    background-color: #fff;
}

.navbar-brand {
  font-weight: var(--font-bold);
  color: var(--primary-600) !important;
  font-size: var(--text-xl);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.01em;
}

.navbar-brand i {
    font-size: 1.4rem;
}

.navbar .navbar-nav .nav-link {
    font-weight: var(--font-medium);
    color: var(--gray-700);
    padding: 0.75rem 1.1rem;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary-600);
}

.navbar-nav.me-auto {
    align-items: center;
}

.navbar-nav .nav-link {
  color: var(--gray-700) !important;
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  margin: 0 var(--space-1);
  transition: all 0.2s ease;
    position: relative;
  text-decoration: none;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-600) !important;
  background: var(--primary-50);
  transform: translateY(-1px);
}

.navbar-nav .nav-link:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* ===== PROFESSIONAL BUTTONS ===== */
.btn {
  display: inline-flex;
    align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.btn:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary-600);
  color: white;
  border-color: var(--primary-600);
}

.btn-primary:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-600);
  border-color: var(--primary-600);
}

.btn-outline-primary:hover {
  background: var(--primary-600);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
    color: white;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* ===== PROFESSIONAL DROPDOWNS ===== */
.dropdown-menu {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2) 0;
  margin-top: var(--space-2);
  min-width: 240px;
  animation: dropdownSlideIn 0.2s ease-out;
}

.dropdown-item {
    display: flex;
    align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  color: var(--gray-700);
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all 0.15s ease;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

.dropdown-item:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  transform: translateX(4px);
}

.dropdown-item:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: -2px;
}

.dropdown-divider {
  margin: var(--space-2) 0;
  border-color: var(--gray-200);
}

/* Dropdown Animation */
@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== HERO SECTION ===== */
.hero-section,
.main-hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    margin-top: 0;
    padding-top: var(--navbar-height);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.6);
    z-index: 1;
}

.hero-bg-img.active {
    opacity: 1;
    z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  background: var(--gradient-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
  padding: var(--space-8) 0;
    width: 100%;
}

.hero-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
    line-height: 1.2;
    color: white !important;
}

.hero-subtitle {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
    opacity: 0.9;
    color: white !important;
}

.hero-stats {
    display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.stat-item h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
    color: white !important;
}

.stat-item p {
  font-size: var(--text-base);
    opacity: 0.8;
    margin: 0;
    color: white !important;
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--space-12) 0;
}

.section-title {
    text-align: center;
  margin-bottom: var(--space-12);
}

.section-title h2 {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

.section-title p {
  font-size: var(--text-lg);
  color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== CARDS ===== */
.card {
    border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    overflow: hidden;
  background: white;
}

.card:hover {
    transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.card-header {
  background: var(--primary-600);
    color: white;
    border: none;
  padding: var(--space-4);
    }
    
    .card-body {
  padding: var(--space-6);
    }
    
.card-title {
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
}

/* ===== FORMS ===== */
.form-control, .form-select {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.1);
    outline: none;
}

.form-label {
  font-weight: var(--font-medium);
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}

/* ===== FEATURES ===== */
.feature-card {
    text-align: center;
  padding: var(--space-8) var(--space-4);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
  font-size: var(--text-3xl);
  color: var(--primary-600);
  margin-bottom: var(--space-4);
}

.feature-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
  color: var(--gray-900);
}

.feature-description {
  color: var(--gray-600);
    line-height: 1.6;
}

/* ===== SECURE FORM ===== */
.secure-form {
  background: var(--primary-50) !important;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--primary-100);
    overflow: hidden;
}

.secure-form .card-header {
  background: var(--primary-600);
  color: white;
  border: none;
  padding: var(--space-4);
}

.secure-form .card-body {
  padding: var(--space-6);
}

.prezi-section {
  padding: 0;
  display: flex;
  justify-content: center;
}

.prezi-embed-full {
  position: relative;
  width: 100%;
  max-width: min(95vw, 1800px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: #000;
}

.prezi-embed-full iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.security-notice {
  background: var(--primary-100);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
    text-align: center;
  color: var(--primary-700);
  font-weight: var(--font-medium);
}

.security-notice i {
  color: var(--primary-600);
  margin-right: var(--space-2);
}

.secure-input {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  transition: all 0.3s ease;
  background: white;
}

.secure-input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.1);
  outline: none;
}

/* ===== HERO BACKGROUND ROTATION ===== */
@keyframes heroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-bg-img {
  animation: heroFadeIn 1.5s ease-in-out;
}

/* ===== SECTION SPACING FIXES ===== */
.section {
  padding: var(--space-12) 0;
}

.section.bg-light {
  background-color: var(--gray-100) !important;
}

.section.text-dark {
  color: var(--gray-900) !important;
}

/* ===== FEATURE ICONS ===== */
.fa-3x {
  font-size: var(--text-3xl);
}

.text-primary {
  color: var(--primary-600) !important;
}

/* ===== FORM LAYOUT ===== */
.form-label {
  font-weight: var(--font-medium);
  color: var(--gray-900);
  margin-bottom: var(--space-2);
  display: block;
}

.form-control, .form-select {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
    transition: all 0.3s ease;
  background: white;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.1);
  outline: none;
}

/* ===== BUTTON SIZES ===== */
.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ===== HERO CONTENT FIXES ===== */
.hero-content {
  position: relative;
  z-index: 3;
  padding: var(--space-8) 0;
  width: 100%;
}

.hero-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
  line-height: 1.2;
    color: white !important;
}

.hero-subtitle {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  opacity: 0.9;
    color: white !important;
}

.hero-stats {
    display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.stat-item h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
  color: white !important;
}

.stat-item p {
  font-size: var(--text-base);
  opacity: 0.8;
  margin: 0;
  color: white !important;
}

/* ===== SECTION TITLE FIXES ===== */
.section-title {
        text-align: center;
  margin-bottom: var(--space-12);
}

.section-title h2 {
  font-size: calc(var(--text-3xl) * 1.1);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

.section-title p {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

.features-description-text {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--gray-700);
}

.feature-card h5 {
    font-size: 1.25rem;
}

.feature-card p {
    font-size: 1.05rem;
}

/* ===== CARD FIXES ===== */
.card {
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  overflow: hidden;
  background: white;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.card-header {
  background: var(--primary-600);
    color: white;
  border: none;
  padding: var(--space-4);
}

.card-body {
  padding: var(--space-6);
}

.card-title {
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
}

/* ===== UTILITIES ===== */
.text-primary { color: var(--primary-600) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--error) !important; }

.bg-primary { background-color: var(--primary-600) !important; }
.bg-success { background-color: var(--success) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-danger { background-color: var(--error) !important; }
.bg-light { background-color: var(--gray-100) !important; }

.text-black { color: var(--gray-900) !important; }
.text-dark { color: var(--gray-700) !important; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
  .navbar {
    --navbar-height: 64px;
  }
  
  .navbar-nav {
    margin-top: var(--space-4);
    gap: var(--space-2);
  }
  
  .navbar-nav .nav-link {
    padding: var(--space-3);
    text-align: center;
  }
  
  .btn {
    width: 100%;
    max-width: 200px;
    margin: var(--space-1) 0;
  }
  
    .hero-title {
    font-size: var(--text-2xl);
    }
    
    .hero-stats {
    gap: var(--space-4);
  }
  
  .section {
    padding: var(--space-8) 0;
  }
}

@media (max-width: 767px) {
    .navbar-brand {
    font-size: var(--text-lg);
    }
    
    .navbar-nav .nav-link {
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-3);
  }
  
  .btn {
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-3);
  }
  
  .hero-title {
    font-size: var(--text-xl);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .section {
    padding: var(--space-6) 0;
  }
  
  .secure-form .card-body {
    padding: var(--space-4);
  }
}

/* ===== ADMIN PANEL STYLES ===== */
.admin-container {
  display: flex;
  min-height: calc(100vh - var(--navbar-height));
  margin-top: var(--navbar-height);
  position: relative;
}

.admin-sidebar {
  width: 280px;
  background: white;
  border-right: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  position: fixed;
  left: 0;
  top: var(--navbar-height);
  height: calc(100vh - var(--navbar-height));
  overflow-y: auto;
  z-index: 1000;
  flex-shrink: 0;
}

.sidebar-header {
  padding: var(--space-4);
  border-bottom: 1px solid var(--gray-200);
  background: var(--primary-600);
  color: white;
}

.sidebar-header h6 {
  margin: 0;
  font-weight: var(--font-semibold);
}

.sidebar-nav {
  padding: var(--space-4) 0;
}

.sidebar-nav .nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: var(--gray-700);
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-nav .nav-item:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  border-left-color: var(--primary-500);
}

.sidebar-nav .nav-item.active {
  background: var(--primary-100);
  color: var(--primary-700);
  border-left-color: var(--primary-600);
  font-weight: var(--font-semibold);
}

.sidebar-nav .nav-item i {
  width: 20px;
        text-align: center;
}

.admin-main {
  flex: 1;
  margin-left: 280px;
  padding: var(--space-6);
  background: var(--gray-50);
  min-width: 0;
  overflow-x: hidden;
  min-height: calc(100vh - var(--navbar-height));
}

.section-header {
  margin-bottom: var(--space-6);
}

/* Tab Content Fix */
.tab-content {
  min-height: auto;
  max-height: none;
  background: white;
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow-md);
  overflow: visible;
}

.tab-pane {
  padding: var(--space-4);
  min-height: auto;
}

.tab-pane.active {
  display: block !important;
}

/* Fix for empty content areas */
.tab-pane:not(.active) {
  display: none;
}

/* Ensure proper spacing */
.card {
  margin-bottom: var(--space-4);
}

.card:last-child {
  margin-bottom: 0;
}

/* Admin container height fix */
.admin-container {
  min-height: auto;
  max-height: none;
  overflow: visible;
}

.admin-main {
  max-height: none;
  overflow: visible;
}

/* User pages height fix */
.section {
  min-height: auto !important;
  max-height: none !important;
  overflow: visible;
}

/* Fix excessive white space */
body {
  overflow-x: hidden;
  overflow-y: visible;
}

.container {
  max-width: 1200px;
}

/* Card height fixes */
.card {
  height: auto;
  min-height: auto;
}

.card-body {
  overflow: visible;
  max-height: none;
}

/* Tab navigation fix */
.nav-tabs {
  border-bottom: 2px solid #dee2e6;
  margin-bottom: 0;
}

.nav-tabs .nav-link {
  margin-bottom: -2px;
  border: 1px solid transparent;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  padding: 0.75rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6c757d;
  background-color: #f8f9fa;
  transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
  border-color: #e9ecef #e9ecef #dee2e6;
  color: #495057;
  background-color: #e9ecef;
}

.nav-tabs .nav-link.active {
  color: #0d6efd;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
  font-weight: 600;
}

.nav-fill .nav-item {
  flex: 1;
  text-align: center;
}

/* Tab content container */
.tab-content {
  background: white;
  border: 1px solid #dee2e6;
  border-top: none;
  border-radius: 0 0 0.375rem 0.375rem;
}

.section-header h2 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}

.section-header p {
  color: var(--gray-600);
  margin: 0;
}

/* Admin Dashboard Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.stat-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.stat-card.primary {
  border-left: 4px solid var(--primary-600);
}

.stat-card.success {
  border-left: 4px solid var(--success);
}

.stat-card.warning {
  border-left: 4px solid var(--warning);
}

.stat-card.info {
  border-left: 4px solid var(--info);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: white;
}

.stat-card.primary .stat-icon {
  background: var(--primary-600);
}

.stat-card.success .stat-icon {
  background: var(--success);
}

.stat-card.warning .stat-icon {
  background: var(--warning);
}

.stat-card.info .stat-icon {
  background: var(--info);
}

.stat-content h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin: 0 0 var(--space-1) 0;
  color: var(--gray-900);
}

.stat-content p {
  margin: 0 0 var(--space-2) 0;
  color: var(--gray-600);
  font-size: var(--text-sm);
}

.stat-trend {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
}

.stat-trend.positive {
  color: var(--success);
}

.stat-trend.negative {
  color: var(--error);
}

.stat-trend.neutral {
  color: var(--gray-600);
}

/* Admin Tables */
.table {
  margin-bottom: 0;
}

.table th {
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
  font-weight: var(--font-semibold);
  color: var(--gray-900);
  padding: var(--space-3) var(--space-4);
}

.table td {
  padding: var(--space-3) var(--space-4);
  vertical-align: middle;
  border-bottom: 1px solid var(--gray-200);
}

.table-hover tbody tr:hover {
  background: var(--primary-50);
}

/* Admin Cards */
.card {
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.card-header {
  background: var(--primary-600);
  color: white;
  border: none;
  padding: var(--space-4);
}

.card-header h5 {
  margin: 0;
  font-weight: var(--font-semibold);
}

.card-body {
  padding: var(--space-6);
}

/* Admin Buttons */
.btn-sm {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
}

.btn-outline-primary {
  border-color: var(--primary-600);
  color: var(--primary-600);
}

.btn-outline-primary:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
}

.btn-outline-success {
  border-color: var(--success);
  color: var(--success);
}

.btn-outline-success:hover {
  background: var(--success);
  border-color: var(--success);
}

.btn-outline-danger {
  border-color: var(--error);
  color: var(--error);
}

.btn-outline-danger:hover {
  background: var(--error);
  border-color: var(--error);
}

.btn-outline-warning {
  border-color: var(--warning);
  color: var(--warning);
}

.btn-outline-warning:hover {
  background: var(--warning);
  border-color: var(--warning);
}

/* Admin Badges */
.badge {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
}

.bg-primary { background-color: var(--primary-600) !important; }
.bg-success { background-color: var(--success) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-danger { background-color: var(--error) !important; }
.bg-info { background-color: var(--info) !important; }
.bg-secondary { background-color: var(--gray-600) !important; }

/* Responsive Admin */
@media (max-width: 991px) {
  .admin-sidebar {
    width: 240px;
  }
  
  .admin-main {
    margin-left: 240px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
  }
}

@media (max-width: 767px) {
  .admin-sidebar {
    width: 100%;
    position: relative;
    height: auto;
  }
  
  .admin-main {
    margin-left: 0;
    padding: var(--space-4);
  }
  
.admin-container {
    flex-direction: column;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Universities Page Styles - Optimized */
.universities-page {
    padding-top: 60px;
}





.universities-section {
    padding: 40px 0;
}

.filter-section {
    position: relative;
    background: rgba(248, 249, 250, 0.85);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.filter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(236, 242, 255, 0.35));
    border-radius: inherit;
    pointer-events: none;
}

.filter-section .form-select,
.filter-section .btn {
    backdrop-filter: blur(4px);
}

.university-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.university-card:hover {
    transform: translateY(-5px);
}

.university-card-inner {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.universities-page .card-header,
.universities-page .card-body,
.universities-page .card-footer {
    position: relative;
    z-index: 1;
}

.universities-page .card-header i,
.universities-page .card-body i,
.universities-page .card-footer i {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
}

.university-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.university-logo:hover {
    transform: scale(1.05);
}

.badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badges .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.university-stats {
    margin: 1rem 0;
    flex-grow: 1;
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.university-fees {
    border-top: 1px solid #e9ecef;
    padding-top: 0.75rem;
    margin-top: auto;
}

.fee-range {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.fee-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.fee-value {
    font-weight: 600;
    color: var(--success-color);
}

.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px 0;
    margin-top: 40px;
}

.cta-section h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 240px;
    padding: 0.95rem 2.25rem;
    border-radius: 18px;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-buttons .btn i {
    font-size: 1.15rem;
}

/* Loading animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-section {
        padding: 15px;
    }
    
    .filter-section .row > div {
        margin-bottom: 0.75rem;
    }
    
    .university-card {
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .universities-hero {
        padding: 50px 0;
    }
    
    .university-logo {
        width: 50px;
        height: 50px;
    }
    
    .stat-item {
        padding: 0.25rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .badges .badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Performance optimizations */
.university-card {
    contain: layout style paint;
}

.university-card-inner {
    contain: layout style paint;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .university-card,
    .university-card-inner,
    .university-logo {
        transition: none;
    }
    
    .university-card:hover {
        transform: none;
    }
    
    .university-logo:hover {
        transform: none;
    }
}

/* ===== UNIVERSITY DETAIL PAGE ===== */
.university-detail-page {
    background: var(--gray-50);
    min-height: 100vh;
}

.university-hero {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.university-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.university-hero .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

.university-logo-large {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.university-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: var(--font-bold);
    margin: 0;
    color: white;
}

.university-location {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin: 0;
    color: white;
}

.university-badges .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
}

.quick-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-stats .stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.quick-stats .stat-card:hover {
    transform: translateY(-2px);
}

.quick-stats .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.quick-stats .stat-content h3 {
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    margin: 0;
    color: white;
}

.quick-stats .stat-content p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
    color: white;
}

.university-content {
    padding: 60px 0;
}

.content-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.content-section h2 {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    border-bottom: 2px solid var(--primary-100);
    padding-bottom: 0.5rem;
}

.university-description {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--gray-700);
}

.programs-grid {
    display: grid;
    gap: 1.5rem;
}

.program-card {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-500);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.program-header h4 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin: 0;
    color: var(--gray-900);
    flex: 1;
}

.program-details p {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.program-details strong {
    color: var(--gray-900);
}

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

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.university-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.sidebar-card h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
    color: var(--gray-900);
    border-bottom: 2px solid var(--primary-100);
    padding-bottom: 0.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background: var(--primary-50);
}

.contact-item i {
    color: var(--primary-600);
    width: 20px;
}

.contact-item a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: var(--font-medium);
}

.contact-item a:hover {
    text-decoration: underline;
}

.fees-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.fee-label {
    font-weight: var(--font-medium);
    color: var(--gray-700);
}

.fee-value {
    font-weight: var(--font-bold);
    color: var(--primary-600);
}

.rankings-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ranking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.ranking-label {
    font-weight: var(--font-medium);
    color: var(--gray-700);
}

.ranking-value {
    font-weight: var(--font-bold);
    color: var(--primary-600);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* University Detail Responsive */
@media (max-width: 768px) {
    .university-hero {
        padding: 40px 0;
    }
    
    .university-logo-large {
        width: 60px;
        height: 60px;
    }
    
    .quick-stats {
        margin-top: 2rem;
    }
    
    .quick-stats .stat-card {
        padding: 1rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .university-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .university-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* ===== REQUIREMENTS SECTION STYLES ===== */
.requirements-section {
    margin-top: var(--space-3);
    padding: var(--space-3);
    background: var(--gray-50);
    border-radius: 8px;
    border-left: 4px solid var(--primary-500);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.requirements-section h6 {
    color: var(--primary-600);
    margin-bottom: var(--space-2);
    font-weight: 600;
        font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



/* Requirements section hover effect */
.program-card:hover .requirements-section {
    background: var(--primary-50);
    border-left-color: var(--primary-600);
    transition: all 0.3s ease;
}

/* ===== PROGRAM DETAIL PAGE STYLES ===== */
.program-detail-page {
  background: var(--gray-50);
}

.program-hero {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: white;
  padding: 80px 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.program-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.program-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  color: white;
  line-height: 1.2;
}

.program-meta {
  margin-bottom: var(--space-4);
}

.university-name {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: rgba(255, 255, 255, 0.9);
}

.program-location {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.university-logo-wrapper {
  position: relative;
}

.university-logo-large {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  background: white;
  padding: 8px;
}

.program-badges {
  margin-top: var(--space-4);
}

.program-badges .badge {
  font-size: var(--text-sm);
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  font-weight: var(--font-medium);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.program-content {
  padding: 80px 0;
  background: white;
}

.content-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.content-card .card-header {
  background: var(--gray-50);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.content-card .card-header h2 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--gray-900);
  margin: 0;
}

.content-card .card-body {
  padding: 2rem;
}

.program-description {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 0;
}

.no-description {
  text-align: center;
  padding: 2rem;
  color: var(--gray-500);
}



.deadline-info .alert {
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  color: #856404;
  padding: 1.5rem;
}

.deadline-date {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--warning);
}

.additional-info .info-item {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 12px;
  border-left: 4px solid var(--primary-500);
  transition: all 0.3s ease;
}

.additional-info .info-item:hover {
  background: var(--primary-50);
  transform: translateX(5px);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 1.25rem;
  color: var(--primary-600);
}

.info-content {
  flex: 1;
}

.info-content label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--gray-600);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-content span {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--gray-900);
}

.program-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.sidebar-card .card-header {
  background: var(--primary-50);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--primary-100);
}

.sidebar-card .card-header h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--primary-700);
  margin: 0;
}

.sidebar-card .card-body {
  padding: 1.5rem;
}

.university-info .university-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--gray-700);
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.university-info .university-item:hover {
  background: var(--primary-50);
}

.university-info .university-item i {
  color: var(--primary-500);
  width: 20px;
  margin-right: 0.75rem;
}

.contact-info .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.contact-info .contact-item:hover {
  background: var(--primary-50);
}

.contact-info .contact-item i {
  color: var(--primary-500);
  width: 20px;
  margin-right: 0.75rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.cta-content p {
  font-size: var(--text-lg);
  color: var(--gray-600);
  margin-bottom: var(--space-4);
}

.cta-buttons .btn {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Breadcrumb styling */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: white;
}

.breadcrumb-item.active {
  color: white;
}

/* Program detail responsive */
@media (max-width: 768px) {
  .program-hero {
    padding: 60px 0;
  }
  
  .program-title {
    font-size: var(--text-2xl);
  }
  
  .program-content {
    padding: 60px 0;
  }
  
  .program-sidebar {
    position: static;
    margin-top: 2rem;
  }
  
  .quick-stats {
    margin-top: 2rem;
  }
  
  .quick-stats .stat-card {
    padding: 1rem;
  }
  
  .content-card .card-header,
  .content-card .card-body {
    padding: 1.5rem;
  }
  
  .sidebar-card .card-header,
  .sidebar-card .card-body {
    padding: 1rem;
  }
  
  .university-logo-large {
    width: 60px;
    height: 60px;
  }
  
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-content h2 {
    font-size: var(--text-2xl);
  }
}

/* ===== REQUIREMENTS SECTION ===== */
.requirements-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.requirement-item {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.requirement-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-300);
}

.requirement-item h6 {
  color: var(--primary-600);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-lg);
}

.requirement-item h6 i {
  font-size: var(--text-xl);
  color: var(--primary-500);
}

.requirement-item p {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 0;
  font-size: var(--text-base);
  background: white;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-300);
}

.partners-page .partner-card,
.partner-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

.partner-hero {
    position: relative;
    overflow: hidden;
}

.medczech-hero {
    background: linear-gradient(135deg, rgba(239,247,255,0.9) 0%, rgba(214,232,250,0.9) 100%);
    color: #1a2740;
}

.wcep-hero {
    background: linear-gradient(135deg, rgba(236,246,255,0.95) 0%, rgba(206,230,255,0.95) 100%);
    color: #1a2740;
}

.partner-hero-text {
    color: #f8fbff;
}

.partner-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: var(--font-medium);
    letter-spacing: 0.02em;
}

.hero-pill {
    background: rgba(255,255,255,0.16);
    color: #ffffff;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.hero-pill i {
    font-size: 1rem;
}

.partner-logo-card {
    max-width: 280px;
    margin: 0 auto;
    border-radius: 22px;
}

.icon-list {
    list-style: none;
    padding-left: 0;
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    padding: 0.6rem 0;
}

.icon-list li i {
    color: var(--primary-500);
    background: rgba(0,120,215,0.12);
    border-radius: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
}

.partner-feature-card {
    background: linear-gradient(135deg, rgba(84,174,247,0.12) 0%, rgba(47,124,197,0.18) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: inset 0 0 0 1px rgba(84,174,247,0.25);
}

.partner-feature-card .icon-list li {
    color: #1f3d63;
}

.partner-feature-card .icon-list li i {
    color: #2f7cc5;
    background: rgba(47,124,197,0.18);
}

.partner-gallery-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.partner-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
}

.partner-gallery-card.gallery-frame {
    border-radius: 24px;
    box-shadow: var(--shadow-md), 0 0 0 6px #fff;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.student-stories-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    gap: 1.5rem;
    padding: 2rem;
}

.student-stories-content {
    flex: 1 1 auto;
}

.student-stories-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.story-thumb {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
}

.story-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wcep-gallery-section {
    background: linear-gradient(160deg, rgba(241, 248, 255, 0.75) 0%, rgba(219, 234, 255, 0.65) 55%, rgba(255, 255, 255, 0.92) 100%);
    border-radius: 28px;
    padding: 3.5rem;
}

.wcep-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 230px;
    gap: 1.5rem;
}

.wcep-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 30px 60px -35px rgba(15, 23, 42, 0.35);
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
}

.wcep-gallery-item[data-figure="host"] {
    grid-column: span 7;
}

.wcep-gallery-item[data-figure="immersion"] {
    grid-column: span 5;
}

.wcep-gallery-item[data-figure="classrooms"],
.wcep-gallery-item[data-figure="friendships"],
.wcep-gallery-item[data-figure="weekend"] {
    grid-column: span 4;
}

.wcep-gallery-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 35px 70px -42px rgba(15, 23, 42, 0.4);
}

.wcep-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.04);
    transition: transform 0.4s ease;
}

.wcep-gallery-item:hover .wcep-gallery-img {
    transform: scale(1.04);
}

.wcep-gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.1rem 1.35rem;
    color: #ffffff;
    font-weight: var(--font-semibold);
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.78) 100%);
    display: flex;
    align-items: flex-end;
    min-height: 72px;
}

.wcep-video-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 45px -32px rgba(15, 23, 42, 0.35);
    background: rgba(255, 255, 255, 0.88);
}

.wcep-stories-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    box-shadow: 0 25px 45px -34px rgba(30, 64, 175, 0.4);
}

.wcep-stories-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wcep-stories-gallery .story-thumb {
    aspect-ratio: 1;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), var(--shadow-md);
}

.wcep-stories-gallery .story-thumb-img {
    filter: saturate(1.08);
}

@media (min-width: 1400px) {
    .wcep-gallery-grid {
        grid-auto-rows: 260px;
    }
}

@media (max-width: 1200px) {
    .wcep-gallery-section {
        padding: 3rem;
    }

    .wcep-gallery-grid {
        grid-template-columns: repeat(10, minmax(0, 1fr));
        grid-auto-rows: 220px;
    }

    .wcep-gallery-item[data-figure="host"] {
        grid-column: span 6;
    }

    .wcep-gallery-item[data-figure="immersion"] {
        grid-column: span 4;
    }

    .wcep-gallery-item[data-figure="classrooms"],
    .wcep-gallery-item[data-figure="friendships"],
    .wcep-gallery-item[data-figure="weekend"] {
        grid-column: span 5;
    }
}

@media (max-width: 992px) {
    .wcep-gallery-section {
        padding: 2.5rem;
    }

    .wcep-gallery-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-auto-rows: 200px;
    }

    .wcep-gallery-item[data-figure="host"] {
        grid-column: span 6;
    }

    .wcep-gallery-item[data-figure="immersion"] {
        grid-column: span 6;
    }

    .wcep-gallery-item[data-figure="classrooms"],
    .wcep-gallery-item[data-figure="friendships"],
    .wcep-gallery-item[data-figure="weekend"] {
        grid-column: span 3;
    }

    .wcep-stories-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .wcep-gallery-section {
        padding: 2rem;
        border-radius: 22px;
    }

    .wcep-gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: 180px;
        gap: 1.15rem;
    }

    .wcep-gallery-item {
        grid-column: span 4 !important;
    }
}

@media (max-width: 576px) {
    .wcep-gallery-section {
        padding: 1.75rem;
    }

    .wcep-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
        gap: 1rem;
    }

    .wcep-stories-gallery {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.partner-gallery-card.gallery-frame .partner-gallery-img {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
}

.partner-gallery-card.gallery-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.25);
}

.collage-frame {
    padding: 1.5rem;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    height: 100%;
}

.collage-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-end;
    min-height: 230px;
}

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

.collage-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.75) 100%);
    color: #ffffff;
    font-weight: var(--font-medium);
    font-size: 0.9rem;
}

.partner-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.65) 90%);
    color: #ffffff;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: var(--font-medium);
}

.partner-cta {
    background: rgba(239,247,255,0.85);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(47,124,197,0.2);
}

.partner-cta .btn {
    padding: 0.9rem 2.6rem;
    border-radius: 999px;
    font-weight: var(--font-semibold);
}

.partners-page .section {
    position: relative;
}

.medczech-hero {
    background: linear-gradient(135deg, rgba(239,247,255,0.9) 0%, rgba(214,232,250,0.9) 100%);
    color: #1a2740;
    overflow: hidden;
}

.partner-hero-content {
    max-width: 520px;
}

.partner-hero-content h1 {
    color: #ffffff;
}

.partner-hero-content .lead {
    color: rgba(255,255,255,0.82);
}

.hero-logo {
    max-width: 150px;
    height: auto;
}

.hero-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: #ffffff;
    font-weight: var(--font-medium);
    font-size: 0.95rem;
}

.hero-pill i {
    font-size: 1rem;
}

.partner-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: var(--font-medium);
    letter-spacing: 0.02em;
}

.gradient-card {
    background: linear-gradient(135deg, rgba(47,124,197,0.08) 0%, rgba(47,124,197,0.18) 100%);
    box-shadow: inset 0 0 0 1px rgba(47,124,197,0.25);
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: grid;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.feature-list li i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2f7cc5;
    background: rgba(47,124,197,0.16);
    font-size: 0.95rem;
    line-height: 1;
    flex-shrink: 0;
}

.feature-list.compact li i {
    background: rgba(47,124,197,0.1);
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
}

.highlight-box {
    background: rgba(47,124,197,0.08);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    color: #1f3452;
    font-weight: var(--font-medium);
    letter-spacing: 0.01em;
}

.gallery-card {
    position: relative;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: stretch;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.85rem 1.1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
    color: #ffffff;
    font-weight: var(--font-medium);
    font-size: 0.95rem;
}

@media (max-width: 575px) {
    .gallery-card {
        max-width: 100%;
        aspect-ratio: 16 / 10;
    }
}

.partner-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: var(--font-medium);
    color: #2f7cc5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.partner-hero-link:hover {
    color: #21598c;
}

.about-pill-image {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    flex: 1;
    aspect-ratio: 3 / 4;
}

.about-pill-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

@media (max-width: 1199px) {
    .about-pill-image {
        aspect-ratio: 4 / 5;
    }
}

.about-pill-image:hover img {
    transform: scale(1.06);
}

@media (max-width: 991px) {
    .about-pill-image {
        display: none;
    }
}

.about-gallery-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.75rem;
    height: 100%;
    padding-block: 0.5rem;
}

.about-pill-image {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    flex: 1 1 0;
    min-height: 220px;
}

.about-pill-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 1199px) {
    .about-gallery-col {
        gap: 1.5rem;
        padding-block: 0;
    }
    .about-pill-image {
        min-height: 200px;
    }
}

.about-pill-image:hover img {
    transform: scale(1.04);
}

@media (max-width: 991px) {
    .about-gallery-col {
        display: none;
    }
}

.about-wrapper {
    min-height: 780px;
}

.about-gallery-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.2rem;
}

.about-gallery-col .about-pill-image {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    flex: 1 1 auto;
    min-height: 320px;
}

.about-main-card {
    display: flex;
    justify-content: center;
}

.about-main-card .card {
    flex: 1 1 760px;
    max-width: 780px;
}

@media (max-width: 1399px) {
    .about-gallery-col .about-pill-image {
        min-height: 280px;
    }
}

@media (max-width: 1199px) {
    .about-wrapper {
        min-height: 680px;
    }
    .about-gallery-col {
        gap: 1.75rem;
    }
    .about-gallery-col .about-pill-image {
        min-height: 240px;
    }
}

.about-pill-image:hover img {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .about-gallery-col {
        display: none;
    }
}

@media (max-width: 991px) {
    .about-wrapper {
        min-height: 680px;
    }
    .about-gallery-col {
        display: none;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: var(--navbar-height);
    }

    main {
        margin-top: 0;
    }

    .navbar {
        position: fixed;
        width: 100%;
        left: 0;
        right: 0;
        box-shadow: var(--shadow-md);
        z-index: 10002;
    }

    body.nav-open {
        overflow: hidden;
        height: 100vh;
    }

    .navbar-toggler {
        z-index: 10003;
    }

    .navbar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(4px);
        z-index: 10001;
        display: none;
    }

    .navbar-backdrop.show {
        display: block;
    }

    .navbar-collapse.collapse {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        padding: 1.75rem 1.75rem 2.5rem;
        overflow-y: auto;
        display: block !important;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 10002;
    }

    .navbar-collapse.collapsing {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        padding: 1.75rem 1.75rem 2.5rem;
        overflow-y: auto;
        display: block !important;
        z-index: 10002;
    }

    .navbar-collapse.show {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-nav {
        gap: 0.75rem;
    }

    .navbar-nav .nav-link {
        padding: 1rem 0;
        font-size: 1.05rem;
        color: var(--gray-800) !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar .btn {
        width: 100%;
    }

    .navbar {
        background-color: #ffffff;
        box-shadow: var(--shadow-md);
    }

    .mobile-nav-offcanvas {
        height: 100vh !important;
        top: 0;
        background: #ffffff;
        overflow: hidden;
    }

    .mobile-nav-offcanvas .offcanvas-header {
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        padding: 1rem 1.25rem;
    }

    .mobile-nav-offcanvas .offcanvas-body {
        padding: 1.5rem 1.25rem 2rem;
        display: flex;
        flex-direction: column;
        height: calc(100vh - var(--navbar-height));
    }

    .mobile-nav-list .nav-link {
        display: block;
        padding: 0.9rem 0;
        color: var(--gray-800) !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        font-size: 1.05rem;
    }

    .mobile-nav-accordion .accordion-button {
        padding: 0.85rem 0;
        font-size: 1.05rem;
        color: var(--gray-800);
        background: transparent;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    .mobile-nav-accordion .accordion-button::after {
        filter: invert(38%) sepia(63%) saturate(318%) hue-rotate(167deg) brightness(94%) contrast(91%);
    }

    .mobile-nav-accordion .accordion-body .nav-link {
        border: none;
        padding: 0.6rem 0;
        font-size: 1rem;
        color: var(--gray-700) !important;
    }

    .mobile-nav-footer {
        margin-top: auto;
    }

    .mobile-nav-footer .btn {
        font-size: 1rem;
    }
}

@media (max-width: 991px) {
    .navbar {
        background-color: #ffffff;
        position: sticky;
        top: 0;
        z-index: 1030;
        box-shadow: var(--shadow-md);
    }

    .mobile-nav-offcanvas {
        height: 100vh !important;
        top: 0;
        background: #ffffff;
        overflow: hidden;
    }

    .mobile-nav-offcanvas .offcanvas-header {
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        padding: 1rem 1.25rem;
    }

    .mobile-nav-offcanvas .offcanvas-body {
        padding: 1.5rem 1.25rem 2rem;
        display: flex;
        flex-direction: column;
        height: calc(100vh - var(--navbar-height));
    }

    .mobile-nav-footer {
        margin-top: auto;
    }

    .mobile-nav-footer .btn {
        font-size: 1rem;
    }

    .mobile-nav-scroll {
        flex: 1 1 auto;
        overflow-y: auto;
        margin-bottom: 1.5rem;
    }

    .hero-section,
    .main-hero {
        min-height: 70vh;
        padding-top: calc(var(--navbar-height) + 1rem);
        align-items: flex-start;
    }

    .hero-content {
        padding: 2rem 0 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
        align-items: stretch;
    }

    .hero-stats .stat-item {
        width: 100%;
    }
}