/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Institutional & Academic */
    --primary: #1e3a8a; /* Deep Navy / Academic Blue */
    --primary-dark: #172554;
    --primary-light: #3b82f6;
    --secondary: #64748b; /* Neutral Gray */
    --secondary-light: #f1f5f9;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography - Professional & Formal */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; /* Could be a serif if requested, but Inter is very professional */
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 6rem 0; /* Increased for better structure */
    
    /* Rounded Corners - Reduced for institutional feel */
    --radius-sm: 4px;
    --radius: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows - More subtle */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition);
    box-sizing: border-box;
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.user-dropdown-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    overflow: hidden;
}

.user-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

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

.dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
    color: var(--primary);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    width: 100%;
    box-sizing: border-box;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
    text-decoration: none;
}

.brand-icon {
    width: 28px;
    height: 28px;
    margin-right: 0.4rem;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 0.4rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.8rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

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

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

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

.btn-secondary {
    background: #6b7280;
    color: var(--white);
    border: 2px solid #6b7280;
}

.btn-secondary:hover {
    background: #4b5563;
    border-color: #4b5563;
    transform: translateY(-2px);
}

/* Navbar specific button styling */
.navbar .btn-outline {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
}

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

.btn-large {
    padding: 0.8rem 1.6rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
    padding-top: 60px;
    padding-bottom: 120px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.2;
    background-image: url('../images/academic_hero.png');
    background-size: cover;
    background-position: center;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--primary-dark) 0%, rgba(23, 37, 84, 0.4) 100%);
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 2rem 1rem 4rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.title-highlight {
    color: var(--accent);
}

.title-main {
    display: block;
}

.title-sub {
    display: block;
    font-size: 1.8rem;
    color: var(--gray-300);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--gray-200);
    max-width: 600px;
}

.credibility-indicators {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--gray-200);
    font-size: 1rem;
    font-weight: 500;
}

.indicator-item i {
    color: var(--success);
    font-size: 1.2rem;
}

.hero-visual {
    position: relative;
}

.visual-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img-main {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.visual-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 1s ease-out;
}

.visual-badge i {
    color: var(--success);
    font-size: 1.2rem;
}

.visual-badge span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

/* Impact Metrics Section */
.impact-metrics {
    background: var(--white);
    padding: 3rem 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    z-index: 10;
    margin-top: -20px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Learning Methodology Section */
.methodology {
    padding: var(--section-padding);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.methodology-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.methodology-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.methodology-card h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 700;
}

.methodology-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Stakeholders Section */
.stakeholders {
    padding: var(--section-padding);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.stakeholders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.stakeholder-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stakeholder-card:hover {
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
}

.stakeholder-content h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
}

/* News Section Styles */
.news-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.news-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.news-carousel {
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.news-item {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--white);
}

.news-content {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-title {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 800;
}

.news-excerpt {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.carousel-controls {
    position: absolute;
    top: 50%;
    left: -30px;
    right: -30px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    pointer-events: auto;
    color: var(--primary-dark);
}

.carousel-btn:hover:not(:disabled) {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

.news-loading {
    padding: 5rem;
    text-align: center;
    width: 100%;
    color: var(--gray-600);
    font-weight: 600;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .news-carousel-container {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .carousel-controls {
        left: -15px;
        right: -15px;
    }
}

@media (max-width: 768px) {
    .news-item {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    
    .news-content {
        padding: 2.5rem 1.5rem;
        order: 2;
    }
    
    .news-image {
        height: 200px;
        order: 1;
        width: 100%;
        display: block;
    }
    
    .news-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .carousel-controls {
        position: static;
        transform: none;
        margin-top: 1.5rem;
        justify-content: center;
        gap: 2rem;
        pointer-events: auto;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
    }
}

.stakeholder-content h3 i {
    color: var(--primary);
    font-size: 1.5rem;
}

.stakeholder-content ul {
    list-style: none;
    padding-left: 0;
}

.stakeholder-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.stakeholder-content ul li::before {
    content: '■';
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.6rem;
    line-height: 2.2;
}

/* Overview Section */
.overview {
    padding: var(--section-padding);
    background: var(--white);
}

.overview-grid {
    display: grid;
    gap: 4rem;
}

.overview-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.overview-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.overview-card {
    padding: 3rem 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.overview-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.overview-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.overview-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.overview-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
    animation: scroll-bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-description {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 550px;
    margin: 0 auto;
}

/* News Section */
.news-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.news-section::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 1;
}

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

.news-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.news-carousel {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item {
    min-width: 100%;
    display: flex;
    align-items: center;
    padding: 60px;
    gap: 60px;
}

.news-item:nth-child(even) {
    flex-direction: row-reverse;
}

.news-content {
    flex: 1;
    max-width: 500px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--gray-600);
}

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

.news-author::before {
    content: '👤';
    font-size: 16px;
}

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

.news-date::before {
    content: '📅';
    font-size: 16px;
}

.news-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-excerpt {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 30px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    background: transparent;
}

.news-read-more:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.news-image {
    flex: 1;
    max-width: 500px;
}

.news-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-image img:hover {
    transform: scale(1.05);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    color: var(--primary);
    font-size: 20px;
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Loading state */
.news-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px;
    font-size: 1.2rem;
    color: var(--gray-600);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(37, 99, 235, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design for News Section */
@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }
    
    .news-item {
        flex-direction: column !important;
        padding: 40px 30px;
        gap: 30px;
        text-align: center;
    }
    
    .news-title {
        font-size: 2rem;
    }
    
    .news-image {
        max-width: 100%;
    }
    
    .news-image img {
        height: 250px;
    }
    
    .carousel-controls {
        padding: 0 10px;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

/* Teachers Page Styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
        background-position: 0% 50%;
    }
    25% {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
        background-position: 100% 50%;
    }
    50% {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #667eea 100%);
        background-position: 100% 0%;
    }
    75% {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
        background-position: 0% 100%;
    }
    100% {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
        background-position: 0% 50%;
    }
}

.page-header::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="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #f0f9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.separator {
    opacity: 0.6;
}

.current {
    font-weight: 600;
}

/* Teachers Filter */
.teachers-filter {
    padding: 2rem 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.filter-container {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.filter-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-select select {
    padding: 0.8rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select select:focus {
    outline: none;
    border-color: var(--primary);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 3px;
    position: relative;
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Teachers Grid */
.teachers-grid-section {
    padding: 3rem 0;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.teacher-card {
    background: white;
    border-radius: 1.2rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--gray-100);
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.teacher-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--gray-100);
    transition: var(--transition);
}

.teacher-card:hover .teacher-avatar {
    border-color: var(--primary);
    transform: scale(1.05);
}

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

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gray-500);
}

.teacher-info {
    text-align: center;
}

.teacher-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.3rem;
}

.teacher-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.teacher-specialization {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.teacher-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.stat-item i {
    color: var(--primary);
}

.teacher-bio {
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.teacher-experience {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.teacher-experience i {
    color: var(--primary);
}

.teacher-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.skill-tag {
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.skill-more {
    background: var(--gray-200);
    color: var(--gray-600);
    padding: 0.3rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.teacher-contact {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.contact-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.contact-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-600);
}

.no-results-icon {
    font-size: 4rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

/* Teachers CTA */
.teachers-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive Design for Teachers */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .teachers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .teacher-card {
        padding: 1.5rem;
    }
    
    .teacher-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Categories */
.categories {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.8rem;
}

.category-description {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.5;
}

.category-btn {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    width: 100%;
    background-color: #667eea;
    border-color: #667eea;
}

.category-btn:hover {
    background-color: #5a6fe0;
    border-color: #5a6fe0;
}

/* Courses */
.courses {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #5b73e8 100%);
    position: relative;
    overflow: hidden;
}

.courses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

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

.courses .section-title,
.courses .section-description {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Removed heavy gradient animation for better performance */

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.course-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-price,
.course-free {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 1.5rem;
    font-weight: 600;
    font-size: 0.8rem;
}

.course-free {
    background: var(--success);
}

.course-content {
    padding: 1.5rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.course-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--secondary-light);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
}

.course-level {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 600;
    background: transparent;
    padding: 0;
}

.course-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
    line-height: 1.4;
}

.course-description {
    color: var(--gray-600);
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 1.2rem;
    border-top: 1px solid var(--gray-100);
    font-size: 0.85rem;
    color: var(--gray-500);
}

.course-instructor,
.course-duration {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.section-footer {
    text-align: center;
    margin-top: 2.5rem;
}

/* About */
.about {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
}

.about-text .section-title::after {
    left: 0;
    transform: none;
}

.features-list {
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.4rem;
}

.feature-content p {
    color: var(--gray-600);
    line-height: 1.5;
    font-size: 0.9rem;
}

.about-visual {
    position: relative;
    height: 350px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1.2rem;
    border-radius: 0.8rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--gray-800);
    animation: float 6s ease-in-out infinite;
    font-size: 0.9rem;
}

.floating-card i {
    font-size: 1.3rem;
    color: var(--primary);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 10%;
    right: 20%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.card-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 4.5s;
}

/* Footer */
.footer,
.main-footer {
    background: #0f172a;
    color: var(--gray-400);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 1.5rem;
}

.footer-brand i {
    color: var(--primary);
}

.footer-brand a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-brand a:hover {
    color: var(--primary-light);
}

.footer-brand img {
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
    flex-shrink: 0;
    border-radius: 4px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
}

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

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    width: 100%;
}

.footer-section {
    flex: 1;
    min-width: 150px;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a,
.social-links .social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-links a:hover,
.social-links .social-link:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-section h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.4rem;
}

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-300);
    font-size: 0.85rem;
}

.footer-bottom .copyright {
    margin: 0;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes typing {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

@keyframes blink {
    0%, 50% { border-color: var(--primary); }
    51%, 100% { border-color: transparent; }
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--gray-200);
        color: var(--gray-700);
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: var(--primary-light);
        color: var(--primary);
    }
    
    .nav-toggle {
        display: flex;
        order: 3;
        z-index: 1001;
    }
    
    .nav-actions {
        order: 2;
    }
    
    .nav-actions .btn:last-child {
        display: none;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-grid, .cert-grid, .stakeholders-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-container {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .impact-metrics {
        margin-top: 0;
        padding: 2rem 0;
    }
    
    .metric-number {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding-bottom: 20px;
    }
    
    .main-footer {
        padding: 4rem 1rem 2rem;
    }
    
    /* Certification section mobile */
    .cert-grid {
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .cert-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .cert-content > p {
        font-size: 0.9rem;
    }
    
    .cert-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cert-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .cert-text h4 {
        font-size: 1rem;
    }
    
    .cert-text p {
        font-size: 0.85rem;
    }
    
    .cert-card-mockup {
        padding: 2rem 1.5rem;
        border-width: 5px;
    }
    
    .cert-card-mockup i {
        font-size: 3rem !important;
    }
    
    .cert-card-mockup h4 {
        font-size: 1.3rem;
    }
    
    .cert-card-mockup p {
        font-size: 0.85rem;
    }
    
    .certification {
        padding: 3rem 0;
    }
    
    /* Partners section mobile */
    .partners-logos {
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .partner-logo i {
        font-size: 2rem !important;
    }
    
    .partner-logo span {
        font-size: 0.8rem;
    }
    
    /* Stakeholder cards mobile */
    .stakeholder-card {
        padding: 1.5rem;
    }
    
    .stakeholder-content h3 {
        font-size: 1.1rem;
        gap: 0.5rem;
    }
    
    .stakeholder-content ul li {
        font-size: 0.85rem;
    }
    
    /* Industry section mobile */
    .industry-content .section-title {
        text-align: center;
    }
    
    .industry-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .industry-list li {
        font-size: 0.9rem;
    }
    
    .industry .btn {
        display: block;
        text-align: center;
    }
    
    /* About section mobile */
    .visual-container {
        height: 250px;
    }
    
    .floating-card {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
    
    /* Section descriptions mobile */
    .section-description {
        font-size: 0.95rem;
    }
    
    .section-title::after {
        width: 40px;
    }
    
    /* All sections consistent padding mobile */
    .methodology,
    .stakeholders,
    .partners,
    .categories,
    .courses,
    .about,
    .industry {
        padding: 3rem 0;
    }
    
    /* Methodology cards mobile */
    .methodology-card {
        padding: 1.5rem 1rem;
    }
    
    .methodology-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .methodology-card h3 {
        font-size: 1rem;
    }
    
    .methodology-card p {
        font-size: 0.85rem;
    }
    
    /* Nav actions mobile */
    .nav-actions .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-section {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
    }
    
    .footer-section ul li a {
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    
    .metric-number {
        font-size: 1.8rem;
    }
    
    /* Partners on very small screens */
    .partners-logos {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .partner-logo {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--gray-200);
        border-radius: var(--radius-sm);
    }
    
    .partner-logo i {
        font-size: 1.5rem !important;
    }
    
    /* About floating cards on very small screens */
    .visual-container {
        height: 200px;
    }
    
    .floating-card {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }
    
    /* Stakeholder cards very small */
    .stakeholder-card {
        padding: 1.2rem;
    }
    
    /* Hero actions stack vertically */
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-description {
        font-size: 0.85rem;
    }
}

/* Dashboard Hero Section */
.dashboard-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 0 100px 0; /* Extra padding-top untuk navbar */
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    z-index: 1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

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

.dashboard-hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.dashboard-hero .welcome-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dashboard-hero .welcome-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.dashboard-hero .user-avatar {
    width: 80px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .dashboard-hero {
        padding: 130px 0 80px 0;
    }
    
    .dashboard-hero .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .dashboard-hero .welcome-text h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .dashboard-hero .user-avatar {
        width: 70px;
        height: 90px;
        font-size: 1.75rem;
    }
}
/* Industry Section */
.industry {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.industry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.industry-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.industry-content .section-title {
    text-align: left;
}

.industry-content .section-title::after {
    left: 30px;
}

.industry-list {
    list-style: none;
    margin: 2rem 0;
}

.industry-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--gray-700);
}

.industry-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Partners Section */
.partners {
    padding: var(--section-padding);
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.partner-logo:hover {
    color: var(--primary);
    transform: translateY(-5px);
}

.partner-logo span {
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Certification & Outcomes Section */
.certification {
    padding: var(--section-padding);
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.certification .section-title {
    color: var(--gray-900);
}

.certification .section-description {
    color: var(--gray-600);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 4rem;
}

.cert-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

.cert-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cert-icon {
    width: 50px;
    height: 50px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.cert-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.cert-text p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.cert-card-mockup {
    background: var(--white);
    border: 8px solid var(--gray-100);
    padding: 3rem;
    text-align: center;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cert-card-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--primary-dark);
}

.cert-card-mockup i {
    color: var(--primary);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.cert-card-mockup h4 {
    color: var(--gray-900);
    font-family: 'Times New Roman', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.cert-card-mockup p {
    color: var(--gray-600);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Advantages Section Styles */
.features-list {
    display: grid;
    gap: 2rem;
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.visual-container {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1.2rem 2rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    border-left: 4px solid var(--primary);
    animation: float 6s ease-in-out infinite;
}

.card-1 { top: 10%; left: 0; animation-delay: 0s; }
.card-2 { top: 40%; right: 0; animation-delay: 1s; }
.card-3 { bottom: 10%; left: 10%; animation-delay: 2s; }

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