/* ================================
   S.O.S. Counseling - Modern Styles
   ================================ */

/* CSS Variables */
:root {
    /* Colors - Matching Original Site (Maroon/Burgundy with Blush) */
    --primary: #8B1A1A;
    --primary-light: #A52A2A;
    --primary-dark: #6B0F0F;
    --secondary: #5C4033;
    --secondary-light: #7D5A4A;
    --accent: #D4A574;
    --accent-light: #E5C4A8;

    /* Blush/Beige Background Tones */
    --blush: #E8D5D0;
    --blush-light: #F0E4E0;
    --blush-dark: #D4C0BA;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F5EFED;
    --gray-50: #F0E8E5;
    --gray-100: #E0D5D0;
    --gray-200: #C5B5AE;
    --gray-300: #9E8E87;
    --gray-400: #6B5D57;
    --gray-500: #4A3F3A;
    --gray-600: #3D3330;
    --gray-700: #2D2522;
    --gray-800: #1D1815;
    --gray-900: #0F0C0A;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(139, 26, 26, 0.92) 0%, rgba(92, 64, 51, 0.88) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(139, 26, 26, 0.03) 100%);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ================================
   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);
    color: var(--gray-700);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Styles */
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-tag::before,
.section-header .section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.section-header .section-tag::before {
    left: -40px;
}

.section-header .section-tag::after {
    right: -40px;
}

.section-header .section-tag {
    padding-left: 0;
}

.section-header .section-description {
    margin: 0 auto;
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 26, 26, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 26, 26, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: var(--gray-900);
    border-bottom: 1px solid rgba(139, 26, 26, 0.3);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: var(--gray-900);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 12px 0;
}

.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;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition-base);
}

.navbar.scrolled .logo-img {
    height: 45px;
}

.logo-sos {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-light);
    transition: var(--transition-base);
}

.logo-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
}

.navbar.scrolled .logo-sos {
    color: var(--primary-light);
}

.navbar.scrolled .logo-text {
    color: rgba(255, 255, 255, 0.7);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled .nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-nav {
    background: var(--white);
    color: var(--primary) !important;
    font-weight: 600;
}

.btn-nav:hover {
    background: var(--accent) !important;
    color: var(--gray-800) !important;
}

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

.navbar.scrolled .btn-nav:hover {
    background: var(--primary-dark) !important;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition-base);
}

.navbar.scrolled .hamburger,
.navbar.scrolled .hamburger::before,
.navbar.scrolled .hamburger::after {
    background: var(--white);
}

.hamburger {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6B0F0F 0%, #8B1A1A 40%, #5C4033 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--white);
    display: block;
}

.hero-title .sos-letter {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 8px;
}

.hero-location {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-style: italic;
    color: var(--blush-light);
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

.hero-buttons .btn-primary {
    background: var(--white) !important;
    color: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.hero-buttons .btn-primary:hover {
    background: var(--accent-light) !important;
    color: var(--primary-dark) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); }
}

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

/* ================================
   Stats Section
   ================================ */
.stats-section {
    background: var(--primary);
    padding: 60px 0;
    position: relative;
    z-index: 20;
    margin-top: -1px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================================
   About Section
   ================================ */
.about-section {
    padding: var(--section-padding) 0;
    background: var(--blush-light);
}

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

.about-content {
    max-width: 550px;
}

.about-text {
    color: var(--gray-500);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

.about-image {
    position: relative;
}

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

.about-logo-container {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--blush) 0%, var(--blush-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.about-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

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

.image-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.9;
}

.image-placeholder span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: floatCard 3s ease-in-out infinite;
}

.card-1 {
    bottom: -30px;
    left: -40px;
}

.card-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
}

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

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

/* ================================
   Services Section
   ================================ */
.services-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-card.featured {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

.service-card.featured::before {
    display: none;
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--gray-800);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: var(--radius-xl);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-base);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.service-card:hover .service-icon {
    background: var(--primary);
}

.service-card:hover .service-icon svg {
    color: var(--white);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-card.featured .service-icon svg {
    color: var(--white);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-800);
}

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

.service-description {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.service-features {
    border-top: 1px solid var(--gray-100);
    padding-top: 20px;
}

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

.service-features li {
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

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

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

/* Service Card Referral Link */
.service-referral-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition-base);
}

.service-referral-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.service-referral-link.featured-link {
    color: var(--accent);
}

.service-referral-link.featured-link:hover {
    color: var(--white);
}

/* Services CTA Banner */
.services-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: var(--blush-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
}

.services-cta p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.services-cta .btn-secondary {
    border-color: var(--primary);
    color: var(--primary);
}

.services-cta .btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* ================================
   Approach Section
   ================================ */
.approach-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
    color: var(--white);
}

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

.approach-content .section-tag {
    color: var(--accent);
}

.approach-content .section-tag::before {
    background: var(--accent);
}

.approach-content .section-title {
    color: var(--white);
}

.approach-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

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

.method-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.method-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.method-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.method-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.method-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ================================
   Team Section
   ================================ */
.team-section {
    padding: var(--section-padding) 0;
    background: var(--blush-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

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

.team-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform var(--transition-slow);
}

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

.team-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-placeholder span {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    opacity: 0.9;
}

.team-info {
    padding: 28px;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.team-title {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.specialty-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    background: var(--gray-50);
    color: var(--gray-600);
    border-radius: var(--radius-xl);
}

.team-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    transition: var(--transition-base);
}

.team-contact svg {
    width: 16px;
    height: 16px;
}

.team-contact:hover {
    color: var(--primary-dark);
}

/* ================================
   Testimonial Section
   ================================ */
.testimonial-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.testimonial-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-quote {
    margin-bottom: 30px;
}

.quote-icon {
    width: 60px;
    height: 60px;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-slider {
    position: relative;
    min-height: 150px;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition-slow);
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-200);
    transition: var(--transition-base);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--primary-light);
}

/* ================================
   Contact Section
   ================================ */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--blush);
}

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

.contact-description {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.contact-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-text a {
    color: var(--primary);
    font-weight: 500;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 30px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    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-family: inherit;
    font-size: 1rem;
    color: var(--gray-700);
    background: var(--gray-50);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

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

/* ================================
   Map Section
   ================================ */
.map-section {
    background: var(--gray-100);
}

.map-container {
    width: 100%;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(30%);
    transition: var(--transition-base);
}

.map-container iframe:hover {
    filter: grayscale(0%);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(1.1);
    transition: var(--transition-base);
}

.footer-logo:hover .footer-logo-img {
    filter: brightness(1.2);
}

.footer-logo .logo-sos {
    color: var(--white);
    font-size: 2rem;
}

.footer-logo .logo-text {
    color: rgba(255, 255, 255, 0.6);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 12px;
}

.footer-links ul a,
.footer-services ul a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-base);
}

.footer-links ul a:hover,
.footer-services ul a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    line-height: 1.6;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

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

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

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

/* ================================
   Back to Top Button
   ================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ================================
   Toast Notification
   ================================ */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gray-800);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.toast-message {
    font-size: 0.95rem;
    font-weight: 500;
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

    .approach-methods {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }

    /* Navigation Mobile */
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 0;
        transition: var(--transition-base);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: var(--gray-700);
        padding: 16px 0;
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
        text-align: left;
    }

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

    .btn-nav {
        margin-top: 20px;
        text-align: center;
        background: var(--primary);
        color: var(--white) !important;
        padding: 14px 32px;
        border-radius: var(--radius-xl);
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* About */
    .about-features {
        grid-template-columns: 1fr;
    }

    .floating-card {
        display: none;
    }

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

    /* Approach */
    .approach-methods {
        grid-template-columns: 1fr;
    }

    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .contact-form-wrapper {
        padding: 30px 24px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    /* Testimonial */
    .testimonial-text {
        font-size: 1.2rem;
    }
}

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

    .hero-buttons .btn {
        width: 100%;
    }

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

    .scroll-indicator {
        display: none;
    }
}

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

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger animations */
.services-grid .service-card,
.team-grid .team-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ================================
   Referral Form Page
   ================================ */
.referral-hero {
    padding: 160px 0 60px;
    background: linear-gradient(135deg, #6B0F0F 0%, #8B1A1A 40%, #5C4033 100%);
    color: var(--white);
}

.referral-hero-content {
    max-width: 700px;
}

.referral-hero .section-tag {
    color: var(--accent);
}

.referral-hero .section-tag::before {
    background: var(--accent);
}

.referral-hero .section-title {
    color: var(--white);
    margin-bottom: 16px;
}

.referral-hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.referral-form-section {
    padding: 60px 0 100px;
    background: var(--blush-light);
}

.referral-form {
    max-width: 860px;
    margin: 0 auto;
}

.form-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.form-section-number {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

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

.form-grid .form-group {
    margin-bottom: 0;
}

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

.required {
    color: var(--primary);
}

/* Checkbox/Radio Group */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 10px 16px;
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    background: var(--gray-50);
}

.checkbox-label:hover {
    border-color: var(--primary-light);
    background: var(--white);
}

.checkbox-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-label:has(input:checked) {
    border-color: var(--primary);
    background: var(--white);
    color: var(--gray-800);
    font-weight: 500;
}

/* Submit Area */
.form-submit-area {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    text-align: center;
}

.form-disclaimer {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Referral form responsive */
@media (max-width: 768px) {
    .form-section {
        padding: 28px 20px;
    }

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

    .checkbox-group {
        flex-direction: column;
    }

    .form-submit-area {
        padding: 28px 20px;
    }

    .referral-hero {
        padding: 130px 0 50px;
    }
}

/* ================================
   Print Styles
   ================================ */
@media print {
    .navbar,
    .back-to-top,
    .scroll-indicator,
    .hero-particles {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 60px 0;
    }

    section {
        page-break-inside: avoid;
    }
}
