/* ===================================
   The Bloom Project - Main Styles
   Supportive, Healing, Compassionate Design
   =================================== */

/* CSS Variables */
:root {
    /* Colors - Soft, calming palette for survivor support */
    --primary-purple: #9b59b6;
    --primary-purple-dark: #8e44ad;
    --primary-purple-light: #d4a5e8;
    --accent-pink: #e8a5c4;
    --accent-pink-light: #f5d5e3;
    --accent-coral: #f0b5a5;
    --soft-lavender: #e8e0f0;
    --dark: #2c2440;
    --dark-soft: #3d3455;
    --gray-900: #1e1a2e;
    --gray-800: #2d2640;
    --gray-700: #4a4360;
    --gray-600: #5a5470;
    --gray-500: #7a7490;
    --gray-400: #9a94a8;
    --gray-300: #d1cdd8;
    --gray-200: #e8e5ed;
    --gray-100: #f5f3f8;
    --white: #ffffff;
    
    /* Legacy green for highlight compatibility */
    --primary-green: #9b59b6;
    --primary-green-dark: #8e44ad;
    --primary-green-light: #d4a5e8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #9b59b6 0%, #8e44ad 50%, #7b4397 100%);
    --gradient-accent: linear-gradient(135deg, #e8a5c4 0%, #f0b5a5 100%);
    --gradient-hero: linear-gradient(135deg, #2c2440 0%, #3d3455 50%, #1e1a2e 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #faf8fc 100%);
    --gradient-dark: linear-gradient(180deg, #2c2440 0%, #1a1428 100%);
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(46, 204, 113, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-links a {
    color: var(--gray-900);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    color: var(--white);
    transition: var(--transition-fast);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

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

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-fast);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-green);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-pink);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-green-light);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-display);
}

.stat-suffix {
    font-size: 2rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    margin: 10px auto 0;
}

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

/* ===================================
   Quote Banner
   =================================== */
.quote-banner {
    background: var(--gradient-primary);
    padding: 60px 24px;
    text-align: center;
}

.quote-banner blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.quote-banner cite {
    display: block;
    margin-top: 16px;
    font-size: 1rem;
    font-style: normal;
    opacity: 0.8;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
}

.section-header.light .section-tag,
.section-header.light h2,
.section-header.light .section-desc {
    color: var(--white);
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
}

.section-header.centered .section-desc {
    margin: 0 auto;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--section-padding) 24px;
    background: var(--white);
}

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

.about-content .lead {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--gray-600);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.value {
    text-align: center;
    padding: 24px 16px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.value:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.value-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.value h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.value p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

.about-visual {
    position: relative;
}

.image-card {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-green) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.image-placeholder span {
    font-size: 4rem;
    margin-bottom: 16px;
}

.image-placeholder p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.card-1 {
    top: -20px;
    right: -20px;
    animation: floatCard 4s ease-in-out infinite;
}

.card-2 {
    bottom: 40px;
    left: -40px;
    animation: floatCard 4s ease-in-out infinite 2s;
}

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

.card-stat {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    font-family: var(--font-display);
}

.card-label {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ===================================
   Programs Section
   =================================== */
.programs {
    padding: var(--section-padding) 24px;
    background: var(--gray-100);
}

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

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

.program-card.featured {
    grid-row: span 2;
    background: var(--gradient-hero);
    color: var(--white);
}

.program-card.featured h3,
.program-card.featured p,
.program-card.featured li {
    color: var(--white);
}

.program-card.featured .program-meta span {
    color: rgba(255, 255, 255, 0.7);
}

.program-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-pink);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.program-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.program-card > p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.program-features {
    margin-bottom: 20px;
}

.program-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

.program-card.featured .program-features li::before {
    color: var(--primary-green-light);
}

.program-meta {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    font-size: 0.9rem;
    color: var(--gray-500);
}

.program-card.featured .program-meta {
    border-top-color: rgba(255, 255, 255, 0.2);
}

/* ===================================
   Impact Section
   =================================== */
.impact {
    padding: var(--section-padding) 24px;
    background: var(--gradient-dark);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

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

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

.impact-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 12px;
}

.impact-suffix {
    font-size: 2.5rem;
}

.impact-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.impact-detail {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.impact-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.impact-quote blockquote {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--white);
    line-height: 1.7;
}

.impact-quote cite {
    display: block;
    margin-top: 20px;
    font-size: 1rem;
    font-style: normal;
    color: var(--primary-green);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: var(--section-padding) 24px;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-card.featured {
    grid-column: span 2;
    background: var(--gradient-primary);
    color: var(--white);
}

.testimonial-card.featured .quote-mark,
.testimonial-card.featured .testimonial-content p {
    color: var(--white);
}

.testimonial-card.featured .author-info span {
    color: rgba(255, 255, 255, 0.8);
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--primary-green);
    opacity: 0.3;
    margin-bottom: -20px;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-card.featured .testimonial-author {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-card.featured .author-avatar {
    background: rgba(255, 255, 255, 0.2);
}

.author-info strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ===================================
   Team Section
   =================================== */
.team {
    padding: var(--section-padding) 24px;
    background: var(--gray-100);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition-base);
}

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

.team-avatar {
    font-size: 4rem;
    margin-bottom: 20px;
}

.team-card h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.team-role {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.team-cta {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
}

.team-cta p {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 24px;
}

/* ===================================
   Partners Section
   =================================== */
.partners {
    padding: 80px 24px;
    background: var(--white);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 60px;
}

.partner-logo {
    font-size: 1rem;
    color: var(--gray-500);
    padding: 16px 24px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.partner-logo:hover {
    color: var(--gray-700);
    background: var(--gray-200);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: var(--section-padding) 24px;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-green-dark);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-padding) 24px;
    background: var(--gray-100);
}

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

.contact-info .section-header {
    margin-bottom: 30px;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--gray-600);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    padding: 10px 20px;
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-green);
    color: var(--white);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
}

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

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 80px 24px 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.footer-status {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--white);
}

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

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual {
        order: -1;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .program-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonial-card.featured {
        grid-column: span 2;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        color: var(--gray-900);
    }
    
    .hamburger {
        display: flex;
    }
    
    .navbar.scrolled .hamburger span {
        background: var(--gray-900);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .programs-grid,
    .impact-grid,
    .testimonials-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .program-card.featured,
    .testimonial-card.featured {
        grid-column: span 1;
    }
    
    .floating-card {
        display: none;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ===================================
   Founder Section
   =================================== */
.founder-feature {
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

.founder-card {
    display: flex;
    gap: 60px;
    max-width: 900px;
    align-items: flex-start;
    background: var(--gradient-card);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.founder-avatar {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    overflow: hidden;
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.founder-avatar span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-display);
}

.founder-info h3 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.founder-title {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-purple);
    font-weight: 500;
    margin-bottom: 24px;
}

.founder-bio {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.founder-quote {
    margin-top: 24px;
    padding: 20px 24px;
    background: var(--soft-lavender);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-purple);
}

.founder-quote em {
    font-size: 1.05rem;
    color: var(--gray-700);
    font-style: italic;
}

@media (max-width: 768px) {
    .founder-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 24px;
        gap: 30px;
    }
    
    .founder-avatar {
        width: 120px;
        height: 120px;
    }
    
    .founder-avatar span {
        font-size: 2.5rem;
    }
    
    .founder-quote {
        border-left: none;
        border-top: 4px solid var(--primary-purple);
    }
}

/* ===================================
   Resources Section
   =================================== */
.resources {
    padding: var(--section-padding) 0;
    background: var(--soft-lavender);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.resource-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
}

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

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.resource-card h3 {
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
}

.resource-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.resource-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.resource-link:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.resources-note {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid var(--primary-purple);
}

.resources-note p {
    font-size: 1.1rem;
    color: var(--gray-700);
}

.resources-note strong {
    color: var(--primary-purple);
}

@media (max-width: 1024px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Additional Utility Styles
   =================================== */
.founder-image {
    background: linear-gradient(135deg, var(--soft-lavender) 0%, var(--accent-pink-light) 100%);
}

.footer-message {
    color: var(--accent-pink-light);
    font-size: 1rem;
    margin-top: 8px;
}
