/* 
  Base styles for SarvaShikshan
  This file will grow as we build UI
*/

/* =============================
   Global Design Variables
============================= */

:root {
    /* Brand Colors */
    /* --primary-blue: #1e3a8a; */
    --primary-blue: #495284;
    --primary-blue-light: #e0e7ff;

    /* Text Colors */
    --text-dark: #0f172a;
    --text-gray: #475569;
    --text-muted: #64748b;

    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;

    /* Border Colors */
    --border-light: #e5e7eb;

}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Ensure all sections don't overflow */
section {
    overflow-x: hidden;
}

/* Responsive container padding for mobile */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    section {
        padding-left: 0;
        padding-right: 0;
    }
}

/* -----------------------------
   Header / Navigation
------------------------------*/
/* ===============================
   FORCE NAVBAR TO TOP (SAFE MODE)
================================ */

.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
}


/* .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
} */

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #0f172a;
}

/* .nav-links {
    display: flex;
    gap: 20px;
} */

.navigation-btn {
    color: #0f172a;
}

.navigation-btn.btn-link {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.nav-links a {

    font-size: 14px;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.navbar-toggler {
    color: var(--primary-blue);
    font-weight: 800;
}

/* -----------------------------
   Responsive Logo
------------------------------*/

.site-logo {
    height: 42px;
    width: auto;
}

/* Desktop logo visible by default */
.logo-mobile {
    display: none;
}

/* Mobile logo */
@media (max-width: 768px) {
    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: inline-block;
        height: 32px;
    }
}


/* -----------------------------
   Hero Section
------------------------------*/

.hero {
    background-color: var(--bg-light);
    padding: 140px 0 60px;
    /*top padding increased*/
    /* reduced from 80px */
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtext {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
    display: inline-block;
}

.btn-primary {
    background-color: #f59e0b;
    color: var(--bg-white);
}

.btn-secondary {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

.navbar-toggler {
    border: none;
    font-size: 20px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.trainer-hero {
    padding-top: 120px;
    /* adjust if navbar height changes */
}

.trainer-list {
    list-style-type: disc;
    /* force bullets */
    padding-left: 20px;
    /* space for bullets */
    margin-left: 0;
}

.trainer-list li {
    display: list-item;
    /* important */
    margin-bottom: 8px;
    line-height: 1.6;
}


/* -----------------------------
   Trust Indicators
------------------------------*/

.trust-section {
    background-color: var(--bg-white);
    padding: 50px 0;
    border-top: 1px solid #e2e8f0;
}

.trust-section h3 {
    font-size: 28px;
    color: var(--primary-blue);
    font-weight: bold;
}

.trust-section p {
    font-size: 14px;
    color: var(--text-gray);
}

/* -----------------------------
   Partner Logos (Responsive)
------------------------------*/

/*
  Displays partner logos in a row.
  Mobile-safe, future-proof.
*/
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    /* stacks nicely on small screens */
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 40px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    color: var(--text-muted);
    border: 1px dashed var(--border-light);
    border-radius: 4px;
    background-color: var(--bg-white);
}

/* Placeholder style (removed later when images added) */
.partner-logo.placeholder {
    opacity: 0.7;
}

/* Partner logos sizing */
.partner-logo-img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}


/* -----------------------------
   Audience Section
------------------------------*/

.audience-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.audience-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.audience-list {
    padding-left: 20px;
    text-align: center
}

.audience-list li {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-gray);
}

.audience-list.not-for li {
    color: var(--text-muted);
}

/* -----------------------------
   Program Snapshot Section
------------------------------*/

.program-section {
    background-color: var(--bg-white);
    padding: 70px 0;
}

.program-section h2 {
    font-size: 28px;
    color: var(--text-dark);
}

.program-card {
    border: 1px solid var(--border-light);
    padding: 25px;
    height: 100%;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
}

.program-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.program-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.program-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}


/* -----------------------------
   Training Flow Section
------------------------------*/

.training-flow-section {
    background-color: var(--bg-light);
    padding: 70px 0;
}

.flow-step {
    padding: 20px;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 15px;
}

.flow-step h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.flow-step p {
    font-size: 14px;
    color: var(--text-gray);
}

/* ======================================================
   Corporate Partners Section
====================================================== */

.corporate-partners-section {
    background-color: var(--bg-white);
    padding: 70px 0;
}

.corporate-partners-section h2 {
    font-size: 26px;
    color: var(--primary-blue);
}

.partner-logo-box {
    width: 100%;
    max-width: 220px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s ease;
}

.partner-logo-box:hover {
    background-color: var(--bg-white);
    border-color: var(--primary-blue);
}

.partner-logo-img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}


/* /* ======================================================
   TESTIMONIALS SECTION
====================================================== */
.testimonial-slider {
    width: 100%;
    height: auto;
    /* IMPORTANT */
}

.testimonial-item {
    position: relative;
    /* NOT absolute */
    display: block;
}

.testimonial-section {
    position: relative;
    background-color: var(--bg-white);
    padding: 70px 0;
    overflow: visible;
}

/* ======================================================
   TESTIMONIAL CARD
====================================================== */

.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.testimonial-content {
    flex-grow: 1;
}

.testimonial-footer {
    margin-top: auto;
}

.testimonial-footer h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.testimonial-footer span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ======================================================
   TESTIMONIAL SLIDER – STABLE CONTROLS (NO JUMP)
====================================================== */

@media (min-width: 992px) {

    #testimonialCarouselDesktop .carousel-control-prev,
    #testimonialCarouselDesktop .carousel-control-next {
        width: 38px;
        height: 38px;
        background-color: var(--primary-blue);
        border-radius: 50%;
        top: 50%;
        margin-top: -19px;
        /* EXACT centering, no transform */
        opacity: 1;
        z-index: 10;

        /* IMPORTANT: prevent movement */
        transition: background-color 0.2s ease;
    }

    /* Keep arrows OUTSIDE cards */
    #testimonialCarouselDesktop .carousel-control-prev {
        left: -55px;
    }

    #testimonialCarouselDesktop .carousel-control-next {
        right: -55px;
    }

    /* Arrow icon styling */
    #testimonialCarouselDesktop .carousel-control-prev-icon,
    #testimonialCarouselDesktop .carousel-control-next-icon {
        background-size: 55% 55%;
        filter: brightness(0) invert(1);
    }

    /* Hover effect – ONLY color change */
    #testimonialCarouselDesktop .carousel-control-prev:hover,
    #testimonialCarouselDesktop .carousel-control-next:hover {
        background-color: #f59e0b;
        /* Yellow */
    }

    /* Remove Bootstrap focus/active jump */
    #testimonialCarouselDesktop .carousel-control-prev:focus,
    #testimonialCarouselDesktop .carousel-control-next:focus,
    #testimonialCarouselDesktop .carousel-control-prev:active,
    #testimonialCarouselDesktop .carousel-control-next:active {
        outline: none;
        box-shadow: none;
    }
}

/* Mobile & tablet – no arrows */
@media (max-width: 991px) {

    #testimonialCarouselDesktop .carousel-control-prev,
    #testimonialCarouselDesktop .carousel-control-next {
        display: none !important;
    }
}

/* Fix content overlap due to fixed navbar */
body {
    padding-top: 90px;
}







/* -----------------------------
   Final Call To Action
------------------------------*/

.final-cta-section {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 80px 0;
}

.final-cta-section h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

.final-cta-section p {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--primary-blue-light);
}

/* -----------------------------
   Footer
------------------------------*/

.site-footer {
    font-size: 14px;
    line-height: 1.6;
    background-color: var(--text-dark);
    color: #d1d5db;
    /* soft readable gray */
    padding: 60px 0 20px;
}

.site-footer h5,
.site-footer h6 {
    font-size: 15px;
    font-weight: 600;
    /* color: #ffffff; */
    margin-bottom: 14px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--bg-white);
    margin-bottom: 15px;
}

/* Footer links list */
.site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Footer links */
.site-footer .footer-links li {
    margin-bottom: 8px;
}

.site-footer .footer-links a {
    color: #d1d5db;
    /* same soft gray */
    font-size: 14px;
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

/* Footer link hover */
.site-footer .footer-links a:hover {
    color: #f5c518;
    /* accent color */
    padding-left: 4px;
}


.site-footer p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cbd5f5;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--bg-white);
}

/* Footer bottom section */
.site-footer .footer-bottom {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #9ca3af;
    /* lighter gray */
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 30px;
    padding-top: 15px;
    font-size: 13px;
}

/* -----------------------------
   Footer Google Map (Responsive)
------------------------------*/

/* Footer Google Map */
.map-responsive {
    position: relative;
    width: 100%;
    height: 280px;
    /* perfect professional height */
    border-radius: 12px;
    overflow: hidden;
}

.map-responsive iframe {
    width: 100%;
    height: 100%;
}

/* Footer Social Media Icons */
/* =====================================
   GLOBAL SOCIAL ICON HOVER EFFECTS
   (Footer + Trainer + Anywhere)
===================================== */

/* Base style */
.footer-social a,
.trainer-social a {
    color: inherit;
    font-size: 1.3rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

/* Subtle lift */
.footer-social a:hover,
.trainer-social a:hover {
    transform: translateY(-2px);
}

/* LinkedIn */
.footer-social a:hover .bi-linkedin,
.trainer-social a:hover .bi-linkedin {
    color: #0a66c2;
}

/* Facebook */
.footer-social a:hover .bi-facebook,
.trainer-social a:hover .bi-facebook {
    color: #1877f2;
}

/* Twitter (X) */
.footer-social a:hover .bi-twitter-x,
.trainer-social a:hover .bi-twitter-x {
    color: #000;
}

/* YouTube */
.footer-social a:hover .bi-youtube,
.trainer-social a:hover .bi-youtube {
    color: #ff0000;
}


/* Subtle hover effect for footer map */
.map-responsive {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.map-responsive:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Footer contact section */
.footer-contact {
    margin-top: 10px;
}

/* Each contact row */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #ffffff;
}

/* Icons */
.footer-contact-item i {
    font-size: 18px;
    color: #f5c518;
    /* accent color */
}

/* Links */
.footer-contact-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: #f5c518;
}

/* Footer support section spacing */
.site-footer h6+ul {
    margin-bottom: 16px;
}

.site-footer h6 {
    margin-top: 0;
}

/* Extra spacing before Support heading */
.site-footer h6:nth-of-type(2) {
    margin-top: 20px;
}

/* Footer arrow links */
.footer-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, font-weight 0.25s ease;
}

/* Arrow styling */
.footer-arrow {
    opacity: 0.6;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hover effect */
.footer-arrow-link:hover {
    font-weight: 600;
    transform: translateX(4px);
}

.footer-arrow-link:hover .footer-arrow {
    opacity: 1;
}



/* -----------------------------
   Course Hero Section
------------------------------*/

.course-hero {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.course-hero h1 {
    font-size: 34px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.course-hero p {
    font-size: 16px;
    color: var(--text-gray);
}

/* -----------------------------
   Course Overview Section
------------------------------*/

.course-overview {
    background-color: var(--bg-white);
    padding: 70px 0;
}

.course-overview h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.course-overview p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.overview-list {
    list-style-type: disc;
    padding-left: 20px;
}

.overview-list li {
    padding-left: 5px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-gray);
}



/* -----------------------------
   Course Audience Section
------------------------------*/

.course-audience {
    background-color: var(--bg-light);
    padding: 70px 0;
}

.course-audience h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.course-audience p {
    font-size: 15px;
    color: var(--text-muted);
}

.audience-points {
    margin-top: 30px;
    padding-left: 0;
}

.audience-points li {
    background-color: var(--bg-white);
    padding: 12px 18px;
    margin-bottom: 12px;
    border-left: 4px solid var(--primary-blue);
    font-size: 14px;
    color: var(--text-gray);
}

/* -----------------------------
   Course Learn Section
------------------------------*/

.course-learn {
    background-color: var(--bg-white);
    padding: 70px 0;
}

.course-learn h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.course-learn p {
    font-size: 15px;
    color: var(--text-muted);
}

.learn-points {
    padding-left: 0;
}

.learn-points li {
    padding: 16px;
    margin-bottom: 14px;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary-blue);
    /* highlight accent */
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-gray);
    background-color: var(--bg-light);
    text-align: center;
    transition: all 0.3s ease;
}

.learn-points li:hover {
    background-color: var(--bg-white);
    border-color: var(--primary-blue);
}



/* -----------------------------
   Course Format Section
------------------------------*/

.course-format {
    background-color: var(--bg-light);
    padding: 70px 0;
}

.course-format h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.course-format p {
    font-size: 15px;
    color: var(--text-muted);
}

.format-points {
    max-width: 600px;
    margin: 0 auto;
}


.format-points li {
    background-color: var(--bg-white);
    padding: 16px;
    margin-bottom: 14px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary-blue);
    /* darker neutral accent */
    font-size: 14px;
    color: var(--text-gray);
    /* text-align: center; */
    transition: all 0.3s ease;
}

.format-points li:hover {
    border-color: var(--primary-blue);
    background-color: var(--bg-light);
}

/* -----------------------------
   Course Benefits Section
------------------------------*/

.course-benefits {
    background-color: var(--bg-white);
    padding: 70px 0;
}

.course-benefits h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.course-benefits p {
    font-size: 15px;
    color: var(--text-muted);
}

.benefit-box {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary-blue);
    height: 100%;
    transition: all 0.3s ease;
}

.benefit-box h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.benefit-box p {
    font-size: 14px;
    color: var(--text-gray);
}

.benefit-box:hover {
    background-color: var(--bg-white);
    border-color: var(--primary-blue);
}

/* -----------------------------
   Course FAQ Section
------------------------------*/

.course-faq {
    background-color: var(--bg-light);
    padding: 70px 0;
}

.course-faq h2 {
    font-size: 26px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.faq-item {
    background-color: var(--bg-white);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary-blue);
}

.faq-item h5 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.faq-item p {
    font-size: 14px;
    color: var(--text-gray);
}


/* -----------------------------
   Course Final CTA
------------------------------*/

.course-final-cta {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 80px 0;
}

.course-final-cta h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

.course-final-cta p {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--primary-blue-light);
}

/* -----------------------------
   Corporate Training Section
------------------------------*/

.corporate-section {
    background-color: var(--bg-white);
    padding: 70px 0;
}

.corporate-section h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.corporate-section p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.corporate-list {
    max-width: 700px;
    margin: 0 auto;
    padding-left: 0;
}

.corporate-list li {
    background-color: var(--bg-light);
    padding: 14px 18px;
    margin-bottom: 12px;
    border-left: 4px solid var(--primary-blue);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-gray);
}


/* -----------------------------
   Corporate Delivery Section
------------------------------*/

.corporate-delivery {
    background-color: var(--bg-light);
    padding: 70px 0;
}

.corporate-delivery h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.corporate-delivery p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
}



.delivery-box {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.delivery-box h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.delivery-box p {
    font-size: 14px;
    color: var(--text-gray);
}

.delivery-box:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

/* -----------------------------
   Corporate Engagement Section
------------------------------*/

.corporate-engagement {
    background-color: var(--bg-light);
    padding: 70px 0;
}

.corporate-engagement h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.corporate-engagement p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.engagement-box {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.engagement-box h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.engagement-box p {
    font-size: 14px;
    color: var(--text-gray);
}

.engagement-box:hover {
    border-color: var(--primary-blue);
    background-color: var(--bg-white);
}


/* -----------------------------
   Corporate Industries Section
------------------------------*/

.corporate-industries {
    background-color: var(--bg-white);
    padding: 70px 0;
}

.corporate-industries h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.corporate-industries p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.industry-box {
    background-color: var(--bg-white);
    padding: 22px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.industry-box h5 {
    font-size: 15px;
    color: var(--primary-blue);
    margin-bottom: 0;
}

.industry-box:hover {
    border-color: var(--primary-blue);
    background-color: var(--primary-blue-light);
}

/* ======================================================
   CORPORATE TRUST SECTION – WHY SARVASHIKSHAN
====================================================== */

.corporate-trust {
    background-color: var(--bg-white);
    padding: 70px 0;
}

.corporate-trust h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.corporate-trust p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.trust-box {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.trust-box h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.trust-box p {
    font-size: 14px;
    color: var(--text-gray);
}

.trust-box:hover {
    border-color: var(--primary-blue);
    background-color: var(--bg-white);
}

/* Global links – EXCLUDE navbar links */
a:not(.nav-link):not(.dropdown-item):not(.navbar-brand) {
    padding: 6px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a:not(.nav-link):not(.dropdown-item):not(.navbar-brand):hover {
    background-color: rgba(11, 42, 74, 0.1);
    color: #0b2a4a;
}


.page-content {
    padding-top: 90px;
    /* adjust if needed */
}

/* ======================================================
   END CORPORATE TRUST SECTION
=========================================================== */

/* Contact page clickable links */
.contact-link {
    color: #0d6efd;
    /* bootstrap primary */
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Contact page icon + link alignment */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #444;
    /* normal text color */
}

/* Icons follow text color */
.contact-item i {
    font-size: 17px;
    color: inherit;
}

/* Contact links – normal state */
.contact-link {
    color: inherit;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.25s ease, font-weight 0.25s ease;
}

/* Hover – subtle but clear */
.contact-link:hover {
    color: #111;
    /* slightly darker */
    font-weight: 600;
    /* semi-bold */
}

.trainer-hero {
    background: #f8f9fa;
}

.trainer-highlights li {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Trainer image wrapper */
.trainer-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

/* Trainer image */
.trainer-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

/* Subtle hover zoom */
.trainer-image-wrapper:hover .trainer-image {
    transform: scale(1.05);
}

/* Social icons */
.trainer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
}

/* ================================
   Trainer Profile – Social Icons
================================ */

.trainer-social a {
    color: #333;
    /* same as content */
    font-size: 1.4rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

/* LinkedIn */
.trainer-social a:hover .bi-linkedin {
    color: #0a66c2;
}

/* Twitter (X) */
.trainer-social a:hover .bi-twitter {
    color: #000;
}

/* YouTube – SAME AS FOOTER */
.trainer-social a:hover .bi-youtube {
    color: #ff0000;
}

/* Subtle lift */
.trainer-social a:hover {
    transform: translateY(-2px);
}

/* Trainer profile card */
.trainer-card {
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover effect (desktop only) */
@media (hover: hover) {
    .trainer-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.15);
    }
}

/* FIX: Default visible colors for trainer social icons */
.trainer-social i {
    color: #555;
    /* visible neutral color */
    font-size: 1.4rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.trainer-social a:hover i {
    transform: translateY(-2px);
}

/* Trainer social icons – Font Awesome (final fix) */
.trainer-social i {
    font-size: 22px;
    color: #444;
    transition: color 0.25s ease, transform 0.25s ease;
}

.trainer-social a:hover i.bi-linkedin {
    color: #0a66c2;
}

.trainer-social a:hover i.bi-twitter {
    color: #1da1f2;
}

.trainer-social a:hover i.bi-youtube {
    color: #ff0000;
}

.trainer-social a:hover i {
    transform: translateY(-2px);
}

/* ================================
   FINAL FIX – Trainer Social Icons
================================ */

.trainer-social i {
    font-size: 24px !important;
    color: #333 !important;
    /* force visible */
    display: inline-block !important;
}

.trainer-social a:hover i.bi-linkedin {
    color: #0a66c2 !important;
}

.trainer-social a:hover i.bi-twitter {
    color: #1da1f2 !important;
}

.trainer-social a:hover i.bi-youtube {
    color: #ff0000 !important;
}


/*======================================================
VIJAY PATIL
====================================================== */

/* ================================
   Partner Toggle Button Styling
================================ */

.partner-toggle-btn {
    position: relative;
    padding: 14px 35px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--primary-blue);
    border-radius: 30px;
    color: var(--primary-blue);
    background-color: transparent;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(73, 82, 132, 0.15);
}

.partner-toggle-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), #6366f1);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.partner-toggle-btn:hover::before {
    width: 300px;
    height: 300px;
}

.partner-toggle-btn:hover {
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(73, 82, 132, 0.25);
}

.partner-toggle-btn .btn-icon {
    display: inline-block;
    transition: transform 0.4s ease;
}

.partner-toggle-btn.expanded .btn-icon {
    transform: rotate(180deg);
}

.partner-toggle-btn:hover .btn-icon {
    animation: bounce 0.6s ease;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.partner-toggle-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(73, 82, 132, 0.2);
}



.flow-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    cursor: pointer;
}

/* Hover Effect */
.flow-card:hover {
    transform: translateY(-8px);
}

/* Step Number */
.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #0d6efd;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Icon */
.step-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #0d6efd;
    transition: all 0.3s ease;
}

/* Hover Dark Shade (same theme color) */
.flow-card.enroll:hover {
    background: rgba(13, 110, 253, 0.08);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.25);
}

.flow-card.enroll:hover .step-icon {
    color: #084298;
}

/* Text */
.flow-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

.flow-card p {
    font-size: 15px;
    color: #555;
}


/*======================================================
How Our Training Works
====================================================== */

.flow-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    cursor: pointer;
}

.flow-card:hover {
    transform: translateY(-8px);
}

/* Step Number */
.flow-card .step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Typography */
.flow-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

.flow-card p {
    font-size: 15px;
    color: #555;
}

/* ===== THEME COLORS ===== */

/* STEP 1 – Enroll */
.flow-card.enroll:hover {
    background: rgba(13, 110, 253, 0.08);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.25);
}

.flow-card.enroll .step-number {
    background: #0dcaf09e;
}

/* STEP 2 – Learn */
.flow-card.info:hover {
    background: rgba(13, 202, 240, 0.12);
    box-shadow: 0 15px 40px rgba(1, 15, 18, 0.35)
}

.flow-card.info .step-number {
    background: #0dcaf09e;
}

/* STEP 3 – Practice */
.flow-card.warning:hover {
    background: rgba(13, 202, 240, 0.12);
    box-shadow: 0 15px 40px rgba(1, 15, 18, 0.35);
}

.flow-card.warning .step-number {
    background: #0dcaf09e;
    /*color: #000;*/
}

/* STEP 4 – Get Certified */
.flow-card.success:hover {
    background: rgba(25, 135, 84, 0.1);
    box-shadow: 0 15px 40px rgba(25, 135, 84, 0.35);
}

.flow-card.success .step-number {
    background: #0dcaf09e;
}




/*---------------------------------------------------------------*/
/*======================================================
   Our Key Learning Programs
====================================================== */
/* ======================================================
    PROGRAM CARDS – ENHANCED STYLING
====================================================== */
.program-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 22px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    background: var(--theme-light);
    box-shadow: 0 18px 45px rgba(45, 66, 125, 0.35);
}

/* Badge */
.program-badge {
    position: absolute;
    top: -12px;
    right: 18px;
    background: var(--theme-solid);
    color: #fff;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 6px 14px rgba(84, 93, 140, 0.45);
}

/* Title */
.program-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #212529;
}

/* Description */
.program-card p {
    font-size: 15px;
    color: #555;
    margin-bottom: auto;
}

/* Button */
.program-btn {
    margin-top: 20px;
    align-self: flex-start;
    padding: 8px 22px;
    border-radius: 25px;
    font-weight: 600;
    color: var(--theme-solid);
    border: 2px solid var(--theme-solid);
    transition: all 0.3s ease;
}

.program-btn:hover {
    background: var(--theme-solid);
    color: #fff;
    box-shadow: 0 6px 18px rgba(84, 93, 140, 0.4);
}


:root {
    --theme-color: #0dcaf09e;
    --theme-solid: #0dcaf0;
}



/*=================================================*/
:root {
    --primary: #0dcaf09e;
}


.course-wrapper {
    position: relative;
}

/* MAIN CARD (unchanged color logic) */
.program-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 22px;
    height: 100%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.course-wrapper:hover .program-card {
    transform: translateY(-8px);
}

/* PREVIEW BOX (MINIMIZED) */
.course-preview {
    position: absolute;
    top: 10px;
    left: 105%;
    width: 240px;
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 20;
}

.course-wrapper:hover .course-preview {
    opacity: 1;
    visibility: visible;
}

/* PREVIEW CONTENT */
.course-preview h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.course-preview ul {
    padding-left: 18px;
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

.course-preview ul li {
    margin-bottom: 5px;
}

/* SEE MORE BUTTON */
.preview-btn {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary, #545D8C);
    border: 2px solid var(--primary, #545D8C);
    text-decoration: none;
    transition: all 0.25s ease;
}

.preview-btn:hover {
    background: var(--primary, #545D8C);
    color: #fff;
}

/*======================================================
NEW HERO SECTION STYLES
====================================================== */

:root {
    --brand: #0dcaf09e;
}

/* HERO */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(180deg,
            rgba(13, 202, 240, 0.12),
            rgba(255, 255, 255, 1));
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title span {
    color: var(--brand);
}

.hero-subtext {
    font-size: 1.1rem;
    color: #555;
    max-width: 720px;
}

/* Mobile responsive hero */
@media (max-width: 768px) {
    .hero {
        padding: 100px 15px 40px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtext {
        font-size: 1rem;
    }
}

/* BUTTONS */
.hero-btn-primary {
    background: var(--brand);
    color: #fff;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.25s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 202, 240, 0.35);
    color: #fff;
}

.hero-btn-outline {
    border: 2px solid var(--brand);
    color: var(--brand);
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.hero-btn-outline:hover {
    background: var(--brand);
    color: #fff;
}

/* Mobile button adjustments */
@media (max-width: 768px) {

    .hero-btn-primary,
    .hero-btn-outline {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
    }
}

/* COURSE LINKS AS PILLS */
.hero-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-links a {
    padding: 8px 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(13, 202, 240, 0.3);
    color: #333;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-links a:hover {
    background: var(--brand);
    color: #fff;
}

/* TRUST INDICATORS */
.hero-trust {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #666;
}

.hero-trust span::before {
    content: "✓";
    color: var(--brand);
    margin-right: 6px;
}

/*======================================================
HERO IMAGE OVAL STYLES
====================================================== */



.hero-image-wrapper {
    width: 100%;
    max-width: 320px;
    height: 420px;
    overflow: hidden;
    border-radius: 50% / 40%;
    box-shadow: none;
    background: transparent;
}

.hero-oval-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile image adjustments */
@media (max-width: 992px) {
    .hero-image-wrapper {
        max-width: 250px;
        height: 320px;
        margin: 30px auto 0;
    }
}



/*======================================================
Rating TRUST & AUDIENCE SECTION STYLES
====================================================== */


:root {
    --brand: #0dcaf09e;
}

/* TRUST SECTION */
.trust-section {
    padding: 70px 0;
    background: #fff;
}

.trust-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 26px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-6px);
}

.trust-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 6px;
}

.trust-card p {
    margin: 0;
    font-weight: 500;
}

.trust-card small {
    color: #777;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-logo {
    max-height: 42px;
    margin: 4px 0;
}

.partner-logo-img {
    max-width: 120px;
    height: auto;
}

/* Mobile trust section */
@media (max-width: 768px) {
    .trust-section {
        padding: 40px 0;
    }

    .trust-card h3 {
        font-size: 1.5rem;
    }

    .partner-logo-img {
        max-width: 100px;
    }
}

/* AUDIENCE SECTION */
.audience-section {
    padding: 80px 0;
    background: linear-gradient(180deg,
            rgba(13, 202, 240, 0.08),
            #ffffff);
}

.audience-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 28px;
}

.audience-list {
    list-style: none;
    padding: 0;
    max-width: 560px;
    margin: auto;
}

.audience-list li {
    background: #ffffff;
    margin-bottom: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    position: relative;
    padding-left: 44px;
}

.audience-list li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    color: var(--brand);
    font-weight: 700;
}

/* Mobile audience section */
@media (max-width: 768px) {
    .audience-section {
        padding: 40px 15px;
    }

    .audience-title {
        font-size: 1.5rem;
    }

    .audience-list li {
        font-size: 0.95rem;
        padding: 12px 16px 12px 40px;
    }
}

/*======================================================
Who SarvaShikshan® Is For
====================================================== */


.who-list li {
    background: #ffffff;
    padding: 14px 18px;
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 40px;
}

.who-list li::before {
    content: "✓";
    position: absolute;
    left: 15px;
    color: #0dcaf09e;
    font-weight: bold;
}


/* ===============================
   HARD MOBILE RESET (FIX OVERLAP)
================================ */

/* Stop absolute positioning */
@media (max-width: 991px) {

    .course-preview,
    .program-card,
    .flow-card,
    .trust-card {
        position: static !important;
        transform: none !important;
        height: auto !important;
    }

    .course-wrapper {
        display: block;
        height: auto;
    }

    /* Kill hover effects */
    .course-wrapper:hover .course-preview {
        display: none !important;
    }

    /* Prevent section overlap */
    section {
        position: relative;
        overflow: hidden;
        clear: both;
    }
}




/* --- Variables matching the image --- */
:root {
    --card-border: #495284;
    /* Dark blue from your previous code */
    --accent-cyan: #0dcaf0;
    /* The cyan color in the image */
    --text-dark: #0f172a;
}

/* Wrapper to hold relative positioning */
.course-card-wrapper {
    position: relative;
    height: 100%;
    cursor: pointer;
    perspective: 1000px;
}

/* --- MAIN CARD STYLING --- */
.main-card {
    background: #fff;
    border: 1px solid #e0e7ff;
    /* Very light border */
    border-radius: 12px;
    padding: 30px 20px;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    /* Ensure main card stays below hover card */
    position: relative;
    z-index: 1;
}

/* The Title */
.main-card .card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.main-card .card-text {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* The "Popular" Badge */
.badge-custom {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--accent-cyan);
    color: #fff;
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(13, 202, 240, 0.4);
}

/* Hover effect on main card */
.course-card-wrapper:hover .main-card {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* --- HOVER POPUP MENU --- */
.hover-card {
    position: absolute;
    top: 0;
    /* Default: Opens to the Right */
    left: 105%;
    width: 260px;
    /* Slightly wider than main card */
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 100;
    /* Must be high to float over other content */

    /* Animation States */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    /* Slide effect */
    transition: all 0.3s ease-in-out;
}

/* Show on Hover */
.course-card-wrapper:hover .hover-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Hover Card Content */
.hover-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #555;
}

/* The Checkmark */
.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--text-dark);
    /* Or cyan if preferred */
    font-weight: bold;
}

/* --- Variables --- */
:root {
    --card-border: #495284;
    --accent-cyan: #0dcaf0;
    --text-dark: #0f172a;
}

/* Wrapper */
.course-card-wrapper {
    position: relative;
    height: 100%;
    cursor: pointer;
    perspective: 1000px;
}

/* --- MAIN CARD STYLING --- */
.main-card {
    background: #fff;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 30px 20px;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    /* Keep content below the popup */
}

.main-card .card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.main-card .card-text {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* Badge */
.badge-custom {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--accent-cyan);
    color: #fff;
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(13, 202, 240, 0.4);
}

/* Hover effect for main card border */
.course-card-wrapper:hover .main-card {
    border-color: var(--accent-cyan);
}

/* --- HOVER POPUP MENU (Base Styles) --- */
.hover-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 100;

    /* Default Animation State */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

/* Show on Hover */
.course-card-wrapper:hover .hover-card {
    opacity: 1;
    visibility: visible;
}

/* --- DESKTOP LOGIC (Min-width 992px) --- */
@media (min-width: 992px) {
    .hover-card {
        top: 0;
        left: 105%;
        /* Open to Right by default */
        width: 260px;
        transform: translateX(-10px);
    }

    .course-card-wrapper:hover .hover-card {
        transform: translateX(0);
    }

    /* "Opens Left" Override */
    .opens-left .hover-card {
        left: auto;
        right: 105%;
        transform: translateX(10px);
    }

    .opens-left .course-card-wrapper:hover .hover-card {
        transform: translateX(0);
    }
}

/* --- MOBILE LOGIC (Max-width 991px) --- */
@media (max-width: 991px) {
    .hover-card {
        top: 100%;
        /* Push to Bottom */
        left: 0;
        width: 100%;
        /* Full width of parent */
        margin-top: 10px;
        /* Small gap */
        transform: translateY(-10px);
        /* Slide down animation setup */
    }

    /* Active State for Mobile */
    .course-card-wrapper:hover .hover-card {
        transform: translateY(0);
    }
}

/* =========================================
   1. VARIABLES & BASE STYLES
   ========================================= */
:root {
    --card-border: #495284;
    --accent-cyan: #0dcaf0;
    --text-dark: #0f172a;
}

/* Wrapper for the card 3D context */
.course-card-wrapper {
    position: relative;
    height: 100%;
    cursor: pointer;
    perspective: 1000px;
}

/* =========================================
   2. MAIN VISIBLE CARD
   ========================================= */
.main-card {
    background: #fff;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 30px 20px;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    /* Default layer */
}

/* Typography */
.main-card .card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.main-card .card-text {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* Hover Effect on Main Card */
.course-card-wrapper:hover .main-card {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Badge Styling */
.badge-custom {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--accent-cyan);
    color: #fff;
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(13, 202, 240, 0.4);
}

/* =========================================
   3. POPUP HOVER MENU (The Logic)
   ========================================= */
.hover-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 100;

    /* Hide by default */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

/* Show on Hover */
.course-card-wrapper:hover .hover-card {
    opacity: 1;
    visibility: visible;
}

/* -----------------------------------------
   A. DESKTOP LOGIC (Screens > 992px)
   ----------------------------------------- */
@media (min-width: 992px) {

    /* DEFAULT: Open to the RIGHT (For Card 1 & 2) */
    .hover-card {
        top: 0;
        left: 105%;
        width: 260px;
        transform: translateX(-10px);
        /* Slide Animation Start */
    }

    .course-card-wrapper:hover .hover-card {
        transform: translateX(0);
        /* Slide Animation End */
    }

    /* OVERRIDE: Open to the LEFT (For Card 3 & 4) 
       This prevents the Horizontal Scrollbar */
    .opens-left .hover-card {
        left: auto;
        /* Reset Left */
        right: 105%;
        /* Align to Left side */
        transform: translateX(10px);
        /* Reverse Animation */
    }

    .opens-left .course-card-wrapper:hover .hover-card {
        transform: translateX(0);
    }
}

/* -----------------------------------------
   B. MOBILE LOGIC (Screens < 991px)
   ----------------------------------------- */
@media (max-width: 991px) {

    /* ALL CARDS: Open to the BOTTOM */
    .hover-card {
        top: 100%;
        /* Push to bottom */
        left: 0;
        width: 100%;
        /* Match width */
        margin-top: 10px;
        transform: translateY(-10px);
        /* Downward Animation */
    }

    /* Ensure 'opens-left' doesn't break mobile */
    .opens-left .hover-card {
        left: 0;
        right: auto;
    }

    /* Active Animation */
    .course-card-wrapper:hover .hover-card {
        transform: translateY(0);
    }
}

/* =========================================
   4. CRITICAL Z-INDEX FIX
   ========================================= */
/* This ensures the card you are hovering over 
   always sits ON TOP of its neighbors. */
.col-lg-3:hover,
.col-md-6:hover {
    z-index: 1000;
    position: relative;
}

/* =========================================
   5. INNER CONTENT STYLES
   ========================================= */
.hover-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #555;
}

.feature-list li::before {
    content: "✓";
    /* CSS Checkmark */
    position: absolute;
    left: 0;
    color: var(--text-dark);
    font-weight: bold;
}

.btn-outline-custom {
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
    border-radius: 25px;
    font-weight: 600;
    padding: 6px 20px;
    font-size: 0.9rem;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--accent-cyan);
    color: #fff;
}





/*======================================================
FOOTER (MAP)
====================================================== */

.map-responsive {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%;
    border-radius: 12px;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/*======================================================
END
====================================================== */
/* Contact page clickable links */
.contact-link {
    color: #0d6efd;
    /* bootstrap primary */
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Contact page icon + link alignment */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #444;
    /* normal text color */
}

/* Icons follow text color */
.contact-item i {
    font-size: 17px;
    color: inherit;
}

/* Contact links – normal state */
.contact-link {
    color: inherit;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.25s ease, font-weight 0.25s ease;
}

/* Hover – subtle but clear */
.contact-link:hover {
    color: #111;
    /* slightly darker */
    font-weight: 600;
    /* semi-bold */
}

.trainer-hero {
    background: #f8f9fa;
}

.trainer-highlights li {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Trainer image wrapper */
.trainer-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

/* Trainer image */
.trainer-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

/* Subtle hover zoom */
.trainer-image-wrapper:hover .trainer-image {
    transform: scale(1.05);
}

/* Social icons */
.trainer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
}

/* ================================
   Trainer Profile – Social Icons
================================ */

.trainer-social a {
    color: #333;
    /* same as content */
    font-size: 1.4rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

/* LinkedIn */
.trainer-social a:hover .bi-linkedin {
    color: #0a66c2;
}

/* Twitter (X) */
.trainer-social a:hover .bi-twitter {
    color: #000;
}

/* YouTube – SAME AS FOOTER */
.trainer-social a:hover .bi-youtube {
    color: #ff0000;
}

/* Subtle lift */
.trainer-social a:hover {
    transform: translateY(-2px);
}

/* Trainer profile card */
.trainer-card {
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(222, 197, 197, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover effect (desktop only) */
@media (hover: hover) {
    .trainer-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.15);
    }
}

/* FIX: Default visible colors for trainer social icons */
.trainer-social i {
    color: #555;
    /* visible neutral color */
    font-size: 1.4rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.trainer-social a:hover i {
    transform: translateY(-2px);
}

/* Trainer social icons – Font Awesome (final fix) */
.trainer-social i {
    font-size: 22px;
    color: #444;
    transition: color 0.25s ease, transform 0.25s ease;
}

.trainer-social a:hover i.fa-linkedin {
    color: #0a66c2;
}

.trainer-social a:hover i.fa-twitter {
    color: #1da1f2;
}

.trainer-social a:hover i.fa-youtube {
    color: #ff0000;
}

.trainer-social a:hover i {
    transform: translateY(-2px);
}

/* ================================
   FINAL FIX – Trainer Social Icons
================================ */

.trainer-social i {
    font-size: 24px !important;
    color: #333 !important;
    /* force visible */
    display: inline-block !important;
}

.trainer-social a:hover i.fa-linkedin {
    color: #0a66c2 !important;
}

.trainer-social a:hover i.fa-twitter {
    color: #1da1f2 !important;
}

.trainer-social a:hover i.fa-youtube {
    color: #ff0000 !important;
}







.audience-image {
    max-width: 90%;
}





.course-card-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* MAIN CARD */
.main-card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.main-card p {
    font-size: 0.95rem;
    color: #555;
}

/* BADGE */
.badge-custom {
    display: inline-block;
    background: #0d6efd;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
}

/* PREVIEW CONTENT (VISIBLE BELOW, NOT OVERLAY) */
.hover-card {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eaeaea;
}

.hover-card h6 {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.hover-card ul {
    padding-left: 0;
    margin-bottom: 12px;
}

.hover-card ul li {
    list-style: none;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

/* BUTTON */
.hover-card a {
    font-size: 0.85rem;
}

/* MOBILE FRIENDLY */
@media (max-width: 768px) {
    .course-card-wrapper {
        padding: 20px;
    }

    .main-card h5 {
        font-size: 1rem;
    }
}



/* ================================
ALL(PMP,SCRUM) COURSE PAGE STYLES
================================ */


/* ===== GLOBAL ===== */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--light-bg);
}

h1,
h2,
h4 {
    color: var(--primary);
    font-weight: 700;
}

p {
    color: #333;
}

/* ===== HERO (MATCH HOME HERO) ===== */
.course-hero {
    background: linear-gradient(180deg,
            #e9f7ff 0%,
            #ffffff 100%);
    padding: 110px 0 90px;
}

.course-hero h1 span {
    color: var(--secondary);
}

.course-hero p {
    max-width: 900px;
    margin: 0 auto;
    color: #555;
}

/* ===== SOFT CARD EFFECT (USED EVERYWHERE) ===== */
.soft-card {
    background: var(--card-bg);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.soft-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* ===== LISTS ===== */
.overview-list,
.learn-points,
.format-points {
    list-style: none;
    padding-left: 0;
}

.overview-list li,
.learn-points li,
.format-points li {
    padding-left: 28px;
    margin-bottom: 12px;
    position: relative;
}

.overview-list li::before,
.learn-points li::before,
.format-points li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* ===== ELIGIBILITY BOXES ===== */
.audience-points li {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 5px solid var(--secondary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
}

/* ===== BENEFITS (MATCH HOME PROGRAM CARDS) ===== */
.benefit-box {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    height: 100%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transition: all .35s ease;
}

.benefit-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .15);
}

.benefit-box h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* ===== FAQ ===== */
.faq-item {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
}

/* ===== FINAL CTA (MATCH HOME CTA STYLE) ===== */
.course-final-cta,
.final-cta-section {
    background: linear-gradient(135deg, #495284, #1e88e5);
    color: #fff;
    padding: 90px 20px;
    text-align: center;
}

.final-cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #e3f2fd;
}

.final-cta-section p {
    max-width: 750px;
    margin: 20px auto 0;
    font-size: 16px;
    line-height: 1.8;
    color: #dbeafe;
}

.final-cta-section .btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* PRIMARY */
.final-cta-section .btn-primary {
    background: #fbbf24;
    border: none;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.final-cta-section .btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

/* OUTLINE */
.final-cta-section .btn-outline-primary {
    border: 2px solid #fff;
    color: #fff;
}

.final-cta-section .btn-outline-primary:hover {
    background: #fff;
    color: #1e88e5;
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {
    .final-cta-section h2 {
        font-size: 28px;
    }

    .final-cta-section p {
        font-size: 15px;
    }
}

/* =====================================================
   NAVBAR FIX PATCH (SAFE, SCOPED, REVERSIBLE)
===================================================== */

/* Navbar container spacing */
.site-header .navbar {
    padding: 12px 0;
}

/* Navbar links */
.site-header .nav-link {
    padding: 8px 14px !important;
    font-weight: 500;
    border-radius: 6px;
}

/* Hover state */
.site-header .nav-link:hover,
.site-header .nav-link:focus {
    background-color: rgba(73, 82, 132, 0.08);
    color: #495284;
}

/* Dropdown arrow spacing */
.navbar .dropdown-toggle::after {
    margin-left: 6px;
}

/* ================= MOBILE NAVBAR FIX ================= */
@media (max-width: 991px) {

    .navbar-collapse {
        background: #ffffff;
        margin-top: 10px;
        padding: 12px 0;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .navbar-nav {
        align-items: flex-start !important;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        width: 100%;
        padding: 12px 20px !important;
    }

    .dropdown-menu {
        width: 100%;
        border: none;
        box-shadow: none;
        padding-left: 15px;
    }
}

.login-btn {
    background-color: #495284;
    border-radius: 6px;
    font-weight: 600;
}

.login-btn:hover {
    background-color: #2f3a6e;
    color: #ffffff;
}

.map-responsive iframe {
    height: 220px !important;
}

/* ===========Academic partnership======================*/
.academic-hero {
    width: 100%;
    background: linear-gradient(180deg, #e8f6ff 0%, #ffffff 85%);
    padding: 110px 0 95px;
}

.section-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1d4ed8;
    text-transform: uppercase;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.hero-subtext {
    color: #475569;
    max-width: 880px;
    margin: 0 auto;
}

.hero-buttons .btn {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
}

.hero-tags span {
    display: inline-block;
    margin: 8px 10px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e40af;
    background: rgba(37, 99, 235, 0.08);
    padding: 7px 16px;
    border-radius: 20px;
}

/* footer home button */
.custom-hover:hover {
    background-color: #ffffff !important;
    color: #084298 !important;
    border-color: #ffffff !important;
}

.hero-btn-sky {
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    color: white;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 6px 16px rgba(0, 153, 255, 0.25);
    transition: all 0.3s ease;
}

/* Hover effect for the button  */
.hero-btn-sky:hover {
    background: white;
    color: #0288d1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/*For the course overlap Change */

.course-card-wrapper {
    background: transparent !important;
}

.hover-card {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.more-details-btn {
    background-color: #084298;
    color: white;
    border: none;
}

.more-details-btn:hover {
    background-color: #0a58ca;
    color: white;
}



/* =====================================================
HEADER CONTAINERS OVERLAY FIX
===================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
}

/* FORCE next container below header */
.site-header+* {
    margin-top: 110px;
}



/* =====================================================
Trust section – card styling, hover effects, partner logos
===================================================== */

.trust-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #f8f9ff, #eef2ff);
}

.trust-card {
    height: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(29, 161, 242, 0.25);
}

.trust-icon {
    font-size: 34px;
    margin-bottom: 12px;
}

.trust-card h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1da1f2;
    margin-bottom: 6px;
}

.trust-card p {
    font-weight: 600;
    margin-bottom: 4px;
}

.trust-card small {
    color: #6c757d;
}

.trust-card:hover .partner-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}




/* =====================================================
END
===================================================== */