/* ========================================
   Living Waters Resource Center
   Modern Health & Wellness Website
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --green-900: #0B2118;
    --green-800: #1B4332;
    --green-700: #2D6A4F;
    --green-600: #40916C;
    --green-500: #52B788;
    --green-400: #74C69D;
    --green-300: #95D5B2;
    --green-200: #B7E4C7;
    --green-100: #D8F3DC;
    --green-50: #EFFCF3;

    --cream-900: #1A1A14;
    --cream-800: #2D2D24;
    --cream-700: #4A4A3E;
    --cream-600: #6B6B5C;
    --cream-500: #949484;
    --cream-400: #B8B8A8;
    --cream-300: #D4D4C4;
    --cream-200: #E8E8D8;
    --cream-100: #F4F4E8;
    --cream-50: #FAFAF2;
    --cream-25: #FDFDF8;

    --orange-500: #E07A2F;
    --orange-400: #F2A65A;
    --orange-300: #F5C07E;
    --orange-100: #FDF0DC;

    --coral-500: #D4634A;
    --coral-400: #E8836E;
    --coral-100: #FDE8E2;

    --blue-500: #3D7FB5;
    --blue-400: #5A9FD4;
    --blue-100: #E2F0FA;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 3px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 4px 16px rgba(27, 67, 50, 0.1);
    --shadow-lg: 0 8px 32px rgba(27, 67, 50, 0.12);
    --shadow-xl: 0 16px 48px rgba(27, 67, 50, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--cream-800);
    background-color: var(--cream-25);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 253, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(253, 253, 248, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--green-800);
}

.nav-logo-icon {
    color: var(--green-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cream-700);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-500);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--green-700);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--green-700) !important;
    color: white !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--green-800) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--green-800);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cream-25) 0%, var(--green-50) 50%, var(--cream-100) 100%);
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.12) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(224, 122, 47, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: -80px;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(82, 183, 136, 0.07);
    top: 20%;
    left: 5%;
    transform: rotate(15deg);
}

.geo-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    bottom: 25%;
    right: 8%;
    background-image: radial-gradient(circle, var(--green-400) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.4;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-100);
    color: var(--green-800);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--green-900);
    margin-bottom: 24px;
}

.hero-accent {
    color: var(--green-600);
    position: relative;
}

.hero-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(82, 183, 136, 0.25);
    border-radius: 4px;
    z-index: -1;
}

.hero-subheadline {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--cream-600);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-700);
    color: white;
    box-shadow: 0 4px 16px rgba(45, 106, 79, 0.3);
}

.btn-primary:hover {
    background: var(--green-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 106, 79, 0.35);
}

.btn-secondary {
    background: white;
    color: var(--green-800);
    border: 2px solid var(--green-200);
}

.btn-secondary:hover {
    border-color: var(--green-400);
    background: var(--green-50);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--green-800);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.hero-stats {
    display: flex;
    gap: 24px;
    align-items: center;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-700);
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--cream-500);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--green-200);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-main img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--orange-400);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

.hero-floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.hero-floating-card--bottom {
    bottom: 60px;
    left: -30px;
    animation-delay: 1s;
}

.floating-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    flex-shrink: 0;
}

.floating-card-icon--green {
    background: var(--orange-100);
    color: var(--orange-500);
}

.floating-card-text {
    display: flex;
    flex-direction: column;
}

.floating-card-text strong {
    font-size: 0.88rem;
    color: var(--green-900);
}

.floating-card-text span {
    font-size: 0.78rem;
    color: var(--cream-500);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    color: var(--cream-25);
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* --- Section Styles --- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 12px;
}

.section-tag--light {
    color: var(--green-300);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--green-900);
    margin-bottom: 16px;
}

.section-title--light {
    color: white;
}

.section-accent {
    color: var(--green-600);
}

.section-subtitle {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--cream-600);
}

.section-subtitle--light {
    color: rgba(255, 255, 255, 0.75);
}

/* --- Services Section --- */
.services {
    position: relative;
    padding: 100px 0;
    background: var(--cream-25);
}

.services-bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--cream-200);
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--green-400);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-200);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card--featured {
    background: var(--green-800);
    border-color: var(--green-800);
    color: white;
}

.service-card--featured::before {
    background: var(--green-400);
}

.service-card--featured:hover {
    border-color: var(--green-700);
    box-shadow: 0 16px 48px rgba(27, 67, 50, 0.3);
}

.service-card-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--green-100);
    line-height: 1;
    margin-bottom: 16px;
}

.service-card--featured .service-card-number {
    color: rgba(255, 255, 255, 0.15);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    margin-bottom: 20px;
}

.service-card--featured .service-card-icon {
    background: rgba(255, 255, 255, 0.12);
    color: var(--green-300);
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: 12px;
}

.service-card--featured .service-card-title {
    color: white;
}

.service-card-description {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--cream-600);
    margin-bottom: 20px;
}

.service-card--featured .service-card-description {
    color: rgba(255, 255, 255, 0.7);
}

.service-card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--cream-700);
}

.service-card--featured .service-card-features li {
    color: rgba(255, 255, 255, 0.8);
}

.service-card-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--green-400);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-card--featured .service-card-features li::before {
    background: var(--green-400);
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background: var(--cream-100);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-stack {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream-100);
}

.about-image-secondary img {
    width: 300px;
    height: 250px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--green-700);
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.about-experience-text {
    font-size: 0.78rem;
    opacity: 0.8;
    line-height: 1.3;
}

.about-content .section-tag {
    margin-bottom: 12px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--cream-600);
    margin-bottom: 16px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.about-value {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-value-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    flex-shrink: 0;
}

.about-value strong {
    display: block;
    font-size: 0.95rem;
    color: var(--green-900);
    margin-bottom: 2px;
}

.about-value span {
    font-size: 0.88rem;
    color: var(--cream-600);
    line-height: 1.5;
}

.about-content .btn {
    margin-top: 8px;
}

/* --- Impact Section --- */
.impact {
    position: relative;
    padding: 100px 0;
    background: var(--green-800);
    overflow: hidden;
}

.impact-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.impact-shape {
    position: absolute;
    border-radius: 50%;
}

.impact-shape--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.impact-shape--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(224, 122, 47, 0.1) 0%, transparent 70%);
    bottom: -100px;
    left: -50px;
}

.impact-shape--3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(148, 213, 178, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 40%;
}

.impact .section-header {
    position: relative;
    z-index: 1;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.impact-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.impact-card-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--green-300);
    line-height: 1;
    margin-bottom: 8px;
}

.impact-card-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    line-height: 1.4;
}

.impact-card-bar {
    width: 40px;
    height: 3px;
    background: var(--green-500);
    border-radius: 2px;
    margin: 16px auto 0;
}

.impact-quote {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.impact-quote-icon {
    color: var(--green-500);
    margin-bottom: 16px;
}

.impact-quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.impact-quote cite {
    font-style: normal;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 100px 0;
    background: var(--cream-25);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--cream-200);
    transition: var(--transition);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-400), var(--green-600));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top right, var(--green-100) 0%, transparent 70%);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.testimonial-quote-icon {
    color: var(--green-400);
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--cream-700);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-600);
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-author-info strong {
    font-size: 0.9rem;
    color: var(--green-900);
}

.testimonial-author-info span {
    font-size: 0.78rem;
    color: var(--cream-500);
}

/* --- CTA Section --- */
.cta {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%);
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    top: -150px;
    left: -100px;
}

.cta-shape--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(224, 122, 47, 0.1) 0%, transparent 70%);
    bottom: -100px;
    right: 10%;
}

.cta-shape--3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(148, 213, 178, 0.15) 0%, transparent 70%);
    top: 30%;
    right: 5%;
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
}

.cta-content .section-tag {
    margin-bottom: 12px;
}

.cta-content .section-title {
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background: var(--cream-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 12px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--cream-600);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.9rem;
    color: var(--green-900);
    margin-bottom: 2px;
}

.contact-detail span {
    font-size: 0.88rem;
    color: var(--cream-600);
    line-height: 1.5;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.contact-map img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.contact-map-link {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green-700);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-map-link:hover {
    background: var(--green-700);
    color: white;
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--cream-200);
}

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: 8px;
}

.contact-form-subtitle {
    font-size: 0.9rem;
    color: var(--cream-500);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-800);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--cream-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--cream-800);
    background: var(--cream-25);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-400);
    background: white;
    box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--cream-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-600);
    margin: 0 auto 16px;
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--green-900);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.92rem;
    color: var(--cream-600);
    margin-bottom: 20px;
}

/* --- Footer --- */
.footer {
    background: var(--green-900);
    color: white;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: white;
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: var(--green-400);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-400);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subheadline {
        margin: 0 auto 36px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content {
        text-align: center;
    }

    .about-values {
        align-items: center;
    }

    .about-content .btn {
        margin: 8px auto 0;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info .section-title {
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 253, 248, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--cream-200);
        transform: translateY(-120%);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .hero-floating-card {
        display: none;
    }

    .hero-image-main img {
        height: 400px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .impact-quote {
        padding: 24px;
    }

    .impact-quote blockquote {
        font-size: 1.1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
