/* ---------------------------------
           Custom Styles
       --------------------------------- */

:root {
    --primary-green: #015B2A; /* Approximate from design */
    --footer-dark: #123C2A; /* Slightly darker green for the main footer */
    --accent-yellow: #FDC02F; /* Approximate from design */
    --dark-red: #D90000; /* Approximate from design */
    --text-dark: #212529;
    --text-light: #FFFFFF;
    --step-orange: #FF9800; /* For step 3 */
    --step-gold: #FFC107; /* For step 4 */
    --light-bg: #f7f7f7; /* Light background for the Steps section */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
}

/* --- 1. Top Bar (Green) --- */
.header-top-bar {
    background-color: var(--primary-green);
    color: var(--text-light);
    padding: 1.5rem 0;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Placeholder for logo */
.logo-placeholder {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-green);
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.2;
}

/* For the logo in the footer */
.footer-logo-placeholder {
    width: 80px;
    height: 80px;
    background-color: #fff;
    margin-right: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-green);
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.2;
}

.logo-text .title {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    line-height: 1.3;
    margin: 0;
}

.logo-text .subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    display: block;
    line-height: 2.2;
    margin: 0;
}

.btn-get-started {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-flex; /* Ensures icon alignment */
    align-items: center;
}

    .btn-get-started:hover {
        background-color: #e6ac00;
        color: var(--text-dark);
    }

/* Contact Us button in the footer */
.btn-contact-us {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
    margin-top: 1.5rem;
}

    .btn-contact-us:hover {
        background-color: #e6ac00;
        color: var(--text-dark);
    }


/* --- 2. Main Navigation (White) --- */
.main-navbar {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

    .main-navbar .navbar-nav .nav-link {
        color: var(--text-dark);
        font-weight: 500;
        padding: 1rem 1rem;
        margin: 0 0.25rem;
    }

        .main-navbar .navbar-nav .nav-link.active {
            color: var(--primary-green);
            font-weight: 600;
            border-bottom: 3px solid var(--primary-green);
        }

        .main-navbar .navbar-nav .nav-link:hover {
            color: var(--primary-green);
        }

.phone-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

    .phone-contact i {
        color: var(--primary-green);
        font-size: 1.2rem;
    }

    .phone-contact .text-muted {
        font-weight: 400;
        font-size: 0.8rem;
        margin-left: 0.25rem;
    }

/* --- 3. News Ticker (Red) --- */
.news-ticker-bar {
    background-color: var(--dark-red);
    color: var(--text-light);
    padding: 0.75rem 0;
    overflow: hidden; /* For the animation */
}

.news-ticker-label {
    font-weight: 700;
    font-size: 1.1rem;
    padding-right: 1rem;
    border-right: 2px solid rgba(255,255,255,0.5);
    margin-right: 1rem;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    /* Animation */
    animation: ticker-scroll 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 1.5rem;
}

.ticker-divider {
    color: rgba(255,255,255,0.7);
    font-weight: bold;
}

/* Ticker Animation */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause animation on hover */
.ticker-content:hover {
    animation-play-state: paused;
}

/* --- 4. Hero Banner (Carousel) --- */
#heroBanner {
    height: 80vh; /* Viewport height, adjust as needed */
    min-height: 600px;
}

.hero-item {
    height: 80vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Background image placeholder */
.hero-item-1 {
    background-image: url('https://placehold.co/1920x1080/015B2A/FFF?text=Hero+Background+Image');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
}

/* Customizing caption */
.hero-caption {
    position: absolute;
    bottom: 20%;
    left: 0;
    padding-left: calc(100vw - 100% + var(--bs-gutter-x, 0.75rem) * 2); /* Aligns with container */
    color: var(--text-light);
    text-align: left;
    width: 60%;
}

    .hero-caption .badge {
        background-color: rgba(255,255,255,0.2);
        backdrop-filter: blur(5px);
        font-weight: 500;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        font-size: 0.9rem;
    }

    .hero-caption h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .hero-caption p {
        font-size: 1.1rem;
        font-weight: 400;
        max-width: 80%;
    }

/* Customizing indicators */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #fff;
    opacity: 0.5;
    margin: 0 5px;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
}

/* --- 5. Green Info Section (Re-usable for About) --- */
.green-info-section {
    background-color: var(--primary-green);
    color: var(--text-light);
    padding: 2.5rem 0;
}

    .green-info-section .section-logo-placeholder {
        margin-bottom: 1.5rem;
    }

    .green-info-section .section-title {
        font-weight: 400;
        font-size: 2.5rem;
        line-height: 1.3;
    }

        .green-info-section .section-title span {
            font-weight: 700;
            color: var(--accent-yellow) !important;
        }

    .green-info-section .section-text {
        font-size: 1.1rem;
        font-weight: 400;
        margin-bottom: 2.5rem;
        line-height: 1.7;
    }

    .green-info-section .img-fluid {
        border-radius: 0.5rem; /* Match design subtle radius */
    }

/* Specific adjustments for the footer's "About" section */
.about-footer-section .section-title {
    font-size: 2.2rem; /* Slightly smaller for this section */
}

    .about-footer-section .section-title span {
        font-size: 2.2rem; /* Match size */
    }


/* --- 6. Steps Section (White BG) --- */
.steps-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.steps-container {
    position: relative;
    margin-top: 3rem;
}

    /* The horizontal timeline connector */
    .steps-container::before {
        content: '';
        position: absolute;
        top: 25px; /* Half the height of the circle */
        left: 0;
        right: 0;
        height: 2px;
        background-color: #e0e0e0;
        z-index: 1;
        /* Adjust the start/end to avoid covering the outer circles */
        margin-left: calc((100% / 5) / 2);
        margin-right: calc((100% / 5) / 2);
    }

.step-item {
    position: relative;
    z-index: 2; /* Ensure steps are above the line */
    text-align: center;
    padding: 0 1rem;
}

.step-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px var(--primary-green); /* Outline to match design */
}

/* Individual step colors */
.step-item:nth-child(3) .step-icon-wrapper {
    background-color: var(--step-orange);
    box-shadow: 0 0 0 3px var(--step-orange);
}

.step-item:nth-child(4) .step-icon-wrapper {
    background-color: var(--step-gold);
    box-shadow: 0 0 0 3px var(--step-gold);
}

.step-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.step-item p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

/* --- 7. Packages Section (Light BG) --- */
.packages-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.packages-title {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Tab Navigation (Pills) */
.nav-pills .nav-link {
    color: #6c757d;
    background-color: #e9ecef;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

    .nav-pills .nav-link.active,
    .nav-pills .nav-link:hover {
        color: var(--text-light);
        background-color: var(--primary-green);
    }

/* The Card Grid - UPDATED STYLE for Image Match */
.package-card {
    display: block;
    position: relative;
    height: 180px; /* Fixed height for consistency */
    border-radius: 12px; /* Rounded corners for the whole card */
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
}

    .package-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

/* Background image container - Top 60% */
.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 65%; /* Leaves space for the green wave at bottom */
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 0;
}

.package-card:hover .card-bg {
    transform: scale(1.05); /* Subtle zoom on hover */
}

/* Hide the old overlay */
.card-overlay {
    display: none;
}

/* Green Content Box - Bottom Part */
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 38%; /* Adjust text area height */
    background-color: var(--primary-green);
    color: #fff;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem 0.5rem 1rem;
}

    /* The Curved Top Effect (Convex Wave) */
    .card-content::before {
        content: "";
        position: absolute;
        top: -0px; /* Reduced height for subtler curve */
        left: 0;
        width: 100%;
        height: 10px; /* Reduced height */
        background-color: var(--primary-green);
        border-radius: 50% 50% 0 0 / 100% 100% 0 0; /* Creates the arch shape */
        z-index: 1;
    }

    .card-content h5 {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-light);
        margin: 0;
        line-height: 1.4;
        z-index: 2; /* Ensure text is above the curve */
    }

/* --- Block Teaser Specific Styles --- */
.block-teaser-btn {
    background-color: #fff;
    color: var(--text-dark);
    border: 1px solid #ced4da;
    font-weight: 500;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 0.5rem 1rem;
    transition: all 0.2s;
    width: 100%;
    font-size: 0.95rem;
}

    .block-teaser-btn:hover {
        border-color: var(--primary-green);
        background-color: #f8f9fa;
    }

    .block-teaser-btn.dropdown-toggle::after {
        margin-left: 0.5rem;
    }

.data-purchase-link {
    background-color: var(--primary-green);
    color: var(--text-light);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: block;
    text-align: center;
}

    .data-purchase-link:hover {
        background-color: var(--footer-dark);
        color: var(--text-light);
    }


/* --- 8. Contact Section (White BG) --- */
.contact-section {
    padding: 1rem 0;
    background-color: #ffffff;
}

    .contact-section h2 {
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 1rem;
    }

.contact-info-block {
    padding-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

    .contact-item i {
        font-size: 1.25rem;
        color: var(--primary-green); /* Default icon color */
    }

    .contact-item .fa-phone-volume,
    .contact-item .fa-envelope {
        color: var(--accent-yellow); /* Match image colors */
    }

.contact-section img {
    border-radius: 0.5rem;
    object-fit: cover;
    height: 100%;
}

/* --- Event List Styles (for Events Tab) --- */
.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

    .event-header h4 {
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 0;
    }

.event-list-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

    .event-item:last-child {
        border-bottom: none;
    }

.event-date {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    margin-right: 1.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    background-color: var(--light-bg);
}

    .event-date .day {
        font-size: 0.8rem;
        font-weight: 500;
        color: #6c757d;
        display: block;
        line-height: 1.3;
    }

    .event-date .date {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--primary-green);
        display: block;
        line-height: 1.2;
    }

.event-details {
    flex-grow: 1;
}

.event-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .event-meta-item i {
        color: var(--primary-green);
    }


/* --- Bid Round Publication Styles --- */
.publication-list {
    padding-left: 0;
    list-style: none;
}

.publication-item {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .publication-item h5 {
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
    }

        .publication-item h5 i {
            color: var(--primary-green);
            font-size: 1rem;
            margin-right: 0.75rem;
            transform: rotate(90deg); /* To match the image's triangle */
        }

    .publication-item p {
        font-size: 0.95rem;
        color: #6c757d;
        margin-left: 1.75rem; /* Align with title text */
        margin-bottom: 0;
        line-height: 1.6;
    }

/* --- Video Tab Styles --- */
.video-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    overflow: hidden; /* Ensures border-radius applies to thumbnail */
    /* --- MODIFICATION: Make it a flex row --- */
    display: flex;
    flex-direction: row; /* Put thumbnail and info side-by-side */
    align-items: flex-start; /* Align to the top */
    /* --- END MODIFICATION --- */
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    /* --- MODIFICATION: Set width for side-by-side --- */
    flex-shrink: 0;
    width: 45%; /* Give thumbnail a fixed width percentage */
    /* --- END MODIFICATION --- */
}

    .video-thumbnail img {
        width: 100%;
        /* height: 200px; */ /* REMOVED fixed height */
        height: auto; /* Use aspect ratio */
        aspect-ratio: 16 / 9; /* Enforce 16:9 aspect ratio */
        object-fit: cover;
        display: block;
    }

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* --- MODIFICATION: Smaller icon --- */
    width: 40px;
    height: 40px;
    /* --- END MODIFICATION --- */
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    /* --- MODIFICATION: Smaller icon --- */
    font-size: 1rem;
    /* --- END MODIFICATION --- */
    transition: all 0.2s ease;
}

.video-card:hover .video-play-icon {
    background-color: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1rem 1.25rem;
    flex-grow: 1;
    width: 55%;
}

    .video-info h5 {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .video-info p {
        font-size: 0.9rem;
        color: #6c757d;
        margin-bottom: 0;
        line-height: 1.5;
    }

/* --- 9. Footer --- */
.main-footer {
    background-color: var(--footer-dark);
    color: rgba(255, 255, 255, 0.9);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-col-1 {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-mission {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1.5rem;
    max-width: 100%;
}

.footer-nav-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.footer-nav-links,
.footer-contact-info {
    list-style: none;
    padding: 0;
}

    .footer-nav-links li,
    .footer-contact-info li {
        margin-bottom: 0.5rem;
    }

    .footer-nav-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 0.95rem;
        transition: color 0.2s;
    }

        .footer-nav-links a:hover {
            color: var(--accent-yellow);
        }

    .footer-contact-info a {
        color: var(--text-light);
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        display: inline-block;
    }

    .footer-contact-info span {
        display: block;
        font-size: 0.8rem;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.6);
    }

.footer-copyright-bar {
    background-color: var(--primary-green);
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 0;
    font-size: 0.85rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .logo-wrapper {
        flex-grow: 1;
    }

    .btn-get-started {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .main-navbar .navbar-nav {
        width: 100%;
        text-align: center;
    }

    .phone-contact {
        justify-content: center;
        margin-top: 1rem;
    }

    .hero-caption {
        width: 90%;
        bottom: 15%;
    }

        .hero-caption h1 {
            font-size: 2.5rem;
        }

        .hero-caption p {
            font-size: 1rem;
            max-width: 100%;
        }

    .green-info-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
        text-align: center;
    }

        .green-info-section .section-logo-placeholder {
            margin-left: auto;
            margin-right: auto;
        }
        /* Reverse order on mobile for all two-column sections */
        .green-info-section .row {
            flex-direction: column-reverse;
        }

        .green-info-section .section-title {
            font-size: 2.2rem;
        }

    .steps-container::before {
        display: none; /* Hide horizontal line */
    }

    .step-item {
        margin-bottom: 2rem;
        padding: 0;
    }

    .packages-section {
        padding: 3rem 0;
    }

    .nav-pills {
        justify-content: center;
    }

    .contact-section {
        padding: 3rem 0;
    }

        .contact-section .col-lg-6:last-child {
            margin-top: 2rem; /* Spacing for the image on mobile */
        }

    /* Footer Responsive */
    .main-footer {
        padding-top: 3rem;
    }

    .footer-col-1 {
        border-right: none; /* Remove divider on mobile */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .footer-mission {
        max-width: 100%;
        text-align: center;
    }

    .footer-nav-title {
        margin-top: 1.5rem;
    }

    /* Block Teaser adjustments */
    .block-teaser-container {
        padding: 0 1rem;
    }

    .data-purchase-links .col-md-4 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .header-top-bar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-wrapper {
        justify-content: center;
        text-align: center;
    }

    .btn-get-started {
        width: 100%;
        text-align: center;
    }

    .hero-caption {
        text-align: center;
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        bottom: 10%;
    }

        .hero-caption p {
            max-width: 100%;
        }

    .nav-pills {
        justify-content: start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }

        .nav-pills::-webkit-scrollbar {
            display: none; 
        }

        .nav-pills .nav-link {
            flex-shrink: 0;
        }
}


/* --- Modal Container --- */
.portal-announcement-modal {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* --- Header Styling --- */
.portal-modal-header {
    background-color: #00563B; 
    color: #ffffff;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: center; 
    align-items: center;
    position: relative; 
}

    .portal-modal-header .modal-title {
        font-weight: 700;
        font-size: 1.5rem;
        text-align: center;
        width: 100%; 
        margin: 0;
    }

    /* Position the Header 'X' Button Absolutely */
    .portal-modal-header .btn-close {
        position: absolute;
        right: 1.5rem; 
        top: 50%;
        transform: translateY(-50%); 
        margin: 0;
        filter: invert(1) grayscale(100%) brightness(200%); 
        opacity: 0.8;
    }

        .portal-modal-header .btn-close:hover {
            opacity: 1;
        }

/* --- Body Styling --- */
.modal-body {
    padding: 2rem;
    background-color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.modal-announcement-message {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    white-space: pre-wrap;
    text-align: center; 
}

/* --- Footer Styling --- */
.portal-modal-footer {
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Custom Red Close Button */
.btn-danger-custom {
    background-color: #dc3545; /* Bright Red */
    border-color: #dc3545;
    color: white;
    padding: 0.5rem 2rem; /* Wide button */
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-danger-custom:hover {
        background-color: #bb2d3b; /* Darker Red on hover */
        box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4); /* Red Glow */
    }


/* --- 2. COUNTDOWN STYLING --- */
.countdown-timer {
    margin-top: 1.5rem;
    padding: 1rem 0;
    /* Removed borders for a cleaner, floating look */
    text-align: center;
}

.countdown-heading {
    color: var(--primary-green); /* Green heading */
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-grid {
    display: grid !important; /* Force grid layout to override any d-flex utility classes */
    grid-template-columns: repeat(2, 1fr) !important; /* Force 2 columns on mobile */
    gap: 15px; /* Increased gap for better spacing */
    width: 100%; /* Ensure full width usage */
}

@media (min-width: 768px) {
    .countdown-grid {
        grid-template-columns: repeat(4, 1fr) !important; /* Switch to 4 columns on tablets/desktops */
    }
}

.countdown-item {
    background-color: #ffffff; /* White card background */
    border: 1px solid #e9ecef; /* Very subtle border */
    border-radius: 10px; /* Softer rounded corners */
    padding: 1rem 0.5rem; /* Slightly reduced padding for mobile */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Soft modern shadow */
    transition: transform 0.3s ease;
    /* Ensure content centers nicely */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .countdown-item:hover {
        transform: translateY(-3px); 
    }

.countdown-value {
    color: var(--accent-yellow); 
    font-size: 2rem; 
    font-weight: 800; 
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.05); 
}

@media (min-width: 768px) {
    .countdown-value {
        font-size: 2.5rem; 
    }
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--primary-green) !important;
    text-transform: uppercase;
    font-weight: 700; 
    letter-spacing: 1px;
}

/* --- 3. BUTTON STYLING --- */
.portal-modal-footer {
    border-top: none;
    padding: 1rem 1.5rem;
}

.portal-btn-primary {
    /* Custom style for CTA button (Primary Color: Green) */
    background-color: #00563B;
    border-color: #00563B;
    font-weight: bold;
    transition: all 0.2s;
}

    .portal-btn-primary:hover {
        background-color: #00402e;
        border-color: #00402e;
    }

.portal-btn-secondary {
    /* Custom style for Close button */
    background-color: #6c757d;
    border-color: #6c757d;
}

/* --- FAQ Section Styles --- */
.faq-section {
    padding: 1rem 0 5rem 0;
    background-color: var(--light-bg, #f8f9fa);
}

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px !important; /* Force rounded corners */
    overflow: hidden;
    background-color: #fff;
}

/* Base button style */
.accordion-button {
    font-weight: 500;
    color: var(--text-dark, #212529);
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    background-color: #fff;
}

    /* REMOVE BLUE BORDER/GLOW ON CLICK */
    .accordion-button:focus {
        border-color: rgba(0,0,0,.125); /* Keep border neutral */
        box-shadow: none !important; /* Removes the blue halo */
        outline: none !important;
    }

    /* ACTIVE STATE (OPEN) - Override Bootstrap defaults */
    .accordion-button:not(.collapsed) {
        color: var(--primary-green, #015B2A) !important; /* Force Green Text */
        background-color: rgba(1, 91, 42, 0.05) !important; /* Force Light Green Background */
        box-shadow: none !important; /* Remove any inset shadows */
    }

        /* Custom Green Chevron Icon */
        .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23015B2A'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        }

/* Search Button */
.faq-search-btn {
    border-color: #28a745;
    color: #28a745;
    padding-left: 2rem;
    padding-right: 2rem;
}

    .faq-search-btn:hover {
        background-color: #28a745;
        color: #fff;
    }
