/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --sky-blue: #00BFFF;
    /* Academy Title Color */
    --dark-blue: #2c3e8c;
    /* Logo/Register Button Color */
    --black: #000000;
    /* Links Color */
    --white: #ffffff;
    /* Navbar Background */
    --light-gray: #f8f9fa;
    /* Hover Background */
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f4f4f4;
}

/* --- Header & Navbar Layout --- */
header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 85px;
    /* Fixed height */
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Logo Section --- */
.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo {
    height: 65px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.elite {
    color: var(--dark-blue);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.academy {
    color: var(--sky-blue);
    font-size: 14px;
    font-weight: 600;
}

/* --- Desktop Navigation --- */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 5px;
}

.nav-links {
    text-decoration: none;
    color: var(--black);
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links:hover {
    color: var(--sky-blue);
}

/* --- Dropdown Styling (Desktop) --- */
.dropdown {
    position: relative;
}

/* Desktop Dropdown Position Update */
.dropdown-menu {
    position: absolute;
    top: 100%;
    /* Default top */
    margin-top: 18px;
    /* Ya mule dropdown 10px khali sarakel */
    left: 0;
    background-color: var(--white);
    min-width: 280px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    border-top: 3px solid var(--sky-blue);
    border-radius: 8px;
    /* Charhi bajuni smooth corners */

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    /* Suruvatila thoda khali asel */
    transition: var(--transition);
}

/* Hover kelyavar to tyachya jagevar yeil */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- Dropdown Text Styling (Desktop & General) --- */
.dropdown-menu li a {
    padding: 14px 25px;
    /* Padding thodi vadhvli aahe */
    display: block;
    text-decoration: none;
    color: var(--black);
    font-size: 16px;
    /* Text size 14px varun 16px kela aahe */
    font-weight: 500;
    /* Text thoda bold kela aahe */
    transition: 0.2s;
    line-height: 1.4;
    /* Don lines madhe vyavasthit antar rahil */
}

.dropdown-menu li a:hover {
    background-color: var(--light-gray);
    color: var(--sky-blue);
    padding-left: 30px;
    /* Hover kelyavar thoda jast slide hoil (Animated effect) */
}

/* --- Mobile View Dropdown Text (Optional) --- */
@media screen and (max-width: 1024px) {
    .dropdown-menu li a {
        font-size: 17px;
        /* Mobile var thoda aankhi motha kela aahe touch karnyasaathi sope jail */
        padding: 15px 40px;
        /* Mobile dropdown madhe indentation vadhvli aahe */
    }
}

/* --- Action Buttons --- */
.nav-btns {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 15px;
}

.btn {
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.btn.mock {
    background-color: #f0f0f0;
    color: #333;
}

.btn.mock:hover {
    background-color: #e2e2e2;
}

.btn.register {
    background-color: var(--dark-blue);
    color: white;
}

.btn.register:hover {
    background-color: #1a2a6c;
    box-shadow: 0 4px 12px rgba(44, 62, 140, 0.3);
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 2001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--black);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* --- Hamburger to X Animation --- */
.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- RESPONSIVE MOBILE VIEW (Max 1024px) --- */
@media screen and (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        /* Fixed or Absolute as per preference */
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
        transition: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        overflow-y: auto;
        z-index: 1999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        width: 100%;
        padding: 15px 30px;
        font-size: 18px;
        justify-content: space-between;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Mobile Dropdown (Navbar chya khali layer sarkhe) */
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        /* Controlled by JS class .active */
        transform: none;
        box-shadow: none;
        background-color: #fcfcfc;
        border-top: none;
        padding-left: 20px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-btns {
        width: 100%;
        padding: 30px;
        flex-direction: column;
        margin: 0;
    }

    .btn {
        width: 100%;
        padding: 15px;
    }
}

/* ============================
Start Banner
============================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero-slider {
    width: 100%;
    height: 80vh;
    /* बॅनरची उंची */
    overflow: hidden;
    position: relative;
    padding: 10px;
    /* बॉर्डर रेडियस दिसण्यासाठी थोडी जागा */
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    /* तुम्हाला हवी असलेली बॉर्डर रेडियस */
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

/* डेस्कटॉप आणि कॉमन स्टाईल्स */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* डेस्कटॉपवर इमेज पूर्ण भरलेली दिसेल */
    position: absolute;
    top: 0;
    left: 0;
}

/* पारदर्शक ब्लॅक लेयर (Opacity) */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Transparent Black */
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    color: white;
    font-family: 'Arial', sans-serif;
    padding: 20px;
}

/* मुख्य टायटल (Elite Plus) */
.content h1 {
    font-size: 4rem;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* सब-टायटल (Expert CPR...) */
.sub-title {
    font-size: 1.8rem;
    color: #ED1C24;
    /* Logo Red */
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: capitalize;
}

/* तुमची Big Line Text */
.hero-description {
    font-size: 2.2rem;
    /* मोठी ओळ */
    color: #f0f0f0;
    max-width: 800px;
    /* मजकूर जास्त पसरू नये म्हणून */
    margin: 0 auto 30px auto;
    line-height: 1.3;
    font-weight: 400;
    animation: fadeInUp 1.2s ease-out;
}

.content p {
    font-size: 1.5rem;
    color: #ED1C24;
    /* Logo Red */
    font-weight: bold;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3B4B95;
    /* Logo Blue */
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
    animation: fadeInUp 1.2s ease-out;
}

.btn:hover {
    background-color: #ED1C24;
    /* Logo Red on Hover */
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh; /* पूर्ण स्क्रीन उंची */
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

/* व्हिडिओ आणि इमेजसाठी CSS */
.slide video.back-video,
.slide img {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover; /* इमेज/व्हिडिओ स्ट्रेच न होता पूर्ण भरण्यासाठी */
}

/* Overlay - व्हिडिओवर मजकूर स्पष्ट दिसण्यासाठी */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* काळा पारदर्शक रंग */
    z-index: -1;
}

.content {
    z-index: 1;
    text-align: center;
    color: white;
    padding: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* मोबाईल व्ह्यूसाठी खास बदल */
@media (max-width: 768px) {

    /* बॅनरची उंची मोबाईलसाठी योग्य केली */
    .hero-slider {
        height: 50vh;
    }

    .content {
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Elite Plus टायटल */
    .content h1 {
        font-size: 1.8rem;
        margin-bottom: 2px;
        /* खालची जागा कमी केली */
    }

    /* Expert CPR... मजकूर */
    .sub-title {
        font-size: 1rem;
        margin-bottom: 5px;
        /* खालची जागा कमी केली */
    }

    /* तुमची Big Line Text */
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.1;
        /* लाईन हाईट कमी केली (Compact दिसेल) */
        margin-bottom: 12px;
        /* बटणला वर घेण्यासाठी मार्जिन कमी केले */
        max-width: 90%;
    }

    /* बटण स्टाईल */
    .btn {
        padding: 8px 18px;
        font-size: 0.85rem;
        width: fit-content;
        /* बटण लहान दिसेल */
        margin-top: 0px;
        /* वरून जागा काढली */
    }
}

/* ============================
End Banner
============================ */

/* ========================
Start Cards
======================== */

:root {
    --primary-blue: #3B4B95;
    --primary-red: #ED1C24;
    --dark-bg: #f9f9f9;
}

.features-section {
    padding: 60px 20px;
    background-color: var(--dark-bg);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.section-title h2 span {
    color: var(--primary-red);
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    margin: 10px auto;
    border-radius: 2px;
}

/* Grid System */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Feature Cards */
.feature-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-red);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 30px;
    transition: 0.3s;
}

.feature-card:hover .icon-box {
    background: var(--primary-red);
    transform: rotateY(360deg);
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

/* ========================
End Cards
======================== */

/* ==========================
Start About Us
========================== */

:root {
    --logo-blue: #2b3990;
    /* Elite Plus Navy Blue */
    --logo-red: #ed1c24;
    /* Elite Plus Red */
    --light-bg: #fdfdfd;
    --text-dark: #333333;
}

.about-section {
    padding: 100px 0;
    background-color: var(--light-bg);
    font-family: 'Poppins', sans-serif;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Video Container with Logo Blue Shadow */
.about-video-container {
    flex: 1;
    position: relative;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(43, 57, 144, 0.15);
    /* Soft Blue Shadow */
}

.about-video {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    border: 10px solid white;
    /* Clean Frame */
}

/* Experience Badge - Logo Blue Theme */
.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--logo-blue);
    color: white;
    padding: 22px 35px;
    border-radius: 15px;
    border-bottom: 5px solid var(--logo-red);
    /* Red Accent from Logo */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.experience-badge span {
    font-size: 2.2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.experience-badge p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
}

/* Content Styling */
.about-content {
    flex: 1.2;
}

.sub-title {
    color: var(--logo-red);
    /* Subtitle in Logo Red */
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 36px;
    color: var(--logo-blue);
    /* Title in Logo Blue */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.tagline {
    font-size: 18px;
    font-weight: 600;
    color: var(--logo-red);
    /* Slogan Color */
    margin-bottom: 20px;
}

.description {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Icons and List */
.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #444;
    font-weight: 500;
}

.icon {
    color: var(--logo-red);
    /* Red Checkmarks */
    margin-right: 12px;
    font-weight: bold;
}

/* Professional Button */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--logo-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    /* Fully Rounded for Modern Look */
    font-weight: 600;
    transition: all 0.4s ease;
    border: 2px solid var(--logo-blue);
}

.read-more-btn:hover {
    background: transparent;
    color: var(--logo-blue);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-wrapper {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .features-list {
        justify-items: start;
        text-align: left;
        max-width: 500px;
        margin: 25px auto;
    }

    .about-video {
        height: 350px;
    }
}

/* ==========================
End About Us
========================== */

/* ===========================
Start Training Section
=========================== */

/* Branding Colors from Elite Plus Logo */
:root {
    --navy: #2b3990;
    /* Elite Plus Blue */
    --red: #ed1c24;
    /* Elite Plus Red */
    --bg-light: #f8f9fc;
}

.training-section {
    padding: 30px 0;
    background-color: var(--bg-light);
    font-family: 'Poppins', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.sub-title {
    color: var(--red);
    /* Red accent from logo */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.main-title {
    font-size: 36px;
    color: var(--navy);
    /* Navy Blue from logo */
    margin: 10px 0;
    font-weight: 700;
}

/* Tumchi grid system ashya prakare pahije */
.training-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* 6 columns base grid */
    gap: 30px;
}

/* Standard cards (1 te 6) */
.course-card {
    grid-column: span 2;
    /* 3 cards per row */
    display: flex;
    flex-direction: column;
}

/* Shevatche 2 cards centering logic */
@media (min-width: 992px) {
    .centered-7 {
        grid-column: 2 / span 2;
        /* Card 1 ani 2 chya madhe yeto */
    }

    .centered-8 {
        grid-column: 4 / span 2;
        /* Card 2 ani 3 chya madhe yeto */
    }
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(43, 57, 144, 0.15);
}

.course-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duration {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--red);
    /* Red badge like in provided images */
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

.course-content {
    padding: 25px;
    flex-grow: 1;
}

.course-content h3 {
    color: var(--navy);
    font-size: 19px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.cert {
    color: var(--red);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.course-content ul {
    list-style: none;
    padding: 0;
}

.course-content ul li {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Checkmark logic from images */
.course-content ul li::before {
    content: '✓';
    color: var(--navy);
    font-weight: 900;
    margin-right: 12px;
}

/* Tablet sathi logic (2 cards per row) */
@media (max-width: 991px) {
    .training-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .course-card,
    .centered-7,
    .centered-8 {
        grid-column: span 2;
    }
}

/* Mobile sathi logic (1 card per row) */
@media (max-width: 600px) {
    .training-grid {
        grid-template-columns: 1fr;
    }

    .course-card,
    .centered-7,
    .centered-8 {
        grid-column: span 1;
    }
}

/* ===========================
End Training Section
=========================== */

/* ===========================
Start Gallary Section
=========================== */

/* Branding Variables */
:root {
    --navy: #2b3990;
    /* Elite Plus Blue */
    --red: #ed1c24;
    /* Elite Plus Red */
    --gray: #f4f7fa;
}

.premium-gallery {
    padding: 100px 0;
    background: var(--gray);
    font-family: 'Poppins', sans-serif;
}

.section-top {
    margin-bottom: 50px;
    text-align: center;
}

.badge-title {
    color: var(--red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.title {
    color: var(--navy);
    font-size: 38px;
    font-weight: 800;
    margin-top: 10px;
}

.underline {
    width: 70px;
    height: 4px;
    background: var(--red);
    margin: 15px auto;
}

/* Filter Buttons */
.filter-controls {
    text-align: center;
    margin-bottom: 50px;
}

.control {
    background: #fff;
    border: none;
    padding: 12px 30px;
    margin: 5px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
}

.control.active,
.control:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-3px);
}

/* Gallery Grid */
.gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
}

.inner-box {
    width: 100%;
    height: 100%;
    position: relative;
}

.inner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover Content Overlay */
.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(43, 57, 144, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s;
}

.cat-tag {
    background: var(--red);
    color: #fff;
    font-size: 12px;
    padding: 4px 15px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 10px;
}

.content-overlay h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

/* Animations */
.gallery-card:hover img {
    transform: scale(1.15) rotate(2deg);
}

.gallery-card:hover .content-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-wrapper {
        grid-template-columns: 1fr;
    }

    .title {
        font-size: 30px;
    }
}

/* ===========================
End Gallary Section
=========================== */

/* ===========================
start location
=========================== */

/* --- Location Section Styles --- */
.elite-locations {
    background: #f8f9ff;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.location-header {
    text-align: center;
    margin-bottom: 40px;
}

.location-icon-main {
    font-size: 40px;
    color: #ed1c24; /* Logo Red */
    margin-bottom: 15px;
    animation: pulse-red 2s infinite;
}

.location-header h2 {
    color: #2e3192; /* Logo Blue */
    font-size: 28px;
    font-weight: 700;
}

.location-header h2 span {
    color: #ed1c24;
}

/* Service Grid Animation */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.service-tag {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #2e3192;
    transition: all 0.4s ease;
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-tag i {
    color: #ed1c24;
}

.service-tag:hover {
    transform: translateY(-10px);
    background: #2e3192;
    color: #fff;
    box-shadow: 0 15px 30px rgba(46, 49, 146, 0.2);
}

.service-tag:hover i {
    color: #fff;
}

/* Area Pills Design */
.area-coverage {
    text-align: center;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.area-coverage h3 {
    margin-bottom: 20px;
    color: #2e3192;
    font-size: 18px;
}

.area-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.area-pills span {
    background: #f0f2ff;
    color: #2e3192;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.area-pills span:hover {
    background: #ed1c24;
    color: #fff;
    cursor: pointer;
    transform: scale(1.1);
}

/* Animations */
@keyframes pulse-red {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .location-header h2 { font-size: 22px; }
    .service-grid { grid-template-columns: 1fr; }
}

/* ===========================
end location
=========================== */

/* ===========================
Start What Our Client Say
=========================== */

/* Branding Colors from Logo */
:root {
    --navy: #2b3990;
    /* Elite Plus Blue */
    --red: #ed1c24;
    /* Elite Plus Red */
    --gray: #f8f9fc;
}

.testimonial-section {
    padding: 80px 0;
    background-color: var(--gray);
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.sub-title {
    color: var(--red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-title {
    color: var(--navy);
    font-size: 36px;
    font-weight: 800;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--red);
    margin: 15px auto;
}

/* --- Continuous Loop Animation Logic --- */
.scroller-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.scroller-track {
    display: flex;
    width: max-content;
    /* Automatically calculates total width of all cards */
    animation: continuousScroll 30s linear infinite;
    /* Non-stop linear speed */
}

/* Pause on hover (optional, jar thambvaycha asel tar) */
.scroller-track:hover {
    animation-play-state: paused;
}

@keyframes continuousScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Scrolls exactly half way through the duplicated cards */
}

/* Card Styling */
.testi-card {
    flex: 0 0 350px;
    /* Each card is 350px wide */
    background: #fff;
    padding: 35px;
    margin: 0 15px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--navy);
    white-space: normal;
    /* To allow text wrapping inside cards */
    transition: 0.3s;
}

.testi-card:hover {
    border-left: 5px solid var(--red);
}

.stars {
    color: #ffcc00;
    margin-bottom: 15px;
    font-size: 18px;
}

.testi-card p {
    color: #555;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.client-info h5 {
    color: var(--navy);
    font-weight: 700;
    margin: 0;
}

.client-info span {
    color: var(--red);
    font-size: 13px;
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .testi-card {
        flex: 0 0 280px;
        padding: 25px;
    }

    .main-title {
        font-size: 28px;
    }
}

/* ===========================
End What Our Client Say
=========================== */
/* ===========================
Start Footer
=========================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-blue: #2e3192;
    --accent-red: #ed1c24;
    --dark-navy: #1a1c4d; /* Background साठी नवीन शेड */
    --white: #ffffff;
    --glass-white: rgba(255, 255, 255, 0.05);
    --text-light: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* --- Animated Background Footer --- */
.elite-footer {
    /* Gradient Background जो खूप प्रीमियम दिसतो */
    background: linear-gradient(135deg, #1a1c4d 0%, #2e3192 100%);
    padding: 100px 0 0 0;
    border-top: 8px solid var(--accent-red);
    position: relative;
    color: var(--white);
    overflow: hidden;
}

/* Background वर फिरणारे छोटे गोळे (Floating Shapes) */
.elite-footer::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent-red);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(50px);
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 0 25px;
    position: relative;
    z-index: 2;
}

/* --- Typography & Headings --- */
.footer-col h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 35px;
    position: relative;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 4px;
    background: var(--accent-red);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-col:hover h3::after {
    width: 60px;
}

/* --- Logo & About Section --- */
.footer-logo {
    max-width: 220px;
    margin-bottom: 25px;
    background: white; /* लोगो उठून दिसण्यासाठी पांढरा बॅकग्राउंड */
    padding: 10px;
    border-radius: 10px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    transition: transform 0.5s ease;
}

.footer-logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.about-col p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

/* --- Navigation Links with Glow Effect --- */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links li a::before {
    content: '→';
    margin-right: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-red);
}

.footer-links li a:hover {
    color: var(--white);
    transform: translateX(10px);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.footer-links li a:hover::before {
    margin-right: 10px;
    opacity: 1;
}

/* --- Contact Details --- */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
    background: var(--glass-white);
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent-red);
}

.contact-item i {
    color: var(--accent-red);
    font-size: 20px;
}

.contact-item span {
    font-size: 14px;
}

/* --- Social Icons with Pulse Animation --- */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.5s ease;
    position: relative;
}

.social-icon:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 0 20px rgba(237, 28, 36, 0.6);
}

/* --- Copyright Section --- */
.footer-bottom {
    text-align: center;
    padding: 30px;
    margin-top: 80px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: #bbb;
    letter-spacing: 1px;
}

/* --- Responsive Settings --- */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 650px) {
    .elite-footer {
        padding: 60px 0 0 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links li a {
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
        text-align: left;
    }

    .social-links {
        justify-content: center;
    }
}

/* ===========================
End Footer
=========================== */


/* Modal Background */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Popup Box */
.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 30px;
    width: 350px;
    border-radius: 12px;
    position: relative;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

/* Tabs Styling */
.tab-header {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-header button {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    color: #666;
}

.tab-header button.active {
    color: #d90429;
    border-bottom: 2px solid #d90429;
}

/* Inputs & Submit */
.modal-content input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.auth-submit {
    width: 100%;
    padding: 12px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 16px;
}

/* Mock Modal Specific Styling */
#trainingSelect {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f9f9f9;
    cursor: pointer;
}

.close-mock {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}