:root {
    --flora-dark: var(--text-dark);

    --flora-primary: var(--primary-color);
    --flora-secondary: var(--secondary-color);
    --flora-brand: var(--brand-color);
    --flora-accent: var(--accent-color);

    --flora-bg: var(--background-color);
    --flora-card-bg: var(--card-color);
    --flora-navbar-bg: var(--navbar-color);
    --flora-footer-bg: var(--footer-color);

    --flora-text-dark: var(--text-dark);
    --flora-text-light: var(--text-light);

    --flora-light-green: var(--accent-color);
}

/* =========================================================
   Google Translate
========================================================= */

/* Hide Google Translate top banner */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
    display: none !important;
}

body.translated-ltr,
body.translated-rtl {
    top: 0 !important;
    margin-top: 0 !important;
}


/* Translate dropdown */
#google_translate_element {
    min-width: 180px;
}

#google_translate_element select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dce8de;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
}

.goog-te-gadget {
    font-family: inherit !important;
    font-size: 0 !important;
}

.goog-te-gadget select {
    font-size: 14px !important;
}
.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

.skiptranslate {
    top: 0 !important;
}

/* directory page search CSS*/
.directory-search {
    display: flex;
    align-items: center;
    width: 100%;
    height: 58px;

    background: #fff;
    border: 1px solid #d9dedb;
    border-radius: 30px;

    overflow: hidden;

    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.directory-search .search-icon {
    font-size: 22px;
    color: #666;
    margin-left: 25px;
    margin-right: 20px;
    flex-shrink: 0;
}

.directory-search input {
    flex: 1;
    height: 100%;

    border: none;
    outline: none;

    font-size: 16px;
    color: #333;

    padding: 0 10px 0 0;

    min-width: 0;
}

.directory-search input::placeholder {
    font-size: 16px;
    color: #666;
}

.directory-search .search-btn {
    height: calc(100% - 6px);
    margin: 3px 3px 3px 0;

    border: none;
    border-radius: 30px;

    background: #41976f;
    color: white;

    font-size: 18px;
    font-weight: 600;

    padding: 0 32px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}
.directory-search .search-btn:hover {
    background: #368661;
}



html,
body{
    height:100%;
}

body{
    font-family:"Playfair Display", Georgia, "Times New Roman", serif;
    background-color:var(--flora-bg);
    color:var(--flora-text-dark);

    min-height:100vh;
    padding-top: 60px;

    display:flex;
    flex-direction:column;
}
main{
    flex:1;
    padding-bottom:30px;
}

section[id] {
    scroll-margin-top: 50px;
}

/* Navbar Styling */
.navbar-flora {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: var(--flora-navbar-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--flora-text-dark) !important;
    letter-spacing: -0.5px;
    margin-right: 0.75rem;
}

.navbar-brand img {
    flex-shrink: 0;
}

.navbar-rbs-logo {
    display: inline-flex;
    align-items: center;
    margin-left: 0.75rem;
    margin-right: 0.25rem;
}

.navbar-rbs-logo img {
    width: 75px;
     height: auto;
}

.navbar-brand i {
    color: var(--flora-light-green);
}

.nav-link {
    color: var(--flora-text-dark) !important;
    font-weight: 500;
    margin: 0 4px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--flora-text-dark) !important;
    background-color: var(--flora-navbar-bg);
}

.btn-flora {
    background-color: var(--flora-brand);
    color: var(--flora-text-light);
    font-weight: 600;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.btn-flora:hover {
    background-color: var(--flora-primary);
    color: var(--flora-text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
}

.btn-flora-outline {
    border: 2px solid var(--flora-brand);
    color: var(--flora-brand);
    font-weight: 600;
    background: transparent;
    border-radius: 10px;
    padding: 8px 20px;
    transition: all 0.25s ease;
}

.btn-flora-outline:hover {
    background-color: var(--flora-brand);
    color: var(--flora-text-light);
}

@media (max-width: 991.98px) {
    .navbar-flora .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .navbar-brand {
        font-size: 1 rem;
        margin-right: 0.25rem;
    }

    .navbar-brand img {
        width: 53px;
        height: auto;
    }

    .navbar-rbs-logo {
        display: inline-flex;
        align-items: center;
        margin-left: 0.25rem;
        margin-right: 0.25rem;
    }

    .navbar-rbs-logo img {
        width: 54px;
        height: auto;
     }

    .navbar-toggler {
        margin-left: 0;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        }
}

/* selected effect for current page */

/* ================================
   NAVBAR ACTIVE LINK
================================ */

.navbar-flora .nav-link {
    position: relative;
    margin: 0 5px;
    padding: 9px 18px !important;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}


/* Hover */

.navbar-flora .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-1px);
}


/* Active / Selected */

.navbar-flora .nav-link.active {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        rgba(116, 198, 157, 0.30),
        rgba(64, 145, 108, 0.22)
    );
    box-shadow:
        inset 0 0 0 0px rgba(116, 198, 157, 0.25),
        0 5px 15px rgba(0, 0, 0, 0);
}


/* ===========================
      Plant Image Card
=========================== */

.plant-card{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    height:420px;
    cursor:pointer;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.plant-image{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s;
}

.plant-card:hover .plant-image{
    transform:scale(1.08);
}

/* Bottom Local Name */

.plant-bottom{
    position:absolute;
    left:0;
    right:0;
    bottom:0;

    padding:22px;

    background:linear-gradient(to top,
    rgba(0,0,0,.85),
    rgba(0,0,0,.15),
    transparent);

    transition:.4s;
}

.plant-bottom h4{
    color:#fff;
    margin:0;
    font-size:1.55rem;
    font-weight:700;
}

/* Hover Overlay */

.plant-overlay{

    position:absolute;
    inset:0;

    background:rgba(20,80,45,.65);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    visibility:hidden;

    transition:.45s;
}

.plant-card:hover .plant-overlay{
    opacity:1;
    visibility:visible;
}

.plant-card:hover .plant-bottom{
    opacity:0;
}

.plant-details{

    width:85%;
    text-align:center;
    color:#fff;
}

.plant-details h3{
    font-size:1.7rem;
    margin-bottom:20px;
    font-weight:700;
}

.plant-details p{
    margin-bottom:15px;
    line-height:1.5;
    font-size:.96rem;
}

.plant-details strong{
    color:#d9f8d9;
}

.plant-details em{
    font-style:italic;
}

/* Button */

.details-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    margin-top:12px;

    padding:12px 30px;

    color:#fff;
    text-decoration:none;

    border:2px solid #fff;

    border-radius:50px;

    transition:.35s;
}

.details-btn:hover{

    background:#fff;
    color:#14502d;
}

/* Mobile */

@media(max-width:768px){

    .plant-card{
        height:320px;
    }

    .plant-details h3{
        font-size:1.3rem;
    }

    .plant-bottom h4{
        font-size:1.25rem;
    }

}

/* Hero Section */
 /* =========================================
   HERO SECTION
   ========================================= */

.hero-section {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;

    /* White space around the hero */
    padding: 24px 0;

    overflow: hidden;
    color: var(--flora-text-light);
    background: #ffffff;
}


/* =========================================
   CENTERED HERO SLIDER
   ========================================= */

#heroCarousel {
    position: absolute;

    /* Small gap from navbar */
    top: 24px;

    /* Same width style as the sections below */
    left: 5%;
    width: 90%;

    height: calc(100% - 48px);

    z-index: 0;

    /* Smooth rounded edges */
    border-radius: 28px;

    overflow: hidden;
}


/* Carousel inner */

#heroCarousel .carousel-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
}


/* Carousel items */

#heroCarousel .carousel-item {
    width: 100%;
    height: 100%;
}


/* Background images */

#heroCarousel .carousel-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================
   HERO OVERLAY
   ========================================= */

.hero-overlay {
    position: absolute;

    top: 24px;
    left: 5%;

    width: 90%;
    height: calc(100% - 48px);

    background: rgba(0, 0, 0, 0.55);

    z-index: 1;

    /* Match slider corners */
    border-radius: 28px;

    pointer-events: none;
}


/* =========================================
   HERO CONTENT
   ========================================= */

.hero-section .container {
    position: relative;
    z-index: 2;

    width: 100%;
}


/* Center entire hero content */

.hero-content-wrapper {
    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}


/* Institution names */

.hero-institution {
    width: 100%;
}


/* Hero title */

.hero-title {
    width: 100%;
    text-align: center;
}


/* Hero description */

.hero-description {
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Search row */

.hero-search {
    width: 100%;
    justify-content: center;
}

.hero-search .col-lg-8 {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================
   SEARCH BOX
   ========================================= */

.search-box-group {
    background: var(--flora-card-bg);
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-box-group input {
    border: none;
    box-shadow: none !important;
    padding-left: 24px;
    font-size: 1.1rem;
}

.search-box-group .btn {
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
}

footer{
    background-color:var(--flora-footer-bg);
    color:rgba(255,255,255,.7);
    padding:20px 0;   /* was 25px 0 */
    flex-shrink:0;
}

#preloader {
    position: fixed;
    inset: 0;
    background: var(--flora-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity .5s ease, visibility .5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

.loader-logo {
    height: 60px;
    width: auto;
}

.rbs-logo {
    height: 45px;
}

/* Why RCSS Flora */

.feature-card{
    background: var(--flora-card-bg);
    padding: 24px;
    border-radius: 18px;
    border-left: 5px solid var(--flora-brand);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    transition: .35s ease;
    height: 100%;
}

.feature-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,.10);
}

.feature-card i{
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;

    border-radius: 50%;
    background: rgba(25,135,84,.08);
    color: var(--flora-brand);
    font-size: 22px;
}

.feature-card h6{
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--flora-text-dark);
}

.feature-card p{
    color: #666;
    margin: 0;
    font-size: .92rem;
}


/* Gallery */

.masonry-gallery{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.gallery-item{
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 15px 30px rgba(0,0,0,.12);
}

.gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.gallery-item:hover img{
    transform: scale(1.06);
}

.large{
    grid-row: span 2;
    height: 420px;
}

.medium{
    height: 200px;
}



/* Navbar */

.navbar-toggler-icon{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0,0,0,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* =================================================================
   Plant Details Page
================================================================= */

.flora-tabs {
    border-bottom: 2px solid #dce8de;
    margin-bottom: 18px !important;
}


.flora-tabs .nav-link {
    border: none;
    border-radius: 0;
    background: transparent;
    color: #555;
    font-weight: 600;
    padding: 8px 20px;
    position: relative;
    font-size: 1rem;
}

.flora-tabs .nav-link:hover {
    color: #198754;
}

.flora-tabs .nav-link.active {
    color: #198754 !important;
    background: transparent !important;
    box-shadow: none;
}

.flora-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 4px;
    background: #198754;
    border-radius: 5px 5px 0 0;
}

.tab-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.tab-pane {
    padding-top: 0 !important;
}


/* ================================================================
   Information Cards
================================================================ */

.info-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px 20px;
    border: 1px solid #e9efe9;
    transition: .25s;
    box-shadow: 0 6px 18px rgba(0,0,0,.04);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(25,135,84,.10);
}

.info-title {
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #198754;
    margin-bottom: 7px;
    font-weight: 700;
}

.info-card h5 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}


/* ================================================================
   Compact Location Box
================================================================ */

.location-box {
    width: 100%;
    max-width: 100%;

    background: #fff;
    padding: 14px 18px;
    border-radius: 15px;

    border-left: 4px solid #198754;
    border-top: 1px solid #eef2ef;
    border-right: 1px solid #eef2ef;
    border-bottom: 1px solid #eef2ef;

    box-shadow: 0 6px 18px rgba(0,0,0,.045);

    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 0;
}

.location-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;

    border-radius: 50%;
    background: #198754;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 17px;
}

.location-content {
    min-width: 0;
    flex: 1;
}

.location-content h6 {
    margin: 0 0 3px;
    color: #198754;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.location-content p {
    margin: 0;
    color: #444;
    font-size: .95rem;
    line-height: 1.4;
}


/* ================================================================
   Description / Uses
================================================================ */

.content-card {
    background: #fff;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,.05);
    border: 1px solid #eef2ef;
    line-height: 1.9;
    color: #5a5a5a;
}

.plant-description,
.plant-uses {
    text-align: justify;
}


/* ================================================================
   Plant Image
================================================================ */

.plant-image-lg {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
    transition: .4s;
    position: relative;
    height: 530px;
}

.plant-image-lg:hover {
    transform: scale(1.02);
}

.plant-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease-in-out;
    cursor: pointer;
}

.plant-slide.active {
    opacity: 1;
    position: relative;
}

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: .3s;
}

.slider-dots .dot.active {
    background: #fff;
    width: 20px;
    border-radius: 4px;
}

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    z-index: 99999; /* bumped up — must beat navbar's z-index */
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 85%;
    max-height: 85vh;
    border-radius: 12px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #fff;
    background: rgba(255,255,255,.15);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ==============================
   Statistics Section
============================== */

/*.stats-section{
    /*background: linear-gradient(to bottom,#ffffff,#f8fbf9);
}*/

.stats-card{
    background: #fff;
    border-radius: 22px;
    padding: 30px 25px;
    height: 100%;
    text-align: center;
    border: 1px solid #e8f1ea;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    transition: all .35s ease;
}

.stats-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(46,125,50,.15);
}

.stats-icon{
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#2E7D32,#4CAF50);
    color: #fff;
    font-size: 30px;
}

.stats-number{
    font-size: 2rem;
    font-weight: 700;
    color: var(--flora-primary);
    margin-bottom: 8px;
}

.stats-title{
    font-size: 1.2rem;
    font-weight: 700;
    color: #1d2c1f;
    margin-bottom: 12px;
}

.stats-text{
    color: #6c7f72;
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.stats-card:hover .stats-icon{
    transform: rotate(10deg) scale(1.08);
    transition: .35s ease;
}

/* color */

h1.display-3.fw-bold.mb-3 {
    color: var(--flora-text-dark);
}

/* =========================================
   RFlora Scroll Animations
   ========================================= */


/* -----------------------------------------
   1. Default Scroll Reveal
   ----------------------------------------- */

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

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

/* -----------------------------------------
   2. Reveal From Left
   ----------------------------------------- */

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.scroll-reveal-left.show {
    opacity: 1;
    transform: translateX(0);
}

/* -----------------------------------------
   3. Reveal From Right
   ----------------------------------------- */

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.scroll-reveal-right.show {
    opacity: 1;
    transform: translateX(0);
}


/* -----------------------------------------
   4. Statistics Cards - Stagger Effect
   ----------------------------------------- */

/* First card */
.scroll-reveal:nth-child(1) {
    transition-delay: 0.1s;
}

/* Second card */
.scroll-reveal:nth-child(2) {
    transition-delay: 0.2s;
}

/* Third card */
.scroll-reveal:nth-child(3) {
    transition-delay: 0.3s;
}

/* Fourth card */
.scroll-reveal:nth-child(4) {
    transition-delay: 0.4s;
}


/* -----------------------------------------
   5. Optional: Slightly Longer Animation
      For Large Sections
   ----------------------------------------- */

.scroll-reveal-slow {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 1.1s ease,
        transform 1.1s ease;
}

.scroll-reveal-slow.show {
    opacity: 1;
    transform: translateY(0);
}


/* -----------------------------------------
   6. Optional: Fade Only
   ----------------------------------------- */

.scroll-fade {
    opacity: 0;
    transition: opacity 1s ease;
}

.scroll-fade.show {
    opacity: 1;
}


/* -----------------------------------------
   7. Optional: Scale Reveal
   ----------------------------------------- */

.scroll-scale {
    opacity: 0;
    transform: scale(0.92);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.scroll-scale.show {
    opacity: 1;
    transform: scale(1);
}


/* -----------------------------------------
   8. Respect Reduced Motion Preference
   ----------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .scroll-reveal,
    .scroll-reveal-left,
    .scroll-reveal-right,
    .scroll-reveal-slow,
    .scroll-fade,
    .scroll-scale {

        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* -----------------------------------------
   9. Mobile Optimization
   ----------------------------------------- */

@media (max-width: 768px) {

    .scroll-reveal {
        transform: translateY(30px);
    }

    .scroll-reveal-left {
        transform: translateX(-30px);
    }

    .scroll-reveal-right {
        transform: translateX(30px);
    }

}


/* =========================================
   Flora Overview Heading
   ========================================= */

.flora-overview-heading {
    max-width: 720px;
    margin: 0 auto 3rem;
}


/* Small label above heading */

.flora-overview-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--flora-brand);
    margin-bottom: 0.75rem;
}

.flora-overview-label i {
    font-size: 0.85rem;
}


/* Main heading */

.flora-overview-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--flora-dark);
}

.flora-overview-title span {
    color: var(--flora-brand);
}


/* Supporting text */

.flora-overview-text {
    max-width: 560px;
    margin: 1rem auto 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
}


/* =========================================
   Mobile
   ========================================= */

@media (max-width: 768px) {

    .flora-overview-heading {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .flora-overview-title {
        font-size: 2rem;
    }

    .flora-overview-text {
        font-size: 0.95rem;
    }

}

/* =========================================
   Feature Cards Animation
   ========================================= */

.feature-reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}


/* Reveal feature cards when left section appears */

.scroll-reveal-left.show .feature-reveal {
    opacity: 1;
    transform: translateY(0);
}


/* Stagger */

.scroll-reveal-left.show .col-sm-6:nth-child(1) .feature-reveal {
    transition-delay: 0.15s;
}

.scroll-reveal-left.show .col-sm-6:nth-child(2) .feature-reveal {
    transition-delay: 0.25s;
}

.scroll-reveal-left.show .col-sm-6:nth-child(3) .feature-reveal {
    transition-delay: 0.35s;
}

.scroll-reveal-left.show .col-sm-6:nth-child(4) .feature-reveal {
    transition-delay: 0.45s;
}


/* Mobile */

@media (max-width: 768px) {

    .scroll-reveal-left,
    .scroll-reveal-right {
        transform: translateY(35px);
    }

}

/* =========================================
   Plant Collection Section
   ========================================= */

.plant-collection-heading {
    max-width: 720px;
    margin: 0 auto 2.5rem;
}


/* Small label */

.plant-collection-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--flora-brand);
    margin-bottom: 0.75rem;
}

.plant-collection-label i {
    font-size: 0.85rem;
}


/* Main heading */

.plant-collection-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--flora-dark);
}

.plant-collection-title span {
    color: var(--flora-brand);
}


/* Description */

.plant-collection-text {
    max-width: 580px;
    margin: 1rem auto 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
}


/* =========================================
   Plant Grid Animation
   ========================================= */

.plant-grid-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.plant-grid-reveal.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   Individual Plant Card Animation
   ========================================= */

.plant-grid-reveal > * {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}


/* Reveal cards after grid appears */

.plant-grid-reveal.show > * {
    opacity: 1;
    transform: translateY(0);
}


/* Stagger cards */

.plant-grid-reveal.show > *:nth-child(1) {
    transition-delay: 0.10s;
}

.plant-grid-reveal.show > *:nth-child(2) {
    transition-delay: 0.20s;
}

.plant-grid-reveal.show > *:nth-child(3) {
    transition-delay: 0.30s;
}

.plant-grid-reveal.show > *:nth-child(4) {
    transition-delay: 0.40s;
}

.plant-grid-reveal.show > *:nth-child(5) {
    transition-delay: 0.50s;
}

.plant-grid-reveal.show > *:nth-child(6) {
    transition-delay: 0.60s;
}

.plant-grid-reveal.show > *:nth-child(7) {
    transition-delay: 0.70s;
}

.plant-grid-reveal.show > *:nth-child(8) {
    transition-delay: 0.80s;
}


/* =========================================
   Mobile
   ========================================= */

@media (max-width: 768px) {

    .plant-collection-heading {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .plant-collection-title {
        font-size: 2rem;
    }

    .plant-collection-text {
        font-size: 0.95rem;
    }

}

.hero-title{
    font-family: 'Berkshire Swash', cursive;
    letter-spacing: 2px;
}

/* =========================================
   HERO ENTRANCE ANIMATIONS
   ========================================= */

/* Initial state for content */
.hero-animate {
    opacity: 0;
    transform: translateY(25px);
}


/* Institution names + badge */
.hero-institution {
    animation: heroContentIn 0.8s ease-out 0.8s forwards;
}


/* Main title */
.hero-heading {
    animation: heroContentIn 0.9s ease-out 1s forwards;
}


/* Description */
.hero-description {
    animation: heroContentIn 0.8s ease-out 1.2s forwards;
}


/* Search */
.hero-search {
    animation: heroContentIn 0.8s ease-out 1.4s forwards;
}


@keyframes heroContentIn {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =====================================================
   FLORA STATS CARD DECK
===================================================== */

.stats-section {
    position: relative;
    overflow: hidden;

    /*background:
        linear-gradient(
            180deg,
            #f7fbf8 0%,
            #eef7f1 100%
        );*/
}


/* =====================================================
   CARD DECK CONTAINER
===================================================== */

.stats-deck {
    position: relative;

    width: 100%;
    max-width: 1100px;

    height: 380px;

    margin: 45px auto 20px;

    display: flex;
    justify-content: center;
    align-items: center;

    perspective: 1200px;
}


/* =====================================================
   INDIVIDUAL CARD
===================================================== */

.stats-deck .deck-card {
    position: absolute;

    width: 360px;
    min-height: 310px;

    padding: 38px 30px 32px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    /*background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f0f8f3 100%
        );*/

    border: 1px solid rgba(45, 106, 79, 0.12);

    border-radius: 38px;

    box-shadow:
        0 18px 45px rgba(27, 67, 50, 0.12);

    opacity: 0;

    pointer-events: none;

    transform:
        translateX(0)
        scale(0.7);

    transition:
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.5s ease,
        filter 0.5s ease,
        box-shadow 0.5s ease;

    will-change: transform, opacity;
}


/* =====================================================
   CENTER CARD
===================================================== */

.stats-deck .deck-card.position-center {

    opacity: 1;

    z-index: 5;

    pointer-events: auto;

    transform:
        translateX(0)
        scale(1);

    box-shadow:
        0 25px 55px rgba(27, 67, 50, 0.18);
}


/* =====================================================
   LEFT CARD
===================================================== */

.stats-deck .deck-card.position-left {

    opacity: 0.45;

    z-index: 2;

    pointer-events: auto;

    filter: blur(0.4px);

    transform:
        translateX(-390px)
        scale(0.78);

    box-shadow:
        0 12px 30px rgba(27, 67, 50, 0.08);
}


/* =====================================================
   RIGHT CARD
===================================================== */

.stats-deck .deck-card.position-right {

    opacity: 0.45;

    z-index: 2;

    pointer-events: auto;

    filter: blur(0.4px);

    transform:
        translateX(390px)
        scale(0.78);

    box-shadow:
        0 12px 30px rgba(27, 67, 50, 0.08);
}


/* =====================================================
   HIDDEN CARDS
===================================================== */

.stats-deck .deck-card.position-hidden-left {

    opacity: 0;

    z-index: 1;

    transform:
        translateX(-650px)
        scale(0.6);
}


.stats-deck .deck-card.position-hidden-right {

    opacity: 0;

    z-index: 1;

    transform:
        translateX(650px)
        scale(0.6);
}

/* =====================================================
   ICON
===================================================== */

.stats-icon {

    position: relative;
    z-index: 2;

    width: 75px;
    height: 75px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #2d6a4f,
            #74c69d
        );

    color: #ffffff;

    font-size: 29px;

    box-shadow:
        0 10px 25px rgba(45, 106, 79, 0.23);

    transition:
        transform 0.4s ease;
}


/* Center card icon hover */

.stats-card.position-center:hover .stats-icon {

    transform:
        scale(1.08)
        rotate(-5deg);
}


/* =====================================================
   NUMBER
===================================================== */

.stats-number {

    position: relative;
    z-index: 2;

    margin: 0 0 5px;

    font-size: 44px;
    font-weight: 800;

    line-height: 1.1;

    background:
        linear-gradient(
            135deg,
            #1b4332,
            #40916c
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}


/* =====================================================
   TITLE
===================================================== */

.stats-title {

    position: relative;
    z-index: 2;

    margin: 0 0 12px;

    color: #1b4332;

    font-size: 18px;
    font-weight: 700;
}


/* =====================================================
   DESCRIPTION
===================================================== */

.stats-text {

    position: relative;
    z-index: 2;

    max-width: 285px;

    margin: 0;

    color: #68766d;

    font-size: 14px;

    line-height: 1.7;
}


/* =====================================================
   NAVIGATION
===================================================== */

.stats-navigation {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    margin-top: 10px;
}


/* =====================================================
   NAVIGATION BUTTONS
===================================================== */

.stats-nav-btn {

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(45, 106, 79, 0.15);

    border-radius: 50%;

    background: #ffffff;

    color: #2d6a4f;

    cursor: pointer;

    box-shadow:
        0 6px 18px rgba(27, 67, 50, 0.08);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.stats-nav-btn:hover {

    background:
        linear-gradient(
            135deg,
            #2d6a4f,
            #52b788
        );

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 9px 22px rgba(45, 106, 79, 0.20);
}


/* =====================================================
   DOTS
===================================================== */

.stats-dots {

    display: flex;

    align-items: center;

    gap: 7px;
}


.stats-dot {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #b7cfc0;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}


.stats-dot.active {

    width: 24px;

    border-radius: 10px;

    background: #2d6a4f;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 991px) {

    .stats-deck {

        height: 370px;

    }

    .stats-deck .deck-card {

        width: 330px;

    }

    .stats-deck .deck-card.position-left {

        transform:
            translateX(-270px)
            scale(0.72);

        opacity: 0.25;
    }

    .stats-deck .deck-card.position-right {

        transform:
            translateX(270px)
            scale(0.72);

        opacity: 0.25;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 575px) {

    .stats-deck {

        height: 350px;

        margin-top: 30px;

    }

    .stats-deck .deck-card {

        width: calc(100% - 30px);

        max-width: 340px;

        min-height: 300px;

        padding:
            32px 22px;
    }


    /* Hide side cards on small screens */

    .stats-deck .deck-card.position-left {

        opacity: 0;

        transform:
            translateX(-150px)
            scale(0.8);
    }


    .stats-deck .deck-card.position-right {

        opacity: 0;

        transform:
            translateX(150px)
            scale(0.8);
    }


    .stats-deck .deck-card.position-center {

        transform:
            translateX(0)
            scale(1);
    }


    .stats-number {

        font-size: 40px;

    }


    .stats-navigation {

        margin-top: 5px;

    }

}


/* sdg */

/* =====================================================
   OUR IMPACT
===================================================== */

.sdg-section {
    position: relative;

    padding: 45px 0 50px;

    overflow: hidden;

    /*background:
        radial-gradient(
            circle at 10% 20%,
            rgba(86, 192, 43, 0.07),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 70%,
            rgba(64, 145, 108, 0.08),
            transparent 30%
        ),
        #f7fbf8;*/
}


/* =====================================================
   HEADING
===================================================== */

.sdg-heading {
    max-width: 760px;

    margin: 0 auto 75px;
}

.sdg-label {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    padding: 8px 17px;

    margin-bottom: 17px;

    border-radius: 50px;

    background: #e4f3e8;

    color: #2d6a4f;

    font-size: 13px;
    font-weight: 700;
}

.sdg-title {
    margin: 0 0 15px;

    color: #1b4332;

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.15;

    font-weight: 800;
}

.sdg-title span {
    color: #40916c;
}

.sdg-intro {
    max-width: 680px;

    margin: auto;

    color: #68766d;

    font-size: 15px;

    line-height: 1.8;
}


/* =====================================================
   FEATURE CARD
===================================================== */

.sdg-feature {
    position: relative;

    width: 65%;

    min-height: 245px;

    display: flex;

    align-items: center;

    gap: 35px;

    padding: 42px 55px;

    margin-bottom: 35px;

    overflow: hidden;

    border-radius: 42px;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.05);

    box-shadow:
        0 18px 50px rgba(27, 67, 50, 0.09);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}

.sdg-feature:hover {
    box-shadow:
        0 28px 65px rgba(27, 67, 50, 0.14);
}


/* =====================================================
   STAGGERED POSITION
===================================================== */

.sdg-15 {
    margin-left: 0;
}

.sdg-4 {
    margin-left: auto;

    transform: translateX(25px);
}

.sdg-13 {
    margin-left: 5%;

    transform: translateX(-15px);
}


/* Hover */

.sdg-15:hover {
    transform: translateX(10px) translateY(-5px);
}

.sdg-4:hover {
    transform: translateX(25px) translateY(-5px);
}

.sdg-13:hover {
    transform: translateX(-5px) translateY(-5px);
}


/* =====================================================
   COLOUR TOP BORDER
===================================================== */

.sdg-feature::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 6px;
}

.sdg-15::before {
    background: #56c02b;
}

.sdg-4::before {
    background: #c5192d;
}

.sdg-13::before {
    background: #3f7e44;
}


/* =====================================================
   LARGE NUMBER
===================================================== */

.sdg-watermark {
    position: absolute;

    right: 25px;
    bottom: -35px;

    font-size: 190px;

    line-height: 1;

    font-weight: 900;

    pointer-events: none;

    opacity: 0.3;
}

.sdg-15 .sdg-watermark {
    color: #56c02b;
}

.sdg-4 .sdg-watermark {
    color: #c5192d;
}

.sdg-13 .sdg-watermark {
    color: #3f7e44;
}


/* =====================================================
   ICON
===================================================== */

.sdg-feature-icon {
    position: relative;

    z-index: 2;

    width: 105px;
    height: 105px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 32px;

    color: #ffffff;

    font-size: 42px;

    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.45s ease;
}

.sdg-15 .sdg-feature-icon {
    background: #56c02b;
}

.sdg-4 .sdg-feature-icon {
    background: #c5192d;
}

.sdg-13 .sdg-feature-icon {
    background: #3f7e44;
}

.sdg-feature:hover .sdg-feature-icon {
    transform:
        scale(1.08)
        rotate(-4deg);
}


/* =====================================================
   CONTENT
===================================================== */

.sdg-feature-content {
    position: relative;

    z-index: 2;

    max-width: 620px;
}

.sdg-goal {
    display: inline-block;

    margin-bottom: 4px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.2px;
}

.sdg-15 .sdg-goal {
    color: #56a72d;
}

.sdg-4 .sdg-goal {
    color: #c5192d;
}

.sdg-13 .sdg-goal {
    color: #3f7e44;
}

.sdg-feature h3 {
    margin: 0 0 12px;

    color: #1b4332;

    font-size: 28px;

    font-weight: 800;
}

.sdg-feature p {
    max-width: 580px;

    margin: 0 0 18px;

    color: #68766d;

    font-size: 14px;

    line-height: 1.8;
}


/* =====================================================
   KEYWORDS
===================================================== */

.sdg-keywords {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}

.sdg-keywords span {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 7px 12px;

    border-radius: 50px;

    background: #f2f6f3;

    color: #627269;

    font-size: 11px;

    font-weight: 600;
}

.sdg-15 .sdg-keywords i {
    color: #56c02b;
}

.sdg-4 .sdg-keywords i {
    color: #c5192d;
}

.sdg-13 .sdg-keywords i {
    color: #3f7e44;
}


/* =====================================================
   CLOSING
===================================================== */

.sdg-closing {
    max-width: 680px;

    display: flex;

    align-items: center;

    gap: 18px;

    margin: 65px auto 0;

    padding: 22px 28px;

    border-radius: 25px;

    background: #ffffff;

    border: 1px solid rgba(45, 106, 79, 0.08);

    box-shadow:
        0 10px 30px rgba(27, 67, 50, 0.06);
}

.sdg-closing-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #d8f3dc;

    color: #2d6a4f;

    font-size: 20px;
}

.sdg-closing strong {
    display: block;

    margin-bottom: 3px;

    color: #1b4332;

    font-size: 14px;
}

.sdg-closing p {
    margin: 0;

    color: #718078;

    font-size: 12px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 991px) {

    .sdg-feature,
    .sdg-4,
    .sdg-13 {
        width: 90%;

        margin-left: auto;
        margin-right: auto;

        transform: none;
    }

    .sdg-15:hover,
    .sdg-4:hover,
    .sdg-13:hover {
        transform: translateY(-5px);
    }
}


@media (max-width: 768px) {

    .sdg-section {
        padding: 75px 0;
    }

    .sdg-heading {
        margin-bottom: 50px;
    }

    .sdg-feature,
    .sdg-4,
    .sdg-13,
    .sdg-row .sdg-feature {
        width: 100% !important;
        max-width: 100%;
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 32px;
        border-radius: 30px;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

    .sdg-feature-icon {
        width: 75px;
        height: 75px;

        border-radius: 23px;

        font-size: 30px;
    }

    .sdg-feature h3 {
        font-size: 23px;
    }

    .sdg-feature p {
        font-size: 13px;
    }

    .sdg-watermark {
        right: 10px;
        bottom: -20px;

        font-size: 130px;
    }

    .sdg-image,
    .sdg-row .sdg-image {
        display: none !important;
    }

    .sdg-closing {
        align-items: flex-start;

        padding: 20px;
    }
}

/* =====================================================
   SDG ROW
===================================================== */

.sdg-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 35px;
    margin-bottom: 45px;
}

/* Card */

.sdg-row .sdg-feature {
    width: 62%;
    margin: 0;
}

/* Visual */

.sdg-row .sdg-image {
    width: 38%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =====================================================
   ALTERNATING POSITIONS
===================================================== */

.sdg-row-left {
    padding-right: 2%;
}
    
.sdg-row-right {
    padding-left: 2%;
}

/* =====================================================
   SDG CARD HOVER
===================================================== */

.sdg-row-left .sdg-feature:hover,
.sdg-row-right .sdg-feature:hover {
    transform: translateY(-5px);
}

/*  SDG 15 VISUAL */

/* =====================================================
   SDG 15 — ROUND BADGE
===================================================== */

.sdg15-badge {
    position: relative;
    width: 230px;
    height: 230px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            145deg,
            #56C02B,
            #419c22
        );
    border-radius: 50%;
    box-shadow:
        0 18px 40px rgba(86, 192, 43, 0.22);
    overflow: hidden;
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

/* Number */

.sdg15-badge-number {
    position: absolute;
    top: 8px;
    right: 15px;
    font-size: 92px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -4px;
    color: rgba(255, 255, 255, 0.15);
    z-index: 1;
    user-select: none;
}

/* Inner Ring */

.sdg15-ring {
    position: absolute;
    width: 175px;
    height: 175px;
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 50%;
    z-index: 2;
}

/* Main Icon */

.sdg15-badge-icon {
    position: relative;
    z-index: 5;
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    font-size: 38px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(3px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.4s ease;
}

/* Decorative Icons */

.sdg15-badge-decoration {
    position: absolute;
    z-index: 4;
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
}


.badge-leaf-left {
    left: 40px;
    top: 65px;
    transform: rotate(-35deg);
}

.badge-seedling {
    right: 40px;
    bottom: 62px;
    transform: rotate(10deg);
}

/* Subtle Outer Ring */

.sdg15-badge::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1;
}

/* Hover */

.sdg15-badge:hover {
    transform: translateY(-6px);
    box-shadow:
        0 25px 50px rgba(86, 192, 43, 0.30);
}

.sdg15-badge:hover .sdg15-badge-icon {
    transform: scale(1.07);
}

/* =====================================================
   SDG 4 ROUND BADGE
===================================================== */

.sdg4-badge {
    position: relative;
    width: 230px;
    height: 230px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            145deg,
            #C5192D,
            #a91427
        );
    border-radius: 50%;
    box-shadow:
        0 18px 40px rgba(197, 25, 45, 0.22);
    overflow: hidden;
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

/* =====================================================
   NUMBER
===================================================== */

.sdg4-badge-number {
    position: absolute;
    top: 8px;
    right: 22px;
    font-size: 100px;
    line-height: 1;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    z-index: 1;
    user-select: none;
}

/* =====================================================
   INNER RING
===================================================== */

.sdg4-ring {
    position: absolute;
    width: 175px;
    height: 175px;
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 50%;
    z-index: 2;
}

/* =====================================================
   MAIN ICON
===================================================== */

.sdg4-badge-icon {
    position: relative;
    z-index: 5;
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    font-size: 38px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(3px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.4s ease;
}

/* =====================================================
   DECORATIVE ICONS
===================================================== */

.sdg4-badge-decoration {
    position: absolute;
    z-index: 4;
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
}


.badge-cap {
    left: 42px;
    top: 72px;
    transform: rotate(-12deg);
}


.badge-pencil {
    right: 40px;
    bottom: 65px;
    transform: rotate(-25deg);
}


/* =====================================================
   SUBTLE INNER GLOW
===================================================== */

.sdg4-badge::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1;
}


/* =====================================================
   HOVER
===================================================== */

.sdg4-badge:hover {
    transform: translateY(-6px);
    box-shadow:
        0 25px 50px rgba(197, 25, 45, 0.30);
}


.sdg4-badge:hover .sdg4-badge-icon {
    transform: scale(1.07);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 576px) {

    .sdg4-badge {
        width: 190px;
        height: 190px;
    }

    .sdg4-badge-number {
        font-size: 80px;
    }

    .sdg4-ring {
        width: 145px;
        height: 145px;
    }

    .sdg4-badge-icon {
        width: 70px;
        height: 70px;

        font-size: 30px;
    }

}

/* =====================================================
   SDG 13 — ROUND BADGE
===================================================== */

.sdg13-badge {
    position: relative;

    width: 230px;
    height: 230px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        145deg,
        #3F7E44,
        #326638
    );

    border-radius: 50%;

    box-shadow:
        0 18px 40px rgba(63, 126, 68, 0.22);

    overflow: hidden;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


/* =====================================================
   SDG NUMBER
===================================================== */

.sdg13-badge-number {
    position: absolute;

    top: 8px;
    right: 15px;

    font-size: 92px;
    line-height: 1;

    font-weight: 900;

    color: rgba(255, 255, 255, 0.15);

    z-index: 1;

    user-select: none;
}


/* =====================================================
   INNER RING
===================================================== */

.sdg13-ring {
    position: absolute;

    width: 175px;
    height: 175px;

    border: 1px solid rgba(255, 255, 255, 0.30);

    border-radius: 50%;

    z-index: 2;
}


/* =====================================================
   MAIN ICON
===================================================== */

.sdg13-badge-icon {
    position: relative;

    z-index: 5;

    width: 85px;
    height: 85px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 3px solid #ffffff;

    border-radius: 50%;

    color: #ffffff;

    font-size: 38px;

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(3px);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.4s ease;
}


/* =====================================================
   DECORATIVE ICONS
===================================================== */

.sdg13-badge-decoration {
    position: absolute;

    z-index: 4;

    color: rgba(255, 255, 255, 0.75);

    font-size: 18px;
}


.badge-cloud {
    left: 40px;
    top: 65px;

    transform: rotate(-8deg);
}


.badge-leaf {
    right: 42px;
    bottom: 62px;

    transform: rotate(30deg);
}


/* =====================================================
   OUTER RING
===================================================== */

.sdg13-badge::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.08);

    z-index: 1;
}


/* =====================================================
   HOVER
===================================================== */

.sdg13-badge:hover {
    transform: translateY(-6px);

    box-shadow:
        0 25px 50px rgba(63, 126, 68, 0.30);
}


.sdg13-badge:hover .sdg13-badge-icon {
    transform: scale(1.07);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 576px) {

    .sdg13-badge {
        width: 190px;
        height: 190px;
    }

    .sdg13-badge-number {
        font-size: 78px;
    }

    .sdg13-ring {
        width: 145px;
        height: 145px;
    }

    .sdg13-badge-icon {
        width: 70px;
        height: 70px;

        font-size: 30px;
    }

    .badge-cloud {
        left: 30px;
        top: 52px;
    }

    .badge-leaf {
        right: 30px;
        bottom: 50px;
    }

}

/* =====================================================
   LANGUAGE / ACCESSIBILITY
===================================================== */

.accessibility-language {
    position: fixed;
    top: 90px;
    right: 22px;
    z-index: 1050;
}


/* Button */

.accessibility-btn {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dfe7e2;
    border-radius: 50%;

    background: #ffffff;
    color: #1b4332;

    font-size: 18px;

    cursor: pointer;

    box-shadow:
        0 6px 20px rgba(27, 67, 50, 0.14);

    transition: all 0.25s ease;
}

.accessibility-btn:hover {
    background: #1b4332;
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(27, 67, 50, 0.20);
}


/* Translation panel */

.accessibility-menu {
    position: absolute;

    top: 55px;
    right: 0;

    width: 230px;

    padding: 15px;

    background: #ffffff;

    border: 1px solid #e1e9e4;
    border-radius: 14px;

    box-shadow:
        0 12px 35px rgba(27, 67, 50, 0.15);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}


/* Show menu */

.accessibility-menu.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* Title */

.accessibility-title {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 12px;

    color: #1b4332;

    font-size: 14px;
    font-weight: 600;
}


/* Google Translate */

#google_translate_element {
    width: 100%;
}

#google_translate_element select {
    width: 100%;

    padding: 8px 10px;

    border: 1px solid #dfe7e2;
    border-radius: 8px;

    background: #ffffff;

    color: #1f2937;

    font-size: 13px;

    outline: none;
}


/* Google Translate sometimes adds its own styling */

.goog-te-gadget {
    font-family: inherit !important;
    font-size: 0 !important;
}

.goog-te-gadget select {
    font-family: inherit !important;
    font-size: 13px !important;
}


/* Hide Google branding text */

.goog-te-gadget span {
    display: none !important;
}


/* Mobile */

@media (max-width: 991px) {

    .accessibility-language {
        top: 75px;
        right: 15px;
    }

    .accessibility-btn {
        width: 42px;
        height: 42px;

        font-size: 16px;
    }

    .accessibility-menu {
        width: 215px;
    }
}


/* google translate hide*/
/* =====================================================
   GOOGLE TRANSLATE - HIDE TOP BANNER
===================================================== */

/* Hide Google Translate banner */
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
}

/* Hide the injected top container */
body > .skiptranslate {
    display: none !important;
}

/* Prevent Google from pushing the page down */
html,
body {
    margin-top: 0 !important;
    top: 0 !important;
}

/* Google sometimes applies this */
body {
    position: static !important;
}

/* pagination style */

#directoryPagination .pagination {
    gap: 6px;
}

#directoryPagination .page-link {
    border: none;
    border-radius: 10px !important;
    color: #2d6a4f;
    background: #f1f8f3;
    font-weight: 600;
    transition: 0.2s ease;
}

#directoryPagination .page-link:hover {
    color: #fff;
    background: #40916c;
    transform: translateY(-2px);
}

#directoryPagination .page-item.active .page-link {
    color: #fff;
    background: #2d6a4f;
}

#directoryPagination .page-item.disabled .page-link {
    color: #adb5bd;
    background: #f5f5f5;
}