/* --- Global Styles & Variables --- */
:root {
    --primary-blue: #173388;
    --primary-green: #66c64e;
    --light-text: #ffffff;
    --dark-text: #212529;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-primary);
    background-color: var(--light-bg);
    color: var(--dark-text);
    overflow-x: hidden;
    margin: 0;
}

/* --- Standard Scrolling & Section Styles --- */
.home-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--light-bg);
}
/* Add this new rule to your style.css */
#hero-section.home-section {
    min-height: 100vh;
    width: 100vw;
}
.home-section[style*="background-image"] { background-attachment: fixed; }
.home-section[style*="background-image"]::before,
#hero-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6); z-index: 1;
}
.home-section .container, .home-section .container-fluid { position: relative; z-index: 2; }
.home-section.normal-scroll { min-height: auto; height: auto; padding: 100px 20px; }

#what-we-do { background: var(--primary-green); }
#what-we-do .section-title-main, #what-we-do .lead { color: var(--light-text); }
#our-work { background: var(--light-bg); }
#connect-with-us { background: var(--dark-bg); background-image: none; padding: 50px 20px; }

/* --- Header & Navigation --- */
#main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; }
#main-header .navbar { padding: 1rem 2rem; transition: all 0.5s ease; background: transparent; }
#main-header .navbar-brand img { height: 70px; transition: all 0.3s ease; }
#main-header .navbar-nav .nav-link {
    color: var(--light-text); font-weight: 600; margin: 0 1rem; position: relative;
    padding: 0.5rem 0; text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
#main-header .navbar-nav .nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background-color: var(--primary-green); transition: width 0.3s ease;
}
#main-header .navbar-nav .nav-link:hover::after,
#main-header .navbar-nav .nav-link.active::after { width: 100%; }

.navbar .dropdown-toggle::after { display: none; }
.dropdown-menu { background-color: rgba(20, 40, 110, 0.95); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 0.5rem 0; }
.dropdown-item { color: var(--light-text); padding: 0.75rem 1.5rem; transition: all 0.3s ease; }
.dropdown-item:hover, .dropdown-item.active { background-color: var(--primary-green); color: var(--light-text); transform: translateX(5px); }

#floating-nav-toggle {
    position: fixed; top: 30px; right: 30px; z-index: 1001; width: 60px; height: 60px;
    background-color: var(--primary-green); color: var(--light-text); border: none;
    border-radius: 50%; font-size: 1.5rem; cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); display: none; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
body.scrolled #main-header .navbar { background: rgba(23, 51, 136, 0.85); backdrop-filter: blur(10px); padding: 0.5rem 2rem; }
body.scrolled #main-header .navbar-brand img { height: 50px; }
body.nav-open #floating-nav-toggle i::before { content: '\f00d'; }
body.nav-open #main-header .navbar { background: rgba(0, 0, 0, 0.95); }

@media (max-width: 991.98px) {
    #floating-nav-toggle { display: flex; }
    #main-header .navbar-links { display: none; }
    body.nav-open #main-header .navbar { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; flex-direction: column; justify-content: center; align-items: center; }
    body.nav-open .navbar-brand { display: none; }
    body.nav-open #main-header .navbar-links { display: block; }
    body.nav-open .navbar-nav { text-align: center; }
    body.nav-open .nav-link { font-size: 1.5rem; margin: 1rem 0; }
}

/* --- General Components --- */
.section-title-main { font-family: var(--font-secondary); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; margin-bottom: 1.5rem; color: var(--dark-text); }
.hero-title { font-family: var(--font-secondary); font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 700; background: linear-gradient(135deg, var(--primary-green), var(--primary-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); margin-bottom: 1.5rem; }
.white-text { color: var(--light-text); }
.uplus-btn { display: inline-block; background-color: var(--primary-green); color: var(--light-text) !important; padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; border: 0; cursor: pointer; }
.uplus-btn:hover { background-color: var(--light-text); color: var(--primary-blue) !important; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* --- Section 1: Hero & Background Slider --- */
#hero-section { overflow: hidden; }
.hero-bg-slider { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 0; 
}
.hero-bg-slide { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    opacity: 0; 
    transition: opacity 3s ease-in-out;
}
.hero-bg-slide.active { 
    opacity: 1; 
    z-index: 1;
}

/* Mobile-specific styles to prevent image cropping */    
@media (max-width: 991.98px) {
    .hero-bg-slide {
        background-size: cover;
        background-color: #000; /* Add black background to fill empty space */
    }
}

.hero-text-box { background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(10px); padding: 2.5rem; border-radius: 15px; color: #f1f1f1; min-height: 450px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 3; }
.hero-slogan-box { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); padding: 1.5rem; border-radius: 15px; border-left: 4px solid var(--primary-green); max-width: 400px; z-index: 4; }
.hero-slogan-box.home-slogan { position: absolute; top: 2rem; right: 2rem; } /* Home page specific */
.hero-slogan { font-family: var(--font-secondary); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--light-text); text-shadow: 2px 2px 8px rgba(0,0,0,0.7); font-weight: 700; line-height: 1.3; margin: 0; }
.typing-text { font-size: 1.1rem; line-height: 1.7; min-height: 150px; color: #f1f1f1; }
/* Removed typing cursor animation */

/* --- Section 2: What We Do (Pillars) --- */
.pillars-container { display: flex; justify-content: flex-start; align-items: stretch; width: 100%; gap: 15px; padding: 8px 0; }
.pillar-box-link-wrapper { flex: 0 0 280px; scroll-snap-align: center; }
.pillar-box-link { background: var(--light-text); padding: 2rem 1.5rem; border-radius: 15px; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,0.08); text-align: left; cursor: pointer; transition: all 0.4s ease; border-bottom: 5px solid var(--primary-blue); display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.pillar-box-link:hover { transform: translateY(-18px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.pillar-icon { font-size: 3rem; color: var(--primary-blue); margin-bottom: 1rem; }
.pillar-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--dark-text); }
.pillar-description { font-size: 0.95rem; color: #555; }

/* --- Section 3: Our Work in Action --- */
.work-card { background: #fff; border-radius: 15px; box-shadow: 0 8px 25px rgba(0,0,0,0.07); width: 100%; height: 100%; display: flex; flex-direction: column; }
.work-card img { border-top-left-radius: 15px; border-top-right-radius: 15px; width: 100%; height: 220px; object-fit: cover; }
.work-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.work-card-body h5 { font-weight: 700; }
.work-card-body p { flex-grow: 1; }
.learn-more-link { font-weight: 600; color: var(--primary-green); text-decoration: none; }
.learn-more-link:hover { text-decoration: underline; }

/* --- Section 4: How We Do It --- */
.how-cards-container { display: flex; gap: 15px; width: 100%; justify-content: center; flex-wrap: nowrap; padding: 0 10px; }
.how-card { background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); border-radius: 15px; padding: 1.5rem; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.1); flex: 0 1 18%; min-width: 180px; transition: all 0.3s ease; margin: 0 5px; }
.how-card:hover { transform: translateY(-10px); }
.how-card-icon { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--light-text); background: var(--primary-blue); border: 4px solid var(--light-bg); margin: 0 auto 1rem auto; }
.how-card h5 { font-weight: 700; margin-bottom: 0.5rem; font-size: 1.1rem; }
.how-card p { font-size: 0.9rem; line-height: 1.4; }

/* --- Form, Footer, Donate Button --- */
.uplus-form .form-control { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 1rem; font-size: 1rem; color: var(--light-text); border-radius: 8px; }
.uplus-form .form-control::placeholder { color: #adb5bd; }
.uplus-form .form-control:focus { background: rgba(255,255,255,0.2); box-shadow: none; border-color: var(--primary-green); color: var(--light-text); }
.form-feedback-message { color: var(--primary-green); text-align: left; margin-top: 1rem; opacity: 0; transition: opacity 0.3s ease; height: 0; overflow: hidden; }
.form-feedback-message.show { opacity: 1; height: auto; }
.main-footer { padding: 2rem 1rem; text-align: center; color: #adb5bd; z-index: 5; }
.main-footer.home-footer { position: relative; background-color: var(--dark-bg); margin-top: 0; width: 100%; }
.main-footer .social-links a { color: #adb5bd; margin: 0 15px; font-size: 1.5rem; transition: all 0.3s ease; }
.main-footer .social-links a:hover { color: var(--primary-green); transform: scale(1.2); }
.footer-nav-links { margin: 1rem 0; }
.footer-nav-links a { color: #ccc; text-decoration: none; margin: 0 10px; font-weight: 500; }
.floating-donate-btn { position: fixed; bottom: 30px; right: 30px; z-index: 999; background-color: var(--primary-green); color: var(--light-text); border: none; border-radius: 50px; padding: 12px 25px; font-size: 1.1rem; font-weight: 600; box-shadow: 0 5px 20px rgba(0,0,0,0.2); cursor: pointer; transition: all 0.3s ease; }
.floating-donate-btn:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }

/* --- Mobile Specific Styles & Horizontal Scrolling --- */
.horizontal-scroll-container { position: relative; width: 100%; overflow-x: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.scroll-wrapper { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding: 10px 0; }
.scroll-wrapper::-webkit-scrollbar { display: none; }
.scroll-item { scroll-snap-align: center; flex: 0 0 85%; margin: 0 10px; }
.scroll-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.6); color: white; border: none; border-radius: 50%; width: 40px; height: 40px; z-index: 10; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; }
.scroll-arrow:hover { background: rgba(0,0,0,0.8); }
.scroll-arrow.prev { left: 10px; }
.scroll-arrow.next { right: 10px; }

@media (min-width: 992px) {
    .horizontal-scroll-container { overflow: visible; }
    .scroll-wrapper { overflow: visible; flex-wrap: wrap; justify-content: center; }
    .scroll-item { flex: 0 0 calc(33.333% - 20px); margin: 10px; }
    .pillars-container { flex-wrap: nowrap !important; justify-content: center; }
    .pillar-box-link-wrapper { flex: 0 0 calc(25% - 20px) !important; max-width: calc(25% - 20px); }
    
}

/* --- Inner Page Specific Styles --- */
body.inner-page { background-color: var(--light-bg); color: var(--dark-text); }
body.inner-page #main-header .navbar, body.inner-page.scrolled #main-header .navbar { background: rgba(23, 51, 136, 0.9); backdrop-filter: blur(10px); }
body.inner-page #main-header .navbar-nav .nav-link { color: var(--light-text); text-shadow: none; }
.page-header { padding: 140px 0 80px 0; background: var(--primary-blue); color: var(--light-text); text-align: center; }
.page-header h1 { font-family: var(--font-secondary); font-size: 3rem; }
.page-content { background-color: var(--light-bg); min-height: 50vh; }
.content-section { padding: 80px 0; }
.section-heading { text-align: center; margin-bottom: 50px; }
.section-heading h2 { font-family: var(--font-secondary); font-weight: 700; color: var(--primary-blue); position: relative; display: inline-block; padding-bottom: 10px; }
.section-heading h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background-color: var(--primary-green); }
.page-content .uplus-form .form-control { background-color: #fff; border-color: #ced4da; color: var(--dark-text); }
.page-content .uplus-form .form-control::placeholder { color: #6c757d; }
.page-content .uplus-form .form-control:focus { background-color: #fff; }

/* --- About Page Specifics --- */
.vision-mission-bg { 
    background-image: url('z1.jpg'); 
    background-size: cover; 
    background-position: center; 
    position: relative; 
}
.vision-mission-bg::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 1; }
.vision-mission-bg .container { position: relative; z-index: 2; }
.vision-mission-card { background-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); padding: 2.5rem; border-radius: 15px; width: 100%; text-align: center; height: 100%; border-top: 5px solid var(--primary-green); color: var(--light-text); }
.vision-mission-card h3 { color: var(--light-text); }

.core-value-card { background-color: #dde9f1; padding: 2rem; text-align: center; border-radius: 15px; box-shadow: 0 5px 25px rgba(0,0,0,0.07); width: 100%; height: 100%; border-left: 4px solid rgba(0, 0, 0, 0.435); position: relative; }
.core-value-card h4 { color: var(--primary-blue); font-weight: 700; margin-bottom: 1rem; }

/* Target Groups Dark Theme - UPDATED */
#target-groups { background-color: var(--dark-bg); }
#target-groups .section-heading h2,
#target-groups .section-heading p { color: var(--light-text); }
#target-groups .strategy-card {
    background: linear-gradient(145deg, #2e2e2eb3, #1a1a1aa3);
    border: 1px solid #333;
    border-top: 3px solid rgba(255, 255, 255, 0.421);
    color: #ccc;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(62, 63, 62, 0.2);
    border-radius: 10%;
    position: relative;
    padding: 1rem;
}
#target-groups .strategy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 20px rgba(102, 198, 78, 0.3);
}
#target-groups .strategy-card h5 { color: var(--light-text); }
#target-groups .strategy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--primary-green), #4CAF50);
    color: var(--light-text);
    font-size: 2.5rem;
    box-shadow: 0 4px 15px rgba(102, 198, 78, 0.3);
}

.message-card { padding: 2rem 3rem; }
.message-card.founder-card { background-color: #d1ecc9;  }
.founder-image { width: 100%; height: auto; max-height: 400px; object-fit: contain; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* --- Connect Page Specifics --- */
.contact-hero-bg { 
    background-image: url('b15.jpg'); 
    background-size: cover; 
    background-position: center; 
    position: relative; 
}
.contact-hero-bg::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 1; }
.contact-hero-bg .container { position: relative; z-index: 2; }
.contact-hero-bg h2, .contact-hero-bg h4, .contact-hero-bg p, .contact-hero-bg label { color: var(--light-text); }
.team-carousel-container { position: relative; }
.team-scroller { overflow-x: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.team-scroller::-webkit-scrollbar { display: none; }
.team-scroller-inner { display: flex; gap: 1rem; width: max-content; }
.team-card { text-align: center; flex: 0 0 auto; width: 200px; }
.team-card img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; box-shadow: 0 15px 30px rgba(0,0,0,0.07); }
.team-card h5 { color: var(--primary-blue); font-weight: 700; margin-bottom: 0.5rem; }
.social-links-connect a { color: var(--dark-text); margin-right: 20px; font-size: 1.8rem; transition: all 0.3s ease; }
.social-links-connect a:hover { color: var(--primary-green); transform: scale(1.2); }
.logo-scroller { max-width: 100%; margin: auto; overflow: hidden; }
.logo-scroller .scroller__inner { display: flex; flex-wrap: nowrap; width: max-content; animation: scroll-logos 10s linear infinite; }
.logo-scroller .tag-list { margin: 0; padding-inline-start: 0; list-style: none; display: flex; gap: 2rem; }
.logo-scroller .tag-list li { padding: 1rem; background: var(--light-bg); border-radius: 0.5rem; }
.logo-scroller .tag-list img { height: 60px; max-width: 180px; object-fit: contain; }
@keyframes scroll-logos { to { transform: translateX(-50%); } }
.map-container { height: 350px; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.team-carousel-container .scroll-arrow { top: 35%; }
.contact-details-container { background: #fff; padding: 2.5rem; border-radius: 15px; box-shadow: 0 5px 25px rgba(0,0,0,0.07); }
.contact-details-container h4 { color: var(--primary-blue); font-weight: 700; margin-bottom: 1.5rem; }
.contact-details-container p { margin-bottom: 1rem; padding-left: 0; border-left: none; }

/* --- Projects Page Specifics --- */
.objective-category-box { border-radius: 10px; padding: 2rem; margin-bottom: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05); background-color: #ffffff; }
.objective-category-box .objective-heading { display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.objective-category-box .objective-heading h3 { margin-bottom: 0; font-size: 1.8rem; color: var(--primary-green); font-weight: 900;}

.objective-description { 
    margin-bottom: 1.5rem; 
    padding: 1.5rem; 
    background-color: transparent; 
    border-radius: 10px; 
}
.approach {
    display: none; /* Hide the separate approach div */
}

.project-card { background: #fff; border-radius: 15px; box-shadow: 0 5px 25px rgba(0,0,0,0.07); overflow: hidden; height: 100%; transition: all 0.3s ease; cursor: pointer; display: flex; flex-direction: column; border: 1px solid #e9ecef; }
.project-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0,0,0,0.1); }
.project-card img { width: 100%; height: 200px; object-fit: cover; }
.project-card-body { padding: 1.5rem; }
.project-card-body h5 { color: var(--primary-blue); font-weight: 700; margin-bottom: 0.75rem; }

.story-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.07); transition: all 0.3s ease; }
.story-card:hover { transform: translateY(-5px); }
.story-img { width: 100%; height: 250px; object-fit: cover; }
.story-body { padding: 1.5rem; }
.story-body h5 { color: var(--primary-blue); font-weight: 700; }
#projectDetailModal .carousel-item img { height: 300px; object-fit: cover; }

/* --- Inner Page Footer --- */
.main-footer.inner-footer { position: relative; background-color: var(--dark-bg); color: #adb5bd; padding: 4rem 1rem 2rem 1rem; }
.footer-content { display: flex; justify-content: space-between; text-align: left; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-column { flex: 1; min-width: 250px; margin: 1rem; }
.footer-column h5 { color: var(--light-text); font-weight: 600; margin-bottom: 1rem; }
.footer-column p, .footer-column a { color: #adb5bd; text-decoration: none; display: block; margin-bottom: 0.5rem; transition: color 0.3s ease; }
.footer-column a:hover { color: var(--primary-green); }
.footer-column .social-links a { display: inline-block; margin-right: 15px; }
.footer-bottom { border-top: 1px solid #444; padding-top: 2rem; text-align: center; }

/* --- Cookie Banner --- */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(5px);
    color: var(--light-text);
    padding: 1rem 2rem;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}
.cookie-text { margin: 0; }
.cookie-buttons { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-btn { padding: 8px 16px; border-radius: 20px; border: 1px solid var(--primary-green); background: transparent; color: var(--primary-green); cursor: pointer; transition: all 0.3s ease; }
.cookie-btn.accept { background: var(--primary-green); color: var(--light-text); }
.cookie-btn:hover { opacity: 0.8; transform: translateY(-2px); }

/* --- Mobile Responsive Overrides --- */
@media (max-width: 991.98px) {
    .home-section { padding: 100px 15px; }
    h1, .section-title-main { font-size: 2.2rem; }
    .hero-slogan-box { position: relative; top: auto; right: auto; margin-top: 2rem; max-width: 100%; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-column { margin-bottom: 2rem; }
    #cookie-consent-banner { flex-direction: column; text-align: center; padding: 1.5rem; }
    .message-card { padding: 1.5rem; }
    
    /* Fix background images for mobile - cover fully and be visible */
    .vision-mission-bg,
    .contact-hero-bg,
    #how-we-do-it {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        min-height: 70vh !important;
    }
    
    /* Ensure content sections have proper spacing on mobile */
    .content-section {
        padding: 60px 0;
    }
}

/* Additional mobile optimizations for background sections */
@media (max-width: 768px) {
    .vision-mission-bg,
    .contact-hero-bg,
    #how-we-do-it {
        min-height: 60vh !important;
        padding: 40px 15px;
    }
    
    .vision-mission-card,
    .hero-slogan-box {
        padding: 1.5rem;
    }
}/* Stack Our Work cards vertically on mobile instead of horizontal scroll */
@media (max-width: 991.98px) {
    #our-work .horizontal-scroll-container {
        overflow-x: visible;
    }
    
    #our-work .scroll-wrapper {
        flex-direction: column;
        overflow-x: visible;
        width: 100%;
    }
    
    #our-work .scroll-item {
        flex: 0 0 auto;
        width: 100%;
        margin: 10px 0;
    }
    
    /* Hide scroll arrows on mobile */
    #our-work .scroll-arrow {
        display: none;
    }
}

/* --- PASTE THIS AT THE BOTTOM OF style.css --- */

/* Make footer container flexible */
/* --- NEW FOOTER STYLES --- */

/* Basic Footer Container */
footer {
    background-color: var(--dark-bg); /* Assuming you have a dark color variable */
    color: #fff;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #333; /* Optional: subtle top border */
}

.footer-container {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    justify-content: space-between;
    max-width: 1200px; /* Aligns with your main content width */
    margin: 0 auto;
    padding: 0 1rem; /* Padding on sides for smaller screens */
    gap: 2.5rem; /* Spacing between columns */
}

/* Style for each footer column */
.footer-links,
.footer-newsletter,
.footer-socials {
    flex: 1; /* Each column tries to take equal space */
    min-width: 280px; /* Ensures columns don't get too narrow */
    text-align: left;
}

.footer-links h3,
.footer-newsletter h3,
.footer-socials h3 {
    font-size: 1.3rem;
    color: var(--main-color); /* Highlight with your main accent color */
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    /* Optional: a subtle line under titles */
    /* border-bottom: 2px solid rgba(255,255,255,0.1); */
}

/* Footer Links */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--main-color);
}

/* Newsletter Section */
.footer-newsletter p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

#newsletter-form {
    display: flex;
    gap: 0.5rem; /* Space between input and button */
    margin-top: 1rem;
    flex-wrap: wrap; /* Allow elements to wrap on very small screens */
}

#newsletter-form input[type="email"] {
    flex: 1; /* Input takes up available space */
    padding: 0.8rem 1rem;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 0.95rem;
    background-color: #3a3a3a; /* Darker input background */
    color: #fff;
    min-width: 150px; /* Ensure input is not too small */
    border-radius: 50px;
}

#newsletter-form input[type="email"]::placeholder {
    color: #aaa;
}

#newsletter-form input[type="email"]:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 5px rgba(var(--main-color-rgb), 0.5); /* Assuming RGB variable exists */
}

#newsletter-form input[type="text"] {
    flex: 1; /* Input takes up available space */
    padding: 0.8rem 1rem;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 0.95rem;
    background-color: #3a3a3a; /* Darker input background */
    color: #fff;
    min-width: 150px; /* Ensure input is not too small */
    border-radius: 50px;
}

#newsletter-form input[type="text"]::placeholder {
    color: #aaa;
}

#newsletter-form input[type="text"]:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 5px rgba(var(--main-color-rgb), 0.5); /* Assuming RGB variable exists */
}

.newsletter-btn {
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 5px;
    background-color: var(--primary-blue);
    color: var(--light-text); /* Use dark color for text on bright button */
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 50px;
}

.newsletter-btn:hover {
    background-color: #66c64e; /* White background on hover */
    color: var(--light-text); /* Main color text on hover */
}

/* Social Icons */
.footer-socials a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.footer-socials a:last-child {
    margin-right: 0;
}

.footer-socials a:hover {
    color: var(--main-color);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-links,
    .footer-newsletter,
    .footer-socials {
        width: 100%;
        max-width: 400px; /* Max width for columns in single stack */
        text-align: center;
    }
    .footer-links h3,
    .footer-newsletter h3,
    .footer-socials h3 {
        text-align: center;
    }
    #newsletter-form {
        flex-direction: column; /* Stack input and button */
        align-items: center;
    }
    #newsletter-form input[type="email"],
    .newsletter-btn {
        width: 100%; /* Full width for stacked elements */
        max-width: 300px; /* Limit width even when full-width */
    }
}
/* --- Custom Footer Icon Size for Desktop --- */
@media (min-width: 992px) {
    .footer-column .social-links a {
        font-size: 3rem; /* Increase this value for bigger icons */
        margin: 0 1rem;    /* Adjust spacing between icons if needed */
    }
}


/* High-Impact 2026 Modal Background */
/* 1. Modal Background: Blue -> Dark Green -> Orange */
.new-year-card {
    background: linear-gradient(-45deg, #1e3c72, #0a3622, #fd7e14, #146c43);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    border: none;
    border-radius: 30px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 2. Spacing for 2026 Header */
.year-badge {
    display: inline-block;
    letter-spacing: 8px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    padding-bottom: 5px;
}

/* 3. Halo Visual Spacing */
.visual-halo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 2rem auto; /* Ensures space from text above/below */
    display: flex;
    align-items: center;
    justify-content: center;
}

.halo {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: haloPulse 2.5s infinite ease-out;
}

.halo:nth-child(2) { animation-delay: 0.7s; }
.halo:nth-child(3) { animation-delay: 1.4s; }

.halo-icon {
    font-size: 4rem;
    color: #fff;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.4));
}

@keyframes haloPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* 4. Button Styles - High Contrast & Organized */
.btn-2026 {
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

/* Solid Dark Green Button */
.btn-solid {
    background-color: #0a3622;
    color: #ffffff !important;
    border: 2px solid #0a3622;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-solid:hover {
    transform: translateY(-5px);
    background-color: #146c43;
    border-color: #146c43;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* White Outline Button */
.btn-outline {
    background: transparent;
    color: #ffffff !important;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    transform: translateY(-5px);
    background: #ffffff;
    color: #0a3622 !important;
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}