/* ============================================
   CSS VARIABLES & RESET
============================================ */
:root {
    /* Brand Colors - ADEP Coral #EB6C6C */
    --primary: #f2a6a6;
    --primary-dark: #992e2e;
    --primary-text: #B84545;
    --primary-light: rgba(235, 108, 108, 0.12);
    --primary-glow: rgba(235, 108, 108, 0.4);

    /* Card accent colors - warm brownish-maroon for hero cards */
    --card-accent: #5D3E3E;
    --card-accent-hover: #4D3232;

    /* Background & Surface Colors - Clean white theme */
    --background: #ffffff;
    --background-alt: #f8f8f8;
    --surface: #ffffff;
    --surface-muted: #FFF6F6;
    --foreground: #1a1a2e;
    --foreground-secondary: #2B1F23;
    --foreground-light: #ffffff;
    --muted: #4a3f42;
    --border: #d1d5db;
    --card: #ffffff;

    /* Success/Status Colors */
    --success: #10b981;
    --warning: #f59e0b;

    /* Layout */
    --radius: 16px;
    --radius-sm: 12px;
    --max-width: 1100px;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Focus indicator */
    --focus-ring: 3px solid var(--primary);
    --focus-offset: 2px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--foreground);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 10px;
    outline: 3px solid var(--foreground);
    outline-offset: 2px;
}

/* Page Load Animation */
body.loading {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--background);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-paw {
    width: 60px;
    height: 60px;
    position: relative;
    animation: pawBounce 1s ease-in-out infinite;
}

.loader-paw svg {
    width: 48px;
    height: 48px;
    fill: var(--primary);
}

@keyframes pawBounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

/* ============================================
   SMOOTH SCROLL INDICATOR
============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    z-index: 1001;
    transition: width 0.1s linear;
}

/* ============================================
   CUSTOM CURSOR - Removed per user request
============================================ */
.custom-cursor {
    display: none !important;
}

/* ============================================
   FLOATING BACKGROUND SHAPES
============================================ */
.bg-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(80px);
    animation: floatShape 20s ease-in-out infinite;
}

.bg-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.bg-shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(235, 108, 108, 0.08);
    bottom: 20%;
    left: -50px;
    animation-delay: -5s;
}

.bg-shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(235, 108, 108, 0.1);
    top: 50%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }

    75% {
        transform: translate(20px, 30px) rotate(3deg);
    }
}

/* ============================================
   UTILITY CLASSES
============================================ */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* ============================================
   HEADER & NAVIGATION
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--transition-smooth);
}

.header.scrolled {
    background: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: transform 0.3s var(--transition-spring);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 44px;
    width: auto;
}

.logo-text {
    font-weight: 800;
    font-size: 1.375rem;
    background: linear-gradient(135deg, var(--foreground), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: color 0.3s ease;
}

.header.scrolled .logo-text {
    color: var(--primary);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.3s var(--transition-smooth);
    overflow: hidden;
}

.header.scrolled .nav-link {
    color: var(--foreground);
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-light);
    border-radius: 9999px;
    transform: scale(0);
    transition: transform 0.3s var(--transition-smooth);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: scale(1);
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-link.active {
    color: var(--foreground);
    background: rgba(235, 108, 108, 0.15);
    font-weight: 600;
}


/* Nav Donate Button - Coral rounded style */
.nav-donate-btn {
    background: var(--primary-dark);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.nav-donate-btn:hover {
    background: var(--primary-dark);
    color: white !important;
    transform: scale(1.05);
}

.nav-donate-btn::before {
    display: none;
}

.header.scrolled .nav-donate-btn {
    background: var(--primary-dark);
    color: white !important;
}

.header.scrolled .nav-donate-btn:hover {
    background: var(--primary-dark);
    color: white !important;
    transform: scale(1.05);
}

/* Magnetic Button Effect */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
    position: relative;
}

.btn-outline::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 9999px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-outline:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-outline:hover::after {
    opacity: 1;
}

/* Hero Donate Button - Outlined on Coral */
.btn-hero {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 3rem;
    font-size: 1rem;
}

.btn-hero:hover {
    background: white;
    color: var(--primary-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 12px;
    color: var(--foreground);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn:hover {
    background: var(--primary-light);
}

.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--foreground);
    position: absolute;
    left: 0;
    transition: all 0.3s var(--transition-smooth);
    border-radius: 2px;
}

/* Scrolled header link hover on coral background */
.header.scrolled .nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.header.scrolled .nav-link.active {
    color: var(--foreground);
    background: rgba(235, 108, 108, 0.15);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.mobile-menu-btn.open .hamburger span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.mobile-menu-btn.open .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.open .hamburger span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--transition-smooth);
    border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu .nav-link {
    display: block;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

/* ============================================
   HERO SECTION - Matching Reference Design
============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    padding: 10rem 1.5rem 4rem;
    margin: 0 auto;
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--foreground);
    text-align: center;
}

.hero-title .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.hero-title .word .char {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    animation: charReveal 0.6s var(--transition-spring) forwards;
}

@keyframes charReveal {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--foreground);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 0.8s 0.8s var(--transition-smooth) forwards;
}

.hero-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 0.8s 1s var(--transition-smooth) forwards;
}

/* Donate Button - Outlined Style */
.btn-donate-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 2px solid var(--primary-dark);
    background: var(--primary-dark);
    color: var(--foreground-light);
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.btn-donate-hero:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Cards Section */
.hero-cards {
    width: 100%;
    padding: 0 1.5rem 4rem;
}

.hero-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hero-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.hero-card {
    background: var(--primary);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.hero-card-with-image {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.hero-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-card-with-image:hover .hero-card-image img {
    transform: scale(1.05);
}

.hero-card-slideshow {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.hero-card-slideshow .slideshow-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-card-slideshow .slideshow-img.active {
    opacity: 1;
}

.hero-card-with-image:hover .hero-card-slideshow .slideshow-img.active {
    transform: scale(1.05);
}

.hero-card-content {
    padding: 1.5rem;
    text-align: center;
}

.hero-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-card:nth-child(1) {
    transition-delay: 0.1s;
}

.hero-card:nth-child(2) {
    transition-delay: 0.2s;
}

.hero-card:nth-child(3) {
    transition-delay: 0.3s;
}

.hero-card:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.hero-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 0.5rem;
}

.hero-card-text {
    font-size: 0.875rem;
    color: #2b2b2b;
    line-height: 1.5;
    text-align: justify;
}

/* Floating Paw Prints - Removed per user request */
.floating-paws {
    display: none !important;
}

/* Scroll Indicator - Removed per user request */
.scroll-indicator {
    display: none !important;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ============================================
   CARDS SECTION (Legacy - keeping for compatibility)
============================================ */
.cards-section {
    display: none;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--transition-spring);
    opacity: 0;
    transform: translateY(60px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.card:hover::before {
    opacity: 1;
}

/* Staggered Animation Delays */
.card:nth-child(1) {
    transition-delay: 0.1s;
}

.card:nth-child(2) {
    transition-delay: 0.2s;
}

.card:nth-child(3) {
    transition-delay: 0.3s;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), rgba(235, 108, 108, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    transition: transform 0.4s var(--transition-spring);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
    position: relative;
    z-index: 1;
}

.card-text {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ============================================
   SECTION STYLES
============================================ */
.section {
    padding: 6rem 1.5rem;
    position: relative;
}

.section-alt {
    background: var(--background-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s var(--transition-smooth);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: Black;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT US - EMPOWERING LIVES SECTION
============================================ */

.page-hero p {
    text-align: center;

}

.about-empowering {
    padding: 6rem 1.5rem 3rem;
    background: var(--surface);
    border-radius: var(--radius);
    margin: 0 1rem 2rem;
}

.about-empowering h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 3rem;
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .about-columns {
        grid-template-columns: 1fr 1fr;
    }
}

.about-column h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.about-column p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.9375rem;
    text-align: justify;
}

.about-hero-image {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
}

.about-hero-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

/* ============================================
   OUR TEAM SECTION
============================================ */
.team-section {
    background: var(--surface-muted);
    padding: 5rem 1.5rem;
    border-radius: var(--radius);
    margin: 0 1rem 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
}

.team-grid.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 140px;
    height: 170px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary);
    box-shadow: 0 8px 25px rgba(235, 108, 108, 0.25);
    transition: all 0.4s var(--transition-spring);
}

.team-photo:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 40px rgba(235, 108, 108, 0.35);
    border-color: var(--primary-dark);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--transition-smooth);
}

.team-photo:hover img {
    transform: scale(1.1);
}

.team-member h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.65rem;
    color: var(--muted);
}

/* ============================================
   FROM OUR FOUNDER SECTION
============================================ */
.founder-section {
    padding: 5rem 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    margin: 0 1rem 2rem;
}

.founder-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
}

.founder-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.founder-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 2rem;
}

.founder-content blockquote {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--foreground);
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.founder-content blockquote::before {
    content: '"';
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.founder-name {
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-text);
}

/* ============================================
   OUR STORY SECTION
============================================ */
.story-section {
    padding: 5rem 1.5rem;
    background: var(--background);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
}

.story-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 1rem;
}

/* ============================================
   JOIN OUR WAITLIST SECTION
============================================ */
.waitlist-section {
    padding: 2rem 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    margin: 0 1rem 2rem;
}

.waitlist-intro {
    font-size: 1.125rem;
    color: var(--primary-text);
    font-weight: 500;
}

.waitlist-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
}

.waitlist-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.waitlist-content>p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 2rem;
    text-align: center;
}

.waitlist-benefits {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.waitlist-benefits h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.waitlist-benefits ul {
    list-style: none;
    padding: 0;
}

.waitlist-benefits li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.6;
}

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

.form-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    text-align: center;
}

.waitlist-form-container {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-intro {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.waitlist-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .waitlist-form .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.waitlist-form .form-group {
    display: flex;
    flex-direction: column;
}

.waitlist-form .form-group.full-width {
    grid-column: 1 / -1;
}

.waitlist-form label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.waitlist-form .input,
.waitlist-form .textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: var(--background);
    color: var(--foreground);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    min-height: 48px;
    -webkit-appearance: none;
    appearance: none;
}

@media (min-width: 640px) {

    .waitlist-form .input,
    .waitlist-form .textarea {
        font-size: 0.9375rem;
        min-height: 44px;
    }
}

.waitlist-form .input:focus,
.waitlist-form .textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.waitlist-form select.input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

.waitlist-form .btn {
    margin-top: 1rem;
    width: 100%;
}

@media (min-width: 640px) {
    .waitlist-form .btn {
        width: auto;
    }
}

/* ============================================
   ABOUT US - OUR HOME SECTION (Dark with Map)
============================================ */
.about-our-home {
    background: linear-gradient(135deg, #1a1a2e, #2d2d4a);
    padding: 4rem 1.5rem;
    color: white;
}

.our-home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 768px) {
    .our-home-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.our-home-info h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.our-home-info>p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.our-home-detail {
    margin-bottom: 1.5rem;
}

.our-home-detail h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.our-home-detail p {
    font-size: 1rem;
    color: white;
}

.our-home-map {
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
    background: #e5e5e5;
}

.our-home-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   ABOUT US - OUR WORK SECTION
============================================ */
.about-our-work {
    padding: 6rem 1.5rem;
}

.about-our-work .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-our-work .section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.about-our-work .section-header p {
    color: var(--muted);
    font-size: 0.9375rem;
}

.work-block {
    margin-bottom: 4rem;
}

.work-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.work-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: transform 0.4s ease;
}

.work-images img:hover {
    transform: scale(1.03);
}

@media (min-width: 768px) {
    .work-images img {
        height: 280px;
    }
}

.work-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.work-info-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.work-info-text p {
    color: var(--muted);
    font-size: 0.875rem;
}

.btn-work {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--foreground);
    background: transparent;
    color: var(--foreground);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-work:hover {
    background: var(--foreground);
    color: white;
}

/* ============================================
   SERVICES SECTION - NEW DESIGN
============================================ */
.services-section {
    padding: 6rem 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    margin: 0 1rem 2rem;
}

.services-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-section .section-header h2 {
    font-size: clamp(1.5rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.services-section .section-header p {
    color: var(--muted);
    font-size: 0.9375rem;
}

.services-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid-new {
        grid-template-columns: 1fr 1fr;
    }
}

.service-card-new {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-new.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card-new:nth-child(2) {
    transition-delay: 0.15s;
}

.service-card-new:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.service-card-image-new {
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.service-card-image-new img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-new:hover .service-card-image-new img {
    transform: scale(1.05);
}

.service-card-header {
    background: var(--primary);
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 0.5rem;
}

.service-card-header p {
    font-size: 0.875rem;
    color: #2b2b2b;
    line-height: 1.6;
    text-align: justify;
    flex: 1;
}

/* Testimonial Section */
.services-testimonial {
    background: var(--card-accent);
    padding: 4rem 1.5rem;
    text-align: center;
    color: white;
    margin: 2rem 1rem;
    border-radius: var(--radius);
}

.testimonial-stars {
    font-size: 1.5rem;
    color: #ffc107;
    margin-bottom: 1.5rem;
    letter-spacing: 0.25rem;
}

.testimonial-quote {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
}

/* FAQ Section */
.services-faq {
    padding: 6rem 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    margin: 0 1rem 2rem;
}

.services-faq .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-faq .section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--foreground);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.faq-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    text-align: justify;
    align-content: center;

}

/* FAQ Categories */
.faq-category {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
}

.faq-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
}

.faq-category .faq-grid {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .faq-category .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 3-Column Services Grid */
.services-grid-three {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .services-grid-three {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid-three {
        grid-template-columns: repeat(3, 1fr);
    }
}

.services-grid-three .service-card-new:nth-child(3) {
    transition-delay: 0.3s;
}

/* Pricing Section */
.pricing-section {
    margin-top: 3rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
}

.pricing-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 0.5rem;
}

.pricing-note {
    font-size: 1rem;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.pricing-table-wrapper {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing-table thead {
    background: var(--primary);
    color: #2b2b2b;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem 1.25rem;
    text-align: center;
    font-size: 0.9375rem;
}

.pricing-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.8125rem;
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background: var(--primary-light);
}

.pricing-table td:first-child {
    font-weight: 600;
    color: var(--foreground);
    text-align: left;
}

.pricing-disclaimer {
    font-size: 0.875rem;
    color: var(--foreground);
    font-style: italic;
    margin-top: 1rem;
    line-height: 1.6;
}

.disclaimer-text {
    color: var(--foreground);
    font-weight: 700;
    font-style: normal;
}

/* Secondary Pricing Table (Doggielove Clients) */
.pricing-title-secondary {
    margin-top: 2.5rem;
    font-size: 1.5rem;
    color: var(--foreground);
    position: relative;
}


.pricing-table-secondary thead {
    background: var(--primary);
    color: #ffffff;
}

/* ============================================
   HEROES GALLERY
============================================ */
.heroes-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .heroes-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s var(--transition-spring);
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-item:nth-child(1) {
    transition-delay: 0.05s;
}

.gallery-item:nth-child(2) {
    transition-delay: 0.1s;
}

.gallery-item:nth-child(3) {
    transition-delay: 0.15s;
}

.gallery-item:nth-child(4) {
    transition-delay: 0.2s;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--primary-glow), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================
   JOIN SECTION
============================================ */
.join-section {
    padding: 6rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), rgba(235, 108, 108, 0.05));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.join-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    top: -100px;
    right: -100px;
}

.join-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s var(--transition-smooth);
}

.join-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.join-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.join-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 450px;
    margin: 0 auto 1.25rem;
}

@media (min-width: 640px) {
    .join-form {
        flex-direction: row;
    }
}

.input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    border: 2px solid transparent;
    border-radius: 9999px;
    background: var(--background);
    color: var(--foreground);
    transition: all 0.3s var(--transition-smooth);
    font-family: var(--font);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-height: 48px;
    -webkit-appearance: none;
}

@media (min-width: 640px) {
    .input {
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
        min-height: 44px;
    }
}

.input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.input::placeholder {
    color: var(--muted);
}

.join-note {
    font-size: 0.875rem;
    color: var(--muted);
}

/* ============================================
   SUPPORT US SECTION
============================================ */

/* Join Us Dark Banner */
.support-join {
    background: #2a2a2a;
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.support-join::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

.support-join-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
}

.support-join h2 {
    color: var(--primary);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.support-join .subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.support-join-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.support-join-form label {
    color: white;
    font-size: 0.8125rem;
    text-align: left;
    font-weight: 500;
}

.support-join-form .input {
    background: white;
    border-radius: var(--radius-sm);
    padding: 0.875rem 1rem;
}

.support-join-form .btn {
    margin-top: 0.5rem;
}

/* Get in Touch Section */
.get-in-touch {
    padding: 5rem 1.5rem;
    background: var(--background);
}

.get-in-touch-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .get-in-touch-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 4rem;
    }
}

.contact-info {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
}

.contact-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-info h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.contact-info>p {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-detail {
    margin-bottom: 1.5rem;
}

.contact-detail h3 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-detail a,
.contact-detail span {
    color: var(--primary-text);
    font-size: 0.9375rem;
    transition: opacity 0.3s ease;
}

.contact-detail a:hover {
    opacity: 0.7;
}

.contact-form {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth) 0.1s;
}

.contact-form.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-form-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.form-group .input,
.form-group .textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

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

.form-group .input:focus,
.form-group .textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

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

/* Form Actions - Right-aligned button */
.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
    grid-column: 1 / -1;
}

/* Our Work Section */
.our-work {
    padding: 5rem 1.5rem;
    background: var(--background);
}

.our-work-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
}

.our-work-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.our-work-header h2 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.our-work-header p {
    color: var(--muted);
    font-size: 0.9375rem;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.work-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s var(--transition-smooth);
}

.work-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.work-card-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 1rem;
}

.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--transition-smooth);
}

.work-card:hover .work-card-image img {
    transform: scale(1.05);
}

.work-card-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.work-card-text h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.work-card-text p {
    font-size: 0.875rem;
    color: var(--muted);
}

.work-card-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    transition: transform 0.3s ease;
}

.work-card:hover .work-card-arrow {
    transform: translateX(4px);
}

.work-card-arrow svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ============================================
   INTERIOR PAGE SECTIONS
============================================ */
.page-section {
    padding-top: 100px;
}

@media (min-width: 768px) {
    .page-section {
        padding-top: 120px;
    }
}

/* Page Hero - Coral header for non-home pages */
.page-hero {
    background: var(--background);
    padding: 8rem 1.5rem 1rem;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.page-hero p {
    font-size: 1rem;
    color: var(--foreground);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-hero+.page-section {
    padding-top: 0.5rem;
}

@media (min-width: 768px) {
    .page-hero {
        padding: 9rem 2rem 1rem;
    }

    .page-hero+.page-section {
        padding-top: 1rem;
    }
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--foreground);
    color: white;
    padding: 4rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.footer-column {
    display: block;
    min-width: 0;
}

.footer-column .footer-title {
    margin: 0 0 1rem 0;
}

.footer-contact {
    font-size: 0.875rem;
    opacity: 0.7;
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
    white-space: nowrap;
}

.footer-contact a {
    transition: color 0.3s ease;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.5rem;
    }
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    margin-top: 0;
    color: var(--primary);
}

.footer-text {
    font-size: 0.875rem;
    opacity: 0.7;
    line-height: 1.8;
    text-align: justify;
    margin: 0 0 1.5rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s var(--transition-spring);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-4px) scale(1.1);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

.footer-links li {
    display: block;
    margin: 0 0 0.5rem 0;
    padding: 0;
    line-height: 1.6;
}

.footer-link {
    display: block;
    font-size: 0.875rem;
    opacity: 0.7;
    line-height: 1.5;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.footer-info p {
    display: block;
    font-size: 0.875rem;
    opacity: 0.7;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    word-break: break-word;
}

.footer-info .email-line {
    white-space: nowrap;
}

.footer-info .email-line a {
    word-break: keep-all;
}

.footer-info a {
    transition: color 0.3s ease;
}

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

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-form .input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.footer-form .input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-form .input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.6;
}

/* ============================================
   TOAST NOTIFICATIONS
============================================ */
.toast-container {
    position: fixed;
    bottom: 120px;
    right: 2rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: var(--foreground);
    color: white;
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    max-width: 380px;
    transform: translateX(120%);
    animation: toastSlideIn 0.5s var(--transition-spring) forwards;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast-title {
    font-weight: 700;
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast-message {
    font-size: 0.9375rem;
    opacity: 0.85;
}

@keyframes toastSlideIn {
    to {
        transform: translateX(0);
    }
}

.toast.hiding {
    animation: toastSlideOut 0.4s var(--transition-smooth) forwards;
}

@keyframes toastSlideOut {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* ============================================
   DONATE SECTION
============================================ */
.donate-section {
    padding: 3rem 1rem;
    background: var(--surface);
    border-radius: var(--radius);
    margin: 0 1rem 2rem;
}

@media (min-width: 640px) {
    .donate-section {
        padding: 5rem 1.5rem;
    }
}

.donate-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .donate-section .section-header {
        margin-bottom: 3rem;
    }
}

.donate-section .section-header h2 {
    font-size: clamp(1.5rem, 5vw, 2.75rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .donate-section .section-header h2 {
        margin-bottom: 1rem;
    }
}

.donate-section .section-header p {
    font-size: 0.9375rem;
    color: var(--foreground);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .donate-section .section-header p {
        font-size: 1rem;
        line-height: 1.7;
        padding: 0;
    }
}

.donate-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
}

@media (min-width: 640px) {
    .donate-content {
        gap: 3rem;
    }
}

.donate-content.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .donate-content {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.donate-info {
    padding: 1.25rem;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

@media (min-width: 640px) {
    .donate-info {
        padding: 2rem;
    }
}

.donate-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .donate-info h3 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
}

.donate-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.donate-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--foreground);
    line-height: 1.5;
}

@media (min-width: 640px) {
    .donate-benefits li {
        gap: 1rem;
        padding: 1rem 0;
        font-size: 1rem;
    }
}

.donate-benefits li:last-child {
    border-bottom: none;
}

.benefit-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .benefit-icon {
        width: 40px;
        height: 40px;
    }
}

.benefit-icon svg {
    stroke: var(--primary);
    width: 16px;
    height: 16px;
}

@media (min-width: 640px) {
    .benefit-icon svg {
        width: 20px;
        height: 20px;
    }
}

.donate-widget {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .donate-widget {
        gap: 1rem;
    }
}

.donate-iframe-container {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-height: 420px;
    position: relative;
}

.donate-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card);
    z-index: 1;
}

.donate-placeholder-content {
    text-align: center;
    padding: 2rem;
}

.donate-placeholder-content svg {
    color: var(--primary);
    margin-bottom: 1rem;
}

.donate-placeholder-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.donate-placeholder-content p {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.donate-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--card);
    z-index: 1;
}

.donate-loading p {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.donate-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: donateSpinner 0.8s linear infinite;
}

@keyframes donateSpinner {
    to {
        transform: rotate(360deg);
    }
}

.donate-iframe-container iframe {
    width: 100%;
    height: 520px;
    min-height: 420px;
    border: none;
    position: relative;
    z-index: 2;
}

/* Enhanced responsive iframe for all screen sizes */
@media (max-width: 767px) {
    .donate-iframe-container {
        min-height: 400px;
        margin: 0 -0.25rem;
    }

    .donate-iframe-container iframe {
        height: 480px;
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .donate-iframe-container {
        min-height: 380px;
        border-radius: var(--radius-sm);
        margin: 0 -0.5rem;
    }

    .donate-iframe-container iframe {
        height: 460px;
        min-height: 380px;
    }
}

@media (max-width: 360px) {
    .donate-iframe-container {
        min-height: 360px;
        margin: 0 -0.75rem;
        border-radius: 0;
    }

    .donate-iframe-container iframe {
        height: 440px;
        min-height: 360px;
    }
}

.donate-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted);
}

@media (min-width: 640px) {
    .donate-secure {
        font-size: 0.875rem;
    }
}

.donate-secure svg {
    stroke: var(--success);
    width: 14px;
    height: 14px;
}

@media (min-width: 640px) {
    .donate-secure svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   WCAG ACCESSIBILITY ENHANCEMENTS
============================================ */

/* Enhanced Focus States for WCAG AA/AAA - preserve defaults, enhance visibility */
*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* High contrast focus for buttons */
.btn:focus-visible,
button:focus-visible {
    outline: 3px solid var(--foreground);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(235, 108, 108, 0.3);
}

/* Links focus - ensure visibility on any background */
a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
}

/* Form elements focus */
.input:focus-visible,
.textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 0;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(235, 108, 108, 0.2);
}

/* Navigation focus improvements - high contrast on hero */
.nav-link:focus-visible {
    outline: 3px solid white;
    outline-offset: 2px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 9999px;
}

.header.scrolled .nav-link:focus-visible {
    outline-color: var(--primary);
    background: var(--primary-light);
}

/* Skip link improvements */
.skip-link:focus {
    top: 10px;
    outline: 3px solid var(--foreground);
    outline-offset: 2px;
    z-index: 10001;
}

/* Improved text contrast for accessibility */
.muted-text,
.team-role,
.faq-item p,
.about-column p {
    color: var(--foreground-secondary);
}

/* High contrast mode support - WCAG AAA compliance */
@media (prefers-contrast: high) {
    :root {
        --primary: #B91C1C;
        --primary-dark: #991B1B;
        --primary-text: #7F1D1D;
        --muted: #1f2937;
        --foreground-secondary: #1f2937;
        --border: #374151;
        --card-accent: #3D2929;
        --card-accent-hover: #2D1F1F;
    }

    body {
        font-weight: 500;
    }

    .btn-primary {
        background: var(--primary);
        border: 2px solid var(--foreground);
        font-weight: 600;
    }

    .btn-secondary {
        border: 2px solid var(--foreground);
    }

    .hero-card {
        background: var(--card-accent);
        border: 2px solid white;
    }

    .nav-link {
        font-weight: 600;
    }

    a {
        text-decoration: underline;
    }

    .card,
    .faq-item,
    .service-card-new {
        border-width: 2px;
        border-color: var(--border);
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-title .word .char {
        transform: none;
        opacity: 1;
        animation: none;
    }

    .hero-subtitle,
    .hero-cta {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* Print styles for accessibility */
@media print {

    .header,
    .footer,
    .mobile-menu,
    .scroll-progress,
    .bg-shapes,
    elevenlabs-convai,
    .voice-assistant-indicator {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
        background: white;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* ============================================
   IFRAME LOADER
============================================ */
.iframe-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    z-index: 10;
    gap: 1rem;
}

.iframe-loader p {
    color: var(--muted);
    font-size: 0.875rem;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary-dark);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.donate-iframe-container {
    position: relative;
}

/* ============================================
   ELEVENLABS VOICE ASSISTANT WIDGET
============================================ */
elevenlabs-convai {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

/* Hide Copy ID and other unnecessary buttons in permission prompts */
elevenlabs-convai::part(copy-button),
elevenlabs-convai [data-testid="copy-id"],
elevenlabs-convai button[aria-label*="Copy"] {
    display: none !important;
}

@media (max-width: 767px) {
    elevenlabs-convai {
        bottom: 16px;
        right: 16px;
    }
}

/* Voice Assistant Indicator */
.voice-assistant-indicator {
    position: fixed;
    bottom: 90px;
    right: 24px;
    background: var(--foreground);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    opacity: 0;
    transform: translateY(10px);
    animation: voiceIndicatorFade 0.5s 2s forwards;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.voice-assistant-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: voicePulse 2s infinite;
}

@keyframes voiceIndicatorFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes voicePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.voice-assistant-indicator.hidden {
    animation: voiceIndicatorHide 0.3s forwards;
}

@keyframes voiceIndicatorHide {
    to {
        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;
    }
}

@media (max-width: 767px) {
    .voice-assistant-indicator {
        bottom: 80px;
        right: 16px;
        font-size: 0.75rem;
        padding: 0.625rem 1rem;
    }
}