/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --green-main: #07452e;
    --green-mid: #0c6241;
    --green-soft: #0c3d29;
    --mint-bg: #dff4f2;
    --mint-soft: #f0fbf9;
    --accent: #bcefe2;
    --impact-bg: #02150f;
    --footer-bg: #063525;
    --section-bg: #e3f5f3;
    --radius-big: 32px;
    --radius-card: 22px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.22);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--mint-bg);
    color: #08221b;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* =========================================
   2. UTILITIES & LAYOUT
   ========================================= */
.page-shell {
    margin: 0 auto;
    background: var(--section-bg);
    min-height: 100vh;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: clamp(1rem, 3vw, 1.5rem);
    padding-right: clamp(1rem, 3vw, 1.5rem);
}

.section,
.section-spacing {
    padding-top: clamp(3rem, 6vh, 4.5rem);
    padding-bottom: clamp(3rem, 6vh, 4.5rem);
}

/* Page Specific Container Overrides (Home Page Margins) */
.rescue-section .container,
.activities-section .container,
.gallery-section .container,
.activities-overview .container,
.future-plans .container,
.community-section .container,
.mv-section .container,
.contact-section .container,
#donate .container,
#volunteer .container {
    max-width: 1000px;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    /* Reduced from 2.4rem */
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

/* =========================================
   3. NAVIGATION
   ========================================= */
.nav {
    background: #ffffff;
    color: var(--green-main);
    padding: 0.7rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* Added shadow for white header */
    position: sticky;
    top: 0;
    z-index: 20;
}

.nav-inner {
    width: 95%;
    max-width: 1800px;
    /* Cap at wide screen */
    margin: 0 auto;
    padding-inline: clamp(1rem, 4vw, 2.4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #f0fffb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    overflow: hidden;
    /* Ensure image respects circle */
    background: #fff;
    /* Optional: solid background if logo has transparency */
}

.logo-full {
    height: 45px;
    /* Reduced to 45px */
    width: auto;
    object-fit: contain;
}

.logo-img {
    width: 60%;
    /* internal logo image */
    height: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    font-size: 1.1rem;
    /* Standardized */
}

.logo-text span {
    font-size: 0.78rem;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-links a {
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    cursor: pointer;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    background: var(--green-main);
    /* Changed to green */
    transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-nav {
    padding: 0.45rem 1.3rem;
    font-size: 0.85rem;
    border-radius: 999px;
    border: none;
    background: var(--green-main);
    /* Changed to green */
    color: #ffffff;
    /* Changed to white */
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-nav:hover {
    transform: translateY(-1px);
    background: #01A0E1;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 28px;
    height: 22px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    height: 3px;
    width: 100%;
    background: var(--green-main);
    /* Changed to green */
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   4. HERO SECTIONS
   ========================================= */
/* Standard Hero */
.hero {
    position: relative;
    min-height: 90vh;
    /* Updated to 90vh per request */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #ffffff;
    display: flex;
    align-items: flex-end;
    /* Animation start state */
    filter: grayscale(100%);
    transform: scale(1.05);
    /* Default animation */
    animation: heroColor 6s ease forwards;
    background-image: url("../Images/18142739.jpg");
    /* Default Image */
}

/* Activities Specific Hero */
.hero.activities-hero {
    background-image: url("../Images/full42738.jpg");
    animation: heroColor 2.6s ease forwards;
    /* Slightly faster as per original */
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.4) 35%,
            rgba(0, 0, 0, 0.05) 100%);
}

@keyframes heroColor {
    to {
        filter: grayscale(0%);
        transform: scale(1);
    }
}

.hero-inner {
    position: relative;
    padding-top: clamp(4rem, 10vh, 7rem);
    padding-bottom: clamp(3rem, 8vh, 5rem);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* Center horizontally */
    width: 100%;
    /* Added from Activities */
}

.hero-text {
    text-align: center;
    /* Changed to left for uniform look or standard? Home was center, Act was left. */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Home centric centered text override if needed */
.hero-center-text .hero-text {
    text-align: center;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 4vw + 0.5rem, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.hero-text p {
    font-size: 1rem;
    max-width: 800px;
    margin-bottom: 1.8rem;
    color: #f1fffa;
    line-height: 1.6;
}

.hero-cta {
    padding: 0.7rem 1.8rem;
    border-radius: 999px;
    border: none;
    background: #ffffff;
    color: #0b5d3a;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    background: #01A0E1;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* About Us Hero (Slider) */
/* About Us Hero (Static) */
.hero.hero-about {
    background-image: url("https://images.unsplash.com/photo-1517849845537-4d257902454a");
    animation: heroColor 2.6s ease forwards;
    /* Standardize animation */
}

/* Donate Hero */
.hero.donate-hero,
#donate-hero-id {
    background-image: url("../Images/donate_hero_optimized.jpg") !important;
    animation: heroColor 2.6s ease forwards;
}

/* Remove old content styling as it is now handled by .hero .hero-text */
/* .about-hero-content, .about-hero h1, .about-hero p removed */

/* @keyframes heroSlide removed or kept if needed elsewhere (currently unused) */

/* =========================================
   5. HOME PAGE SECTIONS
   ========================================= */
.rescue-section {
    background: #dff4f2;
    padding: 4rem 2.4rem 1.7rem;
}

.rescue-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 1.9rem;
    align-items: stretch;
    /* Stretch to match text height */
}

.rescue-img {
    width: 100%;
    /* Fixed height removed for dynamic stretch */
    min-height: 350px;
    margin: 1.5rem 0;
    /* Margin from top and bottom */
    border-radius: 30px;
    overflow: hidden;
}

.rescue-img-inner {
    width: 100%;
    height: 100%;
    background-image: url("../Images/23688283.jpg");
    background-size: cover;
    background-position: center;
    transition: transform 0.9s ease, filter 0.9s ease;
}

.rescue-img:hover .rescue-img-inner {
    transform: scale(1.05);
}

.rescue-text small {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    display: block;
    margin-bottom: 0.4rem;
    color: #345b52;
}

.rescue-text h2 {
    font-size: 1.6rem;
    margin-bottom: 0.9rem;
}

.rescue-text p,
#rescue-desc {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.95rem;
    color: #24403a;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

/* Upcoming Card */
.upcoming {
    padding: 1.5rem 2.4rem 2.2rem;
}

.upcoming-card {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    background: var(--green-mid);
    border-radius: var(--radius-big);
    color: #ffffff;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.upcoming-left {
    padding: 1.6rem 1.9rem;
}

.upcoming-left h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.upcoming-left p {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    max-width: 430px;
}

.upcoming-date {
    margin-top: 0.7rem;
    font-weight: 600;
}

.upcoming-cta {
    margin-top: 0.9rem;
    width: 170px;
    height: 40px;
    border-radius: 999px;
    background: #ffffff;
    border: none;
    cursor: pointer;
    color: var(--green-mid);
    font-weight: 600;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.upcoming-cta:hover {
    transform: translateY(-2px);
    background: #01A0E1;
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34);
}

.upcoming-right {
    position: relative;
}

.upcoming-img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    background-image: url("https://images.pexels.com/photos/7354239/pexels-photo-7354239.jpeg?auto=compress&cs=tinysrgb&w=1200");
    background-size: cover;
    background-position: center;
}

/* Home Activities Grid */
.activities-section {
    background: #f3fbfa;
    padding: 2.6rem 2.4rem 2.4rem;
}

.activities-overview {
    background: #bcefe2;
}

.activities-overview .section-title {
    margin-bottom: 3.5rem;
}

.activities-title {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.7rem;
}

.activity-card {
    background: #ffffff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transition: transform 0.6s ease, box-shadow 0.22s ease;
}

.activity-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.activity-img {
    width: 100%;
    padding-top: 90%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.activity-card:hover .activity-img {
    transform: scale(1.08);
}

.activity-body {
    padding: 1.1rem 1.4rem 1.4rem;
    flex: 1;
}

.activity-body h4 {
    font-size: 1rem;
    margin-bottom: 0.45rem;
}

.activity-body p {
    font-size: 0.85rem;
    color: #566966;
    margin-bottom: 0.9rem;
}

.activity-btn {
    border-radius: 999px;
    border: none;
    background: #d7f4ee;
    color: var(--green-mid);
    padding: 0.45rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.activity-btn:hover {
    background: #01A0E1;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Gallery */
.gallery-section {
    background: #f8fbfb;
    padding: 2.6rem 2.4rem 2.4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: grayscale(40%);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* Impact Section */
.impact-section {
    background: var(--impact-bg);
    color: #e0fff5;
    text-align: center;
    padding: 2.4rem 1.5rem 2.6rem;
}

.impact-section h3 {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #99d9c9;
}

.impact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.impact-item strong {
    display: block;
    font-size: 1.7rem;
    margin-bottom: 0.2rem;
    color: #0ecf79;
}

.impact-item>span {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* =========================================
   6. ABOUT US SECTIONS
   ========================================= */
.community-section {
    padding-top: 3.5rem;
}

.community-section .section-title {
    margin-bottom: 3.5rem;
}

.community-card h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.community-card h3 {
    font-size: 1.2rem;
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
}

.community-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 980px;
    margin-bottom: 0.35rem;
}

.profile-row {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 2rem;
}

.profile-photo {
    border-radius: 50px;
    overflow: hidden;
    max-width: 320px;
    justify-self: center;
    box-shadow: var(--shadow-soft);
}

.profile-photo-inner {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    transition: filter 0.8s ease, transform 0.7s ease;
}

.profile-img-element {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
    /* Removed grayscale */
    transition: transform 0.7s ease;
}

.profile-photo:hover .profile-img-element {
    transform: scale(1.05);
}

.profile-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #263b34;
    margin-bottom: 0.7rem;
}

.profile-text .signature {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: italic;
    text-align: right;
}

/* Mission / Vision */
.mv-section {
    background: #f8fbfb;
}

.mv-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mv-card {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 1.6rem;
    align-items: center;
    background: #ffffff;
    padding: 1.6rem;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

.mv-card.reverse {
    grid-template-columns: .8fr 1.2fr;
}

.mv-img {
    min-height: 200px;
    border-radius: 22px;
    background-size: cover;
    background-position: center;
}

.mv-wrapper p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.7rem;
}

.mv-wrapper h3 {
    font-size: 1.2rem;
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
}

/* =========================================
   7. ACTIVITIES LANDING SECTIONS
   ========================================= */
.activities-overview {
    background: #f3fbfa;
}

.overview-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.overview-block {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 2.2rem;
}

.overview-block.reverse {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
}

.overview-img {
    position: relative;
    border-radius: 50px;
    overflow: hidden;
    min-height: 340px;
    box-shadow: var(--shadow-soft);
    background: #ccc;
}

.overview-img-inner {
    position: absolute;
    inset: 0;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.9s ease, filter 0.9s ease;
}

.overview-img:hover .overview-img-inner {
    transform: scale(1.05);
}

.overview-text h3 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
}

.overview-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #24403a;
    margin-bottom: 0.5rem;
}

.overview-text ul {
    padding-left: 1.2rem;
    margin-top: 0.4rem;
}

.overview-text li {
    font-size: 0.93rem;
    color: #314e46;
    margin-bottom: 0.25rem;
}

/* Future Plans */
.future-plans {
    background: #f8fbfb;
}

.plans-intro {
    max-width: 720px;
    margin: 0 auto 2.4rem;
    text-align: center;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #27433c;
}

.plans-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.plan-item {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 1.5rem;
}

.plan-img {
    border-radius: 30px;
    overflow: hidden;
    min-height: 120px;
    background: #ddd;
}

.plan-img-inner {
    width: 100%;
    height: 100%;
    min-height: 170px;
    /* Reduced height as requested */
    background-size: cover;
    background-position: center;
    filter: grayscale(0%);
    transition: filter 0.8s ease;
}

.plan-item:hover .plan-img-inner {
    filter: grayscale(0%);
}

.plan-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.plan-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #304743;
    margin-bottom: 0.3rem;
}

.plan-text span {
    font-size: 0.9rem;
    color: #0c4b2f;
}

/* =========================================
   8. DONATE & VOLUNTEER PAGE
   ========================================= */

/* Donate Card */
.donate-card {
    background: #fff;
    padding: 1.5rem;
    /* Reduced from 2.2rem */
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-soft);
}

.donate-card.highlight {
    background: #e9fbf8;
    border: 1px solid #d4eff0;
}

.donate-card h3 {
    margin-bottom: 1rem;
    /* Reduced from 1.4rem */
    color: var(--green-main);
    font-size: 1.35rem;
}

.donate-card p {
    margin-bottom: 0.4rem;
    /* Reduced */
    color: #2e4d46;
}

.qr-box {
    margin-top: 1.4rem;
    /* Reduced */
    padding: 0.8rem;
    background: #fff;
    border-radius: var(--radius-card);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.qr-box img {
    max-width: 120px;
    /* Reduced size slightly */
    margin-bottom: 0.4rem;
}

/* Volunteer Form Card */
#volunteer {
    background: #ffffff;
}

/* Side Panel Form (Volunteer) */
.side-panel label {
    display: block;
    margin-bottom: 0.3rem;
    /* Reduced */
    font-weight: 600;
    color: var(--green-mid);
    font-size: 0.9rem;
    /* Slightly smaller */
}

.side-panel input,
.side-panel textarea,
.side-panel select {
    width: 100%;
    padding: 0.7rem 1rem;
    /* Reduced padding */
    border: 2px solid #e1e9e6;
    border-radius: 12px;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    /* Reduced margin */
    transition: all 0.3s ease;
    background: #fbfdfc;
    font-family: inherit;
}

.side-panel input:focus,
.side-panel textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(188, 239, 226, 0.3);
}

.side-panel .hero-cta {
    margin-top: 0.8rem;
    font-size: 1rem;
}

/* How To Help Section (Right side of Volunteer) */
.how-to-help {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.how-to-help h4 {
    color: var(--green-main);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.how-to-help ul {
    padding-left: 1.2rem;
}

.how-to-help ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

.how-to-help ul li::marker {
    color: var(--accent);
}


.volunteer-card .hero-cta {
    margin-top: 0.8rem;
    font-size: 1rem;
}

/* Donation Blocks */
.donation-block {
    background: #fff;
    padding: 1.8rem;
    border-radius: var(--radius-card);
    margin-bottom: 1.8rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.donation-block h4 {
    margin-bottom: 0.8rem;
    color: var(--green-main);
}

.donation-block ul li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #3b5c53;
}

.donation-block ul li::before {
    content: "•";
    color: var(--green-mid);
    position: absolute;
    left: 0;
    font-size: 1.4rem;
    line-height: .9;
}

/* =========================================
   8. CONTACT & DONATE FORMS
   ========================================= */
.two-col {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 3rem;
    align-items: start;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Side Panel (Donate) & Contact Info */
.side-panel,
.contact-info {
    background: #ffffff;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

.contact-info {
    /* override simple background if needed, but keeping consistent */
}

.side-panel h3,
.contact-info h3 {
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.side-panel p {
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}

.qr-box {
    margin-top: 1rem;
    padding: 1.2rem;
    border-radius: 16px;
    background: #f2f7f6;
    text-align: center;
    font-size: 0.8rem;
}

/* Contact Info blocks */
.info-block {
    margin-bottom: 1.4rem;
}

.info-block span {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.2rem;
}

.follow-us {
    margin-top: 2.6rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.6rem;
}

.social-icons img,
.social-icons svg {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    fill: var(--green-main);
    /* For SVGs */
}

.social-icons a:hover svg,
.social-icons a:hover img {
    fill: #01A0E1;
    transform: translateY(-3px) scale(1.1);
}

/* Donation Content */
.donation-content p {
    max-width: 720px;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.donation-block h4 {
    margin-top: 0.6rem;
    margin-bottom: 1.2rem;
    color: var(--green-main);
}

.donation-block ul {
    padding-left: 1.2rem;
}

.donation-block li {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

/* Forms */
.contact-form,
.volunteer-form {
    background: #fff;
    color: #063a2a;
    /* Unified color */
    padding: 2rem;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

.contact-form h3 {
    margin-top: 0;
    margin-bottom: 1.4rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border-radius: 8px;
    border: 1.5px solid #063a2a;
    outline: none;
    font-size: 0.9rem;
}

.form-group textarea {
    resize: none;
    height: 90px;
}

.submit-btn {
    margin-top: 1.2rem;
    background: var(--green-main);
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

.submit-btn:hover {
    background: #01A0E1;
    color: #ffffff;
    /* Unified hover color */
}

/* =========================================
   9. FOOTER
   ========================================= */
.footer {
    background: var(--footer-bg);
    color: #eaf9f5;
    padding: 2.4rem 2.4rem 1.7rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
    gap: 2rem;
    width: 95%;
    max-width: 1800px;
    margin: 0 auto;
    font-size: 0.85rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    gap: 0.2rem;
    align-items: flex-start;
}

.footer-logo .logo-circle {
    border-color: #8de0c8;
}

.footer-logo p {
    margin-top: 0;
    /* Remove extra margin */
    font-size: 0.8rem;
    color: #c6e5dd;
    max-width: 220px;
    /* Restrict width */
    line-height: 1.4;
    text-align: left;
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.footer li {
    margin-bottom: 0.25rem;
}

.footer a {
    font-size: 0.82rem;
    color: #d9f8ef;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    /* White filled icons */
    flex-shrink: 0;
}

.footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    width: 95%;
    max-width: 1800px;
    margin: 1.2rem auto 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 0.6rem;
    font-size: 0.78rem;
    color: #a8d4c8;
    text-align: center;
}

/* =========================================
   10. RESPONSIVE
   ========================================= */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-right {
        justify-content: center;
    }

    .rescue-grid {
        grid-template-columns: 1fr;
    }

    .upcoming-card {
        grid-template-columns: 1.2fr 1fr;
    }

    .activities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
    }

    .profile-row {
        grid-template-columns: 1fr;
    }

    .profile-photo {
        max-width: 280px;
    }

    .overview-block,
    .overview-block.reverse {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        align-items: stretch;
    }

    .overview-block .overview-img {
        order: 0;
    }

    .overview-block .overview-text {
        order: 1;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .plan-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 cols on tablet */
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .donate-options-grid {
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .nav-inner {
        padding-inline: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #ffffff;
        /* Changed to white */
        border-top: 1px solid #eee;
        /* Separator */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 0.6rem;
        padding: 0.7rem 1.2rem 0.9rem;
        display: none;
        z-index: 25;
    }

    .nav-links.open {
        display: flex;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-right {
        grid-row: 1;
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .hero-left {
        grid-row: 2;
        padding-right: 0;
    }

    /* UNIFIED MOBILE PADDING */
    .section,
    .contact-section,
    #donate,
    #volunteer,
    .rescue-section,
    .upcoming,
    .activities-section,
    .activities-overview,
    /* Added */
    .future-plans,
    /* Added */
    .footer,
    .gallery-section,
    .impact-section,
    .community-section,
    .mv-section {
        padding-inline: 1.2rem !important;
    }

    .upcoming-card {
        grid-template-columns: 1fr;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* All gallery images now visible on mobile */

    .mv-card {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column-reverse;
        /* Puts image (last child) on top */
        gap: 1.5rem;
    }

    .mv-card.reverse {
        grid-template-columns: 1fr;
        flex-direction: column;
        /* Keeps normal order for Vision (Image is already first in HTML) */
    }

    .mv-img {
        width: 100%;
        min-height: 250px;
        /* Force image visibility on mobile */
    }

    /* Standardize hero padding for mobile */
    .hero,
    .hero-inner {
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }

    .hero {
        min-height: 100vh;
        /* Force full screen on mobile too */
        align-items: center;
    }

    .hero-inner {
        padding-top: 5rem;
        padding-bottom: 3rem;
        justify-content: center;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================
   LIGHTBOX STYLES
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 70%;
    /* User requested 70% of viewport */
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close Button */
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1001;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Navigation Buttons */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-btn.prev {
    left: 2%;
}

.lightbox-btn.next {
    right: 2%;
}

@media (max-width: 768px) {
    .lightbox-content {
        width: 90%;
        /* Increase width on mobile for better visibility */
    }

    .lightbox-btn {
        padding: 0.5rem;
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }

    .close-lightbox {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

/* =========================================
   8. GLOBAL MODAL STYLES (Moved from Donate.html)
   ========================================= */
/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-content {
    background: #fff;
    border-radius: var(--radius-big);
    padding: 2.5rem;
    width: 100%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: modalPop 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalPop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.close-modal:hover {
    color: #333;
}

/* Modal Headers */
.modal-header {
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--mint-bg);
    padding-bottom: 1rem;
}

.modal-header h3 {
    font-size: 1.6rem;
    color: var(--green-mid);
}

/* Bank Details Grid */
.modal-bank-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .modal-bank-grid {
        grid-template-columns: 1fr;
    }
}

.bank-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.bank-row span:first-child {
    font-weight: 600;
    color: #555;
}

.bank-row span:last-child {
    font-weight: 500;
    color: #333;
    text-align: right;
}

/* QR Code Box */
.qr-code-box {
    text-align: center;
    background: var(--mint-bg);
    padding: 1.5rem;
    border-radius: var(--radius-card);
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    background: #fff;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ccc;
}

.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* ensure full visibility */
}

/* Volunteer Form Styles */
.vol-form-group {
    margin-bottom: 1.2rem;
}

.vol-form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.vol-form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.vol-success-message {
    display: none;
    text-align: center;
    padding: 2rem;
    background: #dff4f2;
    border-radius: 12px;
    color: var(--green-mid);
}

.vol-success-message h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Volunteer Roles (Restored) */
.volunteer-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.volunteer-role {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-card);
    border-left: 5px solid var(--green-mid);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
}

.volunteer-role h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--green-main);
}

.volunteer-role p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
    flex: 1;
}

.vol-btn-wrapper {
    margin-top: auto;
    text-align: left;
}

/* =========================================
   10. PAGE SPECIFIC STYLES (Migrated)
   ========================================= */

/* DONATE PAGE */
.donate-options-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.donate-card {
    background: #ffffff;
    border-radius: var(--radius-card);
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1 1 250px;
    max-width: 300px;
}

.donate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--green-mid);
}

.donate-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: inline-block;
    background: var(--mint-bg);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    color: var(--green-main);
}

.donate-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-main);
    margin: 0.5rem 0;
    display: block;
}

.donate-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.donate-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Hero Override for Donate */
.hero.donate-hero {
    background-image: url('../Images/donate_hero_optimized.jpg');
}

/* Hero Override for About Us */
.hero.hero-about {
    background-image: url('../Images/WhatsApp Image 2025-11-24 at 6.55.08 PM.jpeg');
}

/* CONTACT PAGE */
/* CONTACT PAGE using valid optimized image */
.hero.contact-hero {
    background-image: url('../Images/cute-white-brown-terrier-dog-sitting-street_optimized.jpg');
    min-height: 50vh;
}

.contact-section {
    padding-top: 1rem;
    padding-bottom: 4rem;
}

.contact-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-info {
    background: transparent;
    padding: 1rem;
    border-radius: var(--radius-big);
    box-shadow: none;
    flex: 1 1 300px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 1.5rem;
    padding-top: 2.2rem;
    border-radius: var(--radius-big);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    flex: 1 1 350px;
}

.contact-form h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.icon-green {
    width: 20px;
    height: 20px;
    fill: var(--green-main);
    margin-right: 0.5rem;
    vertical-align: middle;
}


/* Button Donate Style */
.btn-donate {
    display: inline-block;
    background: var(--green-main);
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}


.btn-donate:hover {
    background: #01A0E1;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* Small buttons inside cards */
.donate-card .btn-donate {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}