/* Font Declarations */
@font-face {
    font-family: "StingerFit";
    src: url("fonts/StingerFit/StingerFit-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "StingerFit";
    src: url("fonts/StingerFit/StingerFit-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
}

/* Recoleta Font Declarations */
@font-face {
    font-family: "Recoleta";
    src: url("fonts/Recoleta/Recoleta-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Recoleta";
    src: url("fonts/Recoleta/Recoleta-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Recoleta";
    src: url("fonts/Recoleta/Recoleta-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Recoleta";
    src: url("fonts/Recoleta/Recoleta-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Recoleta";
    src: url("fonts/Recoleta/Recoleta-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

/* Global Variables */
:root {
    --primary-color: #2a383f;
    --secondary-color: #75797b;
    --white: #ffffff;
    --background-light: #f8f8f8;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Base Styles */
body {
    font-family: "StingerFit", sans-serif;
    color: var(--primary-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden !important;
    max-width: 100vw;
}

/* Language-specific font rules */
html[lang="ar"] body,
html[lang="ar"] * {
    font-family: "StingerFit", sans-serif !important;
}

html[lang="en"] body,
html[lang="en"] * {
    font-family: "Recoleta", serif !important;
}

/* Language-specific typography adjustments */
html[lang="ar"] {
    /* Arabic typography adjustments */
    line-height: 1.8;
}

html[lang="en"] {
    /* English typography adjustments */
    line-height: 1.6;
}

/* Specific font weight adjustments for English */
html[lang="en"] h1, 
html[lang="en"] h2, 
html[lang="en"] h3 {
    font-weight: 600;
}

html[lang="en"] .hero-content h1 {
    font-weight: 700;
}

/* Header Styles */
.header {
    background-color: var(--white);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1200;
}

.logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    max-width: 300px;
}

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

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center; /* Ensure vertical centering of all nav links */
    height: 100%;
}

.nav-menu a {
    display: flex;
    align-items: center;
    height: 48px; /* Match the header/logo height for perfect vertical alignment */
    box-sizing: border-box;
}

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

.nav-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

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


/* Hero Section */
.hero {
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    position: relative;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('logo/earth orbit 2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white, #fff);
    z-index: 1;
    overflow: hidden;
    max-width: 100vw;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* background: rgba(0,0,0,0.45); */
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    white-space: nowrap;
}
.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}


@media (max-width: 992px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
        max-height: none;
        padding: 4rem 0 2rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
        white-space: nowrap;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .cta-button {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }
}
@media (max-width: 600px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
        max-height: none;
        padding: 2.5rem 0 1.5rem;
    }
    .hero-content {
        padding: 1.5rem 0.5rem;
        max-width: 95vw;
        margin: 0 auto;
    }
    .hero-content h1 {
        font-size: 2.75rem !important;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.2;
        padding: 0 0.5rem;
    }
    .hero-content p {
        font-size: 1.15rem !important;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 0.5rem;
    }
    .cta-button {
        font-size: 1.1rem;
        padding: 0.6rem 1.5rem;
        max-width: 90vw;
        width: auto;
    }
}


/* Content Sections */
.content-section {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 3rem 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--white);
    border-radius: 0;
    box-shadow: none;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.content-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--secondary-color);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    /* padding-bottom: 4rem; */
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    min-width: 320px;
}

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

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Call to Action Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: aliceblue;
    color: var(--primary-color);
    width: 40vh;
    max-width: 90vw;
    height: 60px;
    padding: 1rem 2rem;
    border-radius: 8px;
    /* font-weight: bold; */
    font-size: 1.25rem;
    box-shadow: 0 2px 8px rgba(42, 56, 63, 0.10);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none !important;
    margin: 0 auto;
}

.apply-button{
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    width: 40vh;
    padding: 1rem 2rem;
    border-radius: 28px;
    text-decoration: none !important;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    outline: none;
    cursor: pointer;
}
.submit-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 28px;
    text-decoration: none !important;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    outline: none;
    cursor: pointer;
}

.cta-button:hover, .cta-button:focus,
.submit-button:hover, .submit-button:focus {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 16px rgba(42, 56, 63, 0.18);
    transform: translateY(-2px) scale(1.04);
    text-decoration: none !important;
}
.apply-button:hover, .apply-button:focus{
    background-color: rgb(211, 211, 211) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 4px 16px rgba(42, 56, 63, 0.18);
    transform: translateY(-2px) scale(1.04);
    text-decoration: none !important;
}

/* Footer Styles */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 250px;
    margin-bottom: 1.5rem;
}

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

.footer-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

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

.social-link svg {
    width: 20px;
    height: 20px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

/* FAQ Section */
.content-section-faq {
    background: #f2f2f2 !important;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 4rem 2rem;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-shadow: none;
    border-radius: 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.faq-item {
    margin-bottom: 1rem;
    background: #f2f2f2;
    border-radius: 8px;
    padding: 1rem;
    /* border: 1px solid #e0e4ea; */
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.06); */
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.faq-answer {
    color: #222;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Statistics Grid */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    perspective: 1000px;
}

.statistic-box {
    padding: 2rem 2rem;
    text-align: center;
    border-radius: 8px;
    /* cursor: pointer; */
    transition: transform 0.1s ease;
    transform-style: preserve-3d;
    position: relative;
    will-change: transform;
}

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

.statistic-box.light {
    background-color: #fff;
    color: var(--primary-color);
}

.statistic-box.accent {
    background-color: #FBC828;
    color: var(--primary-color);
}

.statistic-box::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
}

.statistic-box:hover::after {
    opacity: 1;
}

.statistic-number {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: inherit;
    position: relative;
    z-index: 1;
}

.statistic-label {
    font-size: 1.2rem;
    color: inherit;
    position: relative;
    z-index: 1;
}

.statistic-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* Partners Section */
.partners-subtitle {
    color: var(--primary-color);
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.partners-description {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 2rem;
    color: var(--secondary-color);
    line-height: 1.8;
}

.founding-partner {
    text-align: center;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 3rem;
}

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

.partner-logo {
    background: transparent;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: none;
    width: 140px;
    height: 80px;
    position: relative;
    overflow: visible;
}

.partner-logo:hover {
    transform: translateY(-5px) !important;
    box-shadow: 
        0 0 0 1px rgba(42, 56, 63, 0.05),
        0 3px 8px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(42, 56, 63, 0.02) !important;
}

.partner-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

/* Leaders Section */
.leaders-section {
    background-color: var(--background-light);
    padding: 4rem 2rem;
    border-radius: 12px;
    width: 100vw;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    max-width: 100vw;
    border-radius: 0;
    box-shadow: none;
}

.leaders-info {
    max-width: 1000px;
    margin: 0 auto 3rem;
    text-align: center;
}

.leaders-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.leaders-note {
    background-color: #0a192f;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.view-all-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.view-all-link:hover {
    opacity: 0.8;
}

.leaders-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.leaders-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 1rem 0;
    direction: rtl; /* Add RTL direction */
}

.leaders-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.leader-card {
    direction: rtl; /* Keep cards in RTL */
    flex: 0 0 280px;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.leader-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

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

.leader-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.leader-company {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.leader-title {
    color: var(--primary-color);
    font-size: 1rem;
    line-height: 1.4;
}

/* Update slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 1;
    text-align: center;
    line-height: 1;
}

.slider-arrow:hover {
    background-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: -20px;
    background-color: var(--primary-color);
}

.slider-arrow.next {
    right: -20px;
    background-color: var(--primary-color);
}

.slider-arrow.prev::after {    
    content: "❮";
    color: white;
    background-color: var(--primary-color);
}

.slider-arrow.next::after {
    content: "❯";
    color: white;
    background-color: var(--primary-color);
}

/* Hide the original button content */
.slider-arrow.prev span,
.slider-arrow.next span {
    display: none;
}

.slider-arrow:disabled,
.slider-arrow[disabled] {
    background-color: var(--primary-color);
    opacity: 0.5;
    cursor: default;
    transform: translateY(-50%) scale(1);
}

/* Application Process Section */
.application-section {
    background: var(--primary-color) !important;
    padding: 4rem 2rem;
    border-radius: 12px;
    margin-top: 10rem;
    width: 100vw;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    max-width: 100vw;
    border-radius: 0;
    box-shadow: none;
}

.application-title {
    color: white !important;
    text-align: center;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

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

.criteria-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .criteria-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
} */

.criteria-box h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.criteria-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.5;
}

.criteria-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.criteria-item .number {
    background-color: var(--background-light);
    color: var(--primary-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.criteria-item .text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.criteria-item strong {
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

.application-note {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.application-note-text {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    text-align: center;
    width: 100%;
    color: white !important;
}

.note-icon {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--background-light);
    margin: 0 0.5rem 0 0;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .application-note {
        flex-direction: column;
        padding: 1.2rem 1rem;
    }
    .application-note-text {
        flex-direction: column;
    }
    .note-icon {
        margin: 0 0 0.5rem 0;
    }
}

.apply-button-container {
    text-align: center;
    margin-top: 2rem;
}

.apply-button {
    display: inline-block;
    background-color: var(--background-light);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.apply-button:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Timeline Section */
.timeline-section {
    background: #fff !important;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    direction: rtl;
    width: 100vw;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    max-width: 100vw;
    border-radius: 0;
    box-shadow: none;
}

.timeline-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    right: 50%;
    margin-right: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    margin-right: 50%;
}

.timeline-item:nth-child(even) {
    margin-right: 0;
    margin-left: 50%;
}

.timeline-content {
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* English timeline content direction */
html[lang="en"] .timeline-content {
    direction: ltr;
    text-align: left;
}

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

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -54px;
    background-color: var(--primary-color);
    border: 4px solid #ffffff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-content::after {
    right: auto;
    left: -54px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-date {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* English timeline date direction */
html[lang="en"] .timeline-date {
    direction: ltr;
    text-align: left;
}

.timeline-text {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* English timeline text direction */
html[lang="en"] .timeline-text {
    direction: ltr;
    text-align: left;
}

/* Contact Section */
.contact-section {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0;
}

.contact-section h2 {
    color: var(--white);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-description {
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.contact-form {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-family: "StingerFit", sans-serif;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--background-light);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Add responsive styles for the contact section */
@media (max-width: 768px) {
    .nav-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        margin-left: 0; /* Reset margin for mobile */
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero {
        min-height: 40vh;
        padding: 5rem 0.5rem 2rem;
        background-position: 60% 40%;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 1.5rem 0.5rem;
        border-radius: 10px;
    }

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

    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .statistic-box {
        padding: 1.2rem 0.7rem;
        font-size: 1rem;
    }
    
    .statistic-box::after {
        display: none;
    }
    
    .statistic-number {
        font-size: 2.5rem;
    }

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

    .partners-description {
        padding: 0 1rem;
    }

    .partner-logo {
        padding: 0.8rem;
        width: 120px;
        height: 70px;
    }

    .partner-logo img {
        max-height: 60px;
    }

    .leaders-slider {
        padding: 0 30px;
    }

    .leader-card {
        flex: 0 0 240px;
        padding: 1rem;
    }

    .leader-image {
        width: 120px;
        height: 120px;
    }

    .leader-card h3 {
        font-size: 1.1rem;
    }

    .leader-company {
        font-size: 0.9rem;
    }

    .leader-title {
        font-size: 0.8rem;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .criteria-container {
        grid-template-columns: 1fr;
    }

    .criteria-box {
        padding: 1.5rem;
    }

    .application-note {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        align-items: center;
        justify-content: center;
    }

    .note-icon {
        margin: 0 auto 1rem;
        color: white !important;
    }

    .apply-button {
        width: 100%;
        max-width: 300px;
    }

    .timeline::after {
        right: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-right: 70px;
        padding-left: 25px;
        margin-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
    }
    
    .timeline-content::after {
        right: -39px;
    }
    
    .timeline-item:nth-child(even) .timeline-content::after {
        right: -39px;
        left: auto;
    }

    .contact-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .contact-description {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
    }

    .submit-button {
        padding: 0.8rem;
    }

    .footer {
        padding: 3rem 1.5rem 1.5rem;
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        box-sizing: border-box;
    }

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

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

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 1200px) {
    .content-section,
    .application-section,
    .leaders-section,
    .faq-section,
    .timeline-section {
        padding: 2.5rem 0;
    }
    
    .partners-section {
        padding: 2.5rem 0;
        background: aliceblue !important;
    }
}

@media (max-width: 992px) {
    .nav-container {
        position: relative;
        justify-content: center;
    }
    .logo {
        max-width: 200px;
    }
    .burger-menu {
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
        z-index: 1100;
        margin: 0;
    }
    .nav-menu {
        top: 0;
        right: 0;
        left: auto;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        background: var(--white);
        box-shadow: -2px 0 12px rgba(0,0,0,0.08);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease, visibility 0.3s, opacity 0.3s;
        z-index: 1050;
        visibility: hidden;
        opacity: 0;
    }
    .nav-menu.open {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }
    .nav-menu a {
        font-size: 1.2rem;
        color: var(--primary-color);
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid #eee;
    }
    .nav-menu a:last-child {
        border-bottom: none;
    }
}
@media (min-width: 993px) {
    .burger-menu {
        display: none !important;
    }
    .nav-menu {
        position: static !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        flex-direction: row !important;
        align-items: center !important;
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        gap: 2rem !important;
        display: flex !important;
    }
    .nav-menu a {
        border-bottom: none !important;
        font-size: inherit !important;
        width: auto !important;
        padding: 0 !important;
        color: var(--primary-color) !important;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.5rem 1rem;
    }
    .nav-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    .logo img {
        height: 50px;
        max-width: 200px;
    }
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero {
        min-height: 50vh;
        padding: 5rem 0.5rem 2rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .content-section {
        padding: 2rem 0.5rem;
    }
    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .feature-card {
        padding: 1rem;
    }
    .statistics-grid {
        gap: 1rem;
    }
    .statistic-box {
        padding: 1.5rem 1rem;
    }
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .partner-logo {
        padding: 0.6rem;
        width: 100px;
        height: 60px;
    }
    
    .partner-logo img {
        max-height: 50px;
    }
    .leader-card {
        flex: 0 0 180px;
        padding: 0.5rem;
    }
    .leader-image {
        width: 80px;
        height: 80px;
    }
    .application-section {
        padding: 2rem 0.5rem;
    }
    .criteria-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .criteria-box {
        padding: 1rem;
    }
    .timeline-section {
        padding: 2rem 0.5rem;
    }
    .timeline {
        padding: 1rem 0;
    }
    .timeline-content {
        padding: 1rem;
    }
    .contact-section {
        padding: 2rem 0.5rem;
    }
    .contact-form {
        padding: 1rem;
    }
    .footer {
        padding: 2rem 0.5rem 1rem;
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        box-sizing: border-box;
    }
    .footer-content {
        gap: 1rem;
    }
    .footer-logo {
        height: 120px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    .hero h1 {
        font-size: 1.2rem;
    }
    .statistic-number {
        font-size: 2rem;
    }
    .footer-logo {
        height: 80px;
    }
    .alumni-container {
        grid-template-columns: 1fr;
    }
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
        margin: 0 auto;
    }
    .leader-card {
        flex: 0 0 100%;
    }
    .leader-image {
        width: 60px;
        height: 60px;
    }
    .feature-card h3 {
        font-size: 1rem;
    }
    .feature-card p {
        font-size: 0.9rem;
    }
    .criteria-box h3 {
        font-size: 1.1rem;
    }
    .criteria-description {
        font-size: 0.9rem;
    }
    .timeline-date {
        font-size: 0.9rem;
        padding: 4px 8px;
    }
}

/* Make all images responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Alumni Page Styles */
.alumni-hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.alumni-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.alumni-hero p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.alumni-filters {
    background-color: var(--background-light);
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.filter-group {
    min-width: 200px;
}

.filter-select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: var(--white);
    color: var(--primary-color);
    font-family: "StingerFit", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:hover {
    border-color: var(--primary-color);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(42, 56, 63, 0.1);
}

.alumni-grid {
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.alumni-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

/* Alumni Card Styles - Match Leaders Card Styles */
.alumni-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.alumni-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
}

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

.alumni-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.alumni-class {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    background-color: #f8f8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.close-modal:hover {
    background-color: #e0e0e0;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid #2a383f;
    display: block;
}

.modal-name {
    font-size: 1.5rem;
    color: #2a383f;
    margin: 0.5rem 0;
}

.modal-university {
    color: #75797b;
    font-size: 1.1rem;
    margin: 0.25rem 0;
}

.modal-field {
    color: #2a383f;
    font-weight: 600;
    margin: 0.25rem 0;
}

.modal-body {
    text-align: right;
}

.modal-bio {
    line-height: 1.6;
    color: #2a383f;
    margin-bottom: 2rem;
}

.modal-contact {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.modal-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    color: #2a383f;
    background-color: #f8f8f8;
    transition: background-color 0.3s ease;
}

.modal-contact a:hover {
    background-color: #e0e0e0;
}

.modal-contact svg {
    width: 20px;
    height: 20px;
}

/* Responsive styles */
@media (max-width: 1400px) {
    .alumni-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .alumni-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .alumni-grid {
        padding: 1rem;
    }

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

    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-image {
        width: 120px;
        height: 120px;
    }

    .modal-contact {
        flex-direction: column;
        align-items: stretch;
    }

    .modal-contact a {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .alumni-container {
        grid-template-columns: 1fr;
    }
}

/* Application Form Styles */
.apply-hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.apply-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.apply-hero p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.application-form-section {
    background-color: var(--background-light);
    padding: 4rem 0;
}

.application-form {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

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

.form-group {
    margin-bottom: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="file"] {
    padding: 0.5rem 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.submit-button,
.reset-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--white);
}

.submit-button:hover {
    background-color: #1a2329;
}

.reset-button {
    background-color: #e0e0e0;
    color: var(--primary-color);
}

.reset-button:hover {
    background-color: #d0d0d0;
}

/* Responsive Styles for Application Form */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .submit-button,
    .reset-button {
        width: 100%;
    }
}

/* Form Validation Styles */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #ff4444;
}

.form-group input:invalid:focus,
.form-group select:invalid:focus,
.form-group textarea:invalid:focus {
    border-color: #ff4444;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2);
}

/* File Input Styling */
.form-group input[type="file"] {
    border: 2px dashed rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
}

.form-group input[type="file"]:hover {
    border-color: var(--primary-color);
}

/* Placeholder Styling */
::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* Required Field Indicator */
.form-group label::after {
    content: "*";
    color: #ff4444;
    margin-right: 0.25rem;
}

/* Google Form Page Styles */
.form-hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.form-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.form-hero p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.google-form-section {
    padding: 4rem 2rem;
    background-color: var(--background-light);
}

.form-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-container iframe {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 8px;
}

/* Responsive styles for the form page */
@media (max-width: 768px) {
    .form-hero {
        padding: 6rem 1rem 3rem;
    }

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

    .google-form-section {
        padding: 2rem 1rem;
    }

    .form-container {
        padding: 1rem;
    }
}

/* --- Burger Menu Styles --- */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.burger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 4px 0;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 992px) {
    .burger-menu {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 70vw;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: -2px 0 12px rgba(0,0,0,0.08);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease, visibility 0.3s, opacity 0.3s;
        z-index: 1050;
        visibility: hidden;
        opacity: 0;
    }
    .nav-menu.open {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }
    .nav-menu a {
        font-size: 1.2rem;
        color: var(--primary-color);
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid #eee;
    }
    .nav-menu a:last-child {
        border-bottom: none;
    }
    .nav-container {
        position: relative;
    }
}

/* Animate burger to X when open */
.burger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.burger-menu.open span:nth-child(2) {
    opacity: 0;
}
.burger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* --- ALTERNATING SECTION BACKGROUNDS --- */
.content-section:nth-of-type(even) {
    background: #f4f6fa;
}

/* Ensure partners section has white background regardless of position */
#partners.content-section {
    background: var(--white) !important;
}

/* --- GENERAL MOBILE POLISH --- */
@media (max-width: 768px) {
    .content-section h2 {
        font-size: 1.3rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 0.5rem;
    }
    .content-section p {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 0.5rem;
    }
    .feature-card {
        padding: 1rem;
        /* font-size: 0.95rem; */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .feature-card h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
        font-size: 1.15rem;
    }
    .feature-card p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        font-size: 1rem;
    }
    .statistic-box {
        padding: 1.2rem 0.7rem;
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .application-section, .faq-section, .timeline-section, .leaders-section {
        padding: 1.5rem 0.5rem;
        border-radius: 10px;
    }
}

/* --- PREVENT STRETCHING --- */
.partners-section, .leaders-section, .application-section, .faq-section, .timeline-section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* --- CARD POLISH --- */
.feature-card, .statistic-box, .leader-card, .criteria-box {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Partner logos should have no shadow by default */
.partner-logo {
    box-shadow: none !important;
}

/* --- CONSTRAIN CONTENT INSIDE FULL-WIDTH SECTIONS --- */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.content-section .section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure content sections have proper spacing */
.content-section .section-inner h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.content-section .section-inner p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
}
@media (max-width: 768px) {
    .section-inner {
        padding: 0 0.5rem;
    }
    
    .content-section .section-inner {
        padding: 0 1rem;
    }
}

/* --- REMOVE BOXED LOOK ON DESKTOP FOR CONTENT SECTIONS --- */
@media (min-width: 1201px) {
    .content-section {
        background: var(--white);
        box-shadow: none;
        border-radius: 0;
        padding: 3rem 0;
    }
}

/* --- Constrain Main Content Sections (Except Hero) --- */
.content-section,
.application-section,
.leaders-section,
.faq-section,
.timeline-section {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 3rem 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--white);
    box-shadow: none;
    border-radius: 0;
}

/* Partners section with aliceblue background */
.partners-section {
    background: aliceblue !important;
    padding-bottom: 2rem;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 3rem 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-shadow: none;
    border-radius: 0;
}

@media (max-width: 1200px) {
    .content-section,
    .application-section,
    .leaders-section,
    .faq-section,
    .timeline-section {
        padding: 2.5rem 0;
    }
    
    .partners-section {
        padding: 2.5rem 0;
        background: aliceblue !important;
    }
}
@media (max-width: 768px) {
    .content-section,
    .application-section,
    .leaders-section,
    .faq-section,
    .timeline-section {
        padding: 1.5rem 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .partners-section {
        padding: 1.5rem 0;
        border-radius: 0;
        box-shadow: none;
        background: aliceblue;
    }
}

@media (max-width: 1200px) {
    .content-section-faq {
        padding: 2.5rem 0;
    }
}
@media (max-width: 768px) {
    .content-section-faq {
        padding: 1.5rem 0;
        border-radius: 0;
        box-shadow: none;
    }
}

.content-section-faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.justified {
    text-align: center !important;
}

.fellowship-facts-header {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 2rem 0 1.5rem 0;
    color: var(--primary-color);
}

/* --- Custom Facts Cards Layout --- */
.fellowship-facts-triangle {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto auto;
  gap: 1.2rem;
}
.fellowship-facts-triangle .fact1 {
  grid-column: 1 / 3;
  grid-row: 1;
}
.fellowship-facts-triangle .fact2 {
  grid-column: 1 / 2;
  grid-row: 2;
}
.fellowship-facts-triangle .fact3 {
  grid-column: 2 / 3;
  grid-row: 2;
}
@media (max-width: 700px) {
  .fellowship-facts-triangle {
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto;
    gap: 0.8rem;
  }
  .fellowship-facts-triangle .fact1,
  .fellowship-facts-triangle .fact2,
  .fellowship-facts-triangle .fact3 {
    grid-column: auto;
    font-size: 1rem;
    padding: 1rem 0.8rem;
  }
  .fellowship-facts-triangle .fact1 { grid-column: 1 / 3; grid-row: 1; }
  .fellowship-facts-triangle .fact2 { grid-column: 1 / 2; grid-row: 2; }
  .fellowship-facts-triangle .fact3 { grid-column: 2 / 3; grid-row: 2; }
}
/* --- End Custom Facts Cards Layout --- */

.fellowship-facts-section {
    margin: 2.5rem 0 2.5rem 0;
}

/* Leaders Page Specific Styles */
.leaders-hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.leaders-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.leaders-hero p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.leaders-filters {
    background-color: var(--background-light);
    padding: 2rem 0;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    margin: 0;
}

.filter-select {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background-color: white;
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-select:hover {
    background-color: var(--primary-color);
    color: white;
}

.filter-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 56, 63, 0.1);
}

.leaders-grid {
    padding: 4rem 2rem;
    background-color: var(--white);
}

.leaders-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.leaders-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.leaders-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
}

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

.leaders-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.leaders-class {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.leaders-modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close-leaders-modal {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    background-color: #f8f8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.close-leaders-modal:hover {
    background-color: #e0e0e0;
}

.leaders-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.leaders-modal-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid #2a383f;
    display: block;
}

.leaders-modal-name {
    font-size: 1.5rem;
    color: #2a383f;
    margin: 0.5rem 0;
}

.leaders-modal-university {
    color: #75797b;
    font-size: 1.1rem;
    margin: 0.25rem 0;
}

.leaders-modal-field {
    color: #2a383f;
    font-weight: 600;
    margin: 0.25rem 0;
}

.leaders-modal-body {
    text-align: right;
}

.leaders-modal-bio {
    line-height: 1.6;
    color: #2a383f;
    margin-bottom: 2rem;
}

.leaders-modal-contact {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.leaders-modal-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    color: #2a383f;
    background-color: #f8f8f8;
    transition: background-color 0.3s ease;
}

.leaders-modal-contact a:hover {
    background-color: #e0e0e0;
}

.leaders-modal-contact svg {
    width: 20px;
    height: 20px;
}

/* Responsive styles for leaders page */
@media (max-width: 1400px) {
    .leaders-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .leaders-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .leaders-grid {
        padding: 1rem;
    }

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

    .leaders-modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .leaders-modal-image {
        width: 120px;
        height: 120px;
    }

    .leaders-modal-contact {
        flex-direction: column;
        align-items: stretch;
    }

    .leaders-modal-contact a {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .leaders-container {
        grid-template-columns: 1fr;
    }
}

/* 404 Error Page Styles */
.error-404-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2528 100%);
    padding: 2rem;
    position: relative;
}

.error-404-section::before {
    content: ''; 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('logo/earth orbit 2.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.error-404-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.error-404-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 4rem 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.error-404-number {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-404-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.error-404-description {
    font-size: 1.2rem;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.error-404-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 200px;
}

.error-404-button.primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(42, 56, 63, 0.3);
}

.error-404-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 56, 63, 0.4);
}

.error-404-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.error-404-button.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 56, 63, 0.3);
}

.error-404-help {
    border-top: 2px solid rgba(42, 56, 63, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.error-404-help h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.error-404-help p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.error-404-contact {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-404-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--background-light);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(42, 56, 63, 0.1);
}

.error-404-contact-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 56, 63, 0.2);
}

.error-404-contact-link svg {
    width: 18px;
    height: 18px;
}

/* Responsive Design for 404 Page */
@media (max-width: 768px) {
    .error-404-section {
        padding: 1rem;
    }
    
    .error-404-content {
        padding: 2rem 1.5rem;
    }
    
    .error-404-number {
        font-size: 6rem;
    }
    
    .error-404-title {
        font-size: 2rem;
    }
    
    .error-404-description {
        font-size: 1.1rem;
    }
    
    .error-404-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-404-button {
        width: 100%;
        max-width: 300px;
    }
    
    .error-404-contact {
        flex-direction: column;
        align-items: center;
    }
    
    .error-404-contact-link {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .error-404-number {
        font-size: 4rem;
    }
    
    .error-404-title {
        font-size: 1.5rem;
    }
    
    .error-404-description {
        font-size: 1rem;
    }
}

.partners-card {
    background: var(--white);
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    min-width: 280px;
    max-width: 300px;
}

.partners-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-wrap: nowrap;
}

.partners-card p {
    color: var(--secondary-color);
} 

.partners-pictures-falak {
    width: 300px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1rem auto;
}
.partners-pictures-academy {
    width: 300px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1rem auto;
}

.partners-pictures-sifi {
    width: 300px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1rem auto;
}

.partners-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-bottom: 4rem;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
  .partners-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    max-width: 100vw;
    padding-bottom: 2rem;
  }
  .partners-card {
    flex: 0 1 auto;
    min-width: 250px;
    max-width: 280px;
    width: auto;
    margin: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 500px) {
  .partners-container {
    gap: 0.8rem;
  }
  .partners-card {
    flex: 0 1 auto;
    min-width: 220px;
    max-width: 250px;
    width: auto;
    padding: 1rem 0.8rem 0.8rem 0.8rem;
    margin: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .partners-card h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    font-size: 0.9rem;
  }
  .partners-card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 0.8rem;
  }
}

.timeline-note {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    background-color: rgba(0, 0, 0, 0.09) !important;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 4rem !important;
}

.timeline-note-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 !important;
    text-align: left;
    width: 100%;
    color: rgba(0, 0, 0, 0.7) !important;
    font-size: 0.82rem;
    font-style: italic;
    font-weight: 400;
    opacity: 0.9;
    padding: 0.1rem 0;
}

@media (max-width: 600px) {
  .timeline-note {
    padding: 1rem 0.5rem;
    margin: 1rem 0.5rem;
    max-width: 98vw;
    font-size: 0.98rem;
    flex-direction: column;
  }
  .timeline-note-text {
    font-size: 1rem;
    padding: 0;
  }
}

.fact-section-card {
    background: rgba(255, 255, 255, 0);
    border-radius: 16px;
    /* box-shadow: 0 4px 24px rgba(0,0,0,0.08); */
    padding: 2rem 1.5rem;
    margin: 2rem auto;
    max-width: 1800px;
    text-align: right;
    /* border: 1px solid #ececec; */
}

.fact-section-card, .fact-section-card * {
    user-select: text !important;
}

@media (max-width: 600px) {
    .fact-section-card {
        padding: 1.2rem 0.5rem;
        max-width: 98vw;
    }
}

.beautiful-fact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.beautiful-fact-list li {
    position: relative;
    padding-right: 1.8em;
    margin-bottom: 1.1em;
    font-size: 1.08rem;
    color: #444;
    line-height: 1.7;
}

.beautiful-fact-list li::before {
    content: '';
    position: absolute;
    right: 0.5em;
    top: 0.7em;
    width: 0.7em;
    height: 0.7em;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
}

@media (max-width: 600px) {
    .beautiful-fact-list li {
        font-size: 0.98rem;
    }
}

.benefits-section {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 3rem 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #f4f6fA !important;
    box-shadow: none;
    border-radius: 0;
}

.benefits-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    background: #f4f6fA !important;
    margin-bottom: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.2rem 1.5rem 1.7rem 1.5rem;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(42, 56, 63, 0.06);
    text-align: center;
    flex: 1 1 0;
    min-width: 220px;
    max-width: 320px;
    position: relative;
    overflow: hidden;
    margin: 0 0.5rem;
}

/* Remove hover effect */
.benefit-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(42, 56, 63, 0.06);
    border-color: transparent;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.1rem;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.5px; 
}

.benefit-card p {
    color: var(--secondary-color);
    line-height: 1.7;
    font-size: 1rem !important;
    margin: 0;
    text-align: justify;
}

@media (max-width: 1200px) {
    .benefits-container {
        gap: 1.2rem;
    }
    .benefit-card {
        min-width: 180px;
        max-width: 260px;
        padding: 1.5rem 1rem 1.2rem 1rem;
    }
}

@media (max-width: 900px) {
    .benefits-container {
        gap: 0.7rem;
    }
    .benefit-card {
        min-width: 140px;
        max-width: 200px;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}

@media (max-width: 700px) {
    .benefits-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .benefit-card {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        margin: 0;
        box-sizing: border-box;
    }
}


@media (max-width: 1200px) {
    .benefits-section {
        padding: 2.5rem 0;
    }
}
@media (max-width: 768px) {
    .benefits-section {
        padding: 1.5rem 0;
        border-radius: 0;
        box-shadow: none;
    }
}

@media (max-width: 900px) {
    .benefits-container {
        gap: 0.7rem;
    }
    .benefit-card {
        min-width: 140px;
        max-width: 200px;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}

@media (max-width: 600px) {
    .benefits-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
        justify-items: stretch;
        align-items: stretch;
    }
    .benefit-card {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        margin: 0;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .benefit-card h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
        font-size: 1rem;
    }
    .benefit-card p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        font-size: 0.9rem;
    }
    .benefit-card:nth-last-child(1):nth-child(odd) {
        grid-column: 1 / span 2;
        justify-self: center;
    }
}

@media (max-width: 600px) {
  .partners-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.8rem;
    max-width: 100vw;
    padding-bottom: 2rem;
  }
  .partners-card {
    flex: 0 1 auto;
    min-width: 240px;
    max-width: 260px;
    width: auto;
    margin: 0;
    box-sizing: border-box;
  }
}

/* --- Subtle Timeline Note (Tweaked for 10% more visibility and smaller box on mobile) --- */
.timeline-note {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.3rem 0.7rem;
  margin: 1.2rem auto 0.5rem auto;
  max-width: 700px;
  background: rgba(0,0,0,0.045) !important;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: none;
  font-size: 0.82rem;
  opacity: 0.75;
  font-style: italic;
  font-weight: 400;
  color: rgba(0,0,0,0.42) !important;
  transition: none;
}
.timeline-note-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 !important;
  text-align: left;
  width: 100%;
  color: rgba(0, 0, 0, 0.6) !important;
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 400;
  opacity: 0.9;
  padding: 0.1rem 0;
}
@media (max-width: 600px) {
  .timeline-note {
    padding: 0.18rem 0.3rem;
    margin: 0.7rem auto 0.3rem auto;
    max-width: 85vw;
    font-size: 0.74rem;
    flex-direction: column;
  }
  .timeline-note-text {
    font-size: 0.74rem;
    padding: 0;
  }
}
/* --- End Subtle Timeline Note --- */

/* --- Subtle Timeline Note (Desktop enlarged 10%) --- */
.timeline-note {
  font-size: 0.9rem;
}
.timeline-note-text {
  font-size: 0.9rem;
}
@media (max-width: 600px) {
  .timeline-note {
    font-size: 0.74rem;
  }
  .timeline-note-text {
    font-size: 0.74rem;
  }
}
/* --- End Subtle Timeline Note --- */

/* --- Subtle Timeline Note (Desktop: wider and darker font) --- */
.timeline-note {
  max-width: 900px;
  color: rgba(0,0,0,0.58) !important;
}
.timeline-note-text {
  color: rgba(0,0,0,0.58) !important;
}
@media (max-width: 600px) {
  .timeline-note {
    max-width: 85vw;
    color: rgba(0,0,0,0.42) !important;
  }
  .timeline-note-text {
    color: rgba(0,0,0,0.42) !important;
  }
}
/* --- End Subtle Timeline Note --- */

/* --- Slider Arrow Consistency and Responsive Hide --- */
.slider-arrow.prev,
.slider-arrow.next {
  background-color: var(--primary-color) !important;
  color: white !important;
}

/* Language-specific slider arrows */
/* English version arrows */
html[lang="en"] .slider-arrow.prev {
  left: -20px;
  right: auto;
}

html[lang="en"] .slider-arrow.next {
  right: -20px;
  left: auto;
}

html[lang="en"] .slider-arrow.prev::after {    
  content: "❮";
  color: white;
  background-color: var(--primary-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  line-height: 1;
}

html[lang="en"] .slider-arrow.next::after {
  content: "❯";
  color: white;
  background-color: var(--primary-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  line-height: 1;
}

/* Arabic version arrows (RTL) */
html[lang="ar"] .slider-arrow.prev {
  right: -20px;
  left: auto;
}

html[lang="ar"] .slider-arrow.next {
  left: -20px;
  right: auto;
}

html[lang="ar"] .slider-arrow.prev::after {    
  content: "❮";
  color: white;
  background-color: var(--primary-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  line-height: 1;
}

html[lang="ar"] .slider-arrow.next::after {
  content: "❯";
  color: white;
  background-color: var(--primary-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .slider-arrow {
    display: none !important;
  }
}
/* --- End Slider Arrow Consistency --- */

/* --- Fact Cards Grid Layout Adjustments (No Carousel) --- */
.fact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  justify-items: center;
  align-items: stretch;
}
.fact-card {
  width: 100%;
  max-width: 320px;
  min-width: 280px;
  background: none;
  box-shadow: none;
  border: none;
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff !important;
}
@media (max-width: 700px) {
  .fact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem 0;
  }
  .fact-card {
    padding: 1rem 0.5rem;
    max-width: 100%;
    min-width: 160px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .fact-card .fact-section-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    font-size: 0.9rem;
  }
}
/* --- End Fact Cards Grid Layout Adjustments (No Carousel) --- */

/* --- Fact Cards Match Feature Card Style (No Background) --- */
.fact-card {
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 320px;
  min-width: 220px;
  background: none;
  border: none;
  transition: transform 0.3s ease;
}
.fact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
@media (max-width: 700px) {
  .fact-card {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    min-width: 160px;
    max-width: 100%;
  }
}
/* --- End Fact Cards Match Feature Card Style --- */

.fact-card .fact-section-title {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #2a383f;
}
.fact-svg-placeholder img {
  margin-top: 0;
  margin-bottom: 0.5rem;
  display: block;
}

.note-italic {
  font-style: italic;
  color: var(--secondary-color);
  font-size: 0.9rem !important;
}

/* Timeline Note - Arabic Version */
.timeline-note-ar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  direction: rtl;
  padding: 0.3rem 0.7rem;
  margin: 1.2rem auto 0.5rem auto;
  max-width: 700px;
  background: rgba(0,0,0,0.045) !important;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: none;
  font-size: 0.82rem;
  opacity: 0.75;
  font-style: italic;
  font-weight: 400;
  color: rgba(0,0,0,0.42) !important;
  transition: none;
}

.timeline-note-text-ar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 !important;
  text-align: right;
  direction: rtl;
  width: 100%;
  color: rgba(0, 0, 0, 0.7) !important;
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 400;
  opacity: 0.9;
  padding: 0.1rem 1.5rem 0.5rem 0;
}

/* Timeline Note - English Version */
.timeline-note-en {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  direction: ltr;
  padding: 0.3rem 0.7rem;
  margin: 1.2rem auto 0.5rem auto;
  max-width: 700px;
  background: rgba(0,0,0,0.045) !important;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: none;
  font-size: 0.82rem;
  opacity: 0.75;
  font-style: italic;
  font-weight: 400;
  color: rgba(0,0,0,0.42) !important;
  transition: none;
}

.timeline-note-text-en {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 !important;
  text-align: left;
  direction: ltr;
  width: 100%;
  color: rgba(0, 0, 0, 0.7) !important;
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 400;
  opacity: 0.9;
  padding: 0.1rem 0 0 1.5rem;
}

@media (max-width: 600px) {
  .timeline-note-ar {
    padding: 0.18rem 0.3rem;
    margin: 0.7rem auto 0.3rem auto;
    max-width: 85vw;
    font-size: 0.74rem;
    flex-direction: column;
  }
  .timeline-note-text-ar {
    font-size: 0.74rem;
    padding: 0;
  }
  
  .timeline-note-en {
    padding: 0.18rem 0.3rem;
    margin: 0.7rem auto 0.3rem auto;
    max-width: 85vw;
    font-size: 0.74rem;
    flex-direction: column;
  }
  .timeline-note-text-en {
    font-size: 0.74rem;
    padding: 0;
  }
}

/* Desktop enlarged 10% */
.timeline-note-ar {
  font-size: 0.9rem;
}
.timeline-note-text-ar {
  font-size: 0.9rem;
}

.timeline-note-en {
  font-size: 0.9rem;
}
.timeline-note-text-en {
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .timeline-note-ar {
    font-size: 0.74rem;
  }
  .timeline-note-text-ar {
    font-size: 0.74rem;
  }
  
  .timeline-note-en {
    font-size: 0.74rem;
  }
  .timeline-note-text-en {
    font-size: 0.74rem;
  }
}

/* Desktop: wider and darker font */
.timeline-note-ar {
  max-width: 900px;
  color: rgba(0,0,0,0.58) !important;
}
.timeline-note-text-ar {
  color: rgba(0,0,0,0.58) !important;
}

.timeline-note-en {
  max-width: 900px;
  color: rgba(0,0,0,0.58) !important;
}
.timeline-note-text-en {
  color: rgba(0,0,0,0.58) !important;
}

@media (max-width: 600px) {
  .timeline-note-ar {
    max-width: 85vw;
    color: rgba(0,0,0,0.42) !important;
  }
  .timeline-note-text-ar {
    color: rgba(0,0,0,0.42) !important;
  }
  
  .timeline-note-en {
    max-width: 85vw;
    color: rgba(0,0,0,0.42) !important;
  }
  .timeline-note-text-en {
    color: rgba(0,0,0,0.42) !important;
  }
}

/* Legacy timeline note classes - keep for backward compatibility */
.timeline-note {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.3rem 0.7rem;
  margin: 1.2rem auto 0.5rem auto;
  max-width: 700px;
  background: rgba(0,0,0,0.045) !important;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: none;
  font-size: 0.82rem;
  opacity: 0.75;
  font-style: italic;
  font-weight: 400;
  color: rgba(0,0,0,0.42) !important;
  transition: none;
}

.timeline-note-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 !important;
  text-align: left;
  width: 100%;
  color: rgba(0, 0, 0, 0.7) !important;
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 400;
  opacity: 0.9;
  padding: 0.1rem 0;
}

/* Study Abroad Section */
.study-abroad-section {
  background: #f4f6fa !important;
  padding: 2rem 2rem;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: none;
  border-radius: 0;
}

.study-abroad-section h2 {
    padding: 0 0 1.25rem;
}

.study-abroad-content {
  display: flex;
  flex-wrap: wrap;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

.study-abroad-text {
  flex: 1 1 300px;
  min-width: 250px;
  max-width: 450px;
  text-align: center;
}

.study-abroad-text p {
  line-height: 1.8;
  color: var(--primary-color);
  margin: 0;
  font-size: 1.25rem;
}

.study-abroad-images {
  flex: 0 0 700px;
  min-width: 500px;
  max-width: 800px;
  border-radius: 18px;
}

/* Study Abroad Carousel */
.study-abroad-carousel {
  width: 100%;
  aspect-ratio: 16/9;
  background: transparent;
  border-radius: 18px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.carousel-container {
  display: flex;
  width: 400%;
  height: 100%;
  animation: carousel-scroll 16s infinite;
  border-radius: 18px;
}

.carousel-slide {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  min-width: 25%;
  border-radius: 18px;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  padding: 0;
}

@keyframes carousel-scroll {
  0%, 18.75% { transform: translateX(0); }
  25%, 43.75% { transform: translateX(-25%); }
  50%, 68.75% { transform: translateX(-50%); }
  75%, 93.75% { transform: translateX(-75%); }
  100% { transform: translateX(0); }
}

/* Arabic RTL Carousel Animation */
@keyframes carousel-scroll-rtl {
  0%, 18.75% { transform: translateX(0); }
  25%, 43.75% { transform: translateX(25%); }
  50%, 68.75% { transform: translateX(50%); }
  75%, 93.75% { transform: translateX(75%); }
  100% { transform: translateX(0); }
}

/* Pause animation on hover */
.study-abroad-carousel:hover .carousel-container {
  animation-play-state: paused;
}

/* Arabic RTL Layout */
html[lang="ar"] .study-abroad-content {
  flex-direction: row-reverse;
}

html[lang="ar"] .study-abroad-text {
  text-align: center;
  direction: rtl;
}

html[lang="ar"] .study-abroad-text p {
  direction: rtl;
  text-align: center;
}

/* Arabic RTL Carousel */
html[lang="ar"] .carousel-container {
  animation: carousel-scroll-rtl 16s infinite;
}

html[lang="ar"] .carousel-slide {
  direction: ltr;
}

/* Responsive Design */
@media (max-width: 768px) {
  .study-abroad-section {
    padding: 3rem 1rem;
  }
  
  .study-abroad-section h2 {
    font-size: 1.8rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding: 0 0.5rem 1.25rem;
  }
  
  .study-abroad-content {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  
  html[lang="ar"] .study-abroad-content {
    flex-direction: column;
  }
  
  .study-abroad-text {
    flex: none;
    min-width: auto;
    max-width: 100%;
    order: 1;
  }
  
  html[lang="ar"] .study-abroad-text {
    order: 1;
  }
  
  .study-abroad-images {
    flex: none;
    min-width: auto;
    max-width: 100%;
    order: 2;
  }
  
  html[lang="ar"] .study-abroad-images {
    order: 2;
  }
  
  .study-abroad-carousel {
    aspect-ratio: 16/9;
    max-width: 550px;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  
  .carousel-container {
    display: flex;
    width: 400%;
    height: 100%;
    animation: carousel-scroll 16s infinite;
  }
  
  html[lang="ar"] .carousel-container {
    animation: carousel-scroll-rtl 16s infinite;
  }
  
  .carousel-slide {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    min-width: 25%;
  }
}

@media (max-width: 480px) {
  .study-abroad-section {
    padding: 2rem 1rem;
  }
  
  .study-abroad-content {
    gap: 2.5rem;
  }
  
  .study-abroad-carousel {
    aspect-ratio: 16/9;
    max-width: 400px;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  
  .carousel-container {
    display: flex;
    width: 400%;
    height: 100%;
    animation: carousel-scroll 16s infinite;
  }
  
  html[lang="ar"] .carousel-container {
    animation: carousel-scroll-rtl 16s infinite;
  }
  
  .carousel-slide {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    min-width: 25%;
  }
}