body {
}
/* ===================================
   Hero Carousel
   =================================== */

.hero {
    min-height: 561px;
    height: 561px;
    position: relative;
    background: linear-gradient(135deg, #2c3e1f 0%, #4a5d3a 50%, #6b7f55 100%);
    z-index: 1;
    overflow: hidden;
}

.read-more-link {
    color: #6c757d;
    transition: color 0.25s ease;
}

.read-more-link:hover {
        color: #CCA83A;
}

.read-more-link i {
    transition: transform 0.2s ease;
}

.read-more-link:hover i {
    transform: translateX(4px);
}

/* Date Styling - IPN Yellow */
.news-date {
    color: var(--ipn-primary) !important;
    font-weight: 600;
}

.news-date i {
    color: var(--ipn-primary) !important;
}

.news-date time {
    color: var(--ipn-primary) !important;
}


.carousel {
    height: 100%;
}

.carousel-inner {
    height: 561px;
}

.carousel-item {
    min-height: 561px;
    height: 561px;
    position: relative;
    display: block;
}

.carousel-item .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e1f 0%, #4a5d3a 50%, #6b7f55 100%);
    z-index: -1;
    will-change: opacity;
}

/* Carousel background images */
.hero-background[data-bg="caro1"] {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('../images/home_images/theme 1 - Caro 1.webp') center/cover no-repeat;
    background-attachment: scroll;
}

.hero-background[data-bg="caro2"] {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('../images/home_images/theme 1 - Caro 2.webp') center/cover no-repeat;
    background-attachment: scroll;
}

.hero-background[data-bg="caro3"] {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('../images/home_images/theme 1 - Caro 3 alt.webp') center/cover no-repeat;
    background-attachment: scroll;
}

/* Smooth fade transition optimization */
.carousel-fade .carousel-item {
    transition-duration: 0.6s;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    transition: opacity 0.6s ease-in-out;
    transform: translate3d(0, 0, 0);
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev {
    opacity: 0;
    transform: translate3d(0, 0, 0);
}

/* Prevent layout shift during transitions */
.carousel-fade .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-fade .active {
    position: relative;
}

/* Hardware acceleration for smooth transitions */
#heroCarousel {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

    /* Decorative circles in hero */
    .hero-background::before,
    .hero-background::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        opacity: 0.15;
        will-change: opacity;
        pointer-events: none;
    }

    .hero-background::before {
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(204, 168, 58, 0.3) 0%, transparent 70%);
        top: -100px;
        right: -100px;
    }

    .hero-background::after {
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(134, 164, 82, 0.3) 0%, transparent 70%);
        bottom: -50px;
        left: -50px;
    }

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: rgba(0, 0, 0, 0.8);
    }

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

/* Carousel indicators */
.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: transparent !important;
    border: 2px solid white !important;
    opacity: 0.5 !important;
    padding: 0 !important;
    margin: 0 4px !important;
}

    .carousel-indicators button.active {
        width: 14px !important;
        height: 14px !important;
        background-color: white !important;
        border: none !important;
        opacity: 1 !important;
        border-radius: 50% !important;
    }

/* Mobile adjustments */
/* ===================================
   Quote Section
   =================================== */

.quote-section {
    background: linear-gradient(90deg, #333E1F 0%, #87A452 100%);
    padding: 60px 0;
}

.quote-icon {
    font-size: 120px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 0.8;
    flex-shrink: 0;
}

.quote-text {
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
}

    .quote-text cite {
        color: rgba(255, 255, 255, 0.8);
        font-style: normal;
        font-size: 16px;
    }

/* Confidence divider (same look as quote section: gradient, spacing, one statement) */
/*.confidence-divider {
    padding: 80px 0;
}

.confidence-divider__line {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    margin: 2.5rem 0;
}

.confidence-divider__statement {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    font-weight: 600;
    font-style: normal;
    line-height: 1.4;
    margin: 0;
}*/

/* ===================================
   CTA Banner (after Partners) - matches News section style
   =================================== */

.cta-banner {
    position: relative;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/Overlays%20misc/theme%201%20-%20overlay.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner__title {
    color: #293219;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.cta-banner__description {
    color: var(--ipn-text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   About Section
   =================================== */

.about-image {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-image iframe {
    border: 0;
}

/* ===================================
   Timeline Cards
   =================================== */

.timeline-card {
    background-color: var(--ipn-bg-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .timeline-card:hover {
        transform: translateY(-5px);
    }

.timeline-year {
    flex-shrink: 0;
    min-width: 80px;
}

/* ===================================
   News Section – overlay image (8% opacity)
   =================================== */

.news {
    position: relative;
}

.news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/Overlays%20misc/theme%201%20-%20overlay.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.news .container {
    position: relative;
    z-index: 1;
}

/* ===================================
   News Cards
   =================================== */

.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
    }

    .news-card .card-img-top {
        height: 250px;
        object-fit: cover;
    }

    .news-card .card-body {
        display: flex;
        flex-direction: column;
    }

    .news-card .card-title {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        white-space: normal;
    }

    .news-card a {
        margin-top: auto;
        transition: gap 0.3s ease;
    }

        .news-card a:hover {
            gap: 0.75rem !important;
        }

/* ===================================
   Logo Grid (Stakeholders/Partners)
   =================================== */

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 133px;
}

.grayscale-hover {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    max-height: 100px;
    width: auto;
}

.logo-item:hover .grayscale-hover {
    filter: grayscale(0%);
    opacity: 1;
}