:root {
    --primary-blue: #007bff;
    --deep-navy: #1a2a40;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* TOP UTILITY BAR */
.top-utility-bar {
    background: var(--deep-navy);
    padding: 10px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.flex-utility {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* popup window */

/* POPUP STYLES */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.popup-content {
    background: white;
    width: 100%;
    max-width: 450px;
    border-radius: 30px;
    position: relative;
    padding: 40px;
    animation: popupSlide 0.4s ease-out;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

@keyframes popupSlide {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f2f5;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.popup-close:hover { background: #ff4d4d; color: white; }

.badge-live {
    background: #eef6ff;
    color: #007bff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.popup-header h2 { margin-top: 15px; font-size: 1.8rem; color: #1a2b48; }
.popup-header h2 span { color: #007bff; }

.popup-courses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
}

.p-course {
    background: #f8fbff;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e1e8f0;
}

.p-course i { display: block; font-size: 1.5rem; color: #007bff; margin-bottom: 5px; }
.p-course span { font-weight: 700; font-size: 0.9rem; }

.popup-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.popup-highlights li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    color: #444;
}

.popup-fees {
    background: #1a2b48;
    color: white;
    padding: 20px;
    border-radius: 20px;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.fee-note { font-size: 0.7rem; opacity: 0.6; margin-top: 10px; font-style: italic; }

.btn-popup-apply {
    display: block;
    background: #007bff;
    color: white;
    text-align: center;
    padding: 18px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 25px;
    box-shadow: 0 10px 20px rgba(0,123,255,0.3);
    transition: 0.3s;
}

.btn-popup-apply:hover { transform: translateY(-3px); background: #0056b3; }

.footer-perks {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #777;
}

/* Contact Info Side */
.contact-info-top {
    display: flex;
    gap: 25px;
}

.contact-info-top a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info-top a i {
    color: var(--primary-blue);
    /* Icons pop in blue */
}

.contact-info-top a:hover {
    color: white;
}

/* Social Side */
.social-links-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links-top span {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links-top a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.social-links-top a:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ADJUST NAV BAR POSITION */
.glass-dock {
    top: 60px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-links-top {
        display: none;
        /* Hide socials on mobile to save space */
    }

    .contact-info-top {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }

    .glass-dock {
        top: 80px;
    }
    .course-grid {
    grid-template-columns: none !important;
}
}

/* 1. TOP SECTION: GLASS DOCK NAVIGATION */
.glass-dock {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    border-radius: 100px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.logo-capsule {
    /* background: white;  */
    padding: 8px 20px;
    border-radius: 50px;
    /* box-shadow: inset 0 0 5px rgba(0,0,0,0.05); */
}

.logo-capsule img {
    height: 60px;
    display: block;
}

.nav-links a {
    text-decoration: none;
    color: var(--deep-navy);
    font-weight: 700;
    margin: 0 20px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.btn-glow {
    background: var(--primary-blue);
    color: white !important;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

/* 2. HERO AREA: CINEMATIC DESIGN */
.hero-cinematic {
    position: relative;
    height: 100vh;
    width: 100%;
    background: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 42, 64, 0.7), rgba(26, 42, 64, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 15px #00ff88;
    animation: pulse 1.5s infinite;
}

h1 {
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 25px;
}

.text-gradient {
    background: linear-gradient(90deg, #00d4ff, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 15px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}

/* 3. FLOATING DATA CARDS */
.hero-visual-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.floating-data-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.top-right {
    top: 20%;
    right: 5%;
    transform: rotate(5deg);
}

.bottom-left {
    bottom: 15%;
    left: 5%;
    transform: rotate(-5deg);
}

.card-icon {
    font-size: 1.5rem;
    background: var(--primary-blue);
    padding: 10px;
    border-radius: 12px;
}

.card-text strong {
    display: block;
    font-size: 1.1rem;
}

.card-text span {
    font-size: 0.8rem;
    opacity: 0.8;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* about */

.about-section {
    padding: 120px 10%;
    background: #ffffff;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Visual Side Styling */
.about-visual {
    position: relative;
}

.image-stack {
    position: relative;
    z-index: 1;
}

.img-main {
    width: 85%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(26, 42, 64, 0.15);
}

.img-sub {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 45%;
    border-radius: 20px;
    border: 8px solid #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    top: -30px;
    left: -30px;
    background: var(--primary-blue);
    color: white;
    padding: 30px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.3);
}

.exp-num {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Text Side Styling */
.section-tag {
    color: var(--primary-blue);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.about-text h2 {
    font-size: 3rem;
    color: var(--deep-navy);
    line-height: 1.2;
    margin: 15px 0 25px;
}

.text-blue {
    color: var(--primary-blue);
}

.lead {
    font-size: 1.2rem;
    color: #556070;
    margin-bottom: 35px;
}

.legacy-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    color: var(--deep-navy);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.btn-outline-dark {
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid var(--deep-navy);
    color: var(--deep-navy);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-outline-dark:hover {
    background: var(--deep-navy);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        margin-bottom: 60px;
    }

    .img-main {
        width: 100%;
    }
}

/* courses */

.courses-section {
    padding: 100px 10%;
    background: #f8fafe;
    /* Light medical blue tint */
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.badge-alt {
    color: var(--primary-blue);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--deep-navy);
    margin: 10px 0;
}

/* Course Card Design */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.course-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 42, 64, 0.05);
    border: 1px solid rgba(0, 123, 255, 0.05);
    transition: 0.4s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 123, 255, 0.15);
}

.course-img {
    position: relative;
    height: 220px;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-img .tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.course-info {
    padding: 30px;
}

.course-info h3 {
    font-size: 1.4rem;
    color: var(--deep-navy);
    margin-bottom: 12px;
}

.course-info p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.course-meta span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.btn-text {
    color: var(--deep-navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.3s;
}

.btn-text:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

/* See All Button */
.center-btn {
    text-align: center;
}

.btn-see-all {
    display: inline-block;
    padding: 18px 45px;
    background: var(--deep-navy);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(26, 42, 64, 0.2);
}

.btn-see-all:hover {
    background: var(--primary-blue);
    transform: scale(1.05);
}

/* gallery */

.gallery-section {
    padding: 100px 0;
    /* Vertical padding only, horizontal handled by .container */
    background: #ffffff;
}

/* Container restricts width, overflow:hidden keeps it tidy */
.gallery-carousel {
    padding-bottom: 50px !important;
    position: relative;
    overflow: hidden !important;
}

.carousel-card-small {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 280px;
    /* Smaller height for compact look */
    background: #f0f0f0;
    transition: transform 0.3s ease;
}

.carousel-card-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Elegant Label style */
.card-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--deep-navy);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Hover effect */
.carousel-card-small:hover {
    transform: translateY(-5px);
}

.gallery-btn-top {
    margin-top: 30px;
}

/* Adjusting Swiper dots for smaller cards */
.swiper-pagination {
    bottom: 0 !important;
}

/* 5. CONTACT SECTION */
.contact-section {
    padding: 100px 0;
    background: #f8fafe;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: stretch;
}

/* Info Card - Dark Theme */
.contact-info-card {
    background: var(--deep-navy);
    padding: 60px;
    border-radius: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-card h2 {
    color: white;
    font-size: 2.8rem;
    margin: 20px 0;
}

.contact-info-card p {
    opacity: 0.8;
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Form Styling */
.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.dims-form .form-group {
    margin-bottom: 25px;
}

.dims-form label {
    display: block;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.dims-form input,
.dims-form select,
.dims-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.dims-form input:focus {
    border-color: var(--primary-blue);
    outline: none;
    background: #f8fbff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.w-100 {
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        padding: 40px;
    }
}

/* PARALLAX CONTACT SECTION */
.parallax-contact {
    position: relative;
    padding: 120px 0;
    /* Replace URL with your preferred medical/campus background */
    background-image: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&q=80&w=1920');
    background-attachment: fixed;
    /* Core Parallax Logic */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 42, 64, 0.85);
    /* Deep navy overlay to make form pop */
    z-index: 1;
}

.parallax-contact .container {
    position: relative;
    z-index: 2;
}

/* Centering Logic */
.contact-form-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    width: 50%;
    /* Desktop Width */
    max-width: 800px;
}

.center-text {
    text-align: center;
    margin-bottom: 35px;
}

.form-title {
    font-size: 2.5rem;
    margin-top: 10px;
    color: var(--deep-navy);
}

/* Ensure form rows stay side-by-side on desktop */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Responsive Fixes */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        width: 80%;
        /* Wider on tablets */
    }
}

@media (max-width: 768px) {
    .parallax-contact {
        background-attachment: scroll;
        /* Parallax often breaks on mobile, scroll is safer */
        padding: 60px 0;
    }

    .contact-form-wrapper {
        width: 95%;
        /* Almost full width on mobile */
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        /* Stack inputs on mobile */
    }

    .form-title {
        font-size: 1.8rem;
    }
}

/* footer */
.main-footer {
    background: #0f172a;
    color: white;
    padding: 80px 10% 40px;
    font-size: 0.95rem;
}

/* Container ensures the 10% padding on both sides */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Equal columns */
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 45px;
    margin-bottom: 25px;
    background: white;
    padding: 5px 15px;
    border-radius: 8px;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    position: relative;
}

/* Subtle accent line under headers */
.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
    color: #94a3b8;
}

.footer-links ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-blue);
}

.footer-contact-list li {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Footer Bottom Area */
.footer-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
}

.legal-links a {
    color: #64748b;
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}

.legal-links a:hover {
    color: white;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 25px; /* Space between each branch */
}

.location-item p {
    margin: 5px 0;
    font-size: 0.85rem;
    color: #94a3b8;
    padding-left: 20px; /* Aligns text under the icon */
}

.loc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.loc-header i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.loc-phone {
    display: inline-block;
    margin-top: 5px;
    padding-left: 20px;
    font-size: 0.85rem;
    color: var(--primary-blue) !important;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.loc-phone i {
    font-size: 0.75rem;
    margin-right: 5px;
}

.loc-phone:hover {
    letter-spacing: 0.5px;
    filter: brightness(1.2);
}

/* Responsive fix: If the footer gets too long, 
   we adjust the grid to allow more space. */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr; /* Gives branding and contact more width */
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Circular buttons */
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
    border-color: var(--primary-blue);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: #004687;
    /* Replace with DIMS primary brand color */
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: none;
    /* Hidden by default */
    z-index: 100;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #002e5a;
    transform: translateY(-5px);
}

/* Initial hidden state */
.bs-fade {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

/* Slide up variant */
.bs-fade-up {
    transform: translateY(30px);
}

/* Slide in from sides */
.bs-fade-left {
    transform: translateX(-30px);
}

.bs-fade-right {
    transform: translateX(30px);
}

/* The visible state (Triggered by JS) */
.bs-fade.show {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* --- Desktop vs Mobile visibility --- */
.desktop-only {
    display: flex;
    align-items: center;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--deep-navy);
    margin: 5px 0;
    border-radius: 3px;
    transition: 0.3s;
}

/* --- Mobile Overlay Styles --- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 42, 64, 0.95); /* Deep Navy matching your theme */
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%); /* Hidden by default */
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 30px;
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 800;
    transition: 0.3s;
}

.mobile-nav-links a:hover {
    color: var(--primary-blue);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .desktop-only {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .glass-dock {
        padding: 5px 20px;
        width: 95%;
    }

    .logo-capsule img {
        height: 45px;
    }
}

/* --- Fluid Typography for the Hero --- */
h1 {
    /* clamp(minimum, preferred, maximum) */
    /* This makes the font scale smoothly between 2.5rem and 4.5rem */
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
}

/* --- Specific Mobile Font Adjustments (768px and below) --- */
@media (max-width: 768px) {
    /* Hero Subtext */
    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
        line-height: 1.5;
    }

    /* Section Headings (About, Courses, etc.) */
    .about-text h2, 
    .section-header h2, 
    .form-title {
        font-size: 1.8rem !important; /* Reduced from 3rem */
        line-height: 1.3;
    }

    /* Section Lead Text */
    .lead {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    /* Trust Badge (The "20 Years" pill) */
    .trust-badge {
        font-size: 0.65rem;
        padding: 8px 15px;
        letter-spacing: 1px;
    }

    /* Feature Item Text (Inside About Section) */
    .feature-item strong {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.85rem;
    }

    /* Course Card Titles */
    .course-info h3 {
        font-size: 1.2rem;
    }

    /* Footer Text */
    .footer-brand p {
        font-size: 0.85rem;
    }
}

/* --- Extra Small Screens (480px and below) --- */
@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem; /* Final fallback for very small phones */
    }

    .btn-primary, .btn-see-all {
        padding: 15px 30px;
        font-size: 0.95rem;
        width: 100%; /* Make buttons full-width for easier tapping */
    }

    .floating-data-card {
        display: none;
    }
    .about-section {
    padding: 50px 10%;
    }
    .courses-section {
    padding: 50px 10%;
    }
    .gallery-section {
    padding: 50px 0;
    }
    .about-grid {
    gap: 20px;
    }
}
@media (max-width: 448px) {
    .contact-info-top {
        width: 100%;
        justify-content: center;
        gap: 5px;
    }
    .contact-info-top a {
    gap: 0px;
    font-size: 12px;
}
}

.hero-buttons a.btn-primary
 {
    text-decoration: none;
}