/* ==========================================================================
   INDEX PAGE STYLES - Specific to index.php
   ========================================================================== */

/* Base styling for index page */
.index-page {
    font-family: Arial, sans-serif;
}

/* Logo Styles */
#logo {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0 50px 0;
    max-width: 180px; /* Default size for desktop */
    height: auto;
    z-index: 10; /* Ensure logo stays above other elements */
    transition: all 0.3s ease; /* Smooth transition when size changes */
}

/* Typography standardization */
.index-page h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.index-page h3 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.index-page h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.index-page h5 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.index-page .lead {
    color: white;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 630px; /* Set max-width to match the heading width */
    width: 100%;
}

.index-page .font_shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 630px; /* Match with the lead text */
    width: 100%;
    display: block;
}

/* Container Styles */
/* .index-page .container, */
.index-page .container-fluid {
    width: 100% !important; 
    padding-left: 10% !important;
    padding-right: 10% !important;
    margin: 0 !important;
}

/* Fix for section spacing */
.hero-section, .map-section, .hero-slider {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 100%; /* Ensures it covers the full viewport */
    overflow: visible; /* Allow sections below to flow naturally */
}

/* Section spacing reset */
section {
    margin: 0;
    padding: 0;
}

/* Generic container-fluid styles */
.index-page .container-fluid {
    position: relative;
    overflow: visible;
    height: auto;
}

/* Map section specific container-fluid */
.map-section .container-fluid {
    background-color: black;
}

/* Row adjustment */
.index-page .row {
    margin: 0;
}

/* Specific styles for Multi Discovery Section heading */
.hero-section h1.font_shadow {
    white-space: nowrap; /* Prevents text wrapping */
    max-width: 100%; /* Takes full width of parent container */
    width: 100%;
    font-size: 2.8rem; /* Adjust size to fit one line */
    letter-spacing: 0px; /* Reduce letter spacing if needed */
}

/* Container adjustment to accommodate the heading */
.hero-section .content-column {
    max-width: 100%;
    width: 100%;
    padding-right: 0;
}

/* For smaller screens, allow text to scale appropriately */
@media (max-width: 1200px) {
    .hero-section h1.font_shadow {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .hero-section h1.font_shadow {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1.font_shadow {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1.font_shadow {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-section .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-section .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-section .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, black 2%, rgba(0, 0, 0, 0) 30%);
    pointer-events: none;
}

.hero-section .content-wrapper {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-section .content-column {
    max-width: 100%;
    width: 100%;
    color: white;
}

/* Hero section colors */
.hero-section .font_shadow,
.hero-section .font_shadow * {
    color: #00FFEF;
}

/* ==========================================================================
   Map Section Styles
   ========================================================================== */
.map-section {
    margin: 0;
    padding: 0;
    background-color: black;
}

.map-section .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

/* Ensure the text section stays on top */
.map-section .col-lg-5 {
    position: relative;
    z-index: 2;
    background-color: black;
    padding: 20px;
}

/* Adjust the map section */
.map-section .col-lg-7 {
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Ensure images don't overflow */
.hover_image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

/* For smaller devices, stack the sections */
@media (max-width: 991px) {
    .map-section .col-lg-5,
    .map-section .col-lg-7 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Adjust text padding */
    .map-section .col-lg-5 {
        padding: 40px 20px;
    }

    /* Hide overlay on small screens for clarity */
    .map-section .gradient-overlay {
        display: none;
    }
}

/* Optional: Increase spacing between sections on medium devices */
@media (min-width: 768px) and (max-width: 991px) {
    .map-section .col-lg-5 {
        margin-bottom: 20px;
    }
}

.map-section h1 {
    color: #00FFEF;
    font-weight: bold;
    padding-top: 40px;
    white-space: nowrap;
}

.map-section .lead {
    color: white;
}

.map-section .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, black 2%, rgba(0, 0, 0, 0) 50%);
    pointer-events: none;
}

/* Countries counter section */
.map-section .counter-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 80px;
}

.map-section .counter-box {
    text-align: center;
    width: 120px;
}

.map-section .counter-label {
    color: white;
    margin-bottom: 0;
    text-align: center;
}

.map-section .counter-line {
    height: 3px;
    background-color: #00FFEF;
    margin: 10px auto;
    width: 100%;
}

.map-section .counter-value {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    padding-bottom: 20px;
}

/* Map hover effect */
.hover_image {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.hover_image:hover {
    text-decoration: none;
}

.hover_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.hover_image .hide {
    display: none;
}

.hover_image:hover img:first-child {
    display: none;
}

.hover_image:hover img:last-child {
    display: inline-block;
}

/* ==========================================================================
   Hero Slider (Glance of Fame) - FIXED VERSION
   ========================================================================== */
   .hero-slider {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Changed from height to min-height */
    overflow: visible; /* Changed from hidden to visible */
    margin: 0;
    padding: 0;
    display: flex; /* Added flex display */
    flex-direction: column; /* Added column direction */
}

/* Improved media query for height responsiveness */
@media screen and (max-height: 700px) {
    .hero-slider {
        min-height: 700px; /* Keep minimum height */
    }
}

/* Add additional media query for very small heights */
@media screen and (max-height: 500px) {
    .hero-slider {
        min-height: 500px; /* Even smaller minimum to prevent complete disappearance */
        overflow-y: auto; /* Allow scrolling if needed */
    }
}

.hero-slider .slider-container {
    position: relative;
    width: 100%;
    flex: 1; /* Changed from height: 100% to flex: 1 */
    margin: 0;
    padding: 0;
    display: flex; /* Added flex */
    overflow: visible;
    min-height: 100vh
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    margin: 0;
    padding: 0;
    min-height: inherit; /* Inherit minimum height */
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 1; /* Ensure active slide is visible */
    display: flex; /* Make active slide a flex container */
    flex-direction: column; /* Stack content vertically */
}

.hero-slider .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, black 2%, rgba(0, 0, 0, 0) 50%);
    pointer-events: none;
    z-index: 1; /* Above slide but below content */
}

/* Improved slide content structure */
.hero-slider .slide-content {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-start; /* Align to top instead of center */
    padding: 0;
    margin: 0;
    z-index: 2; /* Above overlay */
    flex: 1; /* Take available space */
}

/* Make content column a flex container with proper spacing */
.hero-slider .col-lg-6 {
    display: flex;
    flex-direction: column;
    height: auto; /* Changed from 100% to auto */
    min-height: 400px; /* Added minimum height */
    padding: 5vh 15px;
    position: relative;
    overflow-y: visible; /* Changed from auto to visible */
    z-index: 3; /* Ensure content is above overlays */
}

/* GLANCE OF FAME heading - position relative to parent */
.hero-slider h1.font_shadow {
    color: #00FEFF;
    font-weight: bold;
    margin: 5vh 0 2vh 0;
    padding: 10px 0;
    flex-shrink: 0; /* Prevent shrinking */
    position: relative; /* Ensure proper stacking */
    z-index: 4; /* Higher z-index */
}

.hero-slider h1.font_shadow span {
    color: #00FEFF;
}

.hero-slider .pledge-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    margin-top: 0; 
    padding: 0;
    flex-grow: 1;
    height: 100%; 
    text-align: justif
    
}

/* Adjust the h5 (text) margins to be closer to buttons */
.hero-slider .pledge-container h5 {
    margin-bottom: 20px; 
    margin-top: auto;
 }

 .hero-slider .pledge-container h3 {
    color: white; /* Explicitly set the color to white */
    font-weight: bold; /* Keep the bold style */
    margin-bottom: 20px; /* Less space after title */
}

/* Adjust button-cta to have less space above */
.hero-slider .button-cta {
    margin-bottom: 20px; 
    margin-top: 0; 
}

/* Video Links */
.video-links {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative; /* Ensure proper stacking */
    z-index: 5; /* Higher z-index */
}

.button-wrapper {
    flex: 0 0 auto;
}

.button-wrapper a {
    display: inline-flex; /* Changed to inline-flex */
    align-items: center;
    text-decoration: none;
}

.button-wrapper span {
    font-size: 18px;
    margin-left: 8px;
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
    transition: all 0.3s ease;
}

.button-wrapper img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.button-wrapper a:hover img {
    transform: translateX(5px);
}

.button-wrapper a:hover span {
    color: #00FEFF; 
}

/* Navigation Controls - improved z-index */
.hero-slider .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    color: white;
    z-index: 10; /* Much higher z-index to always be visible */
    padding: 10px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.hero-slider .slider-nav:hover {
    opacity: 1;
}

.hero-slider .slider-nav:focus {
    outline: none;
}

.hero-slider .slider-nav.prev {
    left: 20px;
}

.hero-slider .slider-nav.next {
    right: 20px;
}

.hero-slider .slider-nav svg {
    width: 40px;
    height: 40px;
}

/* Responsive adjustments - updated for better visibility */
@media (min-width: 1200px) {
    /* Large screens - maintain proportions */
    .hero-slider .pledge-container h3 {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    /* Medium screens - adjust proportions */
    .hero-slider h1.font_shadow {
        font-size: 2.2rem;
    }
    
    .hero-slider .pledge-container h3 {
        font-size: 1.5rem;
    }
    
    .hero-slider .pledge-container h5 {
        font-size: 1rem;
    }
}

/* Improved small screen handling */
@media (max-width: 767px) {
    /* Small screens - further adjustments */
    .hero-slider {
        min-height: 90vh; /* Slightly reduced minimum height */
    }
    
    .hero-slider h1.font_shadow {
        font-size: 1.8rem;
        margin-top: 3vh;
    }
    
    .hero-slider .pledge-container {
        margin-top: 2vh;
    }
    
    .hero-slider .pledge-container h3 {
        font-size: 1.3rem;
    }
    
    .hero-slider .pledge-container h5 {
        font-size: 0.9rem;
    }
    
    .button-wrapper span {
        font-size: 14px;
    }
    
    .button-wrapper img {
        width: 25px;
        height: 25px;
    }
    
    .video-links {
        gap: 10px;
    }
}

/* Additional media query for very small screens */
@media (max-width: 480px) {
    .hero-slider {
        min-height: 80vh; /* Further reduced minimum height */
    }
    
    .hero-slider .col-lg-6 {
        min-height: 300px; /* Smaller minimum height */
        padding: 3vh 10px;
    }
}

/* ==========================================================================
   Products and Services Section - Expandable Cards
   ========================================================================== */

   .simple-video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    transition: opacity 0.5s ease;
}

.static-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Container for expandable cards */
.expandable-cards-container {
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 24px;
    height: 450px;
    position: relative;
    margin: 2rem auto;
    padding-bottom: 40px;
}

/* Individual expandable card */
.expandable-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
    height: 100%;
    max-width: 33.333%;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 0;
    border: 1px solid #e0e0e0;
}

.expandable-card:hover {
    flex: 3;
    max-width: none;
}

/* Card content positioning */
.expandable-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: black;
    z-index: 2;
    background: none;
}

/* Card title styling */
.expandable-card .card-title {
    min-height: 8vh;
    font-size: 38px;
    margin-bottom: 10px;
    font-weight: 600;
    color: black;
    line-height: 1.1;
}

/* Card description - hidden by default, shown on hover */
.expandable-card .card-description {
    display: none;
    max-width: 400px;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 30px;
    font-size: 16px;
}

.expandable-card:hover .card-description {
    display: block;
}

/* Learn More button - hidden by default, shown on hover */
.expandable-card .btn-learn-more {
    display: none;
    background-color: black;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    width: fit-content;
    font-size: 16px;
}

.expandable-card:hover .btn-learn-more {
    display: flex;
    align-items: center;
    gap: 10px;
} */

/* Arrow styling within the button */
.expandable-card .btn-learn-more .arrow {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .expandable-card .btn-learn-more .arrow::after {
    content: "?";
    color: #000000;
    font-size: 14px;

} */

/* Card image styling and hover effect */
.expandable-card .card-image {
    width: 100%;
    height: 70%;
    object-fit: cover;
    transition: transform 0.5s;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 840px 74px;  
    border-bottom-right-radius: 650px 280px;
    position: absolute;
    top: 0;
    padding: 0;
    z-index: 1;
}

.expandable-card:hover .card-image {
    transform: scale(1.05);
}
/* Responsive adjustments for expandable cards */
@media (max-width: 1421px) {
    .expandable-cards-container {
        max-width: 100%;
    }

    .expandable-card {
        flex: 1;
        flex-direction: row;
        height: auto;
        gap: 16px;
    }

    .expandable-card .card-title {
        font-size: 28px;
    }
    
    .expandable-card .card-description {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .expandable-cards-container {
        max-width: 100%;
    }

    .expandable-card {
        flex: 1;
        flex-direction: row;
        height: auto;
        gap: 16px;
    }

    .expandable-card .card-title {
        font-size: 24px;
    }
    
    .expandable-card .card-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .expandable-cards-container {
        display: flex;
        flex-direction: column; 
        height: auto;
        gap: 16px;
    }
    
    .expandable-card {
        display: flex;
        flex-direction: column; /* ✅ Stack vertically */
        max-width: 100%;
        min-height: 250px; /* ✅ Ensure visibility */
        margin-bottom: 0;
        flex-shrink: 0; /* ✅ Prevent shrinking */
    }
    
    .expandable-card:hover {
        flex: 2;
        height: 400px;
    }
    
    .expandable-card .card-content {
        padding: 20px;
    }
    
    .expandable-card .card-title {
        position: absolute;
        bottom: 10px;
        left: 0;
        width: 100%;
        text-align: left;
        padding: 0 20px;
        min-height: auto;
        font-size: 20px;
        z-index: 5;
    }
    
    .expandable-card .card-description {
        font-size: 10px;
    }

    h2.card-title{
        padding-bottom: -50vh;
    }
}

@media (max-width: 576px) {
    .expandable-card .card-title {
        padding: 0 15px;
        bottom: 8px;
        font-size: 16px;
    }
    
    .expandable-card .card-description {
        font-size: 5px;
    }

    h2.card-title{
        padding-bottom: -50vh;
    }
}

/* ==========================================================================
   Animation
   ========================================================================== */
.scroll-color-transition {
    color: rgb(58, 57, 57);
    transition: color 1s ease;
}

[data-aos].aos-animate .scroll-color-transition,
.scroll-color-transition.aos-animate {
    color: #ffffff;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeInRight {
    animation: fadeInRight 1s ease-out;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 992px) {
    .index-page h1 {
        font-size: 2.5rem;
    }
    
    .index-page h3 {
        font-size: 1.5rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .index-page .container,
    .index-page .container-fluid {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
    
    .hero-slider .pledge-container {
        margin-top: 80px; /* Smaller top margin on medium screens */
    }
    
    .video-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .index-page .lead,
    .index-page .font_shadow {
        max-width: 100%; /* Full width on smaller screens */
    }
}

@media (max-width: 768px) {
    .index-page h1 {
        font-size: 2rem;
    }
    
    .index-page .lead {
        font-size: 1.1rem;
    }
    
    .hero-slider .pledge-container {
        margin-top: 60px; /* Even smaller top margin on small screens */
    }
    
    .button-wrapper span {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-slider .pledge-container {
        margin-top: 40px; /* Minimal top margin on very small screens */
    }
    
    .index-page h1 {
        font-size: 1.75rem;
    }
    
    .index-page h3 {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Responsive Header Image and Logo Styles
   ========================================================================== */

/* Header Image - Base */
/* .header-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    transition: opacity 0.5s ease;
} */

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
    #logo {
        max-width: 180px; /* Slightly larger on very large screens */
        margin: 0 60px 0;
    }
}

/* Desktop (992px to 1399px) */
@media (min-width: 992px) and (max-width: 1399px) {
    #logo {
        max-width: 150px;
        margin: 0 40px 0;
    }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    #logo {
        max-width: 120px;
        margin: 0 30px 0;
        top: 10px; /* Adjust position slightly */
    }
    
    /* .header-image {
        min-height: 300px; 
        object-fit: cover;
        object-position: center;
    } */
}

/* Large Mobile (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    #logo {
        max-width: 90px;
        margin: 0 20px 0;
        top: 10px;
    }
    
    .header-image {
        min-width: 100%;
        object-fit: cover;
    }
}


/* Small Mobile (575px and below) */
@media (max-width: 575px) {
    #logo {
        max-width: 80px;
        margin: 0 15px 0;
        top: 5px;
    }
    
    .header-image {
        min-width: 100%;
        object-fit: cover;
    }
}

/* Extra Small Mobile (375px and below) */
@media (max-width: 375px) {
    #logo {
        max-width: 100px;
        margin: 0 10px 0;
    }
    
    .header-image {
        min-width: 100%;
    }
}

/* Fix for the static header position */
.static-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: auto;
}

/* Ensure the simple-video-container properly sizes responsive images */
.simple-video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    line-height: 0;
}


.footer-wrapper {
    width: 100%;
}

.footer-wrapper .container {
    width: 80% !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left;
}

/* ==========================================================================
   Mobile Responsive Background Images for Multi Discovery Section - FIXED PATHS
   ========================================================================== */

/* Default desktop background (992px and above) */
.hero-section .bg-image {
    background-image: url('../images/sections/banner.jpg'); /* Added ../ for CSS in css/ folder */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Large Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section .bg-image {
        background-image: url('../images/sections/banner.jpg'); /* Tablet uses same desktop image */
    }
    
    /* Optional: Adjust text sizing for tablet */
    .hero-section h1.font_shadow {
        font-size: 2.4rem;
        white-space: normal; /* Allow text wrapping on tablet */
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
}

/* Small Mobile (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-section .bg-image {
        background-image: url('../images/sections/intro-index.png'); /* Added ../ for mobile image */
        background-position: center center; /* Optimize positioning for mobile */
    }
    
    /* Allow text wrapping and adjust sizing for mobile */
    .hero-section h1.font_shadow {
        font-size: 2rem;
        white-space: normal; /* Allow text wrapping on mobile */
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
}

/* Extra Small Mobile (575px and below) */
@media (max-width: 575px) {
    .hero-section .bg-image {
        background-image: url('../images/sections/intro-index.png'); /* Added ../ for small mobile */
        background-position: center center; /* Optimize positioning for small mobile */
    }
    
    /* Further adjust text for very small screens */
    .hero-section h1.font_shadow {
        font-size: 1.8rem;
        white-space: normal;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    /* Adjust container padding for very small screens */
    .hero-section .container {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
}

/* ==========================================================================
   Mobile Responsive Background Images for Multi Discovery Section - FIXED PATHS
   ========================================================================== */

/* Default desktop background (992px and above) */
.hero-section .bg-image {
    background-image: url('../images/sections/banner.jpg'); /* Added ../ for CSS in css/ folder */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Large Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section .bg-image {
        background-image: url('../images/sections/banner.jpg'); /* Tablet uses same desktop image */
    }
    
    /* Optional: Adjust text sizing for tablet */
    .hero-section h1.font_shadow {
        font-size: 2.4rem;
        white-space: normal; /* Allow text wrapping on tablet */
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
}

/* Small Mobile (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-section .bg-image {
        background-image: url('../images/sections/intro-index.png'); /* Added ../ for mobile image */
        background-position: center center; /* Optimize positioning for mobile */
    }
    
    /* Allow text wrapping and adjust sizing for mobile */
    .hero-section h1.font_shadow {
        font-size: 2rem;
        white-space: normal; /* Allow text wrapping on mobile */
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
}

/* Extra Small Mobile (575px and below) */
@media (max-width: 575px) {
    .hero-section .bg-image {
        background-image: url('../images/sections/intro-index.png'); /* Added ../ for small mobile */
        background-position: center center; /* Optimize positioning for small mobile */
    }
    
    /* Further adjust text for very small screens */
    .hero-section h1.font_shadow {
        font-size: 1.8rem;
        white-space: normal;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    /* Adjust container padding for very small screens */
    .hero-section .container {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
}

/* ==========================================================================
   Glance of Fame Slider - Responsive Background Images
   ========================================================================== */

/* Slide 1 - Bridge image */
.hero-slider .slide:nth-child(1) {
    background-image: url('../images/bridge.jpg'); /* Desktop image for slide 1 */
}

/* Slide 2 - Award image */
.hero-slider .slide:nth-child(2) {
    background-image: url('../images/award-prai.jpg'); /* Desktop image for slide 2 */
}

/* Mobile responsive images for slider slides */
@media (max-width: 767px) {
    /* Slide 1 - Mobile version */
    .hero-slider .slide:nth-child(1) {
        background-image: url('../images/bridge.jpg'); /* Mobile version of bridge image */
        background-position: center center;
    }
    
    /* Slide 2 - Mobile version */
    .hero-slider .slide:nth-child(2) {
        background-image: url('../images/glf-achievement.png'); /* Mobile version of award image */
        background-position: center center;
    }
}

