/* Custom Variables for easy branding updates */
:root {
    --primary-navy: #013565;
    --accent-gold: #ffd700;
    --light-gray: #f8f9fa;
    --dark-text: #2c3e50;
    --transition: all 0.3s ease;
    --primary-color: #0d47a1; 
    --secondary-color: #ffca28;
    --brand-green: #67bc45;
    --light-bg: #f8f9fa;
}

.bg-primary-dark { background-color: var(--primary-color); }
.btn-primary { background-color: var(--primary-color); border: none; }
.hero-section { background: linear-gradient(rgba(13, 71, 161, 0.8), rgba(13, 71, 161, 0.8)), url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&q=80&w=1920') center/cover; color: white; padding: 100px 0; }
.course-card:hover { 
    transition: 0.3s;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(1, 53, 101, 0.1) !important;
}
.about-header { background: #f8f9fa; padding: 60px 0; border-bottom: 1px solid #eee; }
.carousel-item img { height: 500px; object-fit: cover; filter: brightness(70%); }
.gallery-img { cursor: pointer; transition: 0.4s; border-radius: 8px; }
.gallery-img:hover { transform: scale(1.05); filter: contrast(1.1); }
.stat-box { border-bottom: 4px solid var(--primary-navy); transition: 0.3s; }
.stat-box:hover { background: var(--primary-navy); color: white !important; }
.faculty-card { border: none; transition: 0.3s; }
.faculty-card:hover { transform: scale(1.02); }
.faculty-img { height: 300px; object-fit: cover; border-radius: 15px; }
.testimonial-quote { font-style: italic; color: #555; position: relative; }
.testimonial-quote::before { content: "\f10d"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: -20px; top: -10px; opacity: 0.1; font-size: 3rem; }
.edge-icon { width: 60px; height: 60px; background: var(--primary-navy); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.course-img-wrapper {
    position: relative;
    overflow: hidden;
}
.course-badge {
    right: 15px;
    position: absolute;
    top: 15px;
    left: 15px;
    background: #67bc45;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}
.course-card {
    /*transition: 0.3s;*/
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}
.course-info i {
    width: 20px;
    color: #1a237e;
}

.btn-outline-primary {
    border-color: #013565;
    color: #013565;
}

.btn-outline-primary:hover {
    background-color: #013565;
    border-color: #013565;
    color: white;
}

/* 2. Specific Font Awesome Force-Restore */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
    font-family: "Font Awesome 6 Free" !important; /* Forces icons to ignore Poppins */
    font-weight: 900; 
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* Specific for Brands (Facebook, LinkedIn, etc.) */
.fab, .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
}

/* 3. Footer Icon Styling (Ensures visibility) */
.footer-links i, .social-links i {
    color: #67bc45; /* Brand Green for icons */
    margin-right: 8px;
    width: 20px;
    text-align: center;
}


body {
    /*font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;*/
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--dark-text);
    line-height: 1.6;
}

/* Enhanced Navbar */
.navbar {
    /*background-color: var(--primary-navy) !important;*/
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 10px;
}

.nav-link:hover {
    color: var(--accent-gold) !important;
}

/* Custom Buttons */
.btn-primary {
    background-color: var(--primary-navy);
    border-color: var(--primary-navy);
    padding: 10px 25px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #67bc45;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.course-card img {
    height: 200px;
    object-fit: cover;
}

/* Certificate Verification Section */
#certificate-result-box {
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    display: none; /* Hidden by default */
}

.status-valid {
    border: 2px solid #28a745;
    background-color: #d4edda;
    color: #155724;
}

.status-invalid {
    border: 2px solid #dc3545;
    background-color: #f8d7da;
    color: #721c24;
}
/* Container for Sticky Buttons */
.sticky-action-container {
    position: fixed;
    bottom: 85px; /* Moved up to clear Skill India/ISO footer text */
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

/* Base Button Styling */
.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.sticky-btn i {
    font-size: 1.2rem;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    font-style: normal;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.btn-text {
    margin-left: 10px;
    font-size: 0.9rem;
}

/* Hover Effects */
.sticky-btn:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background-color: #ffffff !important;
    color: #013565 !important;
    border-color: #013565;
    transform: translateY(-5px);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-img { height: 60vh; }
    .carousel-caption h1 { font-size: 2rem; }
    .sticky-action-container {
        bottom: 90px; /* Slightly higher on mobile to ensure visibility */
        right: 15px;
        gap: 8px;
    }
    
    .sticky-btn {
        padding: 10px 15px;
    }

    /* Optional: Hide text on very small screens to save space, keeping only icons */
    /* .btn-text { display: none; } 
    .sticky-btn { border-radius: 50%; width: 50px; height: 50px; }
    */
}
.accordion-button:not(.collapsed) {
    background-color: #f0f4ff;
    color: var(--primary-navy);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.accordion-item {
    border-bottom: 1px solid #eee !important;
}

.accordion-item:last-child {
    border-bottom: none !important;
}
.contact-info-card {
            transition: 0.3s;
            border: none;
            background: #f8f9fa;
        }
        .contact-info-card:hover {
            background: var(--primary-navy);
            color: white !important;
        }
        .contact-info-card:hover .icon-box {
            background: white;
            color: var(--primary-navy);
        }
        .icon-box {
            width: 50px;
            height: 50px;
            background: var(--primary-navy);
            color: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            transition: 0.3s;
        }
        .map-container {
            filter: grayscale(100%) invert(92%) contrast(83%);
            border-radius: 15px;
            overflow: hidden;
        }

.course-hero { background: linear-gradient(45deg, #1a237e, #0d47a1); color: white; padding: 60px 0; }
.sticky-sidebar { position: sticky; top: 100px; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 15px; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.gallery-thumb { height: 150px; object-fit: cover; border-radius: 8px; cursor: pointer; transition: 0.3s; }
.gallery-thumb:hover { transform: scale(1.05); }
.career-card { border-left: 5px solid var(--accent-gold); background: #fdfdfd; }

/* Navigation Base Styling */
.custom-nav {
    background-color: #ffffff; /* Default white background */
    padding: 10px 0;
    transition: all 0.4s ease-in-out;
    border-bottom: 1px solid transparent;
}

/* Logo Container 100x100 */
.logo-container {
    width: 300px;
    height: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-container img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Menu Text Colors */
.custom-nav .nav-link {
    color: #013565 !important; /* Brand Blue */
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Menu Hover Colors */
.custom-nav .nav-link:hover {
    color: #67bc45 !important; /* Brand Green */
}

/* Navbar Toggler Icon Color */
.navbar-toggler {
    border-color: #013565;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(1, 53, 101, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:hover {
    border-color: #67bc45;
}

/* STICKY MODE: Distinguishing from content */
/* This class is applied automatically by 'sticky-top' in Bootstrap, 
   but we add a shadow when the page is scrolled via JS (optional) or CSS */
.sticky-top.navbar-scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow to distinguish from page */
    padding: 5px 0; /* Shrink slightly for a modern look */
    border-bottom: 2px solid #67bc45; /* Green bottom accent for distinction */
}



/* Sticky Action Buttons - Updated Palette */
.btn-call {
    background-color: #67bc45 !important; /* Brand Green */
    border: 2px solid #67bc45;
}

.btn-enquire {
    background-color: #013565 !important; /* Brand Navy */
    border: 2px solid #013565;
}

.btn-call:hover {
    color: #67bc45 !important;
    border-color: #67bc45;
}

.footer-links a:hover {
        color: #67bc45 !important;
        padding-left: 5px;
        transition: all 0.3s ease;
    }

.policy-container { max-width: 800px; margin: 40px auto; }
.sidebar-nav { position: sticky; top: 120px; }
.sidebar-nav a { color: #013565; text-decoration: none; display: block; padding: 10px; border-left: 3px solid #eee; transition: 0.3s; }
.sidebar-nav a:hover, .sidebar-nav a.active { border-left-color: #67bc45; background: #f8f9fa; color: #67bc45; }
h2 { color: #013565; font-weight: 700; margin-top: 2rem; }
.last-updated { font-size: 0.85rem; color: #666; margin-bottom: 2rem; }





/* Apply Poppins Globally */
* {
    font-family: 'Poppins', sans-serif;
}


/* Enhancing Headings for a Modern Look */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700; /* Bold for headers */
    letter-spacing: -0.02em;
}

p {
    font-weight: 400; /* Regular for body text */
    line-height: 1.6;
}

.fw-bold {
    font-weight: 600 !important;
}
/* Hero Slider Optimization */
#heroSlider {
    background-color: #013565; /* Prevents white flash before image loads */
}

.hero-img {
    height: 85vh;
    object-fit: cover;
}

/* Faster than CSS Filters for Core Web Vitals */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(1, 53, 101, 0.8), rgba(1, 53, 101, 0.2));
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    bottom: 10%;
}

/* Smooth Fade Transition */
.carousel-fade .carousel-item {
    transition-duration: 0.8s;
    transition-property: opacity;
}

/* Success Modal Styling */
.success-icon-box {
    width: 80px;
    height: 80px;
    background-color: #67bc45;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

#successModal .modal-content {
    border-radius: 20px;
}

/* Isolated Logo Slider Styles */
.partner-marquee {
    width: 100%;
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    background: white;
}

/* Side Fades - specifically for this section */
.partner-marquee::before, .partner-marquee::after {
    content: "";
    height: 100px;
    position: absolute;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}
.partner-marquee::before { 
    left: 0; 
    background: linear-gradient(to right, white 20%, rgba(255,255,255,0) 100%); 
}
.partner-marquee::after { 
    right: 0; 
    top: 0; 
    background: linear-gradient(to left, white 20%, rgba(255,255,255,0) 100%); 
}

/* Track movement logic - No impact on Bootstrap Carousel classes */
.partner-marquee-track {
    display: flex;
    width: calc(200px * 12); /* Adjusted to match slide width */
    animation: partnerScroll 30s linear infinite;
}
.partner-slide {
    width: 200px; /* Consistent width */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.partner-slide img {
    height: 45px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.partner-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
/* Unique Animation Keyframes */
@keyframes partnerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 6)); }
}
/* Ensure this section doesn't interfere with Bootstrap's carousel logic */
.carousel-item {
    display: none; /* Bootstrap default */
}
.carousel-item.active {
    display: block; /* Bootstrap default */
}
/* Verification Container */
.verify-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 50px;
}

.section-tag {
    color: var(--brand-green);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.main-title {
    color: var(--primary-navy);
    font-weight: 800;
}

/* Input Styling */
.input-group-lg > .form-control {
    border-radius: 0 12px 12px 0;
    font-size: 1rem;
}
.input-group-text {
    border-radius: 12px 0 0 12px;
    background: white;
    border-right: none;
}
/* Result Card Styling */
#resultArea {
    margin-top: 30px;
    display: none;
}

.result-card {
    border-left: 6px solid var(--brand-green);
    border-radius: 15px;
    overflow: hidden;
    animation: slideUp 0.5s ease-out forwards;
}

.result-header {
    background-color: rgba(103, 188, 69, 0.1);
    color: var(--brand-green);
    padding: 15px 25px;
    font-weight: 700;
}

.data-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.data-value {
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 1.1rem;
}
/* Loader Animation */
.spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--brand-green);
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/*-------------------------------------------------------*/
