:root {
    --primary-color: #007bff;
    --error-color: #ff3333;
    --secondary-color: #dc143c;
    --accent-color: #008080;
    --text-color: #333333;
    --light-bg: #f8fafc;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 8px;
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:
        Roboto,
        system-ui,
        -apple-system,
        sans-serif;
}

h2 {
    font-weight: bolder;
    font-size: 100px;
    color: --secondary-color;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.aoai-nav {
    background: linear-gradient(135deg, #000000, #092440);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    font-size: 1.7rm;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

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

.events-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

h1,
h2,
h3,
.section-title,
.course-title,
.event-title {
    text-align: center;
}

event-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding-right: 1.5rem;
}

.upcoming-events {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.event-card {
    background: linear-gradient(130deg, #000000, #092440);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    transition: var(--transition);
    border-radius: 10px;
    border: 5px solid transparent;
    background:
        linear-gradient(130deg, #000000, #092440) padding-box,
        linear-gradient(130deg, #092440, #000) border-box;
    width: 1000px;
    align-items: center;
    justify-content: center;
}

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

.event-content {
    flex: 1;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.date-day {
    font-size: 2rem;
    font-weight: 700;
    color: #d9d9d9;
}

.date-month {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d9d9d9;
}

.event-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.event-description {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.5;
}

.cta-link {
    background: #e67e22;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: transform 0.3s ease;
}

.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.toggle-bar {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.container {
    max-width: 800px;
    padding: 2.5rem;
    width: 100%;
    box-shadow: var(--shadow);
    animation: fadeIn 0.6s ease-out;
}

.title-container {
    width: 100%;
    padding-right: 2rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    animation: fadeIn 0.6s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1000px;
    position: relative;
    z-index: 1;
}

.title-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("assets/abstract-lines-2.png"); /* Your image path */
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.logo-title-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-title {
    font-size: 2.5rem;
    color: white;
    text-align: left;
    position: relative;
    max-width: 1000px;
    margin: 0;
    margin-bottom: 2rem;
    margin-top: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

.hero-mission {
    max-width: 1200px;
    margin-bottom: 3rem;
}

.mission-title {
    font-size: 5rem;
    position: relative; /* Add relative positioning */
    display: inline-block; /* Make the title a block to contain the pseudo-element */
    text-align: center; /* Ensure center alignment */
    width: 100%; /* Take full width */
    padding-bottom: 20px; /* Add space for the underline */
}

/* Replace the existing ::after with this */
.mission-title::after {
    content: "";
    position: absolute;
    bottom: 20%; /* Position at bottom of title container */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Precise centering */
    width: 7rem; /* Wider line */
    height: 6px; /* Thicker line */
    background: linear-gradient(to right, #05cfcf, #2002c6);
    border-radius: 3px; /* Rounded edges */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle depth */
}

.hero-join {
    margin-top: 2rem;
}

.mission-text {
    font-size: 2rem;
    line-height: 1.8;
    color: #f8fafc;
    text-align: center;
    font-weight: bold;
}

.benefits-grid {
    display: flex;
    justify-content: center;
    gap: 10rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    max-width: 250px;
    height: 100%;
}

.benefit-icon-container {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 170px;
    height: 170px;
    background: rgba(5, 207, 207, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.benefit-card:hover .benefit-icon-container {
    background: rgba(5, 207, 207, 0.2);
    transform: translateY(-5px);
}

.benefit-header {
    font-size: 1.8rem;
}

.benefit-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: #f8fafc;
    max-width: 200px;
    line-height: 1.4;
    text-align: center;
    margin-top: auto;
}

.about-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.about-card .section-title {
    text-align: center;
    width: 100%;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-list {
    list-style: none;
    padding-left: 1rem;
}

.feature-list li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.4em;
}

.highlight-box {
    background: linear-gradient(135deg, #f8fafc, #f0f5ff);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 3rem 0;
    border: 2px solid var(--primary-color);
}

.aoai-footer {
    position: fixed;
    bottom: 0;
    height: 60px;
    margin-bottom: 10px;
    /* Remove sticky properties */
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    z-index: 100;
}

.footer-container {
    max-width: 100%;
    margin: 0;
    padding: 0.8rem 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem;
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.4);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.social-link:hover {
    background: rgba(88, 101, 242, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(88, 101, 242, 0.2);
}

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

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

.social-icon-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px) scale(1.1);
}

.social-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

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

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

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

.mt-2 {
    margin-top: 2rem;
}

button.loading {
    position: relative;
    pointer-events: none;
}

button.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.courses-section {
    padding: 5rem 0;
    background-color: white;
}

.courses-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-title {
    font-size: 5rem;
    color: white;
    position: relative;
    display: inline-block;
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

main {
    background: linear-gradient(130deg, #000000, #092440);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 0 auto;
    padding-bottom: 60px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #05cfcf, #2002c6);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: white;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

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

.course-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.course-header {
    padding: 1.5rem 1.5rem 0;
}

.course-level {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-beginner {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.level-intermediate {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.level-advanced {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.course-body {
    padding: 1.5rem;
    flex: 1;
}

.course-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #d9d9d9;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.course-description {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.course-footer {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.course-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.course-duration {
    display: flex;
    align-items: center;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.icon {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    fill: currentColor;
}

.coaches-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
}

.head-coaches-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 1400px;
}

.head-coach-card {
    position: relative;
    background: rgba(9, 36, 64, 0.7);
    border-radius: 16px;
    padding: 3rem 2.5rem 2.5rem;
    min-width: 400px;
    max-width: 700px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(32, 2, 198, 0.4);
    box-shadow: 0 10px 30px rgba(5, 207, 207, 0.1);
    overflow: hidden;
    z-index: 1;
}

.head-coach-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, #05cfcf, #2002c6);
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.3rem;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(5, 207, 207, 0.4);
    letter-spacing: 1px;
}

.coach-card {
    position: relative;
    background: rgba(9, 36, 64, 0.7);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(5, 207, 207, 0.3);
    box-shadow: 0 8px 25px rgba(5, 207, 207, 0.1);
    overflow: hidden;
    z-index: 1;
    height: 20rem;
    width: 25rem;
}

.coach-card:hover,
.head-coach-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(5, 207, 207, 0.3);
}

.coach-card:hover {
    border-color: rgba(5, 207, 207, 0.7);
}

.head-coach-card:hover {
    border-color: rgba(32, 2, 198, 0.7);
}

.coach-card:hover .glow-effect,
.head-coach-card:hover .glow-effect {
    opacity: 1;
}

.coach-card::after,
.head-coach-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #05cfcf, #2002c6);
    opacity: 0.7;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.coach-card:hover::after,
.head-coach-card:hover::after {
    transform: scaleX(1);
}

.coach-name {
    margin-bottom: 1.2rem;
    position: relative;
}

.name-gradient {
    background: linear-gradient(90deg, #05cfcf, #2002c6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2.2rem;
    font-weight: 750;
    display: inline-block;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.coach-card:hover .name-gradient,
.head-coach-card:hover .name-gradient {
    color: linear-gradient(90deg, #0ff, #2002c6);
}

.coach-role {
    color: #0c83ff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
}

.coach-role::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, #05cfcf, #2002c6);
    border-radius: 2px;
}

.coach-bio {
    color: #afced3;
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 500;
}

.coaches-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    max-width: 1400px;
}

.sponsors-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.platinuim-sponsors-title {
    font-size: 4.7rem;
    font-weight: 550;
    color: #c0c5c9;
}

.sponsors-grid {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin-top: 3rem;
}

.sponsors-section-footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 1.5rem;
    color: #c3c3c3;
    padding: 1rem 0;
}

.sponsors-section-footer p {
    margin: 0;
}

.sponsors-section-footer a {
    color: #02ffff;
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.sponsors-section-footer a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.sponsors-section-footer a:hover {
    color: #02ffff;
}

.sponsors-section-footer a:hover::after {
    width: 100%;
}

.ambassadors-grid {
    display: flex;
    gap: 0px;
    height: 750px;
}

.ambassador-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    flex: 1;
    transition: flex 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.ambassador-card:hover {
    flex: 2;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

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

.ambassador-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ambassador-card:hover .ambassador-image {
    transform: scale(1.03);
}

.ambassador-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transition: all 0.4s ease;
}

.ambassador-name {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ambassador-role {
    font-size: 1.1rem;
    color: #05cfcf;
    font-weight: 600;
    margin-bottom: 5px;
}

.ambassador-university {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #afced3;
}

.university-icon {
    color: #2002c6;
}

.ambassador-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(9, 36, 64, 0.7);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.ambassador-card:hover .ambassador-info {
    opacity: 1;
}

/* --- Selection Section System --- */

.selection-page-section {
    padding: 100px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.selection-intro-container {
    text-align: center;
    margin-bottom: 80px;
}

.selection-main-title {
    font-size: 4rem; /* Adjusted for readability */
    margin-bottom: 30px;
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-text-block {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.intro-text-block p {
    margin-bottom: 20px;
}

.selection-disclaimer {
    margin-top: 40px;
    padding: 25px;
    background: rgba(0, 128, 128, 0.1);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 var(--radius) var(--radius) 0;
    text-align: left;
    font-style: italic;
    color: #94a3b8;
}

/* Phase Flow Control */
.phases-vertical-flow {
    display: flex;
    flex-direction: column;
    gap: 80px; /* Large gap prevents "packed" feel */
}

.phase-card-detailed {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    transition: var(--transition);
}

.phase-card-detailed:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.phase-badge {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.phase-name {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.phase-period {
    color: #94a3b8;
    margin-bottom: 30px;
}

.phase-lead-text {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: white;
}

/* Grids */
.phase-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.info-section h4, .curriculum-preview-block h4, .exam-highlight-box h4, .selection-rounds-box h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.selection-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.selection-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.numbered-selection-list {
    padding-left: 20px;
}

.numbered-selection-list li {
    margin-bottom: 12px;
}

.curriculum-sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: var(--radius);
}

.curr-item h5 {
    color: white;
    margin-bottom: 10px;
}

.curr-item p {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Roadmap CTA */
.roadmap-download-zone {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(90deg, transparent, rgba(0, 128, 128, 0.1), transparent);
    text-align: center;
    border-radius: var(--radius);
}

.download-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-color);
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: transform 0.2s ease;
}

.download-cta-btn:hover {
    transform: translateY(-3px);
}

/* Boxes */
.exam-highlight-box, .selection-rounds-box, .tst-final-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    margin-top: 40px;
}

.final-selection-statement {
    margin-top: 30px;
    background: linear-gradient(90deg, transparent, rgba(0, 128, 128, 0.1), transparent);
    padding: 25px;
    font-weight: 800;
    border-radius: var(--radius);
    text-align: center;
}

.note-text {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 15px;
}

/* Mobile Adjustments */
@media (max-width: 850px) {
    .phase-info-grid, .curriculum-sub-grid {
        grid-template-columns: 1fr;
    }
    .phase-card-detailed {
        padding: 30px;
    }
}

/* ===== Mobile & Tablet Responsive Styles ===== */
@media (max-width: 1024px) {
    /* Hide navigation bar */
    .aoai-nav {
        display: none !important;
    }

    /* Remove all animations and hover effects */
    * {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    /* Remove hover effects from all cards */
    .benefit-card:hover .benefit-icon-container,
    .benefit-icon-container:hover,
    .coach-card:hover,
    .event-card:hover,
    .ambassador-card:hover {
        transform: none !important;
        box-shadow: none !important;
        background: none !important;
    }

    /* Adjust main content padding */
    main {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /* Title adjustments */
    .title-container {
        height: auto;
        padding: 2rem 1rem;
        text-align: center;
    }

    .page-title {
        font-size: 1.8rem;
        text-align: center;
        margin: 0 auto;
    }

    /* Hero section */
    .hero-mission {
        padding: 0 1rem;
    }

    .mission-title {
        margin-top: 5rem;
        font-size: 2.5rem;
        padding-bottom: 15px; /* Reduce space for smaller text */
    }

    .mission-title::after {
        width: 100px; /* Shorter line for mobile */
        height: 4px; /* Thinner line */
    }

    .mission-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    /* Benefits grid */
    .benefits-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .benefit-card {
        flex-direction: row;
        max-width: 100%;
        align-items: center;
        text-align: left;
        gap: 1.5rem;
    }

    .benefit-icon-container {
        width: 80px;
        height: 80px;
    }

    /* Events section */
    .event-card {
        flex-direction: column;
        padding: 1.5rem;
        width: 20rem;
    }

    .event-icon-container {
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .event-date {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
        padding-top: 1rem;
        margin-top: 1rem;
    }

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

    .coach-card {
        width: 90%;
    }

    .coach-card.head-coach {
        grid-column: 1;
    }

    .coach-name {
        font-size: 1.5rem;
    }

    .coach-role {
        font-size: 1.2rem;
    }

    .coach-bio {
        font-size: 1rem;
    }

    .head-coaches-container {
        flex-direction: column;
        align-items: center;
    }

    .head-coach-card,
    .coach-card {
        min-width: 100%;
        max-width: 90%;
        padding: 2rem 1.5rem;
    }

    .name-gradient {
        font-size: 1.8rem;
    }

    .coach-role {
        font-size: 1.2rem;
    }

    .ambassadors-section {
        padding: 2rem 1rem;
        width: 100%;
    }

    .ambassadors-grid {
        flex-direction: column;
        height: auto;
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .ambassador-card {
        display: flex;
        flex-direction: column;
        height: auto;
        overflow: visible;
        cursor: default;
        background: transparent;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
    }

    .ambassador-image-container {
        position: relative;
        width: 100%;
        height: 100%; /* Larger image height */
        order: 1; /* Ensure image comes first */
    }

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

    .ambassador-info {
        position: relative;
        opacity: 1;
        padding: 1.5rem;
        display: block;
        text-align: center;
        background: rgba(9, 36, 64, 0.7);
        opacity: 0.7;
        color: white;
        order: 2; /* Ensure info comes after image */
    }

    .ambassador-name {
        font-size: 1.8rem;
        color: white;
        margin-bottom: 0.5rem;
        font-weight: 700;
    }

    .ambassador-role {
        font-size: 1.2rem;
        color: #05cfcf;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .ambassador-university {
        font-size: 1.1rem;
        color: #afced3;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    /* Hide duplicate elements */
    .ambassador-card > h3.ambassador-name,
    .ambassador-mobile-info {
        display: none;
    }

    /* Sponsors section */
    .sponsors-grid {
        flex-direction: column;
        gap: 2rem;
    }

    /* Footer adjustments */
    .aoai-footer {
        position: relative;
        height: auto;
    }

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

    .social-link {
        width: 100%;
        justify-content: center;
    }

    /* Section titles */
    .section-title {
        font-size: 2rem;
    }

    .section-title::after {
        width: 60px;
    }

    /* Event cards */
    .event-title {
        font-size: 1.5rem;
    }
}

/* Tablet-specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .title-container {
        padding: 5rem 3rem;
    }

    .mission-title {
        font-size: 5rem;
    }

    .mission-text {
        font-size: 2rem;
        padding-right: 3rem;
        padding-left: 3rem;
    }

    .event-card {
        width: 40rem;
    }

    .coach-card {
        height: 50%;
        width: 80%;
    }

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

    .ambassador-image-container {
        height: 400px; /* Even larger on tablets */
    }

    .ambassador-info {
        padding: 1.8rem;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    /* Ambassador adjustments */
    .ambassador-image-container {
        height: 500px;
    }

    .ambassador-name {
        font-size: 1.7rem;
    }

    .ambassador-role {
        font-size: 1.25rem;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .ambassador-image-container {
        height: 250px;
    }

    .ambassador-name {
        font-size: 1.5rem;
    }

    .ambassador-info {
        padding: 1.2rem;
    }
}
