/*
Theme Name: CharityCom Custom
Theme URI: https://www.charitycom.co.uk/
Author: Antigravity
Description: A custom pixel-perfect replica of CharityCom.
Version: 1.1
Text Domain: charitycom-custom
*/

:root {
    /* Colors */
    --color-primary: #FF7F50; /* Coral */
    --color-primary-dark: #214F58; /* Deep Teal */
    --color-secondary-dark: #2A3C40;
    --color-light-bg: #F0F7F8;
    --color-text-body: #555555;
    --color-white: #FFFFFF;
    --color-black: #000000;
    
    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    
    /* Layout */
    --container-width-max: 1440px;
    --container-width-content: 1440px;
    --border-radius-card: 20px;
    --border-radius-btn: 50px;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-body);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}
.custom-logo-link img {
    max-width: 200px;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

p {
    margin-bottom: 1.5em;
}

/* Utilities */
.container {
    max-width: var(--container-width-content);
    margin: 0 auto;
    padding: 0 20px;
}

.container-large {
    max-width: var(--container-width-max);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: var(--border-radius-btn);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #e06b42; /* Slightly darker coral */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 127, 80, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 20px;
    color: #214F58; /* Dark Green */
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mission Section */
.mission-section {
    position: relative;
    padding: 120px 0; /* Increased padding */
    color: #fff;
    overflow: hidden;
    text-align: left;
    display: flex;
    align-items: center; /* Vertically center content */
    background-color: #000000; /* Fallback background color: Dark Black */
}

.mission-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.mission-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark Black Overlay (70% Opacity) */
    z-index: 1;
}

.mission-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.mission-title {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    line-height: 1.1;
}

.mission-content {
    max-width: 800px;
    margin: 0; /* Align left relative to container */
    text-align: left;
}

.mission-text {
    font-size: 20px;
    line-height: 1.7;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 850px; /* Premium height */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%); /* Improved Overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    padding-top: 60px; /* Offset for header if needed */
}

.hero-subheading {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.9);
}

.hero-title {
    font-size: 64px;
    font-weight: 800; /* Bolder */
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-text {
    font-size: 22px;
    margin-bottom: 50px;
    color: rgba(255,255,255,0.95);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons .btn {
    margin: 0 10px;
    padding: 16px 45px; /* Larger buttons */
    font-size: 18px;
}

/* Override Button Styles for Dark Hero Background */
.hero-buttons .btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.hero-buttons .btn-primary:hover {
    background-color: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

.hero-buttons .btn-outline {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}
.hero-buttons .btn-outline:hover {
    background-color: #fff;
    color: var(--color-black);
    border-color: #fff;
}

/* Swiper Navigation Customization */
.hero-slider .swiper-button-next, 
.hero-slider .swiper-button-prev {
    color: #fff;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:after, 
.hero-slider .swiper-button-prev:after {
    font-size: 24px;
    font-weight: bold;
}

.hero-slider .swiper-button-next:hover, 
.hero-slider .swiper-button-prev:hover {
    background: var(--color-primary);
    color: #fff;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.4;
    transition: all 0.3s;
}
.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--color-primary);
    transform: scale(1.2);
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-image img {
    /* Removed styles per request */
}

.welcome-content .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.welcome-text {
    font-size: 18px;
    color: var(--color-text-body);
}

/* Partners (Swiper Carousel) */
.partners-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.partners-section .section-title {
    font-size: 42px;
    margin-bottom: 20px;
    opacity: 1;
    color: var(--color-primary-dark);
}

.partner-text {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-body);
    max-width: 800px;
    margin: 0 auto 50px;
}

.partners-carousel .swiper-wrapper {
    transition-timing-function: linear;
}

.partner-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.partner-slide:hover {
    opacity: 1;
}

.partner-slide img {
    max-height: 100px; /* Increased from 60px */
    width: auto;
    object-fit: contain;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: #f0f7f8;
}

.services-section .section-title {
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.3s ease;
    text-align: center;
    box-shadow: none;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--border-radius-card);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    padding: 0;
    margin-top: 20px;
    font-weight: 700;
    color: var(--color-secondary-dark);
}

.service-card p {
    padding: 0 20px 20px;
}


/* Packages Section */
.packages-section {
    padding: 100px 0;
    background-color: var(--color-white); /* White background per design image */
}

/* 4-column grid for Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.package-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pkg-card-header,
.pkg-card-turnover,
.pkg-card-body,
.pkg-card-footer {
    padding: 25px 30px;
}

.pkg-card-header {
    padding-top: 40px;
    padding-bottom: 15px;
}

/* Separators */
.pkg-card-turnover,
.pkg-card-body,
.pkg-card-footer {
    border-top: 1px solid #eee;
}

/* Typography & Elements */
.package-icon {
    margin-bottom: 15px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.package-icon img, .package-icon svg, .package-icon i {
    width: auto;
    height: 32px;
    color: var(--color-primary-dark);
}

.package-card h3 {
    font-size: 16px; 
    font-weight: 700;
    margin: 0;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-subtitle {
    display: block;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    font-weight: 600;
}

.pkg-card-body {
    flex-grow: 1; 
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    text-align: center; /* Centered per design */
}

.pkg-card-footer .btn {
    width: 100%;
    background-color: #FF7F50; /* Orange */
    border-radius: 50px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1200px) {
    .packages-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    
    .mission-section .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .mission-title {
        width: 100%;
        margin-bottom: 20px;
    }
}
@media (max-width: 600px) {
    .packages-grid { grid-template-columns: 1fr; }
}







/* WPForms Customization */
div.wpforms-container-full .wpforms-form button[type=submit] {
    background-color: var(--color-primary) !important;
    border-radius: var(--border-radius-btn) !important;
    padding: 14px 40px !important;
    font-family: var(--font-primary) !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    border: none !important;
    transition: background 0.3s ease !important;
}

div.wpforms-container-full .wpforms-form button[type=submit]:hover {
    background-color: #ff6347 !important;
}

div.wpforms-container-full .wpforms-form input[type=text],
div.wpforms-container-full .wpforms-form input[type=email],
div.wpforms-container-full .wpforms-form input[type=tel],
div.wpforms-container-full .wpforms-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 16px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

div.wpforms-container-full .wpforms-form input:focus,
div.wpforms-container-full .wpforms-form textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.15);
    background-color: #fff;
    transform: translateY(-2px);
}

div.wpforms-container-full .wpforms-form label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    color: var(--color-primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .welcome-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-title {
        font-size: 36px;
    }
}

/* ----------------------------------------------------------------
   Internal Page Styles
----------------------------------------------------------------- */

/* ----------------------------------------------------------------
   Internal Page Styles (Consolidated)
----------------------------------------------------------------- */
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--color-light-bg); }
.text-left { text-align: left; }
.text-center { text-align: center; }

/* Inner Hero Global */
.hero-inner {
    padding: 100px 0;
    min-height: 550px; /* Increased for taller banner per design */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: min-height 0.3s ease;
}
.hero-inner .hero-title {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--color-primary-dark);
}
.hero-inner .hero-text {
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-text-body);
}

/* Common FAQ Styles (Used in Packages etc) */
.faq-grid {
    max-width: 800px;
    margin: 60px auto 0;
}
.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-question h4 { margin: 0; font-size: 20px; }
.toggle-icon {
    font-size: 24px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}
.faq-answer {
    display: none;
    padding-top: 15px;
    color: #666;
}
.faq-item.active .faq-answer { display: block; }
.faq-item.active .toggle-icon { transform: rotate(45deg); }

/* Form Styles Global */
.wpforms-container { max-width: 100%; }

/* Responsive Global */
@media (max-width: 768px) {
    .hero-inner {
        min-height: 400px; /* Reduce height on tablet/mobile */
    }
    .hero-inner .hero-title { font-size: 36px; }
    .hero-inner .hero-text { font-size: 18px; }
    .section-padding { padding: 60px 0; }
}

@media (max-width: 480px) {
    .hero-inner {
        min-height: 350px; /* Further reduce on smaller screens */
    }
}


/* --- Inner Page Redesign Styles --- */

/* --- 1. Services Page (Grid) --- */
.services-list-section {
    background-color: #fff;
    padding-bottom: 80px;
}
.svc-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.svc-grid-item {
    text-align: center;
    transition: transform 0.3s ease;
}
.svc-grid-item:hover {
    transform: translateY(-5px);
}
.svc-img-box {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.svc-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.svc-grid-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary-dark);
}

/* --- 2. Our Works (Alternating List) --- */
.hero-inner-works {
    position: relative;
    color: #fff;
    text-align: center;
}
.hero-inner-works .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.hero-inner-works .hero-title {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero-inner-works .hero-text {
    color: #fff;
    opacity: 0.9;
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.works-list {
    display: flex;
    flex-direction: column;
    gap: 120px; /* Large gap per design */
}
.work-row {
    display: flex;
    align-items: center;
    gap: 80px;
}
.work-row.reversed {
    flex-direction: row-reverse;
}
.work-media-col {
    flex: 1;
}
.work-content-col {
    flex: 1;
}

.work-logo-box {
    width: 100%;
    aspect-ratio: 1 / 1; /* Square */
    /* background-color is handled inline */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}


.work-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-black);
}

.work-desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
}
.work-desc strong {
    color: var(--color-black);
    font-weight: 600;
}

.work-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.work-socials {
    display: flex;
    gap: 15px;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #214F58; /* Dark Teal Base */
    color: #fff;
    border-radius: 4px; /* Slightly rounded squares */
    font-size: 18px;
    transition: all 0.3s;
}
.social-icon:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 25px;
    font-size: 15px;
}

/* Specific Adjustments for design matches */
.work-row.reversed .work-content-col {
    padding-right: 0;
}

@media (max-width: 900px) {
    .work-row {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
    }
    .work-logo-box {
        max-width: 500px;
        margin: 0 auto;
    }
    .work-actions {
        justify-content: center;
    }
    .works-list {
        gap: 80px;
    }
}
/* Dynamic Backgrounds based on nth-child or generic cycling */
/* Dynamic Backgrounds Removed as per request */
.work-logo-box {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: transparent; /* No background */
}

.work-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.work-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000000; /* Black as requested */
}
.work-subtitle {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #000000; /* Black as requested */
    font-weight: 600;
}
.work-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #000; /* Ensuring description is also dark/black if preferred, or kept dark gray */
    margin-bottom: 30px;
}
.work-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.work-socials {
    display: flex;
    gap: 15px;
}
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: 0.3s;
}
.social-icon:hover {
    background: var(--color-secondary);
    color: white;
}

/* --- 3. Packages (Stacked Tiers) --- */
.packages-list-section {
    background-color: #fff;
}
.pkg-tier-card {
    display: flex;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    min-height: 400px;
}
.pkg-tier-content {
    flex: 0 0 55%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pkg-tier-features {
    flex: 0 0 45%;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* Tier Specific Colors */
.pkg-tier-1 { background-color: #F8F9FA; } /* Starter - Gray */
.pkg-tier-2 { background-color: #F2F5FF; } /* Advanced - Blueish */
.pkg-tier-3 { background-color: #FFFBE6; } /* Premium - Yellowish */
.pkg-tier-4 { background-color: #FFF2F2; } /* Managed - Pinkish */

.pkg-tier-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary-dark);
}
.pkg-tier-price {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-secondary); /* Coral */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pkg-tier-desc {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}
.pkg-btn {
    align-self: flex-start;
    padding: 15px 40px;
}
.pkg-included-label {
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    color: var(--color-primary-dark);
}
.pkg-tier-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pkg-tier-features ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 16px;
    color: #444;
}
.pkg-tier-features ul li::before {
    /* font-size: 24px; */
    /* position: absolute; */
    /* left: 0; */
    /* top: -5px; */
}

/* --- 4. Contact Page --- */
.contact-header-section {
    padding-top: 60px;
    padding-bottom: 60px;
}
.contact-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ch-text {
    flex: 0 0 60%;
}
.contact-mini-info {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-primary-dark);
}
.ch-qr {
    flex: 0 0 30%;
    display: flex;
    justify-content: flex-end;
}
.qr-img {
    max-width: 150px;
}
.schedule-section {
    padding-top: 80px;
    padding-bottom: 80px;
}
.contact-form-wrapper-centered {
    max-width: 800px;
    margin: 40px auto 0;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* --- 5. About Page Collage --- */
.mission-section-pg {
    position: relative;
}
.mission-pg-text {
    font-size: 24px;
    font-weight: 300;
}
.welcome-collage-section {
    overflow: hidden; /* Prevent image overflow */
}
.collage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.story-text-block p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.7;
    color: #555;
}
.collage-images {
    position: relative;
    height: 600px; /* Adjust as needed */
    width: 100%;
}
.collage-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.c-img-1, .c-img-2, .c-img-3 {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
/* About Page Collage - Grid Layout */
.collage-images {
    width: 100%;
}

.collage-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns */
    grid-template-rows: 1fr 1fr;    /* 2 Rows */
    gap: 30px;
    height: 600px; /* Fixed height for consistency */
}

/* Image 1: Large Left (Spans 2 Rows) */
.c-img-1 {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    width: 100%; /* Reset width */
    top: auto; left: auto; /* Reset positioning */
}

/* Image 2: Top Right */
.c-img-2 {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    width: 100%;
    padding-bottom: 0;
    top: auto; right: auto;
}

/* Image 3: Bottom Right */
.c-img-3 {
    grid-column: 2;
    grid-row: 2;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    width: 100%;
    padding-bottom: 0;
    bottom: auto; right: auto;
}

.collage-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative; /* Reset from absolute */
}

/* Responsive */
@media (max-width: 768px) {
    .collage-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    .c-img-1 {
        grid-row: auto;
        height: 400px;
    }
    .c-img-2, .c-img-3 {
        height: 300px;
    }
}

/* Responsive Adjustments for Inner Pages */
@media (max-width: 991px) {
    .svc-page-grid { grid-template-columns: repeat(2, 1fr); }
    .work-row, .work-row.reversed { flex-direction: column; gap: 30px; }
    .work-logo-box { height: 300px; }
    .pkg-tier-card { flex-direction: column; }
    .pkg-tier-content, .pkg-tier-features { padding: 40px; flex: auto; border-left: none; border-top: 1px solid rgba(0,0,0,0.05); }
    .collage-grid { grid-template-columns: 1fr; }
    .collage-images { height: 400px; margin-top: 40px; }
    .contact-header-flex { flex-direction: column; text-align: center; gap: 30px; }
    .ch-qr { justify-content: center; }
}
@media (max-width: 767px) {
    .svc-page-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 36px; }
    .contact-form-wrapper-centered { padding: 30px 20px; }
}

/* --- Services Page Redesign (New Implementation) --- */
.services-alternating-list {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image-col {
    flex: 1;
}

.service-image-box {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    /* Optional: Add shadow or style from design */
}

.service-image-box img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3; /* Adjust based on image preference */
    object-fit: cover;
}

.service-content-col {
    flex: 1;
}

.service-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary-dark);
}

.service-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-body);
    margin-bottom: 30px;
}

/* Packages Grid Override/Specifics */
.packages-grid-section {
    background-color: #F0F7F8;
    padding: 100px 0;
}

.pkg-card-reused {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pkg-card-reused:hover {
    transform: translateY(-10px);
}
.pkg-icon-box {
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pkg-icon-box img, .pkg-icon-box svg {
    height: 100%;
    width: auto;
    color: var(--color-primary-dark);
}
.pkg-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary-dark);
}
.pkg-price {
    font-size: 16px;
    color: #777;
    margin-bottom: 20px;
    font-weight: 500;
    display: block;
}
.pkg-desc {
    font-size: 15px;
    margin-bottom: 30px;
    color: #555;
}
.pkg-features {
    text-align: left;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}
.pkg-features ul {
    list-style: none;
    padding: 0;
}
.pkg-features li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}
.pkg-features li:before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Partners Strip (We've worked with) */
.partners-strip {
    text-align: center;
    padding: 80px 0;
}
.partners-grid-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}
.partner-logo-item img {
    max-height: 60px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
.partner-logo-item img:hover {
    opacity: 1;
    filter: none;
}

@media (max-width: 992px) {
    .service-row {
        gap: 40px;
    }
    .service-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .service-row, .service-row.reverse {
        flex-direction: column;
        text-align: center; /* Generally center on mobile */
        gap: 30px;
    }
    .service-image-box img {
        aspect-ratio: 16/9;
    }
    .service-title {
        font-size: 28px;
    }
    .partners-grid-simple {
        gap: 20px;
    }
    .partner-logo-item {
        width: 45%; /* 2 per row */
        display: flex;
        justify-content: center;
    }
}

/* Contact Page Header Styles */
.contact-header-section {
    background-color: #fff !important;
    padding-top: 80px;
    padding-bottom: 80px;
}
.contact-header-section .container {
    max-width: 1000px;
}
.contact-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}
.ch-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}
.contact-hero-title {
    color: #000000 !important;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
}
.contact-hero-text {
    color: #000000 !important;
    font-size: 1rem;
    margin-bottom: 15px;
    max-width: 600px;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
}
.contact-hero-text:last-child {
    margin-bottom: 0;
}
.ch-qr {
    flex: 0 0 auto;
}
.contact-qr-img {
    max-width: 180px;
    height: auto;
}


/* Packages Page Hero Styles */
.packages-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 0; /* Adjust height as needed */
    color: #fff;
    margin-bottom: 50px;
}

.packages-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 50, 70, 0.7); /* Teal/Dark Blue overlay based on design */
    z-index: 1;
}

.packages-hero-content {
    position: relative;
    z-index: 2;
}

.pkg-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 20px auto;
    max-width: 800px;
}

.pkg-hero-text {
    font-size: 1.15rem;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Packages Page List Styles */
.pkg-tier-card {
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
}

.pkg-layout-flex {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.pkg-col-left, .pkg-col-right {
    flex: 1;
    min-width: 300px;
}

.pkg-tier-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.pkg-tier-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pkg-tier-desc {
    color: #333;
    margin-bottom: 30px;
}
.pkg-tier-desc h6 {
    font-size: 20px;
    font-weight: 300;
    color: #333;
    line-height: 1.4;
}
.pkg-btn-custom {
    background-color: #FF7F50;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.pkg-btn-custom:hover {
    background-color: #e06b42;
    color: #fff;
}


/* Custom List Styling inside Features */
.pkg-tier-features ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
    margin-left: 0;
}

.pkg-tier-features li {
    position: relative;
    padding-left: 30px; /* Space for icon */
    margin-bottom: 12px;
    line-height: 1.5;
}

.pkg-tier-features li::before {
    content: '\f00c'; /* FontAwesome check icon code */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #FF7F50; /* Orange color */
    position: absolute;
    left: 0;
    top: 2px;
}

/* Handle 'Included:' label if it's a paragraph or strong tag */
.pkg-tier-features p:first-child strong, 
.pkg-tier-features h3, 
.pkg-tier-features h4 {
    display: block;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
}

/* Packages Bottom Section */
.pkg-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 768px) {
    .pkg-bottom-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.pkg-bottom-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
}

.pkg-os-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pkg-os-content li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #333;
    font-size: 1rem;
}

.pkg-os-content li::before {
    content: '\f058'; /* FontAwesome solid circle check */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #FF7F50;
    position: absolute;
    left: 0;
    top: 3px;
}

.pkg-cta-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* =========================================
   Responsive & Header Fixes
   ========================================= */

/* Global Overflow Fix */
html, body {
    overflow-x: hidden;
    width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Header Styles (Moved from Header.php) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Ensure padding on small screens */
}

.site-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: var(--color-primary-dark);
    max-width: 70%; /* Prevent logo from taking full width on mobile */
}

.site-logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

/* Desktop Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-navigation li {
    margin-left: 30px;
}

.main-navigation a {
    font-weight: 500;
    color: var(--color-primary-dark);
    font-size: 16px;
    display: block; /* For better click target */
}

.main-navigation a:hover {
    color: var(--color-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary-dark);
    margin: 5px 0;
    transition: all 0.3s;
}

/* Mobile & Tablet Styles (< 992px) */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        align-items: flex-start; /* Left align items */
        width: 100%;
        z-index: 1001; /* Ensure on top */
    }

    .main-navigation ul.toggled {
        display: flex; /* Show when toggled */
    }

    .main-navigation li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        padding: 15px 0;
        font-size: 18px;
    }
    
    /* Hamburger Animation */
    .menu-toggle.active .icon-bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .icon-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .icon-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* General Mobile Layout Fixes (< 768px) */
@media (max-width: 768px) {
    
    /* Typography Scaling */
    h1, .hero-title { font-size: 32px !important; }
    h2, .section-title { font-size: 28px !important; }
    h3 { font-size: 22px !important; }
    .hero-text { font-size: 16px !important; }
    
    /* Containers */
    .container, .container-large {
        padding: 0 15px; /* Reduce padding slightly */
    }

    /* Grid Stacking */
    .packages-grid, 
    .services-grid, 
    .welcome-grid,
    .svc-page-grid,
    .mission-section .container { 
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
        display: flex !important; /* Force flex column for better stack control */
        gap: 40px;
    }
    
    .mission-section .container {
         align-items: flex-start;
    }

    /* Hero Buttons */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        margin: 0;
        width: 100%;
    }
    
    /* Services Page */
    .svc-img-box {
        height: auto;
        aspect-ratio: 16/9;
    }

    /* Mission Video Background Fix */
    .mission-video-bg {
        width: 100% !important;
        min-width: 0 !important;
        height: 100% !important;
        object-fit: cover !important;
        position: absolute;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
    }
    
    /* Packages Page */
    .package-card {
        margin-bottom: 20px;
    }
    
    /* About & Contact Inner Pages */
    .works-list {
        gap: 60px;
    }
    .work-row {
        flex-direction: column !important;
        text-align: center;
    }
    .work-row.reverse {
        flex-direction: column !important; /* Don't reverse on mobile */
    }
    .work-content {
        padding: 0 !important;
        margin-top: 30px;
        text-align: left;
    }

    /* Footer */
    .footer-widgets {
        flex-direction: column;
        gap: 40px;
    }
    .footer-widget {
        width: 100% !important;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
    .hero-title { font-size: 28px !important; }
    .site-logo img { height: 32px; }
    

    /* Ensure Header Padding */
    .header-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* =========================================
   New Footer Design
   ========================================= */

.site-footer {
    width: 100%;
    margin-top: 0;
    font-family: var(--font-primary);
}

/* Top Section: Dark Teal (#2A3C40 approx from image) */
.footer-top {
    background-color: #2A3C40; /* Dark Slate/Teal */
    padding: 80px 0;
    color: #fff;
}

.footer-top .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* Logo | Pages | Contact */
    gap: 40px;
    align-items: flex-start;
}

/* Footer Logo Area */
.footer-logo {
    display: flex;
    text-decoration: none;
    align-items: center;
}

.charity-logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    /* Using SVG in HTML */
    flex-shrink: 0;
}

/* Custom Logo Text Recreation */
.logo-text {
    display: flex;
    flex-direction: column;
    color: #fff;
}

.logo-main {
    font-size: 40px;
    line-height: 1;
    font-weight: 700; /* Bold 'h' part */
}

.logo-thin {
    font-weight: 300; /* Thin 'com' part */
}

.logo-tagline {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 5px;
}


/* Footer Links & Content */
.footer-col-links h4,
.footer-col-contact h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--color-primary);
}

/* Contact Info */
.footer-col-contact p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col-contact a {
    color: inherit;
    text-decoration: none;
}
.footer-col-contact a:hover {
    color: var(--color-primary);
}

/* Bottom Section: Black/Darker */
.footer-bottom {
    background-color: #1A2628; /* Slightly darker than top */
    padding: 40px 0;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-legal {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 4px;
    color: #000;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-top .footer-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-col-branding {
        text-align: left;
    }
}

