:root {
    --seu-dark: #121212;
    --seu-orange: #f39c12;
    --seu-border: rgba(255,255,255,0.2);
}


body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
}


/* ─────────────────────────────────────────
   1. VARIABLES & BASE
───────────────────────────────────────── */
:root {
    --seu-orange: #f39c12;
    --seu-orange-glow: rgba(243, 156, 18, 0.35);
    --seu-gold-bright: #ffb02e;
    --seu-dark: #121d2b;
}

/* ─────────────────────────────────────────
   2. NAVBAR CORE (VANISHING & GLASS)
───────────────────────────────────────── */
.navbar {
    /* Start fully transparent */
    background: rgba(18, 18, 18, 0) !important; 
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    
    /* Smooth transitions for all states */
    transition: 
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
        background 0.4s ease, 
        backdrop-filter 0.4s ease,
        height 0.4s ease,
        border-color 0.4s ease;
}

/* State: Vanished (Hidden when scrolling down) */
.navbar.nav-hidden {
    transform: translateY(-100%);
}

/* State: Scrolled (Appearance after scrolling down a bit) */
.navbar.scrolled {
    background: rgba(18, 18, 18, 0.8) !important; 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 80px; /* Slightly slimmer on scroll */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* ─────────────────────────────────────────
   3. BRAND / LOGO
───────────────────────────────────────── */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-brand img{
    height: 60px;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.brand-tagline {
    font-size: 9px;
    font-weight: 600;
    color: var(--seu-orange);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ─────────────────────────────────────────
   4. SOCIAL MEDIA ICONS
───────────────────────────────────────── */
.nav-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    width: 35px;
    height: 35px;
    background-color: var(--seu-gold-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-link i {
    color: #000000;
    font-size: 16px;
}

.social-link:hover {
    transform: translateY(-3px);
    background-color: #ffffff; /* Turns white on hover for contrast */
}

/* ─────────────────────────────────────────
   5. APPLY NOW CTA (If used)
───────────────────────────────────────── */
.nav-cta {
    padding: 9px 22px;
    background: var(--seu-orange);
    color: var(--seu-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 18px var(--seu-orange-glow);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--seu-gold-bright);
    transform: translateY(-1px);
    box-shadow: 0 4px 28px rgba(243, 156, 18, 0.45);
}



/********************
 Hero Logic 
 ********************/
/* --- Base Styles (No Changes) --- */
.hero-wrapper {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: white;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%), 
                url('images/herobg.jpg') no-repeat center center/cover !important;
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.hero-input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    padding: 12px 15px;
}

.hero-news-grid {
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0f171e;
    z-index: 10;
}

.news-card { transition: background 0.3s ease; cursor: pointer; }
.news-card:hover { background: rgba(243, 156, 18, 0.1); }
.extra-small { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.border-white-10 { border-color: rgba(255, 255, 255, 0.1) !important; }

/* --- CORRECTED MOBILE MEDIA QUERY --- */
@media (max-width: 991px) {
    .hero-wrapper {
        min-height: auto !important;
        display: block !important;
        padding: 100px 0 0 0 !important;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%), 
                    url('images/herobg.jpg') no-repeat center center/cover !important;
    }

    .hero-text-box {
        text-align: center;
        padding-right: 15px !important;
        margin-bottom: 40px;
    }

    .hero-text-box h1 { font-size: 2.2rem !important; }

    /* Button specific fixes */
    .hero-btn-group {
        max-width: 500px; /* Keeps them from getting too wide on tablets */
        margin: 0 auto;
    }

    .small-text-mobile {
        font-size: 11px !important; /* Prevents text wrap on small phones */
        padding: 12px 5px !important;
    }

    .hero-form-card { margin: 0 15px 50px 15px; padding: 25px; }

    /* Grid Fix */
    .hero-news-grid {
        position: relative !important;
        bottom: auto !important;
        z-index: 20;
    }

    .news-card {
        border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 576px) {
    .hero-text-box h1 { font-size: 1.8rem !important; }
}



/*************************
 highlighted-section 
 *************************/
/* --- Shared Container --- */
.program-ribbon {
    background: #0f171e;
    overflow: hidden;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* --- Top Area: News Card Styles --- */
.news-card {
    color: white;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #0f171e;
    z-index: 2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-card:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-3px); /* Subtle lift so it doesn't gap from the ribbon */
}

/* --- Bottom Area: Ribbon Item Styles --- */
.ribbon-item {
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    overflow: hidden;
    z-index: 1;
}

.ribbon-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ribbon-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
    transition: background 0.3s ease;
}

.ribbon-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    transition: transform 0.3s ease;
}

.ribbon-content i {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.ribbon-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

.ribbon-label span {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: #f39c12;
}

/* --- Hover Effects --- */
.ribbon-item:hover .ribbon-bg { transform: scale(1.1); }
.ribbon-item:hover::before { background: rgba(243, 156, 18, 0.85); }
.ribbon-item:hover .ribbon-content { transform: translateY(-5px); }
.ribbon-item:hover .ribbon-label span { color: white; }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .ribbon-item {
        height: 140px;
    }
    /* Grid adjustments for 2x2 on mobile */
    .col-6:nth-child(even) {
        border-right: none !important;
    }
}
/***********************
 --- About Section Styles --- 
 ************************/
/* Section & Spacing */
.about-section {
    background-color: #fff;
}

.leading-relaxed {
    line-height: 1.6;
}

/* Image Frame Logic (Tightened Offset) */
.about-img-container {
    position: relative;
    padding: 15px 0 0 15px; /* Reduced from 30px */
}

.about-border-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 85%;
    border: 1px solid #f39c12; /* Brand color line for a cleaner look */
    border-radius: 4px;
    z-index: 1;
}

.about-img-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 4px;
    overflow: hidden;
}

.about-img-wrapper img {
    transition: transform 0.4s ease;
    display: block;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

/* Floating Logo (Smaller) */
.img-floating-logo {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    padding: 6px;
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Typography & Buttons */
.about-content h2 {
    letter-spacing: -0.5px;
}

.btn-warning {
    background-color: #f39c12 !important;
    border: none !important;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #d35400 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

/* Tower Watermark (More Subtle) */
.about-watermark {
    position: absolute;
    right: -20px;
    bottom: -10px;
    width: 220px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

/* --- Mobile Responsive Queries --- */

@media (max-width: 991px) {
    /* Stack image and content, center the text */
    .about-content {
        text-align: center;
        margin-top: 40px;
        padding-left: 0 !important; /* Remove any desktop padding */
    }

    /* Center the image container on tablets/phones */
    .about-img-container {
        max-width: 550px;
        margin: 0 auto;
    }

    /* Adjust the offset frame to be more subtle on medium screens */
    .about-border-frame {
        width: 90%;
        height: 90%;
    }
}

@media (max-width: 767px) {
    /* Tighten typography for mobile phones */
    .about-content h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .about-content p {
        font-size: 0.95rem;
    }

    /* Adjust the floating logo size for smaller images */
    .img-floating-logo {
        top: 10px;
        right: 10px;
        padding: 4px;
    }

    .img-floating-logo img {
        width: 30px; /* Smaller logo for mobile */
    }

    /* Hide the watermark on mobile to prevent horizontal overflow issues */
    .about-watermark {
        display: none;
    }

    /* Slightly reduce the image offset for a cleaner mobile look */
    .about-img-container {
        padding: 10px 0 0 10px;
    }
}

/**********************
 highlighted-numbers 
 **********************/

.stats-ribbon {
    background-color: #1A252F; /* Dark background as per reference */
    color: #ffffff;
}

/* Circular Icon Container */
.stat-circle-icon {
    width: 80px;
    height: 80px;
    background-color: #2a2a2a; /* Slightly lighter circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.stat-circle-icon i {
    font-size: 1.8rem;
    color: #f39c12; /* Brand Orange accent */
}

/* Typography Hierarchy */
.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
}

/* Hover Effect */
.d-flex:hover .stat-circle-icon {
    transform: scale(1.1);
    background-color: #333;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .stat-circle-icon {
        width: 60px;
        height: 60px;
    }
    .stat-circle-icon i {
        font-size: 1.3rem;
    }
    .stat-value {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 0.75rem;
    }
}

/* --- Optimized Mobile Responsive Query --- */

@media (max-width: 767px) {
    /* Adjust overall section padding */
    .stats-ribbon {
        padding-top: 3rem !important;
        padding-bottom: 1rem !important;
    }

    /* Shrink the circle size for mobile devices */
    .stat-circle-icon {
        width: 50px;
        height: 50px;
        margin-right: 12px !important; /* Slightly tighter gap */
    }

    /* Scale down the icons */
    .stat-circle-icon i {
        font-size: 1.1rem;
    }

    /* Typography adjustments to prevent text wrapping */
    .stat-value {
        font-size: 1.3rem;
        letter-spacing: -0.5px;
    }

    .stat-label {
        font-size: 0.7rem;
        text-transform: uppercase; /* Improves readability at small sizes */
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    /* Ensure vertical alignment remains centered on narrow screens */
    .d-flex.align-items-center {
        justify-content: flex-start;
        padding-left: 5px;
    }
}

/* Extra Small Devices (iPhone SE / Small Androids) */
@media (max-width: 375px) {
    .stat-circle-icon {
        display: none; /* Hide icons on extremely small screens to prioritize the numbers */
    }
    
    .stat-content {
        text-align: center;
        width: 100%;
    }
}

/*******************************
 --- AboutTwo Section Styling --- 
 *******************************/
/* Section Base */
.about-why {
    background-color: #1a252f; /* Deep Navy */
    color: #ffffff;
    overflow: hidden;
}

/* Typography & Titles */
.section-title-wrap {
    border-left: 3px solid #f39c12; /* Brand Orange Accent */
    padding-left: 15px;
}

.sub-label {
    display: block;
    color: #f39c12;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.main-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.main-title span {
    color: #f39c12;
}

.desc-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

/* Button UI */
.btn-custom {
    display: inline-block;
    padding: 10px 25px;
    background: #f39c12;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-custom:hover {
    background: #fff;
    color: #1a252f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Image & Frame Logic */
.img-frame-container {
    position: relative;
    padding: 20px 0 20px 20px; /* Space for the offset frame */
}

.frame-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-radius: 8px;
    z-index: 1;
}

.img-main-wrap {
    position: relative;
    z-index: 2;
    border-radius: 8px;
    overflow: hidden;
}

.img-main-wrap img {
    transition: transform 0.8s ease;
    display: block;
}

.img-frame-container:hover img {
    transform: scale(1.08);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .main-title { font-size: 1.8rem; }
    .img-frame-container { padding: 15px 0 0 15px; }
}


/*********************
 cart-section 
 *********************/
/* --- UI Rules: No Radius, High Contrast, Layered Depth --- */

.news-modern-section {
    background-color: #ffffff;
}

.text-orange {
    color: #f39c12;
}

/* Base Container for the Item */
.news-item {
    padding: 20px;
    height: 100%;
}

/* Image Container - Sharp Edges */
.news-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%); /* Modern muted look */
}

/* The News Tag Overlay */
.news-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: #f39c12;
    color: #fff;
    padding: 5px 15px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* The Body Overlay - Creating the "Layered" Look */
.news-body-overlay {
    background: #fff;
    padding: 30px;
    margin-top: -50px; /* Pulls content over the image */
    margin-left: 20px;  /* Asymmetric offset */
    position: relative;
    z-index: 2;
    box-shadow: 15px 15px 0px #f8f9fa; /* Flat shadow instead of blur */
    border: 1px solid #eee;
}

.news-body-overlay h5 {
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    color: #1a252f;
}

/* Read More Typography */
.read-more-btn {
    font-size: 0.75rem;
    font-weight: 900;
    color: #1a252f;
    text-decoration: none;
    letter-spacing: 2px;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #f39c12;
    border-bottom-color: #1a252f;
}

/* Top Header Link */
.btn-link-sharp {
    font-size: 0.8rem;
    font-weight: 800;
    color: #1a252f;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 10px 0;
    border-bottom: 1px solid #1a252f;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .news-item {
        margin-bottom: 40px;
    }
    .news-body-overlay {
        margin-left: 0;
        margin-top: -30px;
    }
}

/* --- News Section Mobile Responsive Queries --- */

@media (max-width: 991px) {
    .news-item {
        padding: 10px; /* Tighter padding for tablet/mobile */
        margin-bottom: 60px; /* Space between stacked news items */
    }

    .news-image {
        height: 250px; /* Slightly shorter image for vertical flow */
    }

    .news-body-overlay {
        margin-left: 0; /* Remove asymmetric offset to prevent side-clipping */
        margin-right: 15px; /* Create a small gap on the right instead */
        margin-top: -40px; /* Keep the layered look but reduce the pull-up */
        padding: 20px; /* Compact padding */
        box-shadow: 10px 10px 0px #f3f4f6; /* Scaled down flat shadow */
    }
}

@media (max-width: 576px) {
    .news-image {
        height: 200px; /* Smaller height for mobile phones */
    }

    .news-body-overlay {
        margin-right: 10px;
        margin-top: -30px;
        padding: 15px;
    }

    .news-body-overlay h5 {
        font-size: 1.1rem; /* Better fit for mobile screens */
        line-height: 1.4;
    }

    .news-tag {
        font-size: 0.6rem;
        padding: 4px 10px;
    }

    /* Make the bottom link feel more like a button for thumb-taps */
    .read-more-btn {
        display: inline-block;
        letter-spacing: 1px;
    }
}

/* -------------------------------
 Announcement Section Styles --- 
 ******************************/
/* Container Base */
.announcement-modern {
    background-color: #fcfcfc;
}

/* 1. Floating Image Styling (No Radius) */
.spotlight-image {
    position: relative;
    height: 550px;
    overflow: hidden;
    border: 10px solid #fff; /* White frame effect */
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, #1a252f);
}

/* 2. Ticker Logic (Radius-Free) */
.ticker-wrapper {
    height: 450px; /* Shows exactly 3 items */
    overflow: hidden;
    background: #fff;
}

.ticker-content {
    display: flex;
    flex-direction: column;
    animation: verticalTicker 18s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    padding: 25px 40px 25px 60px; /* Extra left padding for offset look */
    border-bottom: 1px solid #f0f0f0;
    height: 150px;
    transition: background 0.3s ease;
}

.ticker-item:hover {
    background-color: #fbfbfb;
}

/* 3. Attractive Date Badge UI */
.date-badge {
    min-width: 75px;
    height: 85px;
    background: #f8f9fa;
    border-left: 4px solid #f39c12; /* Brand Accent Bar */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    box-shadow: 5px 5px 0px #eee; /* Sharp flat shadow */
}

.date-day {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1a252f;
    line-height: 1;
}

.date-month {
    font-size: 0.7rem;
    font-weight: 700;
    color: #f39c12;
    letter-spacing: 2px;
}

/* Text Content */
.ticker-item h6 {
    font-weight: 800;
    color: #1a252f;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.ticker-item p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

.arrow-link {
    margin-left: auto;
    color: #1a252f;
    font-size: 1.1rem;
    transition: 0.3s;
}

.ticker-item:hover .arrow-link {
    color: #f39c12;
    transform: translateX(8px);
}

/* Keyframe for 5 unique items (5 * 150px = 750px) */
@keyframes verticalTicker {
    0% { transform: translateY(0); }
    100% { transform: translateY(-750px); }
}

/* Mobile Fix */
@media (max-width: 991px) {
    .bg-white { margin-left: 0 !important; }
    .ticker-item { padding: 20px; }
}

/* --- Mobile Responsive Queries --- */

@media (max-width: 991px) {
    /* 1. Fix the overlap & Container */
    .col-lg-7.bg-white {
        margin-left: 0 !important; /* Remove the -30px desktop overlap */
        z-index: 1;
    }

    /* 2. Adjust Ticker Wrapper */
    .ticker-wrapper {
        height: auto; /* Let it grow or set a smaller fixed height */
        max-height: 450px; 
    }

    /* 3. Ticker Item Adjustments */
    .ticker-item {
        padding: 15px 20px; /* Remove the 60px left offset from desktop */
        height: 120px; /* Shorter height for mobile items */
    }

    /* 4. Date Badge Scaling */
    .date-badge {
        min-width: 60px;
        height: 70px;
        margin-right: 15px;
        box-shadow: 3px 3px 0px #eee; /* Smaller flat shadow */
    }

    .date-day {
        font-size: 1.4rem;
    }

    .date-month {
        font-size: 0.6rem;
    }

    /* 5. Update Animation for 120px height items 
       Calculation: 5 unique items * 120px = 600px */
    @keyframes verticalTicker {
        0% { transform: translateY(0); }
        100% { transform: translateY(-600px); }
    }
}

@media (max-width: 576px) {
    /* Compact Typography for Phones */
    .ticker-item h6 {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 2px;
    }

    .ticker-item p {
        font-size: 0.75rem;
        display: -webkit-box;
        -webkit-line-clamp: 1; /* Limit description to 1 line on tiny screens */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .announcement-header {
        padding: 15px !important;
        padding-left: 15px !important; /* Reset the ps-5 from HTML */
    }

    .announcement-header h4 {
        font-size: 1.1rem;
    }
}


/***************************
 --- All Departments Section --- 
 ***************************/
:root {
    --accent: #f39c12;
    --dark: #1a1a1a;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Tabs: Minimalist Pill Design */
.filter-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 25px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--dark);
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border-radius: 0; /* Modern Sharp Edge */
}

.filter-btn span, .filter-btn small {
    font-weight: 400;
    opacity: 0.6;
    margin-left: 5px;
}

.filter-btn.active {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Card: Magnetic Floating Effect */
.modern-card {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--dark);
    cursor: pointer;
}

.modern-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition);
}

.card-glass-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    color: #fff;
    transition: var(--transition);
    z-index: 2;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.card-glass-content h6 {
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.program-type {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-top: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

/* Hover States */
.modern-card:hover img {
    transform: scale(1.1);
    opacity: 0.4;
}

.modern-card:hover .card-glass-content {
    background: #fff;
    color: var(--dark);
    transform: translateY(-10px);
}

.modern-card:hover .program-type {
    opacity: 1;
    transform: translateY(0);
}

/* JS Animation Class */
.fade-out {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}



/****************************
 Testimonial Section Styling
 ****************************/
.text-orange { color: #f39c12; }
.ls-2 { letter-spacing: 2px; }

.testimonial-outline-frame {
    position: absolute;
    top: -20px;
    left: 40px;
    right: -20px;
    bottom: 20px;
    border: 2px solid #f2f2f2;
    z-index: 1;
}

.testimonial-card {
    position: relative;
    z-index: 2;
    border-radius: 0; /* Keep it sharp and modern */
    min-height: 450px;
}

/* Image scaling transition */
.testimonial-img-wrapper img {
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease;
    height: 400px !important;
}

.teacher-name-badge {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    background: #f39c12;
    color: white;
    padding: 15px 35px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    z-index: 10;
}

/* Nav Button Styling */
.nav-btn {
    width: 45px;
    height: 45px;
    border: 1px solid #eee;
    background: transparent;
    transition: 0.3s;
}

.nav-btn:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* Animations for JS */
.fade-up-content {
    animation: fadeUp 0.6s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .testimonial-outline-frame { display: none; }
    .teacher-name-badge {
        right: 0; top: auto; bottom: 0;
        transform: none; width: 100%; text-align: center;
    }
}


/* --- Testimonial Mobile Responsive Queries --- */

@media (max-width: 991px) {
    /* Reduce the overall height constraint for tablets */
    .testimonial-card {
        min-height: auto;
    }

    /* Adjust the background outline frame to be less intrusive */
    .testimonial-outline-frame {
        top: -10px;
        left: 20px;
        right: -10px;
        bottom: 10px;
    }

    .testimonial-img-wrapper img {
        height: 350px !important; /* Slightly shorter image */
    }
}

@media (max-width: 767px) {
    /* 1. Remove the background frame to prevent overflow issues on small screens */
    .testimonial-outline-frame {
        display: none;
    }

    /* 2. Fix the Image & Name Badge Layout */
    .testimonial-img-wrapper img {
        height: 300px !important;
    }

    .teacher-name-badge {
        position: relative; /* No longer floating on the side */
        top: 0;
        right: 0;
        transform: none;
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.75rem;
    }

    /* 3. Tighten Content Padding */
    .testimonial-card .p-4.p-lg-5 {
        padding: 30px 20px !important;
    }

    /* 4. Navigation & Counter Scaling */
    .testimonial-header {
        margin-bottom: 20px !important;
    }

    .nav-btn {
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }

    /* 5. Typography Scaling */
    .quote-mark i {
        font-size: 2rem !important; /* Smaller quote icon */
    }

    #t-text {
        font-size: 1.1rem !important; /* Scale down the 1.25rem (fs-5) text */
        line-height: 1.5;
    }

    #t-faculty {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    /* Final polish for very small devices */
    .testimonial-img-wrapper img {
        height: 250px !important;
    }
    
    .testimonial-nav {
        gap: 5px;
    }
}
/********************
 Contact section 
 *******************/
.text-orange { color: #f39c12; }
.ls-2 { letter-spacing: 2px; }
.ls-1 { letter-spacing: 1px; }

/* Compact Info Pills */
.info-pill {
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 6px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
}

/* Map Shrink */
.map-container {
    line-height: 0;
    overflow: hidden;
}

/* Form Styling - Minimal & Clean */
.contact-form-wrapper {
    background: #ffffff !important;
}

.form-control-minimal {
    width: 100%;
    border: none;
    border-bottom: 2px solid #f0f0f0;
    padding: 10px 5px;
    background: transparent;
    font-size: 0.95rem;
    transition: 0.3s;
    border-radius: 0;
}

.form-control-minimal:focus {
    outline: none;
    border-color: #f39c12;
}

/* Button Hover Animation */
.submit {
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}

.submit:hover {
    background: #f39c12;
    border-color: #f39c12;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-form-wrapper { margin-top: 20px; }
}

/* --- Contact Section Mobile Responsive Queries --- */

@media (max-width: 991px) {
    /* Ensure the form doesn't feel cramped when stacked */
    .contact-form-wrapper {
        margin-top: 30px;
        padding: 25px !important;
    }
    
    .map-container iframe {
        height: 250px; /* Taller map for tablet view */
    }
}

@media (max-width: 767px) {
    /* 1. Header Scaling */
    .section-title h2 {
        font-size: 1.5rem;
    }

    /* 2. Info Pills: Flex adjustment */
    .d-flex.flex-wrap.gap-3 {
        gap: 10px !important; /* Tighter gap for mobile */
    }

    .info-pill {
        width: 100%; /* Stack pills on small phones for better readability */
        padding: 10px 15px;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
    }

    /* 3. Map height for small screens */
    .map-container iframe {
        height: 200px;
    }

    /* 4. Form Input Adjustments */
    .form-control-minimal {
        padding: 12px 5px; /* More vertical room for finger-tapping */
        font-size: 1rem; /* Prevents iOS auto-zoom on focus */
    }

    /* 5. Button: Full width on mobile often looks better */
    .submit {
        width: 100%;
        padding: 12px !important;
    }
}

@media (max-width: 480px) {
    /* Prevent horizontal overflow on very narrow devices */
    .contact-compact {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .info-pill span {
        word-break: break-all; /* Ensures long emails don't break layout */
    }
}

/********************
 Footer Styling 
 *******************/
.footer-landing {
    background-color: #0f171e; /* Even deeper navy for a premium feel */
    border-top: 1px solid rgba(255,255,255,0.05);
}

.text-orange { color: #f39c12; }
.ls-1 { letter-spacing: 1px; }

/* Social Icons - Clean & Minimal */
.social-circle-minimal {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-circle-minimal:hover {
    background-color: #f39c12;
    border-color: #f39c12;
    color: #fff;
    transform: translateY(-3px);
}

/* Hover Effect for Legal Links */
.hover-orange:hover {
    color: #f39c12 !important;
}

.brightness-0-invert {
    filter: brightness(0) invert(1);
    height:80px;
    width: auto;
}

.extra-small {
    font-size: 0.7rem;
    font-weight: 600;
}

@media (max-width: 991px) {
    .footer-landing { text-align: center; }
}