/* Homepage Styles - Ultra Optimized */

/* Optima Font Face Declarations */
@font-face {
    font-family: 'Optima';
    src: url('../assets/fonts/fonts/Optima.eot');
    src: url('../assets/fonts/fonts/Optima.eot?#iefix') format('embedded-opentype'),
         url('../assets/fonts/fonts/Optima.woff2') format('woff2'),
         url('../assets/fonts/fonts/Optima.woff') format('woff'),
         url('../assets/fonts/fonts/Optima.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Optima';
    src: url('../assets/fonts/fonts/Optima-Bold.eot');
    src: url('../assets/fonts/fonts/Optima-Bold.eot?#iefix') format('embedded-opentype'),
         url('../assets/fonts/fonts/Optima-Bold.woff2') format('woff2'),
         url('../assets/fonts/fonts/Optima-Bold.woff') format('woff'),
         url('../assets/fonts/fonts/Optima-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Reset for full-width layout */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#app {
    width: 100%;
    margin: 0;
    padding: 0;
}

:root {
    --hero-bg: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    --overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.3) 100%);
    --text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.6);
    --transition: all 0.3s ease;
    --nav-transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --top-bar-bg: #0f172a;
    --header-border: #1e293b;
}

/* Container Styles - Essential for proper layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

.homepage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Dynamic Navigation */
.dynamic-nav {
    position: relative;
    z-index: 1000;
}

.nav-initial {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: transparent;
    transition: var(--nav-transition);
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-initial.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
}

.floating-logo {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    transition: var(--nav-transition);
}

.floating-logo-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
    background: rgba(30, 30, 30, 0.75);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    min-width: fit-content;
    white-space: nowrap;
}

.floating-logo-link:hover {
    background: rgba(35, 35, 35, 0.85);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
    transform: translateY(-2px);
}

.nav-full {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: var(--nav-transition);
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    z-index: 1000;
}

.nav-full.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top-bar {
    background: var(--top-bar-bg);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 50px;
    display: flex;
    align-items: center;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    width: 100%;
}

.top-bar-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    gap: 2rem;
}

.top-logo {
    grid-column: 2;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    flex-shrink: 0;
}

.top-logo:hover {
    opacity: 0.8;
}

.dropdown-parent {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.dropdown-parent:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.top-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    margin-top: 0.5rem;
}

.dropdown-parent:hover .top-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top-dropdown a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.top-dropdown a:hover {
    background: #f5f5f5;
    color: var(--top-bar-bg);
}

.search-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.site-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--header-border);
    transition: var(--transition);
}

/* Ensure navbar stays white on desktop only */
@media (min-width: 769px) {
    .site-header {
        background: white !important;
    }
    
    /* Hide menu header (logo) and close button on desktop */
    .menu-header-item {
        display: none !important;
    }
    
    .menu-close-btn {
        display: none !important;
    }
    
    /* Desktop floating logo - longer with lighter glassmorphism */
    .floating-logo-link {
        background: rgba(255, 255, 255, 0.15);
        padding: 0.75rem 2rem;
        border-radius: 50px;
        backdrop-filter: blur(15px) saturate(120%);
        -webkit-backdrop-filter: blur(15px) saturate(120%);
        border: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        min-width: auto;
        width: auto;
    }
    
    .floating-logo-link:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.35);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
    }
    
    /* Reduce gap between program cards on desktop */
    .programs-carousel {
        gap: 0.5rem;
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 20px;
    position: relative;
}

.nav-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    left: 0;
    z-index: 10;
}

.nav-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.nav-contact-link:hover {
    color: var(--top-bar-bg);
}

.nav-contact-link svg {
    flex-shrink: 0;
    color: var(--top-bar-bg);
}

.nav-auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    right: 0;
    z-index: 10;
}

.btn-nav {
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.btn-nav-login {
    color: #333;
    background: transparent;
    border: 2px solid #333;
}

.btn-nav-login:hover {
    background: #333;
    color: white;
}

.btn-nav-signup {
    color: white;
    background: var(--top-bar-bg);
    border: 2px solid var(--top-bar-bg);
}

.btn-nav-signup:hover {
    background: #1e293b;
    border-color: #1e293b;
}

.btn-nav-admin {
    color: white;
    background: var(--top-bar-bg);
    border: 2px solid var(--top-bar-bg);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-nav-admin:hover {
    background: #1e293b;
    border-color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

.btn-nav-admin::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    padding: 0 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 3.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.75rem 0.5rem;
    display: block;
    white-space: nowrap;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.nav-link:hover,
.nav-link.active {
    color: var(--top-bar-bg);
    border-bottom: 2px solid var(--top-bar-bg);
}

.has-dropdown {
    position: relative;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    padding: 2rem;
    min-width: 800px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .dropdown-menu {
        min-width: 600px;
        grid-template-columns: repeat(2, 1fr);
    }
}

.dropdown-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--top-bar-bg);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.dropdown-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-col ul li {
    margin-bottom: 0.5rem;
}

.dropdown-col ul li a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: block;
    padding: 0.25rem 0;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.dropdown-col ul li a:hover {
    color: var(--top-bar-bg);
    padding-left: 0.5rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login,
.btn-signup {
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-login {
    background: transparent;
    color: var(--top-bar-bg);
    border: 2px solid var(--top-bar-bg);
}

.btn-login:hover {
    background: var(--top-bar-bg);
    color: white;
}

.btn-signup {
    background: var(--top-bar-bg);
    color: white;
}

.btn-signup:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.5rem;
    gap: 4px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: var(--transition);
}

/* Logo Styles */
.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    display: block;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.institution-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.institution-text {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    white-space: nowrap;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--hero-bg);
    width: 100%;
    margin: 0;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    filter: brightness(0.9) contrast(1.05);
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-image-1 {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    color: white;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-text-container {
    max-width: 800px;
}

.hero-title-wrapper {
    margin-bottom: 1rem;
}

.hero-title-line1,
.hero-title-line2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    text-shadow: var(--text-shadow), 0 0 30px rgba(0, 0, 0, 0.4);
    margin: 0;
    padding: 0;
    letter-spacing: -0.02em;
    display: block;
    animation: slideIn 1s ease-out forwards;
}

.hero-title-line1 {
    animation-delay: 0.2s;
}

.hero-title-line2 {
    animation-delay: 0.4s;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 4rem;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.6);
    max-width: 600px;
    line-height: 1.7;
    font-weight: 500;
    color: #fff;
    opacity: 0;
    animation: fadeInLeft 1s ease-out 0.6s forwards;
}

.hero-actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-nav-left,
.hero-nav-right {
    position: absolute;
    top: 2rem;
    z-index: 20;
}

.hero-nav-left {
    left: 2rem;
}

.hero-nav-right {
    right: 2rem;
}

.hero-nav-btn {
    background: transparent;
    border: none;
    padding: 12px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav-btn:hover {
    color: #f0f0f0;
    transform: scale(1.1);
}

.hero-nav-btn svg {
    width: 32px;
    height: 32px;
    stroke-width: 3;
}

/* Hero Buttons */
.btn-hero-primary,
.btn-hero-secondary {
    padding: 0.6rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    min-height: 42px;
    font-weight: 600;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    animation: slideIn 1s ease-out 1s forwards;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.btn-hero-secondary {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: slideIn 1s ease-out 1.2s forwards;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-hero-primary svg,
.btn-hero-secondary svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: white;
    z-index: 10;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-3px);
}

.scroll-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(12px);
    transition: var(--transition);
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 20px rgba(255, 255, 255, 0.1);
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.scroll-arrow svg {
    color: white;
    width: 20px;
    height: 20px;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transform: translateY(-1px);
}

.scroll-indicator:hover .scroll-arrow {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.2);
}

.scroll-indicator:hover .scroll-arrow::before {
    opacity: 1;
}

.scroll-indicator:hover .scroll-arrow::after {
    width: 80px;
    height: 80px;
}

.scroll-indicator:hover .scroll-arrow svg {
    transform: translateY(2px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.scroll-text {
    font-size: 0.8rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    opacity: 0.8;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.scroll-indicator:hover .scroll-text {
    opacity: 1;
}

/* Partner Universities Section */
.partners-section {
    background: white;
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0;
}

.partners-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 3rem;
    animation: scrollLogos 20s linear infinite;
    will-change: transform;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 120px;
    padding: 0.5rem;
    transition: var(--transition);
}

.partner-logo:hover {
    transform: scale(1.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.partners-section:hover .partners-track {
    animation-play-state: paused;
}

/* Lecturers Section */
.lecturers-section {
    background: var(--top-bar-bg);
    padding: 2rem 0;
    color: white;
    width: 100%;
    margin: 0;
}

.lecturers-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.lecturers-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #fbbf24;
    border-radius: 2px;
}

.lecturers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.lecturer-card {
    text-align: center;
    transition: var(--transition);
}

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

.lecturer-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
}

.lecturer-card:hover .lecturer-image {
    border-color: #fbbf24;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.3);
}

.lecturer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.lecturer-card:hover .lecturer-image img {
    transform: scale(1.1);
}

.lecturer-info {
    color: white;
}

.lecturer-name {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: white;
}

.lecturer-title {
    font-size: 0.75rem;
    margin-bottom: 0.15rem;
    opacity: 0.9;
    color: white;
}

.lecturer-org {
    font-size: 0.7rem;
    opacity: 0.8;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.lecturer-org svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Programs Section */
.programs-section {
    background-image: url('../assets/uni3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem 0;
    position: relative;
    width: 100%;
    margin: 0;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.65);
    z-index: 1;
}

.programs-section > .container {
    position: relative;
    z-index: 2;
}

.programs-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.programs-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.programs-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #fbbf24;
    border-radius: 2px;
}


.programs-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label {
    font-weight: 600;
    font-size: 0.75rem;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.filter-btn {
    padding: 0.5rem 1.2rem;
    border: 2px solid var(--top-bar-bg);
    background: white;
    color: var(--top-bar-bg);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.filter-btn:hover {
    background: #f3f4f6;
}

.filter-btn.active {
    background: var(--top-bar-bg);
    color: white;
    border-color: var(--top-bar-bg);
}

.programs-carousel-wrapper {
    position: relative;
    padding: 0 3rem;
}

/* Programs Carousel Dot Indicators - Hidden on Desktop */
.programs-carousel-dots {
    display: none;
}

.programs-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0;
    max-width: 100%;
}

.programs-carousel::-webkit-scrollbar {
    display: none;
}

.program-card,
a.program-card {
    flex: 0 0 calc(25% - 0.75rem);
    min-width: 270px;
    max-width: 290px;
    background: white;
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

@media (min-width: 1200px) {
    .program-card {
        flex: 0 0 calc(25% - 0.75rem);
        min-width: 0;
        max-width: none;
    }
    
    .programs-carousel {
        gap: 0.5rem;
    }
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.program-image-wrapper {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.program-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-image {
    transform: scale(1.05);
}

.program-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 5;
}

.program-tag.executive {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.program-tag.mqa {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.program-tag.certified {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.program-tag.acca {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.program-card:hover .program-tag {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.program-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-instructor {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.instructor-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.instructor-name {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 700;
}

.program-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    min-height: 3.9em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.program-description {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.program-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.stars {
    color: #fbbf24;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.rating-text {
    font-size: 0.75rem;
    color: #6b7280;
}

.program-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--top-bar-bg);
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-nav svg {
    width: 28px;
    height: 28px;
}

.carousel-nav:hover {
    background: var(--top-bar-bg);
    border-color: var(--top-bar-bg);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-prev {
    left: -28px;
}

.carousel-next {
    right: -28px;
}

/* Statistics Section */
.statistics-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    border: none;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    opacity: 0.9;
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    opacity: 1;
    transform: scale(1.1);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fbbf24 0%, #ffffff 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-shadow: none;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.4));
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0;
}

@media (max-width: 768px) {
    .statistics-section {
        padding: 50px 0;
    }
    
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .statistics-section {
        padding: 30px 0;
    }
    
    .statistics-section > .container {
        padding: 0 0.6rem 0 0.15rem;
    }
    
    .statistics-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0;
    }
    
    .stat-item {
        min-width: 0;
        flex-shrink: 0;
    }
    
    .stat-item-wrapper {
        flex-direction: column;
        gap: 0.3rem;
        padding: 0.5rem 0.4rem;
    }
    
    .stat-icon {
        width: 28px;
        height: 28px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }
}

/* Student Testimonials Section */
.testimonials-section {
    padding: 40px 0 60px 0;
    background-image: url('../assets/uni3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    width: 100%;
    margin: 0;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.65);
    z-index: 1;
}

.testimonials-section > .container {
    position: relative;
    z-index: 2;
}

.testimonials-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.testimonials-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #fbbf24;
    border-radius: 2px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 0;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.testimonial-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin: 0;
    background: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.testimonial-content {
    text-align: center;
    padding: 1.5rem;
    background: white;
}

.testimonial-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.testimonial-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.verified-badge {
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.verified-badge svg {
    width: 12px;
    height: 12px;
    color: white;
}

.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
    font-style: italic;
}

/* Footer */
.footer {
    background-image: url('../assets/GettyImages-501224618.webp');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: auto;
    width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--top-bar-bg);
    opacity: 0.95;
    z-index: 1;
}

.footer > .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.footer-logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.25rem 0;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.footer-logo-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    align-items: center;
    border: none;
    outline: none;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    border: none;
    outline: none;
    background: none;
    padding: 0;
    margin: 0;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    stroke: none;
    border: none;
    outline: none;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.15);
    border: none;
    outline: none;
}

.social-icon:focus {
    outline: none;
    border: none;
}

.social-icon:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 4px;
}

.social-icon:hover svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

/* Social Icons - White Color */
.social-facebook,
.social-instagram,
.social-twitter,
.social-linkedin,
.social-youtube {
    color: #ffffff;
}

.social-facebook:hover,
.social-instagram:hover,
.social-twitter:hover,
.social-linkedin:hover,
.social-youtube:hover {
    color: #ffffff;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.footer-links li a:hover {
    color: #fbbf24;
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.footer-contact li svg {
    flex-shrink: 0;
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-section {
        gap: 1rem;
    }
}

/* Animations */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

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

/* Responsive - Tablet and Mobile */

/* Tablet Styles (768px and below) */
@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding-top: 85px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 2.5rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: calc(90vh - 85px);
    }

    .hero-text-container {
        max-width: 100%;
        width: 100%;
        text-align: center;
    }

    .hero-title-wrapper {
        margin-bottom: 1.5rem;
    }

    .hero-title-line1,
    .hero-title-line2 {
        font-size: 2.5rem;
        line-height: 1.15;
    }

    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 3rem;
        max-width: 100%;
        line-height: 1.7;
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        flex: 1;
        min-width: 140px;
        max-width: 200px;
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
        min-height: 42px;
        border-radius: 8px;
    }

    .floating-logo-link {
        padding: 0.625rem 1.125rem;
        gap: 0.75rem;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(15px) saturate(120%);
        -webkit-backdrop-filter: blur(15px) saturate(120%);
        border: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .logo-image {
        width: 36px;
        height: 36px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .institution-text {
        font-size: 0.7rem;
    }

    .hero-nav-left,
    .hero-nav-right {
        top: 1.5rem;
    }

    .hero-nav-left {
        left: 1rem;
    }

    .hero-nav-right {
        right: 1rem;
    }

    .hero-nav-btn {
        padding: 10px;
        background: transparent;
        border: none;
    }

    .hero-nav-btn svg {
        width: 28px;
        height: 28px;
    }

    .scroll-indicator {
        bottom: 1.5rem;
    }

    .scroll-arrow {
        width: 55px;
        height: 55px;
    }

    .scroll-text {
        font-size: 0.75rem;
    }

    .partners-section {
        padding: 2.25rem 0;
    }

    .partner-logo {
        width: 100px;
        height: 45px;
    }

    .partners-track {
        gap: 2rem;
    }

    .programs-section {
        padding: 0.8rem 0 3rem 0;
    }

    .programs-title {
        font-size: 1.875rem;
    }

    .programs-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .filter-buttons {
        justify-content: center;
    }

    .programs-carousel-wrapper {
        padding: 0 1.5rem;
    }

    .program-card {
        min-width: 250px;
        max-width: 280px;
    }
    
    .program-card,
    a.program-card {
        min-width: 250px !important;
        max-width: 280px !important;
    }

    .header-inner {
        padding: 0.875rem 1rem;
    }

    .nav-contact-info {
        position: static;
        margin-bottom: 0.5rem;
    }

    .nav-contact-link {
        font-size: 0.8rem;
    }

    .site-nav {
        padding: 0 1rem;
    }

    .nav-list {
        gap: 2rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.25rem;
    }

    .dropdown-menu {
        min-width: 500px;
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem;
    }

    .statistics-section {
        padding: 15px 0 50px 0;
    }

    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item-wrapper {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .lecturers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles (480px and below) */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    body::-webkit-scrollbar {
        display: none;
    }
    
    body {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .container {
        padding: 0 16px;
    }
    .top-bar-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .top-logo {
        grid-column: 1;
        justify-self: center;
    }

    .top-logo .logo-text-container {
        display: none;
    }

    .top-logo .logo-image {
        width: 40px;
        height: 40px;
    }

    /* Menu backdrop overlay */
    .nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: #ffffff;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        text-align: left;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
        padding: 0;
        gap: 0;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
    }
    
    /* Menu header */
    .menu-header-item {
        position: sticky;
        top: 0;
        z-index: 10;
        background: #ffffff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        margin: 0;
        padding: 0;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
        min-height: 72px;
    }
    
    .menu-logo {
        display: flex;
        align-items: center;
        gap: 0.875rem;
        flex: 1;
    }
    
    .menu-logo img {
        width: 36px;
        height: 36px;
        object-fit: contain;
    }
    
    .menu-logo-text {
        display: flex;
        flex-direction: column;
        gap: 0.125rem;
    }
    
    .menu-logo-text span:first-child {
        font-weight: 700;
        color: #0f172a;
        font-size: 1.125rem;
        line-height: 1.3;
        letter-spacing: -0.01em;
    }
    
    .menu-logo-text span:last-child {
        font-weight: 400;
        color: #64748b;
        font-size: 0.7rem;
        line-height: 1.3;
    }
    
    .menu-close-btn {
        background: transparent;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        color: #334155;
        flex-shrink: 0;
    }
    
    .menu-close-btn:hover {
        background: #f1f5f9;
        border-color: rgba(0, 0, 0, 0.15);
        color: #0f172a;
    }
    
    .menu-close-btn svg {
        width: 18px;
        height: 18px;
    }

    .nav-list.active {
        left: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding: 0.875rem 1.25rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        color: #333;
        font-weight: 500;
        font-size: 0.9rem;
        transition: all 0.2s ease;
        position: relative;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--top-bar-bg);
        transform: scaleY(0);
        transition: transform 0.2s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: linear-gradient(90deg, rgba(30, 58, 138, 0.08) 0%, rgba(30, 58, 138, 0.03) 100%);
        color: var(--top-bar-bg);
        padding-left: 1.5rem;
    }
    
    .nav-link:hover::before,
    .nav-link.active::before {
        transform: scaleY(1);
    }

    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        min-width: auto;
        display: block;
        background: rgba(30, 58, 138, 0.02);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-dropdown.active .dropdown-menu {
        max-height: 1000px;
        margin-top: 0;
        padding: 0.75rem 0;
    }
    
    .has-dropdown.active > .nav-link {
        background: linear-gradient(90deg, rgba(30, 58, 138, 0.1) 0%, rgba(30, 58, 138, 0.05) 100%);
        color: var(--top-bar-bg);
    }

    .dropdown-col {
        margin-bottom: 0;
        padding: 0 1.25rem 0 2.5rem;
    }
    
    .dropdown-col:not(:last-child) {
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .dropdown-col h4 {
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--top-bar-bg);
        margin-bottom: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.8px;
    }
    
    .dropdown-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .dropdown-col ul li {
        margin-bottom: 0.4rem;
    }
    
    .dropdown-col ul li a {
        display: block;
        padding: 0.4rem 0.5rem;
        color: #555;
        font-size: 0.8rem;
        text-decoration: none;
        transition: all 0.2s ease;
        border-radius: 4px;
        margin-left: -0.5rem;
    }
    
    .dropdown-col ul li a:hover {
        color: var(--top-bar-bg);
        background: rgba(30, 58, 138, 0.08);
    }

    .has-dropdown > .nav-link {
        justify-content: space-between;
    }
    
    .has-dropdown > .nav-link::after {
        content: '▼';
        font-size: 0.65rem;
        margin-left: auto;
        transition: transform 0.3s ease;
        color: #999;
    }

    .has-dropdown.active > .nav-link::after {
        transform: rotate(180deg);
        color: var(--top-bar-bg);
    }

    .nav-auth-buttons {
        position: static;
        margin-top: 1rem;
        justify-content: center;
        width: 100%;
        gap: 0.75rem;
    }

    .btn-nav {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
        padding: 1rem;
        gap: 0.75rem;
    }

    .btn-login,
    .btn-signup {
        width: 100%;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .floating-logo {
        top: 1rem;
    }

    .floating-logo-link {
        padding: 0.5rem 1rem;
        gap: 0.625rem;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(15px) saturate(120%);
        -webkit-backdrop-filter: blur(15px) saturate(120%);
        border: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .logo-image {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .institution-text {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .top-bar {
        padding: 0.25rem 0;
        min-height: 45px;
    }

    .top-logo .logo-image {
        width: 40px;
        height: 40px;
    }

    .site-header {
        padding: 0;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
        border-bottom: 2px solid var(--header-border);
    }

    .header-inner {
        padding: 0.35rem 0.6rem;
        flex-wrap: nowrap;
        gap: 0.3rem;
        justify-content: space-between;
        align-items: center;
        min-height: 40px;
        position: relative;
        box-sizing: border-box;
    }

    .nav-contact-info {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -15%);
        width: auto;
        order: 2;
        margin-top: -0.4rem;
        flex-direction: column;
        justify-content: center;
        gap: 0.1rem;
        align-items: center;
        flex-shrink: 0;
        min-width: 0;
        max-width: 50%;
    }

    .nav-contact-link {
        font-size: 0.55rem;
        padding: 0;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        color: #333;
        transition: color 0.2s ease;
        line-height: 1.2;
    }

    .nav-contact-link:hover {
        color: var(--top-bar-bg);
    }

    .nav-contact-link svg {
        width: 9px;
        height: 9px;
        flex-shrink: 0;
        color: #666;
        transition: color 0.2s ease;
    }

    .nav-contact-link:hover svg {
        color: var(--top-bar-bg);
    }

    .phone-country-code {
        display: none;
    }

    .nav-auth-buttons {
        position: absolute !important;
        right: 0.8rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        order: 3;
        margin-left: 0 !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        z-index: 10;
        width: auto;
    }

    .btn-nav {
        font-size: 0.6rem;
        padding: 0.35rem 0.6rem;
        white-space: nowrap;
        font-weight: 600;
        border-radius: 4px;
        transition: all 0.2s ease;
        line-height: 1.2;
    }

    .btn-nav-admin {
        gap: 0.35rem;
    }

    .btn-nav-admin::before {
        width: 10px !important;
        height: 10px !important;
    }

    .btn-nav:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }

    .site-nav {
        padding: 0;
        order: 1;
        width: auto;
        margin-left: 0;
        margin-right: 0.3rem;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        position: relative;
        min-width: 26px;
        align-self: flex-end;
        margin-bottom: 0.1rem;
    }

    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        padding: 0.25rem;
        cursor: pointer;
        background: transparent;
        border: none;
        z-index: 1000;
        border-radius: 3px;
        transition: background 0.2s ease;
        gap: 2.5px;
        justify-content: center;
        align-items: center;
        position: relative;
        width: auto;
        height: auto;
        margin-left: 1rem;
        margin-top: 1rem;
    }

    .nav-toggle:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .nav-toggle span {
        width: 16px;
        height: 1.5px;
        background-color: #333;
        display: block;
        border-radius: 1px;
        transition: all 0.3s ease;
    }
    
    /* Hamburger animation when menu is active */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .nav-list {
        top: 0;
        padding: 4rem 0 2rem 0;
        height: 100vh;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.875rem 1rem;
    }

    .hero {
        min-height: 92vh;
        max-height: 92vh;
        padding-top: 90px;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        padding-bottom: 0;
    }

    .hero-content {
        padding: 1.5rem 1.25rem 0.25rem 1.25rem;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        min-height: auto;
        width: 100%;
    }

    .hero-text-container {
        max-width: 100%;
        width: 100%;
        text-align: left;
    }

    .hero-title-wrapper {
        margin-bottom: 0.5rem;
    }

    .hero-title-line1,
    .hero-title-line2 {
        font-size: 2.75rem;
        line-height: 1.15;
        margin-bottom: 0.15rem;
        text-align: left;
    }

    .hero-description {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
        line-height: 1.65;
        padding: 0;
        text-align: left;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        align-items: flex-start;
        padding: 0;
        margin-top: 1rem;
        margin-bottom: 0.25rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: auto;
        max-width: 85%;
        min-width: 180px;
        justify-content: center;
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
        min-height: 42px;
        font-weight: 600;
        border-radius: 8px;
    }

    .btn-hero-primary svg,
    .btn-hero-secondary svg {
        width: 16px;
        height: 16px;
    }

    .hero-nav-left,
    .hero-nav-right {
        top: 1rem;
    }

    .hero-nav-left {
        left: 1rem;
    }

    .hero-nav-right {
        right: 1rem;
    }

    .hero-nav-btn {
        padding: 10px;
        background: transparent;
        border: none;
    }

    .hero-nav-btn svg {
        width: 26px;
        height: 26px;
    }

    .scroll-indicator {
        bottom: 0.5rem;
        position: absolute;
        z-index: 15;
    }

    .scroll-arrow {
        width: 45px;
        height: 45px;
    }

    .scroll-text {
        font-size: 0.65rem;
    }

    .partners-section {
        padding: 2rem 0;
    }

    .partner-logo {
        width: 90px;
        height: 40px;
        padding: 0.4rem;
    }

    .partners-track {
        gap: 1.25rem;
        animation-duration: 12s;
    }

    .lecturers-section {
        padding: 0.4rem 0 1.25rem 0;
    }

    .lecturers-section > .container {
        padding: 0 1.2rem 0 0.5rem;
    }

    .lecturers-title {
        font-size: 1rem;
        margin-bottom: 0.875rem;
    }

    .lecturers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0;
    }

    .lecturer-card {
        padding: 0.5rem;
        box-sizing: border-box;
    }

    .lecturer-image {
        width: 70px;
        height: 70px;
        margin-bottom: 0.5rem;
    }

    .lecturer-name {
        font-size: 0.8rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 0.25rem;
    }

    .lecturer-title {
        font-size: 0.7rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 0.2rem;
    }

    .lecturer-org {
        font-size: 0.65rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex-wrap: wrap;
        text-align: center;
    }

    .lecturer-org svg {
        width: 12px;
        height: 12px;
    }

    .programs-section {
        padding: 0.6rem 0 2rem 0;
    }

    .programs-section > .container {
        padding: 0 1.2rem 0 0.5rem;
    }

    .programs-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .programs-filters {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .filter-label {
        font-size: 0.7rem;
    }

    .filter-buttons {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.7rem;
        flex: 0 0 auto;
        min-width: 90px;
    }

    .programs-carousel-wrapper {
        padding: 0 1rem;
    }

    .program-card,
    a.program-card {
        flex: 0 0 240px !important;
        min-width: 240px !important;
        max-width: 260px !important;
    }

    .carousel-nav {
        width: 32px;
        height: 32px;
    }

    .carousel-nav svg {
        width: 16px;
        height: 16px;
    }

    .statistics-section {
        padding: 15px 0 20px 0;
    }
    
    .statistics-section > .container {
        padding: 0 0.6rem 0 0.15rem;
        padding-top: 0.5rem;
    }

    .statistics-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0;
    }

    .stat-item {
        min-width: 0;
        flex-shrink: 0;
    }

    .stat-item-wrapper {
        flex-direction: column;
        gap: 0.4rem;
        padding: 0.6rem 0.4rem;
    }

    .stat-icon {
        width: 32px;
        height: 32px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .testimonials-section {
        padding: 10px 0 30px 0;
    }

    .testimonials-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .testimonials-section > .container {
        padding: 0 0.8rem 0 1.2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 0.625rem;
        max-width: 85%;
        margin: 0 auto 0 0;
    }

    .testimonial-card {
        padding: 0.6rem;
        border-radius: 0.875rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
        border: 1px solid #e5e7eb;
        background: white;
        transition: all 0.3s ease;
        width: 100%;
    }
    
    .testimonial-card:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }

    .testimonial-photo {
        width: 100%;
        height: 250px;
        overflow: hidden;
        margin: 0;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 1rem 1rem 0 0;
        border: none;
        box-shadow: none;
    }
    
    .testimonial-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }
    
    .testimonial-content {
        padding: 0.4rem;
    }
    
    .testimonial-header {
        margin-bottom: 0.4rem;
    }
    
    .testimonial-name {
        font-size: 0.8rem;
    }
    
    .verified-badge {
        width: 14px;
        height: 14px;
    }
    
    .verified-badge svg {
        width: 8px;
        height: 8px;
    }
    
    .testimonial-quote {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .faq-section {
        padding: 12px 0 40px 0;
    }

    .faq-section > .container {
        padding: 0 1rem;
    }

    .faq-list {
        padding: 0 0.8rem 0 0.5rem;
    }

    .faq-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 0.875rem 0.8rem 0.875rem 0;
        gap: 0.5rem;
    }

    .faq-question span {
        flex: 1;
        min-width: 0;
        padding-right: 0.5rem;
    }

    .faq-icon {
        flex-shrink: 0;
        min-width: 20px;
        width: 20px;
        margin-right: 0.3rem;
    }

    .faq-answer {
        padding-right: 0;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 0.875rem 0;
    }

    .faq-answer p {
        font-size: 0.85rem;
        padding-right: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* Quick Links and Programs sections - 2 columns on mobile */
    .footer-section:nth-child(2) .footer-links,
    .footer-section:nth-child(3) .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 1rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-links li a,
    .footer-contact li {
        font-size: 0.85rem;
    }

    .application-section {
        padding: 10px 0 30px 0;
    }

    .application-section > .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .application-content {
        gap: 0.25rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .application-text {
        width: 100%;
        padding-right: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .application-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .application-description:first-of-type {
        display: none;
    }

    .application-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .application-form-wrapper {
        padding: 1rem 1.25rem 1.25rem 1.25rem;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .application-form {
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group {
        gap: 0.5rem;
    }

    .form-group label {
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .checkbox-label {
        font-size: 0.8rem;
        gap: 0.5rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding-right: 0;
    }

    .whatsapp-note {
        font-size: 0.8rem;
        padding: 0.625rem;
        margin-top: -0.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        box-sizing: border-box;
    }

    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        margin-top: 0.5rem;
    }

    .lecturers-section {
        padding: 0.5rem 0 1.5rem 0;
    }

    .lecturers-section > .container {
        padding: 0 1.2rem 0 0.5rem;
    }

    .lecturers-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .lecturers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
        padding: 0;
    }

    .lecturer-card {
        padding: 0.5rem;
        box-sizing: border-box;
    }

    .lecturer-image {
        width: 80px;
        height: 80px;
        margin-bottom: 0.5rem;
    }

    .lecturer-name {
        font-size: 0.85rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 0.25rem;
    }

    .lecturer-title {
        font-size: 0.75rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 0.2rem;
    }

    .lecturer-org {
        font-size: 0.7rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex-wrap: wrap;
        text-align: center;
    }

    .lecturer-org svg {
        width: 14px;
        height: 14px;
    }

    .programs-section {
        padding: 0.6rem 0 2rem 0;
    }

    .programs-section > .container {
        padding: 0 1.2rem 0 0.5rem;
    }

    .programs-header {
        margin-bottom: 1.25rem;
    }

    .programs-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .programs-title::after {
        width: 50px;
        height: 2.5px;
    }

    .programs-filters {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        width: 100%;
    }

    .filter-label {
        font-size: 0.65rem;
        margin-bottom: 0.25rem;
    }

    .filter-buttons {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        justify-content: flex-start;
    }

    .filter-btn {
        flex: 0 0 auto;
        padding: 0.5rem 0.9rem;
        font-size: 0.7rem;
        min-width: 80px;
        border-radius: 20px;
        border-width: 1.5px;
    }

    .programs-carousel-wrapper {
        padding: 0 0.5rem;
        position: relative;
    }

    .programs-carousel {
        gap: 1rem;
        padding: 0.5rem 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Programs Carousel Dot Indicators (Mobile Only) */
    .programs-carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    .programs-carousel-dots .dot-indicator {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: none;
        background: rgba(0, 0, 0, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
        outline: none;
    }
    
    .programs-carousel-dots .dot-indicator:hover {
        background: rgba(0, 0, 0, 0.4);
        transform: scale(1.2);
    }
    
    .programs-carousel-dots .dot-indicator.active {
        background: var(--top-bar-bg);
        width: 10px;
        height: 10px;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    }
    
    .programs-carousel-dots .dot-indicator:focus-visible {
        outline: 2px solid var(--top-bar-bg);
        outline-offset: 2px;
    }

    .program-card,
    a.program-card {
        flex: 0 0 calc(70% - 0.5rem) !important;
        min-width: calc(70% - 0.5rem) !important;
        max-width: calc(70% - 0.5rem) !important;
        width: calc(70% - 0.5rem) !important;
        border-radius: 0.75rem;
        scroll-snap-align: center;
        box-sizing: border-box;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    .program-image-wrapper {
        height: 140px;
    }

    .program-tag {
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
        top: 0.6rem;
        left: 0.6rem;
    }

    .program-content {
        padding: 0.75rem;
    }

    .program-instructor {
        margin-bottom: 0.5rem;
    }

    .instructor-avatar {
        width: 28px;
        height: 28px;
    }

    .instructor-name {
        font-size: 0.7rem;
    }

    .program-name {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
        display: block !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
        -webkit-box-orient: unset !important;
        overflow: visible !important;
        min-height: auto !important;
    }

    .program-description {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
        display: block !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
        -webkit-box-orient: unset !important;
        overflow: visible !important;
        color: #4b5563;
    }

    .program-rating {
        margin-bottom: 0.5rem;
    }

    .program-rating .stars {
        font-size: 0.7rem;
    }

    .rating-text {
        font-size: 0.65rem;
    }

    .program-price {
        font-size: 0.9rem;
        font-weight: 700;
    }

    .carousel-nav {
        display: none !important;
    }

    .carousel-nav svg {
        display: none !important;
    }

    .testimonials-section {
        padding: 10px 0 20px 0;
    }

    .testimonials-title {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }

    .testimonials-section > .container {
        padding: 0 0.65rem;
        box-sizing: border-box;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.25rem;
        max-width: 100%;
        margin: 0 auto;
        overflow-x: visible;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0;
        box-sizing: border-box;
    }
    
    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }
    
    .testimonials-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .testimonial-card {
        padding: 0;
        border-radius: 0.6rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
        border: 1px solid #e5e7eb;
        background: white;
        transition: all 0.3s ease;
        min-width: 0;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .testimonial-card:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }

    .testimonial-photo {
        width: 100%;
        height: 100px;
        overflow: hidden;
        margin: 0;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0.6rem 0.6rem 0 0;
        border: none;
        outline: none;
    }
    
    .testimonial-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        border: none;
        outline: none;
    }
    
    .testimonials-grid .testimonial-card:nth-child(2) .testimonial-photo img {
        object-position: center 60%;
    }
    
    .testimonials-grid .testimonial-card:nth-child(3) .testimonial-photo img {
        object-position: center 35%;
    }
    
    .testimonial-content {
        padding: 0.6rem 0.5rem;
        background: white;
        text-align: center;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .testimonial-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
        margin-bottom: 0.4rem;
    }
    
    .testimonial-name {
        font-size: 0.75rem;
        font-weight: 700;
        color: #1f2937;
        margin: 0;
    }
    
    .verified-badge {
        width: 12px;
        height: 12px;
        background: #10b981;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .verified-badge svg {
        width: 7px;
        height: 7px;
        color: white;
    }
    
    .testimonial-quote {
        font-size: 0.55rem;
        line-height: 1.3;
        color: #4b5563;
        margin: 0;
        font-style: italic;
        text-align: left;
    }

    .programs-carousel-wrapper {
        padding: 0 1rem;
    }

    .program-card {
        flex: 0 0 260px;
        min-width: 260px;
        max-width: 280px;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
    }

    .carousel-nav svg {
        width: 18px;
        height: 18px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: #000000;
    width: 100%;
    margin: 0;
}

.faq-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.faq-title-accent {
    position: relative;
    display: inline-block;
}

.faq-title-accent::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fbbf24;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.faq-question:hover {
    color: #fbbf24;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: white;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-question[aria-expanded="true"] {
    color: #fbbf24;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 0 1rem 0;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    font-family: 'Optima', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 15px 0 50px 0;
    }

    .faq-section > .container {
        padding: 0 1rem;
    }

    .faq-list {
        padding: 0 0.8rem 0 0.5rem;
    }

    .faq-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .faq-question {
        padding-right: 0.8rem;
    }

    .faq-icon {
        margin-right: 0.3rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 0.875rem 0;
        gap: 0.5rem;
    }

    .faq-question span {
        flex: 1;
        min-width: 0;
        padding-right: 0.5rem;
    }

    .faq-icon {
        flex-shrink: 0;
        min-width: 20px;
        width: 20px;
    }

    .faq-answer {
        padding-right: 0;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 0.875rem 0;
    }

    .faq-answer p {
        font-size: 0.9rem;
        padding-right: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Search Modal */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal.active {
    display: flex;
    opacity: 1;
}

.search-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.search-modal-content {
    position: relative;
    background: white;
    border-radius: 1rem;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.search-modal.active .search-modal-content {
    transform: scale(1);
}

.search-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: var(--transition);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal-close:hover {
    color: #1f2937;
    transform: rotate(90deg);
}

.search-container {
    padding: 2.5rem;
}

.search-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
}

.search-form {
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    background: #f9fafb;
}

.search-input-wrapper:focus-within {
    border-color: #fbbf24;
    background: white;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.search-icon {
    color: #9ca3af;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: #1f2937;
    outline: none;
    padding: 0;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-submit {
    background: #fbbf24;
    border: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.search-submit:hover {
    background: #f59e0b;
    transform: scale(1.05);
}

.search-results {
    min-height: 100px;
    max-height: 400px;
    overflow-y: auto;
}

.search-results:empty {
    display: none;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: #f9fafb;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.search-result-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.search-no-results {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .search-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .search-container {
        padding: 1.5rem;
    }

    .search-title {
        font-size: 1.5rem;
    }
}

/* Application Form Section */
.application-section {
    padding: 80px 0;
    background-image: url('../assets/uni3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

.application-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.65);
    z-index: 1;
}

.application-section > .container {
    position: relative;
    z-index: 2;
}

.application-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.application-text {
    color: #1f2937;
}

.application-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.application-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1.25rem;
}

.application-form-wrapper {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #1f2937;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label .link {
    color: #1e40af;
    text-decoration: underline;
    transition: var(--transition);
}

.checkbox-label .link:hover {
    color: #fbbf24;
}

.whatsapp-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f0fdf4;
    border-radius: 0.5rem;
    color: #16a34a;
    font-size: 0.875rem;
    margin-top: -0.5rem;
}

.whatsapp-note svg {
    flex-shrink: 0;
}

.submit-btn {
    background: #1e40af;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .application-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .application-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .application-section {
        padding: 12px 0 40px 0;
    }

    .application-section > .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .application-content {
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .application-text {
        width: 100%;
        padding-right: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .application-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .application-description:first-of-type {
        display: none;
    }

    .application-description {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .application-form-wrapper {
        padding: 1.25rem 1.5rem 1.5rem 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .application-form {
        gap: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.75rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .form-group label {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .checkbox-label {
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding-right: 0;
    }

    .whatsapp-note {
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        box-sizing: border-box;
    }

    .application-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .application-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }

    .checkbox-label {
        font-size: 0.85rem;
    }

    .whatsapp-note {
        font-size: 0.85rem;
    }

    .submit-btn {
        width: 100%;
        padding: 1rem;
    }
}
