/*
 * MindHarmony - Premium Biophilic Psychology Consultation Styling
 * Consolidating concepts from Mibo Care, Mindmaris, and Mindleo.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary-color: #2C4E3F;        /* Forest Green */
    --primary-dark: #1E3529;         /* Deep Spruce */
    --primary-light: #A8C3B1;        /* Sage Green */
    --primary-pale: #EAEFEA;         /* Pale Sage Cream */
    --accent-color: #C5A880;         /* Warm Sand Gold */
    --accent-dark: #AB8E66;          /* Darker Gold Accent */
    --bg-cream: #FAF8F5;             /* Soft Warm Cream */
    --bg-white: #FFFFFF;
    --text-primary: #1C3026;         /* Dark Spruce for text */
    --text-secondary: #5C6E65;       /* Muted Sage Slate */
    --text-light: #FAF8F5;
    --border-color: #E2E8F0;
    --danger-color: #EF4444;
    --success-color: #10B981;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(28, 48, 38, 0.08), 0 2px 4px -1px rgba(28, 48, 38, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(28, 48, 38, 0.1), 0 4px 6px -2px rgba(28, 48, 38, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(28, 48, 38, 0.15), 0 10px 10px -5px rgba(28, 48, 38, 0.08);

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 600;
    line-height: 1.25;
}

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

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

ul, ol {
    list-style: none;
}

/* --- Layout Wrappers --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6.5rem 0;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    background-color: var(--primary-pale);
    color: var(--primary-color);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #15251E 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--text-light);
    border: none;
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, #9C7E58 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background-color: var(--bg-cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- Header / Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    background-color: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(44, 78, 63, 0.08);
}

header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-normal);
}

header.scrolled .header-container {
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.logo-leaf {
    color: var(--accent-color);
    animation: float 3s ease-in-out infinite;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-phone {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.header-phone span {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.05rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 10% 20%, rgba(168, 195, 177, 0.15) 0%, transparent 40%), 
                radial-gradient(circle at 90% 80%, rgba(197, 168, 128, 0.18) 0%, transparent 40%), 
                linear-gradient(135deg, #E2ECE9 0%, #F5EFEB 50%, #FAF8F5 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 195, 177, 0.3) 0%, rgba(168, 195, 177, 0) 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(50px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.25) 0%, rgba(197, 168, 128, 0) 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(60px);
}

.hero-bg-leaf {
    position: absolute;
    opacity: 0.05;
    z-index: 1;
}

.hero-bg-leaf.left {
    bottom: -100px;
    left: -100px;
    width: 400px;
    transform: rotate(45deg);
}

.hero-bg-leaf.right {
    top: -50px;
    right: -100px;
    width: 500px;
    transform: rotate(-15deg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-subtitle {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero-title span {
    background: linear-gradient(135deg, #AB8E66 0%, #D98E73 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.hero-stats-quick {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(44, 78, 63, 0.1);
    padding-top: 2rem;
}

.quick-stat-item h4 {
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: 700;
}

.quick-stat-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.hero-image-wrapper {
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeIn 1s 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-image {
    width: 100%;
    border-radius: 40px 10px 40px 40px;
    box-shadow: var(--shadow-xl);
    border: 8px solid var(--bg-white);
    object-fit: cover;
}

.hero-badge-overlay {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 4s ease-in-out infinite;
}

.hero-badge-overlay i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.hero-badge-overlay span {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
}

/* --- Counter / Statistics Section --- */
.stats-bar {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 0;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card h3 {
    font-size: 3.25rem;
    color: var(--accent-color);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--primary-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Feature Grid / Concept (Biophilic Clinic) --- */
.biophilic-feature {
    background-color: var(--bg-white);
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.bio-images {
    position: relative;
}

.bio-img-main {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 85%;
}

.bio-img-sub {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 45%;
    border-radius: 15px;
    border: 6px solid var(--bg-white);
    box-shadow: var(--shadow-xl);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
}

.bio-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.bullet-list {
    margin: 2rem 0;
}

.bullet-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.bullet-list i {
    color: var(--accent-color);
}

/* --- Services Grid --- */
.services-section {
    background-color: var(--bg-cream);
}

.services-header {
    max-width: 650px;
    margin: 0 auto 4.5rem auto;
}

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

.service-card {
    background-color: var(--bg-white);
    border-radius: 20px;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 4px solid rgba(197, 168, 128, 0.3);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-top-color: var(--accent-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-pale);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- Consultation Card Categories --- */
.service-card-individual-therapy {
    border-top-color: rgba(99, 102, 241, 0.3);
}
.service-card-individual-therapy:hover {
    border-top-color: #6366F1;
}
.service-card-individual-therapy .service-icon {
    background-color: rgba(99, 102, 241, 0.1);
    color: #6366F1;
}
.service-card-individual-therapy .badge {
    background-color: rgba(99, 102, 241, 0.1);
    color: #4F46E5;
}

.service-card-behavior-modification {
    border-top-color: rgba(139, 92, 246, 0.3);
}
.service-card-behavior-modification:hover {
    border-top-color: #8B5CF6;
}
.service-card-behavior-modification .service-icon {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
}
.service-card-behavior-modification .badge {
    background-color: rgba(139, 92, 246, 0.1);
    color: #7C3AED;
}

.service-card-relationship-therapy {
    border-top-color: rgba(217, 119, 6, 0.3);
}
.service-card-relationship-therapy:hover {
    border-top-color: #D97706;
}
.service-card-relationship-therapy .service-icon {
    background-color: rgba(217, 119, 6, 0.1);
    color: #D97706;
}
.service-card-relationship-therapy .badge {
    background-color: rgba(217, 119, 6, 0.1);
    color: #B45309;
}

.service-card-youth-support, .service-card-youth-adult-support {
    border-top-color: rgba(5, 150, 105, 0.3);
}
.service-card-youth-support:hover, .service-card-youth-adult-support:hover {
    border-top-color: #059669;
}
.service-card-youth-support .service-icon, .service-card-youth-adult-support .service-icon {
    background-color: rgba(5, 150, 105, 0.1);
    color: #059669;
}
.service-card-youth-support .badge, .service-card-youth-adult-support .badge {
    background-color: rgba(5, 150, 105, 0.1);
    color: #047857;
}

.service-card-specialized-sessions {
    border-top-color: rgba(171, 142, 102, 0.3);
}
.service-card-specialized-sessions:hover {
    border-top-color: #AB8E66;
}
.service-card-specialized-sessions .service-icon {
    background-color: rgba(171, 142, 102, 0.1);
    color: #AB8E66;
}
.service-card-specialized-sessions .badge {
    background-color: rgba(171, 142, 102, 0.1);
    color: #8A6D48;
}

.service-card-clinical-support {
    border-top-color: rgba(225, 29, 72, 0.3);
}
.service-card-clinical-support:hover {
    border-top-color: #E11D48;
}
.service-card-clinical-support .service-icon {
    background-color: rgba(225, 29, 72, 0.1);
    color: #E11D48;
}
.service-card-clinical-support .badge {
    background-color: rgba(225, 29, 72, 0.1);
    color: #BE123C;
}

.service-card .badge {
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.service-card .read-more {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.service-card .read-more i {
    transition: var(--transition-fast);
}

.service-card:hover .read-more {
    color: var(--accent-color);
}

.service-card:hover .read-more i {
    transform: translateX(4px);
}

.service-card:hover .read-more i {
    transform: translateX(4px);
}

/* --- Director Statement / Testimonial Section --- */
.director-section {
    background-color: var(--primary-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.director-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4.5rem;
    align-items: center;
}

.director-img-container {
    position: relative;
}

.director-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 6px solid rgba(250, 248, 245, 0.1);
}

.director-details {
    position: absolute;
    bottom: -20px;
    left: 20px;
    right: 20px;
    background-color: var(--bg-white);
    color: var(--primary-dark);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.director-details h4 {
    font-size: 1.15rem;
    font-weight: 700;
}

.director-details p {
    font-size: 0.8rem;
    color: var(--accent-dark);
    font-weight: 600;
    text-transform: uppercase;
}

.director-quote {
    font-size: 1.85rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: var(--bg-cream);
    position: relative;
}

.director-quote::before {
    content: '"';
    font-size: 6rem;
    color: var(--accent-color);
    position: absolute;
    top: -50px;
    left: -40px;
    opacity: 0.15;
    font-family: Georgia, serif;
}

.director-text {
    color: var(--primary-light);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

/* --- Team Roster --- */
.team-section {
    background-color: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background-color: var(--bg-cream);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.team-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.team-card .team-img-wrap {
    aspect-ratio: 1/1;
    width: 150px;
    height: 150px;
    margin: 2rem auto 0.5rem;
    border-radius: 50%;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
}

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

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

.team-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 4.5em;
    text-align: center;
}

.team-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(28, 48, 38, 0.8), transparent);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    transition: var(--transition-normal);
}

.team-card:hover .team-socials {
    bottom: 0;
}

.team-socials a {
    color: var(--text-light);
    font-size: 1.1rem;
}

.team-socials a:hover {
    color: var(--accent-color);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.team-info p {
    color: var(--accent-dark);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Contact & Booking --- */
.contact-section {
    background-color: var(--bg-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-pale);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.map-wrapper {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.booking-card {
    background-color: var(--bg-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

.booking-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.booking-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--bg-cream);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

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

.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #DEF7EC;
    color: #03543F;
    border: 1px solid #BCF0DA;
}

.alert-danger {
    background-color: #FDE8E8;
    color: #9B1C1C;
    border: 1px solid #FBD5D5;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 5rem 0 2rem 0;
    border-top: 5px solid var(--accent-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--primary-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: rgba(250, 248, 245, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.footer-socials a:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

.footer-links-col h4 {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links-col a {
    color: var(--primary-light);
    font-size: 0.95rem;
}

.footer-links-col a:hover {
    color: var(--accent-color);
}

.footer-copyright {
    border-top: 1px solid rgba(250, 248, 245, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--primary-light);
}

/* --- Floating Utilities --- */
.whatsapp-float {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #128C7E;
}

.call-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: var(--transition-fast);
}

.call-float:hover {
    transform: scale(1.1) translateY(-2px);
    background-color: var(--accent-dark);
}

/* --- Floating Chatbot --- */
.bot-float {
    position: fixed;
    bottom: 180px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    outline: none;
}

.bot-float:hover {
    transform: scale(1.1) translateY(-2px);
    background-color: var(--accent-color);
}

.bot-float .bot-pulse {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: var(--accent-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(197, 168, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(197, 168, 128, 0); }
}

.bot-window {
    position: fixed;
    bottom: 255px;
    right: 30px;
    width: 360px;
    height: 520px;
    background-color: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(44, 78, 63, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-body);
}

.bot-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.bot-header {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--accent-color);
}

.bot-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bot-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.1rem;
    border: 1.5px solid var(--accent-color);
}

.bot-header-text h4 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.bot-status {
    font-size: 0.75rem;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.bot-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #10B981;
    border-radius: 50%;
}

.bot-close-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.bot-close-btn:hover {
    opacity: 1;
    color: var(--accent-color);
}

.bot-body {
    flex-grow: 1;
    padding: 1.25rem;
    overflow-y: auto;
    background-color: var(--bg-cream);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
}

.chat-message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: msgFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.bot {
    background-color: var(--bg-white);
    color: var(--text-primary);
    align-self: flex-start;
    border-top-left-radius: 4px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(44, 78, 63, 0.05);
}

.chat-message.user {
    background-color: var(--primary-color);
    color: var(--text-light);
    align-self: flex-end;
    border-top-right-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.bot-input-area {
    padding: 1rem 1.25rem;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bot-input-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bot-text-input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    background-color: var(--bg-cream);
    transition: var(--transition-fast);
}

.bot-text-input:focus {
    border-color: var(--accent-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.15);
}

.bot-send-btn {
    width: 38px;
    height: 38px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.bot-send-btn:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

.bot-options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.bot-option-chip {
    padding: 0.5rem 1rem;
    background-color: var(--bg-cream);
    border: 1px solid var(--primary-light);
    color: var(--primary-color);
    border-radius: 18px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.bot-option-chip:hover, .bot-option-chip.selected {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.bot-error-msg {
    color: var(--danger-color);
    font-size: 0.75rem;
    padding: 0 0.5rem;
    display: none;
}

/* Make sure mobile responsive fits inside browser viewport */
@media (max-width: 480px) {
    .bot-window {
        bottom: 85px;
        right: 15px;
        left: 15px;
        width: auto;
        height: calc(100% - 100px);
    }
    .bot-float {
        bottom: 15px;
        right: 15px;
    }
    .whatsapp-float {
        bottom: 15px;
        right: 85px; /* Adjust WhatsApp position slightly to not overlap when expanded on mobile */
    }
    .call-float {
        bottom: 15px;
        right: 155px;
    }
}


/* --- Page Hero Utility --- */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #15221B 100%);
    color: var(--text-light);
    padding: 8rem 0 5rem 0;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-hero p {
    color: var(--accent-color);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

/* --- Detail Pages (Service Detail) --- */
.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.detail-content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
}

.detail-content h2:first-of-type {
    margin-top: 0;
}

.detail-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.sidebar-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 120px;
}

.sidebar-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.sidebar-list {
    margin: 1.5rem 0;
}

.sidebar-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.sidebar-list a:hover {
    color: var(--accent-color);
}

/* --- Video Background Section --- */
.video-background-section {
    position: relative;
    width: 100%;
    min-height: 480px;
    padding: 7.5rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.video-background-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    animation: breathingBackground 25s ease-in-out infinite alternate;
}

@keyframes breathingBackground {
    0% {
        transform: scale(1.05) translate(0, 0);
    }
    100% {
        transform: scale(1.2) translate(-1%, -1%);
    }
}

.video-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 48, 38, 0.8) 0%, rgba(30, 53, 41, 0.9) 100%);
    z-index: 2;
}

.video-background-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* --- Media Queries --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-grid, .bio-grid, .director-grid, .contact-grid, .detail-grid {
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    .section-padding {
        padding: 4.5rem 0;
    }
    .header-cta .btn {
        display: none; /* Hide button on tablet/mobile header */
    }
    .mobile-nav-toggle {
        display: block;
    }
    .nav-links {
        display: none; /* Mobile menu handling would go here */
    }
    .hero-grid, .bio-grid, .director-grid, .contact-grid, .detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 4rem;
    }
    .hero-image-wrapper {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-group-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .booking-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.15rem;
        gap: 0.4rem;
    }
    .logo img {
        height: 32px !important;
        width: 32px !important;
    }
    .logo span {
        white-space: nowrap;
    }
    .header-phone {
        font-size: 0.65rem;
    }
    .header-phone span {
        font-size: 0.85rem;
        white-space: nowrap;
    }
    .header-cta {
        gap: 0.75rem;
    }
    .mobile-nav-toggle {
        font-size: 1.25rem;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-stats-quick {
        flex-direction: column;
        gap: 1.5rem;
    }
}
