/* 
 * No.1 Math Academy - Main Stylesheet
 * A clean, minimalist design inspired by Apple's aesthetic
 */

/* Base styles and resets */
:root {
    --primary-color: #252058;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --text-color: #333333;
    --light-text: #767676;
    --background-color: #ffffff;
    --light-gray: #f5f5f7;
    --medium-gray: #e8e8ed;
    --dark-gray: #86868b;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 48px;
    --spacing-xxl: 80px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--background-color);
}

main {
    padding-top: 80px; /* To account for fixed header */
    margin-top: -15px; /* Less aggressive reduction of top space */
}

/* Modest padding adjustment for inner pages */
main .page-header {
    padding-top: 30px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style-type: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 4.8rem;
    font-weight: 700;
}

h2 {
    font-size: 3.6rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 1.8rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--light-text);
}

section {
    padding: 60px 0;
    width: 100%;
}

/* Special treatment for first section on inner pages */
.page-header {
    padding-top: 30px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 60px;
    background-color: #1e40af; /* Professional dark blue */
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0 25px 0 20px;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #1e3a8a; /* Darker professional blue */
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

.whatsapp-text {
    font-weight: 600;
}

/* Mobile responsiveness for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: auto;
        height: 50px;
        padding: 0 20px 0 15px;
    }
    
    .whatsapp-icon {
        width: 25px;
        height: 25px;
        margin-right: 6px;
    }
    
    .whatsapp-text {
        font-size: 14px;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        height: 45px;
        padding: 0 15px 0 12px;
        font-size: 14px;
    }
    
    .whatsapp-icon {
        width: 22px;
        height: 22px;
        margin-right: 5px;
    }
    
    .whatsapp-text {
        font-size: 13px;
    }
}

/* Very small mobile phones */
@media (max-width: 375px) {
    .whatsapp-float {
        bottom: 10px;
        right: 10px;
        height: 40px;
        padding: 0 12px 0 10px;
        font-size: 13px;
    }
    
    .whatsapp-icon {
        width: 20px;
        height: 20px;
        margin-right: 4px;
    }
    
    .whatsapp-text {
        font-size: 12px;
    }
    
    .assessment-float {
        bottom: 40px;
        right: 10px;
        height: 40px;
        padding: 0 12px 0 10px;
        font-size: 13px;
    }
    
    .assessment-icon {
        width: 20px;
        height: 20px;
        margin-right: 4px;
    }
    
    .assessment-text {
        font-size: 12px;
    }
}

/* Free Assessment Floating Button */
.assessment-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: none; /* Hidden on desktop */
    align-items: center;
    justify-content: center;
    width: auto;
    height: 60px;
    background-color: #a32c5c; /* Custom color for assessment */
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0 25px 0 20px;
    text-decoration: none;
}

.assessment-float:hover {
    background-color: #8b2450; /* Darker custom color */
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.assessment-icon {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

.assessment-text {
    font-weight: 600;
}

/* Mobile responsiveness for Assessment button */
@media (max-width: 768px) {
    .assessment-float {
        display: flex; /* Show on mobile */
        bottom: 65px;
        right: 20px;
        width: auto;
        height: 50px;
        padding: 0 20px 0 15px;
    }
    
    .assessment-icon {
        width: 25px;
        height: 25px;
        margin-right: 6px;
    }
    
    .assessment-text {
        font-size: 14px;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .assessment-float {
        bottom: 55px;
        right: 15px;
        height: 45px;
        padding: 0 15px 0 12px;
        font-size: 14px;
    }
    
    .assessment-icon {
        width: 22px;
        height: 22px;
        margin-right: 5px;
    }
    
    .assessment-text {
        font-size: 13px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

/* Testimonials */
.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
}

.testimonial {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: var(--spacing-xl);
    text-align: center;
}

.testimonial .testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    object-fit: cover;
}

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

.testimonial-gallery .testimonial-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0;
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.testimonial-gallery .testimonial-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
    .testimonial-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonial-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .testimonial-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testimonial .quote {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.6rem;
    line-height: 1.5;
}

.testimonial .author {
    color: var(--light-text);
    font-weight: 500;
    font-size: 1.4rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .testimonial-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        padding: var(--spacing-lg);
    }
}

.testimonial .quote {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

.testimonial .author {
    color: var(--light-text);
    font-weight: 500;
}

.primary-btn {
    background-color: #252058;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.primary-btn:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.secondary-btn {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 33, 89, 0.2);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 33, 89, 0.3);
}

/* Special styling for Free Assessment button in header */
.header-actions .cta-button a.primary-btn {
    background-color: #252058;
}

.header-actions .cta-button a.primary-btn:hover {
    background-color: #1e1a4a;
}

.text-btn {
    padding: 0;
    background: none;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

.text-btn:hover {
    color: var(--secondary-color);
}

/* Header and Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    height: 80px !important; /* Increased height for better touch targets */
    transition: all 0.3s ease;
}

/* Add scroll effect to header */
.site-header.scrolled {
    height: 70px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    background-color: transparent !important;
    box-shadow: none !important;
    position: relative;
}

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

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

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.8rem;
    margin-left: 4px;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 8px 0;
}

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

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f5f5f7;
    color: var(--primary-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-button {
    margin: 0;
}

.locations-btn .btn {
    padding: 0.9rem 1.8rem;
    font-size: 1.5rem;
}

@media (max-width: 1100px) {
    .header-actions {
        gap: 1rem;
    }
    
    .locations-btn .btn, .cta-button .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1.4rem;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    transform-origin: left center;
}

.mobile-menu-btn span:nth-child(2) {
    width: 80%;
    margin-left: auto;
}

/* Show mobile menu button on small screens */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .cta-button {
        display: none;
    }
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
    margin-left: auto;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
    transform-origin: left center;
}

.mobile-menu-btn span:nth-child(2) {
    width: 80%;
    margin-left: auto;
}

/* GeoGebra Section */
.geogebra-section {
    background-color: #f0f8ff; /* Light blue background */
    padding: 60px 0;
}

.geogebra-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.geogebra-section h2 {
    font-size: 4.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.geogebra-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    margin-bottom: 16px;
}

.geogebra-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.geogebra-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto var(--spacing-lg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.geogebra-caption {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.geogebra-caption h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-size: 2.4rem;
}

.geogebra-caption p {
    font-size: 1.6rem;
    margin-bottom: var(--spacing-sm);
    color: var(--light-text);
    line-height: 1.5;
}

.geogebra-footer {
    text-align: center;
    max-width: 800px;
    margin-top: var(--spacing-md);
}

.geogebra-footer p {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--primary-color);
}

@media (min-width: 1100px) {
    .geogebra-grid {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-xxl);
    }

    .geogebra-item {
        flex: 1;
        max-width: 500px;
    }
}

/* Page Header and Hero Sections */
.hero {
    padding-top: 150px; /* Increased padding to account for fixed header height */
    padding-bottom: 150px;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/homepage_banner.jpg');
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.page-header {
    padding-top: 100px; /* Increased padding to account for fixed header height */
    padding-bottom: 60px;
    background-color: var(--light-gray);
}

.hero .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/about_background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 120px;
    padding-bottom: 120px;
    text-align: center;
    color: white;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-header h1 {
    margin-bottom: var(--spacing-md);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    font-weight: bold;
}

.page-header p {
    font-size: 1.8rem;
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0;
}

.hero-content h1 {
    margin-bottom: var(--spacing-lg);
    color: white;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: 0;
    margin-right: 0;
    color: white;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-start;
}

.hero-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.benefits {
    background-color: white;
}

.benefits h2 {
    color: var(--primary-color);
}

.testimonials h2,
.simlab-preview h2,
.contact-form-section h2,
.about-method h2,
.about-team h2,
.values h2,
.careers-benefits h2,
.application-process h2,
.open-positions h2,
.intro-section h2,
.simulations-section h2,
.assessment-info h2,
.assessment-form-section h2,
.program-comparison h2 {
    font-size: 4.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

/* Force single column for benefits on mobile */
@media (max-width: 767px) {
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 4px; /* Minimal gap between cards */
    }
    
    .benefit-card {
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
        padding: 8px 12px; /* Minimal padding, less on top/bottom, more on sides */
        margin-bottom: 4px; /* Minimal bottom margin */
    }
    
    .benefit-card h3 {
        margin-bottom: 4px; /* Reduced space after heading */
    }
    
    .benefit-card .icon {
        margin-bottom: 4px; /* Reduced space after icon */
        font-size: 3rem; /* Smaller icon */
    }
}

.benefit-card {
    text-align: center;
    padding: 4rem 3rem;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.benefit-card .icon-container {
    margin-bottom: 2.5rem;
    position: relative;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

.benefit-card h3 {
    font-size: 2.4rem;
    margin-bottom: 1.8rem;
    color: #25205a;
    font-weight: 700;
    line-height: 1.3;
}

.benefit-card p {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1.6rem;
    margin: 0;
    font-weight: 400;
}



.section-subtitle {
    font-size: 1.8rem;
    color: #718096;
    margin-top: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Programs Preview Section */
.programs-preview {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 8rem 0;
    position: relative;
}

.programs-preview::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="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.programs-preview .container {
    position: relative;
    z-index: 1;
}

.programs-preview h2 {
    font-size: 4.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.program-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(37, 33, 89, 0.08),
        0 4px 12px rgba(37, 33, 89, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 33, 89, 0.06);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #be185d, #374151);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(37, 33, 89, 0.15),
        0 8px 25px rgba(37, 33, 89, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.program-card h3 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.program-card p {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--light-text);
    margin-bottom: 2.5rem;
}

.program-card .btn.text-btn {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.program-card .btn.text-btn::after {
    content: '';
    transition: transform 0.3s ease;
}

.program-card .btn.text-btn:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.program-card .btn.text-btn:hover::after {
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .programs-preview {
        padding: 6rem 0;
    }
    
    .programs-preview h2 {
        font-size: 3.2rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .program-card {
        padding: 3rem 2rem;
        border-radius: 16px;
    }
    
    .program-card h3 {
        font-size: 2.1rem;
        margin-bottom: 1.2rem;
    }
    
    .program-card p {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

/* Additional mobile styling for testimonials */
@media (max-width: 767px) {
    .testimonials .programs-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 2rem; /* Consistent spacing with programs section */
    }
    
    .testimonials .program-card {
        margin-bottom: 0; /* Remove extra margin, gap handles spacing */
    }
    
    .testimonial-image {
        width: 60px; /* Slightly larger testimonial image */
        height: 60px;
        margin-bottom: 1rem; /* Better spacing after image */
    }
    
    .testimonials .program-card p {
        margin-bottom: 1.5rem; /* Better spacing after testimonial text */
    }
    
    .testimonials .program-card .author {
        margin-top: 1rem;
        font-size: 1.3rem; /* Slightly larger author text for readability */
    }
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    text-align: center;
    padding: var(--spacing-xl);
}

.testimonial .quote {
    font-size: 2.2rem;
    font-style: italic;
}

/* Programs FAQ Section */
.programs-faq {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 123, 255, 0.1);
}

.programs-faq p {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.8;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

.programs-faq-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.programs-faq .btn {
    font-size: 1.5rem;
    padding: 1.2rem 2.5rem;
    border-radius: 0.6rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    min-width: 14rem;
}

.programs-faq .primary-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 123, 255, 0.3);
}

.programs-faq .primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.8rem 2.5rem rgba(0, 123, 255, 0.4);
}

.programs-faq .secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.programs-faq .secondary-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 123, 255, 0.2);
}

.testimonial .author {
    font-weight: 500;
    color: var(--dark-gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    text-align: center;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::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%);
    opacity: 0.8;
}

.cta-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-section h2 {
    color: white;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.6rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

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

.cta-section .primary-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #1a1a2e;
    font-weight: 700;
    padding: 1.5rem 3rem;
    font-size: 1.4rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cta-section .primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.cta-section .primary-btn:hover::before {
    left: 100%;
}

.cta-section .primary-btn:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3), 0 6px 15px rgba(0, 0, 0, 0.15);
}

.cta-section .secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
    padding: 1.5rem 3rem;
    font-size: 1.4rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.cta-section .secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.4s ease;
    z-index: -1;
}

.cta-section .secondary-btn:hover::before {
    width: 100%;
}

.cta-section .secondary-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a2e;
    border-color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25), 0 6px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .cta-section .primary-btn,
    .cta-section .secondary-btn {
        width: 100%;
        max-width: 300px;
        padding: 1.8rem 3rem;
        font-size: 1.6rem;
    }
}

/* Footer */
footer {
    background-color: var(--light-gray);
    padding-top: var(--spacing-xxl);
    font-size: 1.4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.footer-logo {
    max-width: 252px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 18px auto;
}

.footer-col h4 {
    margin-bottom: var(--spacing-lg);
    color: var(--text-color);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-col a {
    color: var(--light-text);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--medium-gray);
    color: var(--dark-gray);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

/* Responsive Design */
@media (max-width: 960px) {
    html {
        font-size: 58%;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content, .hero-image {
        width: 100%;
    }
}

/* Tablet Layout - iPad and similar devices */
@media (max-width: 1024px) and (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }
}

/* Mobile Layout - Phones only */
@media (max-width: 767px) {
    .nav-links, .cta-button {
        display: none;
    }

    /* Mobile menu button is now handled in the media query below */
    .nav-links {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    h1 {
        font-size: 3.6rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    section {
        padding: var(--spacing-xl) 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

/* Program Page Styles */
.program-detail {
    padding: var(--spacing-xxl) 0;
}

.program-detail:nth-child(even) {
    background-color: var(--light-gray);
}

.program-grid {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xl);
}

.program-grid.reverse {
    flex-direction: row-reverse;
}

.program-content {
    flex: 1;
    width: 100%;
}

.program-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.benefits-section, .structure-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.program-content h2 {
    font-size: 4.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.program-content h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.program-content h3:first-of-type {
    margin-top: var(--spacing-lg);
}

.program-content h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.program-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.program-subtitle {
    font-size: 1.8rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.1) 0%, rgba(255, 149, 0, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 149, 0, 0.2);
    display: inline-block;
}

.program-content > p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(37, 33, 89, 0.02);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.benefits-list, .structure-list {
    margin-bottom: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.benefits-list li, .structure-list li {
    margin-bottom: var(--spacing-md);
    position: relative;
    padding: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(37, 33, 89, 0.02) 0%, rgba(90, 200, 250, 0.05) 100%);
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.benefits-list li:hover, .structure-list li:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(90, 200, 250, 0.2);
}

.benefits-list li:before {
    content: '';
}

.structure-list li:before {
    content: '';
}

.benefits-list li:last-child, .structure-list li:last-child {
    margin-bottom: 0;
}

.program-cta {
    margin-top: var(--spacing-xl);
}

/* About Page Styles */
.about-grid {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.method-card {
    background-color: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.method-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.team-member {
    text-align: center;
    padding: var(--spacing-xl);
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    background-color: var(--background-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.team-member:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.team-photo {
    width: 200px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto var(--spacing-lg);
}

/* Dual-CAT Diagram Styles */
.dual-cat-diagram {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px 20px;
    min-height: 400px;
}

.cat-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 24px;
    width: 280px;
    min-height: 300px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.learner {
    width: 220px;
    min-height: 240px;
    background-color: #f3f4f6;
}

.learner .cat-title {
    color: #374151 !important;
}

.learner .cat-content {
    color: #374151;
}

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

.cat-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.cat-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
}

.cat-1 .cat-header {
    border-bottom-color: #2563eb;
}

.cat-1 .cat-title {
    color: #2563eb;
}

.cat-2 .cat-header {
    border-bottom-color: #dc2626;
}

.cat-2 .cat-title {
    color: #dc2626;
}

.learner .cat-header {
    border-bottom-color: #059669;
}

.learner .cat-title {
    color: #059669;
}

.cat-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-content li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #4b5563;
    position: relative;
    padding-left: 20px;
}

.cat-1 .cat-content li,
.cat-2 .cat-content li {
    font-size: 1.5rem;
}

.cat-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6b7280;
    font-weight: bold;
}

.cat-1 .cat-content li::before {
    color: #2563eb;
}

.cat-2 .cat-content li::before {
    color: #dc2626;
}

.learner .cat-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 160px;
}

.learner-icon {
    text-align: center;
}

.cat-arrow {
    position: absolute;
    z-index: 1;
}

.arrow-left {
    left: 300px;
    top: 50%;
    transform: translateY(-50%);
}

.arrow-right {
    right: 300px;
    top: 50%;
    transform: translateY(-50%);
}

.insight-loop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.insight-loop ellipse {
    /* animation: dash 8s linear infinite; */
}

@keyframes dash {
    to {
        stroke-dashoffset: -28;
    }
}

.insight-loop text {
    fill: #6b7280;
    font-family: inherit;
}

/* Responsive Design for Dual-CAT */
@media (max-width: 768px) {
    .dual-cat-diagram {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        min-height: auto;
    }
    
    .cat-card {
        width: 100%;
        max-width: 350px;
    }
    
    .cat-arrow {
        display: block;
        position: static;
        width: 30px;
        height: 60px;
        margin: 5px auto;
    }
    
    .arrow-left,
    .arrow-right {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        transform: rotate(90deg);
        display: block;
        margin: 5px auto;
        width: 30px;
        height: 60px;
    }
    
    .insight-loop {
        display: none;
    }
}

/* Mobile (376px - 480px) - Consistent single column layout */
@media (max-width: 480px) and (min-width: 376px) {
    .team-grid, 
    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Ensure dual-cat diagram maintains consistent spacing */
    .dual-cat-diagram {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .cat-card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    /* Consistent h2 sizing for small mobile */
    h2,
    .testimonials h2,
    .simlab-preview h2,
    .contact-form-section h2,
    .about-method h2,
    .about-team h2,
    .values h2,
    .careers-benefits h2,
    .application-process h2,
    .open-positions h2,
    .intro-section h2,
    .simulations-section h2,
    .assessment-info h2,
    .assessment-form-section h2,
    .program-comparison h2 {
        font-size: 2.8rem;
    }

    /* Programs FAQ mobile adjustments */
    .programs-faq {
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .programs-faq p {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .programs-faq-actions {
        flex-direction: column;
        gap: 1.5rem;
    }

    .programs-faq .btn {
        font-size: 1.4rem;
        padding: 1.2rem 2rem;
        width: 100%;
        max-width: 25rem;
    }
    
    .cat-card {
        padding: 20px;
        min-height: 250px;
    }
    
    .cat-title {
        font-size: 1.2rem;
    }
    
    .cat-content li {
        font-size: 0.9rem;
    }
}

/* Section Headers */
.section-header {
    margin-bottom: 5rem;
}

.section-header.center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 4.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.section-header p {
    font-size: 1.8rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* SimLAB Page */
.simlab-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/simuation.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.simlab-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.simlab-hero h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.simlab-hero .hero-subtitle {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.4;
    color: white;
    text-align: center;
}

/* Simulations Grid */
.simulations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.simulation-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.simulation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.simulation-preview {
    height: 200px;
    background: var(--primary-color);
    position: relative;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image::after {
    content: '\2022';
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
}

.simulation-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    height: 250px;
    text-align: center;
}

.simulation-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
}

.simulation-content p {
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.7;
    flex-grow: 1;
    font-size: 1.6rem;
}

.simulation-content .btn {
    padding: 1.2rem 2rem;
    font-size: 1.6rem;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.simulation-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.process-step {
    text-align: center;
    padding: 4rem 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    font-weight: 700;
    margin: 0 auto 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.process-step h3 {
    font-size: 2.4rem;
    margin-bottom: 1.8rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
}

.process-step p {
    color: #666;
    line-height: 1.7;
    font-size: 1.6rem;
    margin: 0;
}

/* Responsive SimLAB */
@media (max-width: 1200px) {
    .simlab-hero h1 {
        font-size: 4rem;
    }
    
    .simulation-content {
        height: 280px;
    }
}

@media (max-width: 992px) {
    .simulations-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .simulation-content {
        height: auto;
        padding: 2.5rem;
    }
    
    .simulation-content p {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .simlab-hero {
        background-position: left center !important;
    }
    
    .simlab-hero h1 {
        font-size: 3.6rem;
    }
    
    .simlab-hero .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }

    .simulation-content .btn {
        padding: 1.5rem;
    }
}

.placeholder-avatar {
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 600;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.team-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.value-card {
    background: linear-gradient(135deg, rgba(37, 33, 89, 0.05) 0%, rgba(90, 200, 250, 0.1) 50%, rgba(255, 149, 0, 0.05) 100%);
    padding: var(--spacing-xl);
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(37, 33, 89, 0.15);
    box-shadow: 0 8px 32px rgba(37, 33, 89, 0.12);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.2) rotate(5deg);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #be185d, #374151);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(37, 33, 89, 0.2);
    border-color: rgba(90, 200, 250, 0.3);
    background: linear-gradient(135deg, rgba(37, 33, 89, 0.08) 0%, rgba(90, 200, 250, 0.15) 50%, rgba(255, 149, 0, 0.08) 100%);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.value-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #1976d2, #e91e63);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover h3::after {
    opacity: 1;
}

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

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.contact-card {
    background-color: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 3.6rem;
    margin-bottom: var(--spacing-md);
}

.contact-link {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.hours {
    font-size: 1.4rem;
    color: var(--dark-gray);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

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

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

.contact-form label {
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1.6rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 4px;
}

.form-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: var(--spacing-md);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
}

.faq-item {
    padding: var(--spacing-lg);
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-xl) 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

.comparison-table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e1b4b 100%);
    color: white;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.comparison-table th:first-child {
    width: 20%;
    font-weight: 700;
}

.comparison-table th:not(:first-child) {
    width: 26.67%;
    text-align: center;
}

.comparison-table td {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-color);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    background-color: #f8fafc;
    border-right: 3px solid var(--secondary-color);
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table tr:nth-child(even) td:not(:first-child) {
    background-color: #fafbfc;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td:not(:first-child) {
    background-color: #f0f9ff;
    transition: background-color 0.2s ease;
}

.table-container {
    overflow-x: auto;
}

/* Responsive Design */
/* Desktop (<1024px) */
@media (max-width: 1024px) {
    html {
        font-size: 60%;
    }
    
    .container {
        max-width: 960px;
        padding: 0 var(--spacing-md);
    }
    
    .geogebra-grid {
        flex-direction: column;
    }
    
    .geogebra-item {
        max-width: 700px;
        margin: 0 auto var(--spacing-xl);
    }
}

/* Tablet (<768px) */
@media (max-width: 768px) {
    html {
        font-size: 58%;
    }
    
    /* Consistent h2 sizing for mobile */
    h2,
    .testimonials h2,
    .simlab-preview h2,
    .contact-form-section h2,
    .about-method h2,
    .about-team h2,
    .values h2,
    .careers-benefits h2,
    .application-process h2,
    .open-positions h2,
    .intro-section h2,
    .simulations-section h2,
    .assessment-info h2,
    .assessment-form-section h2,
    .program-comparison h2 {
        font-size: 2.8rem;
    }
    
    /* Benefits section improvements for mobile */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .benefit-card {
        padding: var(--spacing-lg);
        max-width: 400px;
        margin: 0 auto;
    }
    
    .benefit-card h3 {
        font-size: 2.2rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .benefit-card p {
        font-size: 1.6rem;
        line-height: 1.5;
    }
    
    /* Header and Navigation */
    .main-nav {
        position: relative;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background-color: var(--background-color);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: var(--spacing-md) 0;
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .cta-button {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--text-color);
        transition: var(--transition);
    }
    
    /* Layout changes */
    .hero .container, 
    .program-grid, 
    .about-grid {
        flex-direction: column;
    }
    
    .program-details-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .hero-content, 
    .hero-image, 
    .program-content, 
    .about-content, 
    .about-image {
        width: 100%;
    }
    
    .hero-image {
        margin-top: var(--spacing-lg);
    }
    
    .program-image, .about-image {
        margin-top: var(--spacing-lg);
        order: 2;
    }
    
    .program-grid.reverse .program-content {
        order: 1;
    }
    
    /* Typography */
    h1 {
        font-size: 3.8rem;
    }
    
    h2 {
        font-size: 3rem;
        margin-bottom: var(--spacing-lg);
    }
    
    /* Grids */
    .benefits-grid, 
    .programs-grid, 
    .programs-preview .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    /* Spacing */
    section {
        padding: var(--spacing-xl) 0;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    /* Forms */
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    /* Hero CTA */
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
}

/* Mobile (<375px) */
@media (max-width: 375px) {
    html {
        font-size: 56%;
    }
    
    /* Typography */
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.6rem;
    }
    
    h3 {
        font-size: 2rem;
    }
    
    /* Grids - Single column for better mobile experience */
    .programs-grid, 
    .programs-preview .programs-grid,
    .method-grid, 
    .team-grid, 
    .values-grid, 
    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Benefits grid always single column on tablet/mobile */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Benefits section specific adjustments */
    .benefit-card {
        padding: var(--spacing-lg);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Spacing */
    section {
        padding: var(--spacing-lg) 0;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Misc */
    .testimonial {
        padding: var(--spacing-lg);
    }
    
    /* Course details page tables */
    .table-container {
        overflow-x: auto;
    }
    
    table {
        min-width: 500px;
    }
}

/* Mobile menu styles */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100vh);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.4s ease, opacity 0.3s ease;
        z-index: 999;
        margin: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        will-change: transform, opacity;
    }
    
    /* Mobile dropdown styles */
    .dropdown {
        position: static;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #f8f9fa;
        margin-top: 0;
        padding: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu a {
        padding: 1rem 3rem;
        font-size: 1.6rem;
        border-left: 3px solid transparent;
    }
    
    .dropdown-menu a:hover {
        background-color: #e9ecef;
        border-left-color: var(--primary-color);
    }
    
    .dropdown-arrow {
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .mobile-menu-active .nav-links {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: transform 0.4s ease, opacity 0.3s ease;
        display: flex;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
        padding: 0;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
        transition-delay: 0.1s;
    }
    
    .mobile-menu-active .nav-links li {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Staggered animation for menu items */
    .mobile-menu-active .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .mobile-menu-active .nav-links li:nth-child(2) { transition-delay: 0.15s; }
    .mobile-menu-active .nav-links li:nth-child(3) { transition-delay: 0.2s; }
    .mobile-menu-active .nav-links li:nth-child(4) { transition-delay: 0.25s; }
    .mobile-menu-active .nav-links li:nth-child(5) { transition-delay: 0.3s; }
    
    .nav-links a {
        display: block;
        padding: 1.5rem 2rem;
        font-size: 2rem;
        color: var(--text-color);
        transition: all 0.2s ease;
        position: relative;
        font-weight: 500;
    }
    
    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    
    .nav-links a:hover {
        background-color: rgba(0, 0, 0, 0.02);
        color: var(--primary-color);
    }
    
    .nav-links a:hover::after {
        width: 40%;
    }
    
    .nav-links a.active {
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .nav-links a.active::after {
        width: 40%;
        background-color: var(--primary-color);
    }
    
    .cta-button {
        margin: 2rem 0 0;
        width: 100%;
        text-align: center;
        padding: 0 2rem;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
        transition-delay: 0.35s;
    }
    
    .mobile-menu-active .cta-button {
        opacity: 1;
        transform: translateY(0);
    }
    
    .cta-button .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 1.2rem 2.5rem;
        font-size: 1.7rem;
        font-weight: 600;
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(37, 33, 89, 0.15);
        transition: all 0.3s ease;
    }
    
    .cta-button .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 33, 89, 0.2);
    }
    
    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1100;
        background: none;
        border: none;
        padding: 0.5rem;
        cursor: pointer;
        outline: none;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
    }
    
    .mobile-menu-btn:focus {
        outline: 2px solid var(--secondary-color);
        outline-offset: 4px;
        border-radius: 4px;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--primary-color);
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: left center;
    }
    
    .mobile-menu-btn span:nth-child(2) {
        width: 75%;
    }
    
    .mobile-menu-active .mobile-menu-btn span:nth-child(1) {
        transform: translateY(2px) rotate(45deg);
    }
    
    .mobile-menu-active .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .mobile-menu-active .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-2px) rotate(-45deg);
    }
}

/* Mobile menu JavaScript support */
.mobile-menu-active {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}
