/* ====================================================
   SDG CARDS SECTION
   ==================================================== */

.sdg-section {
    padding-top: 10px !important; 
    padding-bottom: 80px;
}

@media (max-width: 767px) {
    .sdg-section {
        padding-top: 180px !important; 
    }
}
.sdg-card { 
    display: flex;
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden; /* Clips the corners cleanly */
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #edf2f7;
}

/* Hover Effect: Lifts up and adds a soft shadow */
.sdg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* The Colored Left Pane */
.sdg-color-pane {
    width: 140px; 
    flex-shrink: 0;
    padding: 20px 15px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.sdg-header {
    display: flex;
    gap: 10px;
}

.sdg-num {
    font-size: 38px;
    font-weight: 900;
    line-height: 0.8;
}

.sdg-short-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

/* The subtle icon at the bottom of the colored pane */
.sdg-icon {
    font-size: 45px;
    align-self: flex-end;
    opacity: 0.9;
    transition: transform 0.4s ease;
}

.sdg-card:hover .sdg-icon {
    transform: scale(1.15) rotate(-5deg); /* Slight pop on hover */
}

/* The White Right Pane (Content) */
.sdg-content-pane {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sdg-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-dark-navy);
    margin-bottom: 12px;
    line-height: 1.4;
}

.sdg-desc {
    font-size: 13.5px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* ====================================================
   DREAM BIG (SPLIT SECTION)
   ==================================================== */
   .dream-big-section{
     margin-bottom: 40px;
   }
.dream-img-col img {
    object-fit: cover; 
    min-height: 100%;
}

.dream-text-col {
    padding: 50px 50px;
    display: flex;
    align-items: center; 
   
}

.dream-content {
    max-width: 600px;
}

.dream-content h2 {
    font-size: 48px;
    font-weight: 800;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.65) !important;
}

/* ====================================================
   RESPONSIVE ADJUSTMENTS
   ==================================================== */
@media (max-width: 1199px) {
    .dream-text-col { padding: 80px 50px; }
}

@media (min-width: 992px) {
    .py-lg-5 {
        padding-top: 1rem !important;
        padding-bottom: 3rem !important;
    }
}
@media (max-width: 991px) {
    .dream-img-col { height: 400px; } 
    .dream-text-col { padding: 60px 30px; }
    
}

@media (max-width: 767px) {
    /* Stack the SDG cards vertically on mobile */
    .sdg-card {
        flex-direction: column;
    }
    .sdg-color-pane {
        width: 100%; /* Full width */
        flex-direction: row; /* Put number and icon side-by-side */
        align-items: center;
        padding: 15px 20px;
    }
    .sdg-icon {
        font-size: 35px;
        align-self: center;
    }
    .sdg-content-pane {
        padding: 20px;
    }
    
    /* Dream Big Mobile Fixes */
    .dream-img-col { height: 300px; }
    .dream-text-col { padding: 50px 20px; }
    .dream-content h2 { font-size: 32px; }
}

/* ====================================================
   INNER PAGE HERO & BREADCRUMBS
   ==================================================== */
.inner-page-hero {
    position: relative;
    /* 180px top padding ensures it completely clears your sticky navbar */
    padding: 180px 0 60px;  
    background-color: var(--color-dark-navy);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Image & Gradient Overlay */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates a cool parallax effect when scrolling */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Rich Navy to Green gradient overlay */
    background: linear-gradient(135deg, rgba(26, 43, 60, 0.92) 0%, rgba(26, 43, 60, 0.85) 50%, rgba(46, 204, 113, 0.4) 100%);
    z-index: 2;
}

/* Floating Decorative Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.15);
    filter: blur(40px);
    z-index: 2;
    animation: floatUpDown 6s infinite ease-in-out;
}
.hero-shape-1 { width: 300px; height: 300px; top: -100px; left: -100px; }
.hero-shape-2 { width: 250px; height: 250px; bottom: -50px; right: -50px; animation-delay: 2s; }

/* Title Styling */
.inner-page-title {
    font-size: 52px;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 0;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-top: 15px;
}

/* --- Frosted Glass Breadcrumb --- */
.custom-breadcrumb {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); /* Creates the frosted glass look */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.custom-breadcrumb li {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.custom-breadcrumb a {
    color: var(--color-white);
    transition: color 0.3s ease;
}

.custom-breadcrumb a:hover {
    color: var(--color-primary); /* Turns EVS green on hover */
}

.custom-breadcrumb .separator {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.custom-breadcrumb .current {
    color: var(--color-primary); /* The current page is highlighted in Green */
}

/* ====================================================
   RESPONSIVE ADJUSTMENTS
   ==================================================== */
@media (max-width: 991px) {
    .inner-page-hero {
        padding: 180px 0 80px;
    }
    .inner-page-title {
        font-size: 42px;
    }
    .custom-breadcrumb {
        padding: 10px 20px;
    }
    .custom-breadcrumb li {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .inner-page-hero {
        padding: 150px 0 60px; /* Clears mobile navbar */
    }
    .inner-page-title {
        font-size: 32px;
        margin-top: 50px;
    }
    .custom-breadcrumb {
        padding: 10px 15px;
        flex-wrap: wrap; /* Allows breadcrumbs to wrap if they get too long on tiny phones */
        justify-content: center;
        gap: 5px;
        border-radius: 12px; /* Less pill-like, more box-like on phones to save space */
    }
    .custom-breadcrumb .separator {
        margin: 0 5px;
    }
}

.py-5 {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
}
.mb-5 {
    margin-bottom: 1rem !important;
}
