:root {
    --primary-color: #002147; /* Professional Deep Navy */
    --accent-color: #f1c40f;  /* Academic Gold */
    --secondary-color: #2c3e50;
    --text-gray: #555;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --text-dark: #2d3436;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background-color: var(--light-bg);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent side scroll from full-width slider */
    padding-top: 80px; /* Space for fixed header */
}

/* --- PROFESSIONAL NAVIGATION BAR --- */
header {
    background: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--white) !important;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 10px 5px;
}

nav a:hover, nav a.active { color: var(--accent-color) !important; }

.nav-item { position: relative; }

.dropdown, .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
    padding: 10px 0;
    z-index: 1010;
}

.nav-item:hover .dropdown,
.nav-item:hover .dropdown-content {
    display: block;
    animation: navFade 0.3s ease;
}

.dropdown a, .dropdown-content a {
    padding: 12px 20px;
    color: #333 !important;
    text-transform: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
}

.dropdown a:hover, .dropdown-content a:hover { 
    background: #f8f9fa; 
    color: var(--accent-color) !important;
}

.mobile-menu-btn {
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    display: none;
}

/* --- HERO & CONTENT (Consolidated from index.php) --- */
.hero {
    background: linear-gradient(rgba(0,33,71,0.8), rgba(0,33,71,0.8)), url('images/school_bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
    padding: 100px 20px;
    border-radius: 0 0 80px 80px;
    margin-bottom: 50px;
}

.hero h1 { font-weight: 700; font-size: 3rem; letter-spacing: -1px; }
.hero p { font-weight: 300; max-width: 800px; margin: 0 auto; opacity: 0.9; }

.section-title {
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 40px;
    text-align: center;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
}

.card-custom {
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background: var(--white);
}
.card-custom:hover { transform: translateY(-10px); }

.nav-card {
    padding: 40px 20px;
    text-align: center;
    border-radius: 25px;
    background: var(--white);
    height: 100%;
    transition: 0.3s; border: 1px solid rgba(0,0,0,0.03);
}
.nav-card:hover { border-color: var(--accent-color); box-shadow: var(--shadow); }

.feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: inline-block;
}

@keyframes navFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Column responsiveness for better alignment */
@media (max-width: 991px) {
    footer .footer-content { padding: 0 30px !important; }
}

.bg-modern {
    background-color: #ffffff !important;
}

/* --- SECTION BACKGROUND REFINEMENT --- */
.cardssection {
    background-color: #fcfdfe;
    padding: 80px 0 40px 0; /* Standardized vertical rhythm */
}

/* --- CHHATNAG STYLE PROFESSIONAL SLIDER (STRICT FRAME) --- */
.carousel-section-wrapper {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background: #000;
    overflow: hidden;
}

.carousel-section-wrapper .carousel-item {
    height: 550px !important; /* Shrunk uniform height for Desktop */
    background-color: #000;
    overflow: hidden;
}

.carousel-section-wrapper .carousel-item img {
    width: 100% !important;
    height: 550px !important; /* Strictly forced height */
    object-fit: cover !important; /* Image ko crop karega frame mein fit karne ke liye */
    object-position: center !important;
    display: block !important;
    /*filter: brightness(0.8);*/
    animation: zoomEffect 20s infinite alternate;
}

/* Modern Overlay for depth */
.carousel-section-wrapper .carousel-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /*background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,1) 100%);*/
}

/* Modern Caption Styling */
.carousel-caption {
    position: absolute;
    bottom: 120px;
    left: 100px;
    right: 100px;
    color: var(--white);
    z-index: 15;
    animation: fadeInUp 0.8s ease-out;
}

.carousel-caption h2 { 
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Navigation Arrows */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: var(--transition-smooth);
}

.carousel-prev:hover, .carousel-next:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.carousel-prev { left: 30px; }
.carousel-next { right: 30px; }

/* Modern Card Styling (For Bento Grid/News) */
.event-item, .topper-slide, .branch-content {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.05);
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Glassmorphism for Navigation */
nav.active {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Professional Indicators (Long bars) */
.carousel-section-wrapper .carousel-indicators [data-bs-target] {
    width: 40px;
    height: 6px;
    background-color: var(--accent-color);
    border: none;
    border-radius: 10px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.carousel-section-wrapper .carousel-indicators .active {
    opacity: 1;
    width: 60px;
}

/* Fix for Ultra Wide Screens to prevent cutting */
@media (min-width: 1600px) {
    .carousel-item, .carousel-item img {
        height: 550px !important;
    }
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-section-wrapper .carousel-item,
    .carousel-section-wrapper .carousel-item img {
    height: 150px !important;
    }
    .carousel-caption { bottom: 20px; }
}

/* Scroll Reveal Classes */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ULTIMATE PROFESSIONAL FOOTER (STRICT OVERRIDE) --- */
body footer, 
body .footer-section-wrapper {
    background: linear-gradient(135deg, #000b1e 0%, #00152e 100%) !important;
    color: #ffffff !important;
    padding: 80px 0 0 0 !important; /* Top padding for breathing space */
    margin-top: 30px !important; /* Reduced margin above footer as requested */
    border-top: 6px solid #f1c40f !important; /* Academic Gold Border */
    font-family: 'Poppins', sans-serif !important;
}

footer a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
}

footer a:hover {
    color: #f1c40f !important;
    padding-left: 10px !important;
}

footer .footer-content,
footer .container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 80px !important;
    padding: 0 50px !important; /* Fixed: Content is now away from screen boundaries */
    max-width: 1400px !important;
    margin: 0 auto !important;
}

footer .footer-section,
footer div[class*="col-"] {
    flex: 1 !important;
    min-width: 250px !important;
    margin-bottom: 30px !important;
}

footer h3, 
footer h4, 
footer h5 {
    color: #f1c40f !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-bottom: 30px !important;
    font-size: 1.1rem !important;
    letter-spacing: 1.5px !important;
    position: relative !important;
}

footer h3::after, 
footer h4::after, 
footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 45px;
    height: 3px;
    background: #f1c40f;
}

footer ul {
    list-style: none !important;
    padding: 0 !important;
}

footer ul li {
    margin-bottom: 5px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-bottom: 5px !important;
}

footer p, footer address {
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-style: normal !important;
}

/* --- INDEX SPECIFIC LAYOUT STYLES --- */
.video {
    box-shadow: var(--shadow);
    border-radius: 20px;
}

marquee ul li {
    padding: 10px;
    border-bottom: 1px dashed #ddd;
    list-style: none;
}

.container-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Enhanced Contact List Styling */
.contact-list {
    list-style: none !important;
    padding: 0 !important;
}

.contact-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    margin-bottom: 20px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.5 !important;
}

/* Responsive & Expandable Map Image */
.footer-map-container {
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-map-container:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.footer-map-container img,
.footer-map-container iframe {
    width: 100% !important;
    height: 200px !important;
    display: block !important;
    border: 0;
}

.contact-list li i {
    color: #f1c40f !important;
    font-size: 1.2rem !important;
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

/* Column responsiveness for better alignment */
@media (max-width: 991px) {
    footer .footer-content {
        padding: 0 30px !important;
    }
}

/* Social Links Professional Polish */
.social-links a {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 40px;
    height: 40px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition-smooth) !important;
}

.social-links a:hover {
    background: #f1c40f !important;
    color: #000b1e !important;
    transform: translateY(-5px);
}

/* --- MODERN MESSAGE SLIDER & CARDS --- */
.cardround {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    transition: var(--transition-smooth) !important;
    overflow: hidden;
}

.cardround:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.message-content-wrapper {
    padding: 10px 15px;
}

.message-avatar {
    width: 120px !important; /* Minimalist sizing for professional profile look */
    height: 120px !important;
    object-fit: cover !important;
    border: 1.5px solid var(--accent-color);
    padding: 1px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: inline-block;
}

@media (max-width: 768px) {
    body { padding-top: 74px; }
    body { padding-top: 74px !important; }
    
    header .header-content { padding: 10px 15px !important; }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(255,255,255,0.1) !important;
        border: 1px solid rgba(255,255,255,0.2) !important;
        border-radius: 6px;
        color: white !important;
        padding: 0;
        font-size: 0; /* Hides the text character '☰' */
    }

    /* Overriding general carousel img height (250px) to keep avatar 100% round */
    .carousel-item .message-avatar {
        width: 120px !important;
        height: 120px !important;
        min-width: 120px !important; /* Prevents shrinking in flex containers */
        min-height: 120px !important;
        aspect-ratio: 1 / 1 !important; 
        display: block !important;
        border-radius: 50% !important;
        margin: 0 auto 15px !important;
        object-fit: cover !important; /* Ensures the image fills the circle without distortion */
    }

    /* Using a more specific selector to override the global 250px height limit */
    /* This allows the card to expand vertically so messages are visible */
    .carousel-section-wrapper .carousel-item {
        height: auto !important;
        min-height: 200px; /* Minimum space to keep layout consistent while allowing growth */
    }

    .message-content-wrapper {
        text-align: center !important; /* Center-align name and titles for better mobile layout */
    }

    header { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18); }
    .header-content { padding: 9px 14px; }
    .header-content img { max-height: 48px; max-width: 210px; object-fit: contain; }
    
    .mobile-menu-btn::after {
        display: inline-block;
        content: '\f0c9';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 1.2rem;
    }

    .mobile-menu-btn.is-open::after { 
        content: '\f00d'; 
    }

    nav.main-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        position: absolute;
        top: 100%;
        left: 12px;
        right: 12px;
        width: auto;
        max-height: 0;
        padding: 10px;
        overflow: hidden;
        background: #ffffff !important;
        border: 1px solid rgba(0,33,71,0.12);
        border-radius: 8px;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(0.98);
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    nav.main-nav.active { 
        opacity: 1; 
        visibility: visible; 
        transform: translateY(10px) scale(1); 
        max-height: 80vh;
        overflow-y: auto;
    }

    nav.main-nav a { 
        color: var(--primary-color) !important; 
        padding: 13px 14px;
        display: flex;
        justify-content: space-between;
    }

    .nav-item > a::after {
        display: inline-flex;
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.85rem;
    }

    .nav-item.open > .dropdown { 
        display: block; 
        position: static; 
        width: 100%; 
        box-shadow: none; 
        background: transparent; 
        border-left: 3px solid var(--accent-color); 
        padding-left: 12px;
    }

    .hero h1 { font-size: 2.2rem; }
}

/* --- ABOUT US CONTENT STYLING --- */
.about-us-wrapper {
    background: var(--white);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: var(--shadow);
    margin-top: 20px;
    margin-bottom: 50px;
}

.principal-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.message-title {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    margin-bottom: 2px !important;
    letter-spacing: 0.5px;
}

.message-subtitle {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.quote-icon {
    font-size: 1.4rem;
    color: rgba(0, 33, 71, 0.1);
    margin-bottom: 10px;
}

.message-text {
    font-size: 0.82rem; /* Compact and clean */
    line-height: 1.5;
    color: #666;
    font-style: italic;
    margin-bottom: 0;
}

.btn-message-next {
    border: 2px solid var(--accent-color) !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 0.7rem !important;
    transition: var(--transition-smooth) !important;
}

.btn-message-next:hover {
    background-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
    transform: scale(1.05);
}

/* --- TOPPER SECTION REFINEMENT --- */
.topper-card {
    padding: 10px;
}

.topper-img-frame {
    width: 140px;
    height: 180px; /* Portrait ratio */
    margin: 0 auto 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #f8f9fa;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    background: #fff;
}

.topper-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed to cover for a cleaner 'portrait' card look */
    background-color: #fcfcfc;
}

.topper-name {
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.topper-stats {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}

.topper-carousel .owl-dots {
    margin-top: 20px !important;
}

/* Bottom Copyright Bar */
footer .footer-bottom,
footer .copyright-bar {
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 30px !important;
    margin-top: 50px !important;
    text-align: center !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.85rem !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
}

footer .footer-bottom p {
    margin-bottom: 0 !important;
}

.hit-counter {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* --- WORKSHEET & VIDEO PAGE STYLING --- */
.worksheet-tabs .nav-link {
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 25px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.worksheet-tabs .nav-link:hover {
    color: var(--accent-color);
}

.worksheet-tabs .nav-link.active {
    color: var(--primary-color) !important;
    background: transparent !important;
    border-bottom-color: var(--accent-color) !important;
}

.worksheet-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.worksheet-list li a {
    text-decoration: none !important;
    color: var(--secondary-color);
    font-weight: 500;
    flex-grow: 1;
}

.worksheet-list li {
    margin-bottom: 15px;
    padding: 18px 25px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.worksheet-list li:hover {
    transform: translateX(10px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-soft);
}

.worksheet-list li i {
    margin-right: 20px;
    color: #e74c3c; /* PDF Red */
    font-size: 1.2rem;
}

.video-list li i {
    color: #ff0000 !important; /* YouTube Red */
}

/* --- ENHANCED DISCLOSURE BANNER --- */
.disclosure-banner-link {
    text-decoration: none !important;
    display: block;
}

.disclosure-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
    color: var(--white);
    padding: 30px 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.disclosure-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.6s ease-in-out;
}

.disclosure-banner:hover::before {
    left: 100%;
}

.disclosure-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 33, 71, 0.2);
    background: linear-gradient(135deg, #002b5c 0%, var(--primary-color) 100%);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.banner-content i {
    font-size: 3rem;
    color: var(--accent-color);
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3));
}

.banner-content h3 {
    margin: 0;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    color: var(--white) !important;
}

.banner-content p {
    margin: 5px 0 0 0;
    opacity: 0.8;
    font-size: 0.95rem;
    font-weight: 300;
}

.banner-cta {
    background: var(--accent-color);
    color: var(--primary-color) !important;
    padding: 12px 28px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: ctaPulse 2s infinite;
    white-space: nowrap;
}

.disclosure-banner:hover .banner-cta {
    background: var(--white);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

@keyframes ctaPulse {
    0% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(241, 196, 15, 0); }
    100% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0); }
}

@media (max-width: 768px) {
    .disclosure-banner {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .banner-content {
        flex-direction: column;
        gap: 15px;
    }
    .banner-content h3 { font-size: 1.4rem; }
    .banner-cta { font-size: 0.75rem; padding: 10px 20px; }
}

/* --- INFO CARDS ENHANCEMENTS --- */
.card-icon-top {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.title-line {
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin-bottom: 15px;
    border-radius: 2px;
}

/* --- ENHANCED INFO FEATURE CARDS --- */
.info-feature-card {
    border-top: 5px solid var(--accent-color) !important;
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth) !important;
    text-align: center; /* Center alignment for a professional look on all screens */
    max-width: 380px; /* Constrains width on desktop to maintain mobile-like focus and readability */
    margin: 0 auto; /* Ensures cards stay centered within their grid columns */
    padding: 3rem 1.5rem !important; /* Premium vertical breathing room similar to high-end mobile layouts */
}

.info-feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.03) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-feature-card:hover::after {
    opacity: 1;
}

.info-feature-card:hover {
    transform: translateY(-12px) !important; /* Premium lift effect for large screens */
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
    border-color: var(--accent-color) !important;
}

.info-feature-card .card-icon-top i {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.info-feature-card:hover .card-icon-top i {
    transform: scale(1.15) rotate(-5deg);
    color: var(--primary-color);
}

.info-feature-card .title-line {
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto; /* Center the line on large screens */
    margin-right: auto;
}

.info-feature-card:hover .title-line {
    width: 90px;
}

.text-justify { text-align: justify; }

.cardround .btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    font-weight: 600 !important;
    transition: var(--transition-smooth) !important;
}

.cardround .btn-primary:hover {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
    transform: scale(1.05);
}