/* 
   Webixo School - Modern Design System 
   Theme: Professional, Premium, Clean, Engaging
*/

/* -------------------------------------------------------------------------- */
/*                                  VARIABLES                                 */
/* -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    /* Brand Colors */
    --primary-color: #2E3192;
    /* Deep Royal Blue */
    --primary-dark: #1a1c5e;
    /* Darker Blue for hover/text */
    --primary-light: #4f52c4;
    /* Lighter Blue for accents */

    --secondary-color: #FFD700;
    /* Gold */
    --secondary-dark: #d9b300;
    /* Darker Gold */
    --secondary-light: #ffe44d;
    /* Lighter Gold */

    --accent-color: #E31E24;
    /* Red */

    /* Neutrals */
    --text-dark: #1e293b;
    /* Slate 800 */
    --text-medium: #828994;
    /* Slate 600 */
    --text-light: #6b6868;
    /* Slate 400 */
    --white: #ffffff;
    --bg-light: #f8fafc;
    /* Very light blue-grey */
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    /* Slate 200 */

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Spacing */
    --container-width: 1280px;
    --section-padding: 100px;
    --header-height: 80px;
    --top-bar-height: 0px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    /* 12px */
    --radius-lg: 1rem;
    /* 16px */
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------------------------------- */
/*                                    RESET                                   */
/* -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

#from_data {
    background-color: white;
}

.card.lab-card.reveal.reveal-visible h4 {
    color: var(--white);
}

.section-title.narrow.reveal.reveal-visible {
    color: var(--primary-color);
}

/* Font Awesome compatibility to support legacy fas/far prefixes */
.fas {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--secondary-color);
}

.far {
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
}

body.home-page,
body.results-page {
    --top-bar-height: 46px;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* -------------------------------------------------------------------------- */
/*                                 TYPOGRAPHY                                 */
/* -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--secondary-color)
}

.card.text-center.reveal.reveal-visible h4 {
    color: var(--white);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-white {
    color: var(--white);
}

.card.text-center h4 {
    color: var(--white);
}

.card.text-center p {
    color: var(--white);
}

/* -------------------------------------------------------------------------- */
/*                                  UTILITIES                                 */
/* -------------------------------------------------------------------------- */
.container {
    width: min(90%, 1200px);
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: var(--section-padding) 0;
}

.bg-white {
    background-color: var(--white);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 0.5rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline-dark {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-dark:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

.btn.is-loading {
    position: relative;
    padding-left: 3rem;
    cursor: wait;
    opacity: 0.85;
}

.btn.is-loading::after {
    content: "";
    position: absolute;
    left: 1rem;
    top: 50%;
    margin-top: -0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #ffffff;
    animation: button-spin 0.8s linear infinite;
}

@keyframes button-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Cards */
.card {
    background: #2E3192;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
    color: var(--white);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}



.card.reveal.reveal-visible p {
    color: var(--white);
}

/* Section Titles */
.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}



.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-top: 1rem;
}

.code-of-conduct {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
}

.code-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.code-intro {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.code-list {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-medium);
}

.code-list li {
    line-height: 1.6;
}

.code-notes p {
    margin-bottom: 0.75rem;
}

.code-notes strong {
    color: var(--primary-color);
}

/* -------------------------------------------------------------------------- */
/*                                 NAVIGATION                                 */
/* -------------------------------------------------------------------------- */
.top-contact-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #1A1C5E;
    color: var(--white);
    z-index: 1100;
    font-size: 0.9rem;
}

.top-contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.55rem 0;
}

.top-contact-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-weight: 500;
}

.top-contact-info span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.top-contact-info i {
    color: var(--white);
    font-size: 0.95rem;
}

.top-contact-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-contact-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.top-contact-icons a:hover {
    transform: translateY(-3px) scale(1.05);
    background: var(--white);
    color: #1A1C5E;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: var(--top-bar-height);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: var(--primary-color);
    gap: 0.15rem;
}

.logo-line-top,
.logo-line-sub {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.logo-line-main {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Dropdown */
.nav-item-has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 220px;
    padding: 0.5rem 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.nav-item-has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.dropdown-menu li a::after {
    display: none;
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-toggle {
    display: none;
    background: transparent;
    border: none;
}

@media (max-width: 992px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid rgba(30, 41, 59, 0.18);
        background: #fff;
        box-shadow: 0 8px 18px rgba(31, 41, 55, 0.12);
        z-index: 1002;
        position: relative;
        transition: var(--transition);
        gap: 4px;
    }

    .hamburger:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 22px rgba(31, 41, 55, 0.18);
    }

    .hamburger.active {
        background: #fff;
        border-color: rgba(30, 41, 59, 0.3);
        box-shadow: 0 12px 22px rgba(31, 41, 55, 0.18);
    }

    .hamburger .bar {
        width: 22px;
        height: 2px;
        margin: 0;
        background-color: rgba(30, 41, 59, 0.85);
        border-radius: 999px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .hamburger.active .bar {
        background-color: rgba(30, 41, 59, 0.9);
    }

    .nav-links {
        position: fixed;
        inset: 0;
        z-index: 1000;
        gap: 0.35rem;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        background: linear-gradient(160deg, rgba(7, 9, 34, 0.98), rgba(46, 49, 146, 0.95));
        backdrop-filter: blur(16px);
        width: 100%;
        height: 100vh;
        padding: 120px 1.75rem 2.5rem;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links .nav-item-has-dropdown {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-auto-rows: auto;
        column-gap: 0.5rem;
        row-gap: 0.35rem;
        align-items: center;
        justify-items: stretch;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.95rem 1.2rem;
        border-radius: var(--radius-full);
        text-align: center;
        font-weight: 600;
        font-size: 1rem;
        letter-spacing: 0.04em;
        color: var(--white);
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .nav-item-has-dropdown>a {
        padding-right: 1rem;
        text-align: left;
        width: 100%;
    }

    .dropdown-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: static;
        width: 38px;
        height: 38px;
        border-radius: var(--radius-full);
        border: 1px solid rgba(255, 255, 255, 0.35);
        background: rgba(255, 255, 255, 0.12);
        color: var(--white);
        cursor: pointer;
        transition: var(--transition);
        justify-self: end;
    }

    .dropdown-toggle i {
        pointer-events: none;
        font-size: 0.8rem;
    }

    .dropdown-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .nav-item-has-dropdown.open .dropdown-toggle {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.6);
        color: var(--secondary-color);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.18);
        color: var(--secondary-color);
        border-color: rgba(255, 255, 255, 0.25);
        transform: translateY(-1px);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border-radius: var(--radius-lg);
        width: 100%;
        align-self: center;
        max-width: 420px;
        background: rgba(15, 18, 52, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        padding: 0;
        margin: 0 auto;
        transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
    }

    .nav-item-has-dropdown.open .dropdown-menu {
        max-height: 420px;
        opacity: 1;
        pointer-events: auto;
        padding: 0.6rem;
        margin: 0.65rem auto 0;
    }

    .nav-links .nav-item-has-dropdown .dropdown-menu {
        grid-column: 1 / -1;
        width: 100% !important;
        max-width: 420px;
        align-self: center;
        justify-self: center;
        margin-left: auto !important;
        margin-right: auto !important;
        left: auto !important;
        transform: none !important;
    }

    .dropdown-menu li {
        max-width: none;
    }

    .dropdown-menu li a {
        border-radius: var(--radius-md);
        border: none;
        background: transparent;
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.9rem;
        text-align: left;
        padding: 0.6rem 0.75rem;
    }

    .dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.08);
        color: var(--secondary-color);
    }
}

/* -------------------------------------------------------------------------- */
/*                                HERO SECTIONS                               */
/* -------------------------------------------------------------------------- */
/* Homepage Carousel */
.hero-carousel-section {
    background: linear-gradient(145deg, #05071c 0%, #141b5f 55%, #050614 100%);
    color: var(--white);
    padding: 150px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-carousel-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08), transparent 55%);
    pointer-events: none;
}

.hero-carousel-layout {
    width: min(92%, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero-carousel-content {
    max-width: 560px;
}

.hero-carousel-content h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--white);
    padding-top: 2rem;
}

.hero-carousel-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 1.5rem;
    background: rgba(6, 9, 41, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(5, 8, 34, 0.45);
}

.hero-stats li {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hero-stats strong {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.hero-stats span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero-actions .btn {
    min-width: 150px;
}

.hero-hint {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.hero-carousel-visual {
    display: flex;
    justify-content: center;
}

.hero-carousel-frame {
    position: relative;
    width: 100%;
    max-width: 650px;
    border-radius: 1.75rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(3, 5, 30, 0.5);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), rgba(3, 4, 20, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-carousel-frame::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.carousel-stage {
    width: 100%;
    aspect-ratio: 5 / 3;
    min-height: 420px;
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 1.35rem;
}

.carousel-stage::-webkit-scrollbar {
    height: 4px;
}

.carousel-stage::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.15);
}

.carousel-stage::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

.carousel-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.35rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.92);
    color: #111344;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.05);
    background: var(--secondary-color);
    color: var(--primary-color);
}

.carousel-btn-left {
    left: 18px;
}

.carousel-btn-right {
    right: 18px;
}

@media (max-width: 992px) {
    .hero-carousel-section {
        padding-top: 120px;
    }
}

@media (max-width: 768px) {
    .hero-carousel-content {
        text-align: left;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .carousel-stage {
        aspect-ratio: 4 / 3;
        min-height: 320px;
    }

    .carousel-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(110px, 1fr));
        padding: 0.85rem 1rem;
    }
}

@media (max-width: 520px) {
    .hero-carousel-section {
        padding: 110px 0 80px;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .carousel-stage {
        min-height: 260px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        padding: 0.9rem;
    }
}

@media (max-width: 514px) {
    .trust-section .split-layout {
        flex-direction: column;
        text-align: center;
    }

    .trust-section .split-content {
        text-align: center;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid .card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 449px) {
    .cta-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-btns .btn {
        width: 100%;
        max-width: 260px;
        font-size: 0.95rem;
    }
}

/* Page Headers (Inner Pages) */
.page-header {
    position: relative;
    width: 100%;
    min-height: 460px;
    padding: 120px 0;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    overflow: hidden;
    margin-top: var(--header-height);
}

.primary-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.primary-hero-text {
    color: var(--white);
}

@media (max-width: 768px) {
    .page-header {
        padding: 90px 0;
        min-height: 380px;
    }
}

@media (max-width: 520px) {
    .page-header {
        padding: 70px 0;
        min-height: 340px;
    }
}

.primary-hero-text h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb .current {
    color: var(--white);
    font-weight: 600;
}

.age-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.primary-hero-media {
    position: relative;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.primary-hero-media:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.primary-hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
}

.hero-cover {
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
}

.hero-cover .primary-hero-inner {
    grid-template-columns: 1fr;
    max-width: 720px;
}

.hero-cover .primary-hero-text {
    padding: 2.5rem;
    text-align: left;
}

.hero-cover .primary-hero-text h1 {
    color: var(--white);
    font-size: clamp(2.3rem, 5vw, 3.3rem);
}

.hero-cover .primary-hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.hero-cover .primary-hero-media {
    display: none;
}

.hero-cover .breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    justify-content: flex-start;
}

@media (max-width: 449px) {
    .hero-cover .primary-hero-text {
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-cover .primary-hero-text h1 {
        font-size: 2rem;
    }

    .hero-cover .primary-hero-text p {
        font-size: 0.95rem;
    }

    .hero-cover .breadcrumb {
        justify-content: center;
    }
}

@media (max-width: 441px) {
    .preprimary-hero .primary-hero-text h1 {
        font-size: 1.8rem;
    }

    .preprimary-hero .primary-hero-text p {
        font-size: 0.9rem;
    }

    .preprimary-hero .age-tag {
        font-size: 0.8rem;
    }
}

.hero-bg-default {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.9)), url('assets/images/acadmemic/achero.webp');
}

.academics-hero {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.9)), url('assets/images/acadmemic/heroac.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0;
    position: relative;
    color: #fff;
    background-color: #0f124a;
    overflow: hidden;
}

.academics-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.academics-hero .primary-hero-text {
    position: relative;
    z-index: 2;
}

.academics-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.academics-hero .tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .academics-hero {
        background-size: cover;
        background-position: center top;
        padding: 110px 0;
    }

    .academics-hero h1 {
        font-size: 2.2rem;
    }

    .academics-hero .tagline {
        font-size: 1rem;
    }
}

.principal-hero {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.95)), url('assets/images/about/heromd.webp');
}

.ali_sir {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.95)), url('assets/images/about/hero-1.webp');
}

.preprimary-hero {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.9)), url('assets/images/acadmemic/prehero.webp');
}

.primary-hero {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.9)), url('assets/images/acadmemic/heroprim.webp');
}

.subseniors-hero {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.9)), url('assets/images/acadmemic/subsinhero.webp');
}

.seniors-hero {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.9)), url('assets/images/acadmemic/sinhero.webp');
}


.contact-hero {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.9)), url('assets/images/acadmemic/contacthero.webp');
}

.OurFaculty {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.9)), url('assets/images/acadmemic/facultyhero.webp');
}

.students-hero {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.9)), url('assets/images/acadmemic/studenthero.webp');
}

.onlineapply {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.9)), url('assets/images/Addmission/onlineapply.webp');
}

.howtoapply {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.9)), url('assets/images/Addmission/howtoapply.webp');
}

.prospectus {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.9)), url('assets/images/Addmission/prospectue.webp');
}

.studentlife {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.9)), url('assets/images/gallery/Gemini_Generated_Image_a8oobqa8oobqa8oo.webp');
}

.preprimary-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.preprimary-levels li {
    background: var(--bg-light);
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-dark);
}

.preprimary-final-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 451px) {
    .preprimary-final-buttons {
        flex-direction: column;
        align-items: center;
    }

    .preprimary-final-buttons .btn {
        width: 100%;
        max-width: 260px;
    }
}

.about-hero {
    background-image: linear-gradient(rgb(46 49 146 / 0%), rgba(46, 49, 146, 0.9)), url('assets/images/about/about.webp');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
}

.about-hero .primary-hero-inner {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-left: 0;
}

.about-hero .primary-hero-text {
    padding: 2.5rem;

}

.about-hero .primary-hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
}

.about-hero .primary-hero-text p {
    font-size: 1.05rem;
    margin-bottom: 0;
}

.about-hero .primary-hero-media {
    display: none;
}

.about-hero {
    padding: 4rem 0;
}

.about-hero .primary-hero-inner {
    align-items: center;
}

.about-hero .primary-hero-text h1 {
    font-size: clamp(2.3rem, 4.5vw, 3.2rem);
}

.about-hero .primary-hero-text p {
    font-size: 1rem;
}

.about-hero .primary-hero-media {
    margin: 1.5rem 0;
    padding: 2rem 0 2rem 0;
}

@media (max-width: 449px) {
    .about-hero .primary-hero-text {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .about-hero .primary-hero-text h1 {
        font-size: 1.5rem;
    }

    .about-hero .primary-hero-text p {
        font-size: 0.95rem;
    }

    .breadcrumb {
        justify-content: center;
    }
}


.code-notes {
    color: red;
}

.resources-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 371px) {
    .resources-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .resources-buttons .btn {
        width: 100%;
        max-width: 260px;
    }
}

/* -------------------------------------------------------------------------- */
/*                                  SECTIONS                                  */
/* -------------------------------------------------------------------------- */

/* At a Glance */
.at-a-glance {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.at-a-glance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Feature Split (Generic) */
.feature-split {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.split-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 639px) {
    .principal-message-main .split-image {
        max-width: 360px;
        margin: 0 auto;
    }

    .principal-message-main .split-image img {
        height: 320px;
    }
}

.principal-message-main .split-image .card {
    background: var(--white);
    padding: 0;
    overflow: hidden;
}

.principal-message-main .split-image .card h3 {
    color: var(--primary-color);
}

.principal-message-main .split-image .card p {
    color: var(--text-light);
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-list i {
    width: 50px;
    height: 50px;
    background: rgba(46, 49, 146, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Timeline */
.timeline-section {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.journey-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.journey-stat-card {
    flex: 1;
    min-width: 240px;
    background: linear-gradient(135deg, #303393, #41449C);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.journey-stat-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    right: -60px;
    top: -80px;
}

.journey-stat-label {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}

.journey-stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.journey-stat-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 4rem;
    position: relative;
}

.timeline-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 250px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.timeline-step:hover .step-icon {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.timeline-connector {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* Academic Progress / Toppers */
.academic-progress-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.toppers-slider-wrapper {
    position: relative;
    margin-top: 2rem;
    padding: 0 3rem;
}

.toppers-slider {
    overflow: hidden;
    padding: 1rem 0;
}

.toppers-track {
    display: flex;
    transition: transform 0.5s ease;
}

.toppers-slide {
    flex: 0 0 50%;
    /* 2 items per view */
    padding: 0 1rem;
}

.academic-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: none;
    height: 80vh;
    border: none;
    transition: var(--transition);
}

.academic-card:hover {
    transform: translateY(-5px);

}

.academic-image {
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--white);
}

@media (max-width: 768px) {
    .academic-card {
        height: auto;
    }

    .academic-image {
        width: 100%;
        padding-top: 65%;
        height: auto;
        background-size: contain;
        background-position: center center;
    }
}

.toppers-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: var(--transition);
}

.toppers-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.toppers-btn.prev {
    left: 0;
}

.toppers-btn.next {
    right: 0;
}

@media (max-width: 548px) {
    .toppers-slider-wrapper {
        padding: 0 1rem;
    }

    .toppers-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 1037px) and (min-width: 549px) {
    .toppers-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .academic-card {
        height: auto;
        min-height: 420px;
    }

    .academic-image {
        min-height: 420px;
        background-size: contain;
        background-position: center;
    }
}

/* Trust Section */
.trust-section .split-layout {
    gap: 4rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-grid .card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-grid .card i {
    font-size: 1.5rem;
}

.trust-grid .card p {
    margin: 0;
    font-weight: 600;
    color: var(--white);
}

/* Announcement Bar */
.announcement-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    overflow: hidden;
}

.announcement-track {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.announcement-label {
    font-weight: 700;
    margin-right: 1rem;
    white-space: nowrap;
    color: var(--secondary-color);
}

.announcement-marquee {
    flex: 1;
    overflow: hidden;
}

.announcement-marquee span {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee 35s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Events Preview */
.events-preview {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.events-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.event-preview-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.event-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-thumb {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-preview-content {
    padding: 1.5rem;
    position: relative;
}

.event-date-badge {
    position: absolute;
    top: -20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
}

/* Footer */
footer {
    background: #1A1C5E;
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
}

.footer-links li i {
    min-width: 16px;
}

.footer-links a {
    color: var(--white);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* -------------------------------------------------------------------------- */
/*                                 ANIMATIONS                                 */
/* -------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-image {
    transform: scale(0.95);
    opacity: 0;
}

.reveal-image.reveal-visible {
    transform: scale(1);
    opacity: 1;
}

/* -------------------------------------------------------------------------- */
/*                               RESPONSIVENESS                               */
/* -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .primary-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .primary-hero-media {
        height: 300px;
        transform: none;
    }

    .split-layout,
    .split-layout.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .timeline {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .timeline-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .journey-stats-grid {
        flex-direction: column;
    }

    .toppers-slide {
        flex: 0 0 100%;
    }
}

@media (max-width: 600px) {
    .section-header-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .section-header-flex .section-title-left {
        width: 100%;
    }

    .section-header-flex .btn {
        width: 100%;
        max-width: 260px;
        font-size: 0.9rem;
        padding: 0.65rem 1.5rem;
    }
}

/* -------------------------------------------------------------------------- */
/*                            PAGE SPECIFIC STYLES                            */
/* -------------------------------------------------------------------------- */

/* Primary Program Specifics */
.primary-intro-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.primary-intro-image {
    height: 400px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

.primary-grades-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.primary-grades-list i {
    color: var(--secondary-color);
}

.primary-final-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.primary-final-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {

    .primary-intro-inner {
        grid-template-columns: 1fr;
    }
}

/* Apply Online Form */
.apply-form-card {
    max-width: 840px;
    margin: 0 auto;
    padding: 2.5rem;
}

.admission-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.admission-form .form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text-dark);
}

.admission-form .form-group.full-width {
    grid-column: 1 / -1;
}

.admission-form .form-control,
.admission-form textarea.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background-color: var(--white);
    transition: var(--transition);
}

.admission-form .form-control:focus,
.admission-form textarea.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 49, 146, 0.08);
}

.form-radio-group {
    display: flex;
    gap: 1.5rem;
    padding: 0.4rem 0;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
    color: var(--text-medium);
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.recaptcha-wrapper {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-note {
    grid-column: 1 / -1;
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .apply-form-card {
        padding: 2rem;
    }

    .admission-form .form-grid {
        grid-template-columns: 1fr;
    }

    .form-radio-group {
        flex-direction: column;
        gap: 0.6rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .apply-form-card {
        padding: 1.5rem;
    }

    .admission-form .form-control,
    .admission-form textarea.form-control {
        font-size: 0.95rem;
    }

    .form-note {
        text-align: center;
    }
}

@media (max-width: 420px) {
    .apply-form-card {
        padding: 1rem;
    }

    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: 0 0;
    }

    .recaptcha-wrapper {
        overflow: hidden;
    }
}

/* Labs Grid */
.labs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.lab-card {
    padding: 1.5rem;
}

.lab-card h4 {
    margin-bottom: 0.35rem;
}

.lab-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 0;
}

.lab-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: inline-flex;
}

@media (max-width: 768px) {
    .labs-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 505px) {
    .labs-grid {
        grid-template-columns: 1fr;
    }

    .lab-card {
        text-align: center;
    }

    .lab-icon {
        margin: 0 auto 0.75rem;
    }
}

/* Students Page Adjustments */
.students-page .section {
    padding: 50px 0;
}

@media (max-width: 640px) {
    .students-page .section {
        padding: 35px 0;
    }
}

/* Careers Page */
.career-hero {
    background-image: linear-gradient(rgba(185, 185, 202, 0), rgba(26, 28, 94, 0.9)), url('assets/images/acadmemic/jobhero.webp');
    background-position: center;
}

.career-openings {
    background: var(--bg-light);
}

.career-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.job-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-card h3 {
    margin-bottom: 0.5rem;
}

.job-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    background: rgba(46, 49, 146, 0.08);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin: 0;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.job-meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.job-image,
.career-advert img {
    width: 100%;
    height: 180px;
    border-radius: calc(var(--radius-lg) - 8px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.career-advert {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: center;
    align-items: center;
}

.career-advert img {
    height: auto;
    object-fit: cover;
}

.career-jobs-grid>img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.career-empty {
    margin-top: 2rem;
    text-align: center;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.career-empty i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.career-apply-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
    gap: 2rem;
}

.career-apply-content ul {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--text-medium);
}

.career-apply-content li {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.career-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.career-form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--text-dark);
}

.career-form input,
.career-form select,
.career-form textarea {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 0.85rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(46, 49, 146, 0.15);
}

.career-form .full-width {
    grid-column: 1 / -1;
}

.career-form .file-input input {
    padding: 0.6rem;
}

.career-apply {
    background: #f1f5ff;
}

.hidden {
    display: none !important;
}

@media (max-width: 992px) {
    .career-apply-card {
        grid-template-columns: 1fr;
    }

    .career-form .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-intro {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item h4 {
    margin-bottom: 0.25rem;
}

.info-item p {
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

.info-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-form-wrapper {
    padding: 2.5rem;
}

.contact-form h3 {
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 49, 146, 0.08);
}

.contact-submit {
    width: 100%;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 505px) {
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .info-item {
        align-items: flex-start;
    }
}

/* Prospectus Download */
.prospectus-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.prospectus-content .section-title-left p {
    margin-bottom: 1rem;
}

.prospectus-intro {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.prospectus-features {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding-left: 0;
}

.prospectus-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
}

.prospectus-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(46, 49, 146, 0.1);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.prospectus-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    gap: 0.6rem;
}

.prospectus-btn:hover {
    background: var(--secondary-light);
    color: var(--primary-color);
}

.prospectus-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.prospectus-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

@media (max-width: 1024px) {
    .prospectus-card {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }

    .prospectus-visual {
        order: -1;
    }
}

@media (max-width: 640px) {
    .prospectus-card {
        padding: 2rem;
    }
}

@media (max-width: 485px) {
    .prospectus-card {
        padding: 0.4rem;
        gap: 2rem;
    }

    .prospectus-content .section-title-left h2 {
        font-size: 1.75rem;
    }

    .prospectus-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Prospectus Viewer */
.prospectus-viewer-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.flipbook-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid black;
    padding: 2rem;
    background-image: url("assets/images/about/istockphoto-1031593670-612x612.jpg");
}

#flipbook-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    margin-bottom: 2rem;
    width: 100%;
    transform-origin: center top;
}

.flip-book {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
    background: var(--white);
    border-radius: var(--radius-md);
}

#flipbook-container.cover-closed {
    overflow: hidden;
}

#flipbook-container.cover-closed .flip-book {
    clip-path: inset(0 0 0 50%);
    -webkit-clip-path: inset(0 0 0 50%);
    transition: clip-path 0.35s ease;
}

@media (max-width: 800px) {
    #flipbook-container.cover-closed .flip-book {
        clip-path: none;
        -webkit-clip-path: none;
    }
}

.page {
    background: var(--white);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.book-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    flex-wrap: wrap;
    justify-content: center;
}

.control-btn {
    background: var(--primary-color);
    border: none;
    color: var(--white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.control-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.page-info {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 120px;
    text-align: center;
}

.controls-divider {
    width: 1px;
    height: 24px;
    background: rgba(148, 163, 184, 0.6);
}

#loading-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    text-align: center;
    color: var(--primary-color);
    gap: 0.5rem;
}

.spinner {
    width: 54px;
    height: 54px;
    border: 4px solid rgba(46, 49, 146, 0.1);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: prospectus-spin 1s linear infinite;
}

@keyframes prospectus-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#error-message {
    display: none;
    text-align: center;
    color: var(--accent-color);
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    max-width: 600px;
}

@media (max-width: 768px) {
    .book-controls {
        padding: 0.75rem 1.5rem;
        gap: 0.9rem;
        border-radius: var(--radius-pill, 999px);
    }

    .control-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    #flipbook-container {
        transform-origin: center center;
    }
}

@media (max-width: 540px) {
    .flipbook-wrapper {
        min-height: 500px;
    }

    .book-controls {
        width: 100%;
    }

    .controls-divider {
        display: none;
    }
}

/* Video Gallery */
.video-gallery-section {
    background: var(--bg-light);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-card h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
}

.video-card p {
    color: var(--text-medium);
    margin: 0;
}

@media (max-width: 540px) {
    .video-card {
        padding: 1.25rem;
    }
}

/* How to Apply Timeline */
.process-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: flex-start;
}

.timeline-box h3 {
    margin-bottom: 1.5rem;
}

.timeline-table-group {
    margin-bottom: 2rem;
}

.timeline-table-group h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.timeline-table {
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: var(--white);
}

.timeline-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
    color: var(--text-medium);
}

.timeline-row:last-child {
    border-bottom: none;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.step-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.step-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.docs-list {
    margin-top: 2rem;
    background: var(--bg-light);
}

.docs-list h5 {
    margin-bottom: 1rem;
}

.docs-items {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.docs-items li {
    margin-bottom: 0.35rem;
}

.highlight-note {
    font-size: 0.9rem;
    color: #d97706;
}

@media (max-width: 1024px) {
    .process-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .docs-list {
        margin-top: 1.5rem;
    }
}

@media (max-width: 640px) {
    .timeline-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .timeline-date {
        text-align: left;
    }

    .step-item {
        padding-bottom: 1rem;
    }

    .step-content h4 {
        font-size: 1rem;
    }
}

@media (max-width: 492px) {
    .primary-final-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    min-width: 240px;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 0.85rem 1.25rem;
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark);
    font-weight: 500;
    opacity: 0;
    transform: translateX(20px);
    transition: transform 0.25s ease, opacity 0.25s ease;
    pointer-events: auto;
    cursor: pointer;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    border-color: #38a169;
}

.toast-error {
    border-color: #e53e3e;
}

.toast-info {
    border-color: var(--primary-color);
}

@media (max-width: 640px) {
    .toast-container {
        left: 1rem;
        right: 1rem;
        top: auto;
        bottom: 1rem;
        align-items: flex-end;
    }

    .toast {
        width: 100%;
        max-width: none;
    }
}

/* Latest Results Section */
.latest-results-section {
    padding: 4rem 0;
}

.latest-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.card.pdf-card {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
}

.card.pdf-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pdf-preview-wrapper {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
    height: 250px;
}

.pdf-preview-wrapper iframe {
    pointer-events: none;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.pdf-info {
    padding: 0 0.5rem 0.25rem;
}

.result-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: #050614;
}

.view-online {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.view-online:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .latest-results-grid {
        grid-template-columns: 1fr;
    }
}

.results-hero {
    background-image: linear-gradient(rgba(46, 49, 146, 0), rgba(26, 28, 94, 0.9)), url('assets/images/acadmemic/resulthero.webp');
    background-size: cover;
    background-position: center;
}

.results-hero-content {
    max-width: 720px;
    color: var(--white);
}

.results-tag {
    display: inline-flex;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.results-hero-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1rem;
}

.latest-results-highlight {
    background: var(--white);
}

.results-archive {
    background: var(--bg-light);
}

.results-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.result-meta {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

@media (max-width: 1024px) {
    .results-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .results-archive-grid {
        grid-template-columns: 1fr;
    }
}

.managing-director-highlight {
    background: var(--white);
    border-radius: 32px;
    padding: 4rem 3rem;
    box-shadow: 0 30px 80px rgba(16, 24, 40, 0.08);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.managing-director-highlight .split-layout {
    gap: 3rem;
}

.managing-director-highlight .split-image {
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.managing-director-highlight .md-photo-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #1A1C5E;
    box-shadow: 0 12px 30px rgba(26, 28, 94, 0.25), 0 0 0 8px rgba(255, 255, 255, 0.85);
}

.managing-director-highlight h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.managing-director-highlight .md-message-snippet p {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 0.8rem;
}

.managing-director-highlight .btn-primary {
    padding: 0.85rem 2.5rem;
    border-radius: 999px;
}

@media (max-width: 768px) {
    .managing-director-highlight {
        padding: 3rem 1.5rem;
    }

    .managing-director-highlight .md-photo-circle {
        width: 240px;
        height: 240px;
    }
}