:root {
    --primary-color: #0F172A;
    /* Slate 900 */
    --secondary-color: #FACC15;
    /* Yellow 400 - Vibrant Gold */
    --accent-color: #2DD4BF;
    /* Teal 400 */
    --text-color: #334155;
    /* Slate 700 */
    --text-light: #64748B;
    /* Slate 500 */
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --mesh-gradient: radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
    --shadow-premium: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #F8FAFC;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.section-title {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

.section-padding {
    padding: 100px 0;
    /* More breathing room */
}

.bg-light {
    background-color: var(--light-bg);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    /* Updated for better contrast (Blue on Gold) */
    padding: 14px 35px;
    border-radius: 5px;
    /* Less rounded for more formality */
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 14px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 2px solid var(--white);
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.site-header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.9);
}

.site-header.scrolled .nav-list a {
    color: var(--white);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-list a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-list a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-list a:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
}

/* Ultra-Modern Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background: var(--primary-color);
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4;
    /* Better text visibility */
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 34, 68, 0.9), rgba(0, 34, 68, 0.7));
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 800;
    animation: fadeInUp 0.8s ease-out both;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color), #FFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-primary-modern {
    padding: 16px 32px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(250, 204, 21, 0.3);
}

.btn-glass {
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-glass-grid {
    display: grid;
    gap: 20px;
}

.glass-stat-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.stat-info p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 20;
    color: var(--white);
    border-radius: 15px 15px 0 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step {
    text-align: center;
    position: relative;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(230, 184, 0, 0.4);
}

.step h4 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.step p {
    font-size: 0.95rem;
    color: #636e72;
}

/* Footer Copyright (Contrast Update) */
/* Footer Copyright duplicate removed */

/* About Section */
.section-title {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-subtitle {
    color: #666;
    font-style: italic;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.about-text .highlight-text {
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    font-style: italic;
    color: var(--primary-color);
    background-color: rgba(212, 175, 55, 0.1);
    padding: 15px 20px;
    border-radius: 0 5px 5px 0;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.feature-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.feature-item .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
    padding: 30px;
    color: var(--white);
    text-align: center;
}

.card-header h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.4rem;
}

.card-header.technical {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.card-header.undergraduate {
    background: linear-gradient(135deg, #003366, #0056b3);
}

.card-header.postgraduate {
    background: linear-gradient(135deg, #4b2c92, #6a4cba);
}

/* Refined Purple */

.card-body {
    padding: 30px;
}

.card-body ul {
    list-style: none;
}

.card-body ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.card-body ul li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 10px;
}

.card-body ul li:last-child {
    border-bottom: none;
}

/* Info Box */
.info-box {
    background-color: var(--white);
    border-left: 5px solid var(--secondary-color);
    padding: 40px;
    box-shadow: var(--shadow);
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
}

.info-box h3 {
    margin-bottom: 20px;
}

/* Contact */
.contact-container {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
}

.info-item {
    text-align: center;
    min-width: 250px;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex: 1;
}

.info-item h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--accent-color);
    /* Teal for contact headers */
}

.info-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--secondary-color);
}

/* Testimonials & Carousel */
.testimonial-carousel {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-item {
    transition: opacity 0.3s ease;
}

.testimonial-text {
    font-size: 1.5rem;
    font-weight: 500;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.author-info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Logo Animation Styles */
.brand-animation-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    overflow: visible;
}

.logo-contour {
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    z-index: 15;
    pointer-events: none;
}

.stroke-path {
    stroke: var(--secondary-color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    filter: drop-shadow(0 0 5px var(--secondary-color));
}

.stroke-path-accent {
    stroke: var(--accent-color);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.main-logo-animated {
    opacity: 0;
    height: 55px;
    /* Constrain size */
    width: auto;
    transform: scale(0.8);
    z-index: 10;
    position: relative;
    /* Remove the 'all' transition to handle it with keyframes for the pop */
}

/* Animation Classes controlled by JS */
.brand-animation-wrapper.drawing .stroke-path {
    animation: drawPath 1.5s ease-out forwards;
}

.brand-animation-wrapper.drawing .stroke-path-accent {
    animation: drawPath 1.2s ease-out 0.3s forwards;
}

.brand-animation-wrapper.reveal .main-logo-animated {
    animation: logoPop 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes logoPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(2.2);
    }

    /* The expansion the user mentioned */
    100% {
        opacity: 1;
        transform: scale(1);
    }

    /* Return to original state */
}

.brand-animation-wrapper.loaded .logo-contour {
    opacity: 0;
    transition: opacity 0.5s ease-out 0.5s;
}

/* Premium Shine Effect */
.brand-animation-wrapper.shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(255, 255, 255, 0.6) 50%,
            transparent 55%);
    transform: rotate(45deg);
    animation: shineSweep 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 20;
    opacity: 0;
}

.brand-animation-wrapper.loaded.shine::after {
    opacity: 1;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes shineSweep {
    0% {
        transform: translateX(-100%) rotate(45deg);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateX(100%) rotate(45deg);
        opacity: 0;
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary-color);
    width: 30px;
    border-radius: 100px;
}

/* Modern Contact Grid */
.contact-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.modern-info-items {
    margin-top: 40px;
    display: grid;
    gap: 20px;
}

.m-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.m-info-item:hover {
    background: var(--white);
    transform: translateX(10px);
}

.m-icon {
    font-size: 1.5rem;
}

.contact-form-modern {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
}

.w-full {
    width: 100%;
}

/* Modern Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid-modern {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
}

.footer-logo-modern {
    width: 140px;
    /* Bigger logo */
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    line-height: 2.5;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--secondary-color);
}

.footer-bottom-modern {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Stats Section Styles */
.stats-section {
    padding: 80px 0;
    background: #001a33;
    /* Very dark blue for contrast */
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-number-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-number-wrapper span:last-child {
    font-size: 2.5rem;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Footer Improvements */
.footer-logo-modern {
    width: 160px;
    /* Even bigger */
    filter: none;
    /* Try removing filter to see original logo */
    margin-bottom: 25px;
    background: white;
    /* Add white background for contrast if needed */
    padding: 10px;
    border-radius: 8px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(200px, auto));
    gap: 20px;
    margin-top: 40px;
}

.bento-item {
    position: relative;
    padding: 30px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-premium);
}

.bento-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.bento-tall {
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-postgrad {
    grid-column: span 2;
}

.bento-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    width: fit-content;
}

.bento-list {
    list-style: none;
    margin-top: 15px;
}

.bento-list li {
    font-size: 0.9rem;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bento-list li::before {
    content: "→";
    color: var(--secondary-color);
}

.bento-icon-lg {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* National Coverage */
.national-coverage {
    background: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.city-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.chip {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.chip:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.chile-mesh-gradient {
    width: 100%;
    height: 300px;
    background: var(--mesh-gradient);
    border-radius: 20px;
    filter: blur(40px);
    opacity: 0.3;
    position: absolute;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 40px auto;
}

.faq-item {
    margin-bottom: 15px;
    overflow: hidden;
    cursor: pointer;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    transition: var(--transition);
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
    opacity: 1;
}

.faq-icon {
    font-weight: 800;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* University Slider */
.university-section {
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.section-padding-small {
    padding: 30px 0;
}

.university-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.university-slider::before,
.university-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.university-slider::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.university-slider::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

.university-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scrollSlider 40s linear infinite;
}

.uni-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-color);
    opacity: 0.3;
    white-space: nowrap;
    filter: grayscale(1);
}

@keyframes scrollSlider {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.container-narrow {
    max-width: 900px;
}

/* Ensure global box-sizing and no horizontal overflow */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
    }

    /* Combined Responsive Rules */
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 20px;
    }

    .nav-list.active {
        display: flex;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-glass-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid-modern {
        grid-template-columns: 1fr;
    }

    .footer-grid-modern {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .stats-section {
        padding: 50px 0;
    }

    .info-item {
        min-width: 100%;
    }
}