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

:root {
    /* FLAG COLORS (Original) - Commented out */
    /* --saudi-green: #006C35;
    --uae-green: #00A859;
    --uae-red: #C1272D;
    --turkey-red: #E30A17;
    --primary-red: #C1272D;
    --primary-green: #006C35;
    --secondary-green: #00A859; */
    
    /* OPTION 1: Soft Blue/Teal - Professional & Calming */
    /* --primary-red: #2C5282;
    --primary-green: #38A169;
    --secondary-green: #4FD1C7;
    --saudi-green: #2C7A7B;
    --uae-green: #319795;
    --uae-red: #2C5282;
    --turkey-red: #2C5282; */
    
    /* OPTION 2: Muted Navy & Sage - Elegant & Soothing */
    /* --primary-red: #1E3A5F;
    --primary-green: #5F8A6B;
    --secondary-green: #7FA892;
    --saudi-green: #5F8A6B;
    --uae-green: #7FA892;
    --uae-red: #1E3A5F;
    --turkey-red: #2E4A6B; */
    
    /* OPTION 3: Soft Purple & Teal - Modern & Calming */
    /* --primary-red: #5B6E9F;
    --primary-green: #4A9B8E;
    --secondary-green: #6BB5A8;
    --saudi-green: #4A9B8E;
    --uae-green: #6BB5A8;
    --uae-red: #5B6E9F;
    --turkey-red: #6B7FAF; */
    
    /* OPTION 4: Warm Charcoal & Slate Blue - Professional & Muted */
    /* --primary-red: #4A5568;
    --primary-green: #4A90A4;
    --secondary-green: #5BA8B8;
    --saudi-green: #4A90A4;
    --uae-green: #5BA8B8;
    --uae-red: #4A5568;
    --turkey-red: #5A6578; */
    
    /* OPTION 5: Deep Teal & Soft Blue - Sophisticated & Easy on Eyes (ACTIVE) */
    --primary-red: #2C5282;
    --primary-green: #2D7A7A;
    --secondary-green: #3A9A9A;
    --saudi-green: #2D7A7A;
    --uae-green: #3A9A9A;
    --uae-red: #2C5282;
    --turkey-red: #3C6292;
    
    --dark: #000000;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --spacing: 1rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem var(--spacing);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-red);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-red);
}

/* Hero Section - Centered Layout */
.hero-centered {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--turkey-red) 50%, var(--primary-green) 100%);
    color: var(--white);
    padding: 4rem var(--spacing) 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-centered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--turkey-red) 50%, var(--primary-green) 100%);
    opacity: 0.95;
    z-index: 1;
}

.hero-centered-content {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-centered-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.hero-image-wrapper {
    margin-bottom: 3rem;
}

.hero-image-container-centered {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background-color: var(--white);
    padding: 1rem;
}

.hero-image-centered {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
    object-fit: cover;
}

.hero-centered-description {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
    opacity: 0.95;
    color: var(--white);
}

.hero-image-container {
    width: 100%;
    max-width: 350px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    background-color: var(--white);
    padding: 0.75rem;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
    object-fit: cover;
}

.hero-text-section-new h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

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

.hero-text-section-new .hero-subtitle {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    opacity: 0.95;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    opacity: 0.95;
}

.hero-text-section-new .hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: var(--white);
    line-height: 1.8;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-text-section-new .hero-buttons {
    justify-content: flex-start;
    gap: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--white);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cta-button-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cta-button-secondary:hover {
    background-color: var(--white);
    color: var(--primary-red);
}

/* Hero QR Code Card - Small and Subtle */
.hero-qr-card-small {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 100%;
    max-width: 180px;
}

.qr-code-container-small {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background-color: var(--white);
    border-radius: 0.5rem;
}

.qr-code-image-small {
    width: 120px;
    height: 120px;
    display: block;
    border-radius: 0.25rem;
}

.qr-instruction-small {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

/* Hero Stats Cards */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.hero-stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 1.5rem 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-stat-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Hero Action Buttons */
.hero-action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-action-btn {
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.hero-action-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-action-btn-primary {
    background-color: var(--white);
    color: var(--primary-red);
    border-color: var(--white);
}

.hero-action-btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* QR Code Modal */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.qr-modal-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.qr-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.qr-modal-close:hover {
    color: var(--primary-red);
}

.qr-modal-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.qr-code-container-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 0.75rem;
}

.qr-code-image-modal {
    width: 200px;
    height: 200px;
    display: block;
    border-radius: 0.5rem;
}

.qr-instruction-modal {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 4rem var(--spacing);
    background: linear-gradient(to bottom, var(--bg-light) 0%, var(--white) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.section-header-content {
    flex: 1;
    text-align: center;
}

/* Toggle Button - Hidden on Desktop */
.section-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0;
}

.section-toggle:hover {
    background-color: var(--primary-red);
    color: var(--white);
    transform: rotate(90deg);
}

.section-toggle.active {
    transform: rotate(90deg);
}

.section-toggle.active .toggle-icon::before {
    content: '−';
}

.section-toggle .toggle-icon::before {
    content: '+';
}

.toggle-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Section Content - Always visible on desktop */
.section-content {
    transition: max-height 0.4s ease, opacity 0.3s ease;
    overflow: hidden;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

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

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-red);
    font-weight: 500;
    text-align: center;
    padding: 2rem;
    border-left: 4px solid var(--primary-green);
    background-color: var(--bg-light);
    margin-top: 2rem;
}

/* Mission Section */
.mission-section {
    padding: 6rem var(--spacing);
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--turkey-red) 50%, var(--primary-green) 100%);
    color: var(--white);
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission-text .section-label {
    color: rgba(255, 255, 255, 0.8);
}

.mission-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.mission-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Expertise Section */
.expertise-section {
    padding: 6rem var(--spacing);
    background-color: var(--bg-light);
}

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

.expertise-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-red);
}

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

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.expertise-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.expertise-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Values Section */
.values-section {
    padding: 6rem var(--spacing);
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Career Section */
.career-section {
    padding: 6rem var(--spacing);
    background-color: var(--bg-light);
}

.career-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.career-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-red), var(--primary-green));
}

.career-item {
    position: relative;
    padding-left: 6rem;
    margin-bottom: 3rem;
}

.career-item::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--primary-red);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-green);
}

.career-year {
    position: absolute;
    left: -1rem;
    top: 0.5rem;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.career-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.career-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.career-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.career-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.career-content ul {
    margin-left: 1.5rem;
    color: var(--text-light);
}

.career-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Education Section */
.education-section {
    padding: 6rem var(--spacing);
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.education-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-green);
}

.education-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
}

.education-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.education-list {
    list-style: none;
}

.education-list li {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
}

.education-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.education-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 6rem var(--spacing);
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--turkey-red) 50%, var(--primary-green) 100%);
    color: var(--white);
}

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

.contact-section .section-label {
    color: rgba(255, 255, 255, 0.8);
}

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

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

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

/* Force 2x2 layout on all screens larger than tablet */
@media (min-width: 769px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, auto) !important;
    }
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 1rem;
    color: var(--text-dark);
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.contact-card p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.contact-card a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem var(--spacing) 2rem;
    text-align: center;
}

.footer-tagline {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-centered {
        padding: 3rem var(--spacing) 4rem;
        min-height: auto;
    }

    .hero-centered-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .hero-image-container-centered {
        max-width: 400px;
    }

    .hero-centered-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }

    .hero-action-buttons {
        gap: 0.75rem;
    }

    .hero-action-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Mobile Toggle Functionality */
@media (max-width: 768px) {
    /* Show toggle buttons on mobile */
    .section-toggle {
        display: flex;
    }

    .section-header {
        text-align: left;
        cursor: pointer;
        margin-bottom: 1rem;
        padding: 1rem;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 0.5rem;
        transition: background-color 0.3s ease;
    }

    .section-header:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .section-header-content {
        text-align: left;
    }

    /* Default collapsed state on mobile */
    .section-content {
        max-height: 0;
        opacity: 0;
        margin-bottom: 0;
        overflow: hidden;
    }

    /* Expanded state */
    .section-content.expanded {
        max-height: 5000px;
        opacity: 1;
        margin-bottom: 2rem;
    }

    /* Smooth transition */
    .section-content {
        transition: max-height 0.5s ease, opacity 0.4s ease, margin-bottom 0.3s ease;
    }
}

@media (max-width: 768px) {
    .hero-centered {
        padding: 2.5rem var(--spacing) 3.5rem;
    }

    .hero-centered-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero-image-container-centered {
        max-width: 350px;
        padding: 0.75rem;
    }

    .hero-centered-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

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

    .hero-stat-label {
        font-size: 0.85rem;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .hero-action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-action-btn {
        width: 100%;
        max-width: 250px;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .career-timeline::before {
        left: 1rem;
    }

    .career-item {
        padding-left: 4rem;
    }

    .career-item::before {
        left: 0.5rem;
    }

    .career-year {
        left: -2rem;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

    .cta-button,
    .cta-button-secondary {
        width: 100%;
        max-width: 300px;
    }

}

@media (max-width: 480px) {
    .hero {
        padding: 5rem var(--spacing) 4rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-image-container {
        max-width: 250px;
    }

    .qr-code-image-small {
        width: 80px;
        height: 80px;
    }

    .hero-qr-card-small {
        max-width: 120px;
        padding: 0.5rem;
    }

    .qr-instruction-small {
        font-size: 0.65rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}