/*
Theme Name: Dr. Hala Moeen - Psychology Theme
Theme URI: https://drhalamoeen.com
Author: Theme Developer
Author URI: https://drhalamoeen.com
Description: Professional WordPress theme for psychologists and mental health professionals. Built with WPBakery Page Builder compatibility, RTL support, and modern design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dr-hala
Domain Path: /languages
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, rtl-language-support, wpbakery

This theme is built for Dr. Hala Moeen - Clinical Psychologist
*/

/* ========================================
   TABLE OF CONTENTS
   ========================================
   1. CSS Variables & Reset
   2. Base Styles
   3. Typography
   4. Layout Components
   5. Navigation
   6. Hero Section
   7. Philosophy Section
   8. Services Section
   9. Book Showcase Section
   10. Assessment Section
   11. Contact Section
   12. Footer
   13. WPBakery Elements
   14. Responsive
   15. Animations
   ======================================== */

/* ========================================
   1. CSS VARIABLES & RESET
   ======================================== */
:root {
    /* Primary Colors */
    --color-primary: #2E7D6F;
    --color-primary-dark: #1A5A4E;
    --color-primary-light: #4A9B8A;
    
    /* Secondary Colors */
    --color-secondary: #E8B86D;
    --color-secondary-dark: #D4A044;
    --color-secondary-light: #F0D19A;
    
    /* Accent Colors */
    --color-accent: #D4A5A5;
    --color-accent-light: #E8C8C8;
    
    /* Neutral Colors */
    --color-background: #F8F9FA;
    --color-foreground: #2C3E50;
    --color-white: #FFFFFF;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    
    /* Typography */
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-soft-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(46, 125, 111, 0.3);
    --shadow-glow-gold: 0 0 40px rgba(232, 184, 109, 0.4);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-foreground);
    background-color: var(--color-background);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   2. BASE STYLES
   ======================================== */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

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

button {
    cursor: pointer;
    font-family: inherit;
}

/* Selection */
::selection {
    background: rgba(46, 125, 111, 0.3);
    color: var(--color-primary-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* ========================================
   3. TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-foreground);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   4. LAYOUT COMPONENTS
   ======================================== */
.section-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: var(--spacing-xl);
    padding-right: var(--spacing-xl);
}

@media (min-width: 640px) {
    .section-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1280px) {
    .section-container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1536px) {
    .section-container {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-soft);
}

.glass-card-dark {
    background: rgba(26, 90, 78, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-lg);
    border: none;
    transition: all var(--transition-base);
    cursor: pointer;
}

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

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

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-foreground);
}

.btn-secondary:hover {
    background: var(--color-secondary-dark);
    box-shadow: var(--shadow-glow-gold);
    transform: translateY(-2px);
    color: var(--color-foreground);
}

/* Service Card */
.service-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-slow);
    overflow: hidden;
}

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

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46, 125, 111, 0.05), transparent);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

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

/* Section Title */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

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

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-primary {
    background: rgba(46, 125, 111, 0.1);
    color: var(--color-primary-dark);
}

.badge-secondary {
    background: rgba(232, 184, 109, 0.2);
    color: var(--color-secondary-dark);
}

/* Blob decoration */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

/* Grain overlay */
.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ========================================
   5. NAVIGATION
   ======================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s ease;
    padding: 1.25rem 0;
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-foreground);
}

.nav-logo span {
    color: var(--color-primary);
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

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

.nav-link {
    padding: 0.5rem 1rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-foreground);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background: rgba(46, 125, 111, 0.05);
}

.nav-cta {
    display: none;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: inline-flex;
    }
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
    border: none;
}

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

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft-lg);
    overflow: hidden;
    transition: all 0.5s ease;
    max-height: 0;
    opacity: 0;
}

.mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

.mobile-menu-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-foreground);
    border-radius: var(--radius-lg);
    text-align: right;
    transition: all var(--transition-base);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-primary);
    background: rgba(46, 125, 111, 0.05);
}

/* Progress bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-secondary);
    z-index: 1001;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.1s ease;
}

/* ========================================
   6. HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(46, 125, 111, 0.05), var(--color-background), rgba(232, 184, 109, 0.05));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 6rem 0 4rem;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 0;
    }
}

.hero-text {
    order: 2;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text {
        order: 1;
        text-align: right;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(46, 125, 111, 0.1);
    color: var(--color-primary-dark);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-badge .pulse {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-foreground);
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-500);
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.125rem;
    color: var(--color-primary-dark);
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

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

@media (min-width: 1024px) {
    .hero-cta {
        justify-content: flex-start;
    }
}

.hero-image-wrapper {
    order: 1;
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-image-wrapper {
        order: 2;
        justify-content: flex-end;
    }
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

@media (min-width: 1024px) {
    .hero-image-container {
        max-width: 450px;
    }
}

@media (min-width: 1280px) {
    .hero-image-container {
        max-width: 500px;
    }
}

.hero-image-glow {
    position: absolute;
    inset: -1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 1.5rem;
    opacity: 0.2;
    filter: blur(20px);
}

.hero-image {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft-lg);
    animation: breathe 6s ease-in-out infinite;
}

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

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 90, 78, 0.3), transparent, transparent);
}

/* Floating cards */
.floating-card {
    position: absolute;
    background: var(--color-white);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-soft-lg);
    animation: float 3s ease-in-out infinite;
}

.floating-card-1 {
    bottom: -1.5rem;
    left: -1.5rem;
}

.floating-card-2 {
    top: -1rem;
    right: -1rem;
    animation-delay: 1s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-400);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.875rem;
}

/* ========================================
   7. PHILOSOPHY SECTION
   ======================================== */
.philosophy-section {
    position: relative;
    padding: 6rem 0;
    background: var(--color-white);
    overflow: hidden;
}

.philosophy-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

.philosophy-card {
    position: relative;
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.5s ease;
    cursor: pointer;
}

.philosophy-card:hover {
    transform: translateY(-16px);
    box-shadow: var(--shadow-soft-lg);
}

.philosophy-card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

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

.philosophy-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 0.75rem;
}

.philosophy-card-desc {
    color: var(--color-gray-500);
    line-height: 1.7;
}

.philosophy-card-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 2rem;
    height: 2rem;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-primary);
    box-shadow: var(--shadow-soft);
}

.philosophy-quote {
    margin-top: 4rem;
    text-align: center;
}

.philosophy-quote blockquote {
    position: relative;
    display: inline-block;
}

.philosophy-quote .quote-mark {
    position: absolute;
    font-size: 4rem;
    color: rgba(46, 125, 111, 0.2);
    font-family: serif;
    line-height: 1;
}

.philosophy-quote .quote-mark:first-child {
    top: -1.5rem;
    right: -1.5rem;
}

.philosophy-quote .quote-mark:last-child {
    bottom: -2rem;
    left: -1.5rem;
}

.philosophy-quote p {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-foreground);
    max-width: 600px;
}

/* ========================================
   8. SERVICES SECTION
   ======================================== */
.services-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--color-white), rgba(46, 125, 111, 0.03));
    overflow: hidden;
}

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

/* Desktop Accordion */
.services-accordion {
    display: none;
    height: 500px;
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .services-accordion {
        display: flex;
    }
}

.service-strip {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.7s ease;
    flex: 1;
}

.service-strip.active {
    flex: 4;
}

.service-strip-bg {
    position: absolute;
    inset: 0;
    transition: all 0.5s ease;
}

.service-strip.active .service-strip-bg {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)) !important;
}

.service-strip-content {
    position: relative;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.service-strip-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.5s ease;
}

.service-strip.active .service-strip-icon {
    background: rgba(255, 255, 255, 0.2) !important;
}

.service-strip-title {
    font-family: var(--font-heading);
    font-weight: 700;
    transition: all 0.5s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.875rem;
    color: var(--color-foreground);
}

.service-strip.active .service-strip-title {
    writing-mode: horizontal-tb;
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.service-strip-body {
    flex: 1;
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    transition: all 0.5s ease;
}

.service-strip.active .service-strip-body {
    opacity: 1;
    max-height: 100%;
}

.service-strip-desc {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-strip-features {
    list-style: none;
}

.service-strip-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.service-strip-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-white);
    border-radius: 50%;
}

.service-strip-number {
    margin-top: auto;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    opacity: 0.2;
    transition: all 0.5s ease;
}

.service-strip.active .service-strip-number {
    color: var(--color-white);
}

/* Mobile Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

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

@media (min-width: 1024px) {
    .services-grid {
        display: none;
    }
}

/* ========================================
   9. BOOK SHOWCASE SECTION
   ======================================== */
.book-section {
    position: relative;
    padding: 6rem 0;
    background: var(--color-primary-dark);
    color: var(--color-white);
    overflow: hidden;
}

.book-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.05;
    pointer-events: none;
}

.book-watermark span {
    font-size: 15vw;
    font-family: var(--font-heading);
    font-weight: 700;
    white-space: nowrap;
}

.book-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .book-content {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.book-image-wrapper {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.book-image-container {
    position: relative;
}

.book-image-glow {
    position: absolute;
    inset: -2rem;
    background: linear-gradient(135deg, rgba(232, 184, 109, 0.3), rgba(46, 125, 111, 0.3));
    filter: blur(40px);
    border-radius: 2rem;
    transform: scale(1.1);
}

.book-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

.book-image:hover {
    transform: scale(1.05);
}

.book-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

.book-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--color-secondary);
    color: var(--color-foreground);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: bounce 2s infinite;
}

.book-text .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.book-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .book-title {
        font-size: 3.5rem;
    }
}

.book-title span {
    color: var(--color-secondary);
}

.book-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.book-authors {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.book-author {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
}

.book-author-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.book-author-name {
    font-family: var(--font-heading);
    font-weight: 600;
}

.book-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.book-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.book-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.book-feature svg {
    color: var(--color-secondary);
    width: 1rem;
    height: 1rem;
}

.book-quote {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.book-quote svg {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    color: rgba(232, 184, 109, 0.3);
}

.book-quote p {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    padding-right: 2rem;
}

/* ========================================
   10. ASSESSMENT SECTION
   ======================================== */
.assessment-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(46, 125, 111, 0.05), var(--color-background), rgba(232, 184, 109, 0.05));
    overflow: hidden;
}

.assessment-header {
    text-align: center;
    margin-bottom: 4rem;
}

.assessment-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .assessment-content {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

/* Orbit Visualization */
.assessment-orbit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

@media (min-width: 1024px) {
    .assessment-orbit {
        height: 500px;
    }
}

.orbit-ring {
    position: absolute;
    border: 2px dashed rgba(46, 125, 111, 0.2);
    border-radius: 50%;
}

.orbit-ring-outer {
    width: 300px;
    height: 300px;
}

@media (min-width: 1024px) {
    .orbit-ring-outer {
        width: 400px;
        height: 400px;
    }
}

.orbit-ring-inner {
    width: 200px;
    height: 200px;
}

@media (min-width: 1024px) {
    .orbit-ring-inner {
        width: 250px;
        height: 250px;
    }
}

.orbit-center {
    position: relative;
    z-index: 10;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

@media (min-width: 1024px) {
    .orbit-center {
        width: 150px;
        height: 150px;
    }
}

.orbit-center-content {
    text-align: center;
    color: var(--color-white);
}

.orbit-center-content svg {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 0.5rem;
}

.orbit-center-content span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
}

.orbit-points {
    position: absolute;
    inset: 0;
    animation: orbit 60s linear infinite;
}

.orbit-point {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-point-card {
    background: var(--color-white);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-soft-lg);
    text-align: center;
    width: 120px;
    transition: all 0.3s ease;
}

.orbit-point-card:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-soft-lg);
}

.orbit-point-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(46, 125, 111, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

.orbit-point-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-primary);
}

.orbit-point-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--color-foreground);
    margin-bottom: 0.25rem;
}

.orbit-point-desc {
    font-size: 0.625rem;
    color: var(--color-gray-400);
}

/* Assessment Text */
.assessment-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .assessment-text h3 {
        font-size: 2rem;
    }
}

.assessment-text > p {
    color: var(--color-gray-500);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.assessment-text > p span {
    color: var(--color-primary);
    font-weight: 700;
}

.assessment-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.assessment-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.assessment-feature:hover {
    box-shadow: var(--shadow-soft-lg);
}

.assessment-feature-icon {
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(46, 125, 111, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.assessment-feature-icon svg {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--color-primary);
}

.assessment-when {
    background: var(--color-primary-dark);
    border-radius: 1rem;
    padding: 1.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.assessment-when h4 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.assessment-when ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.assessment-when li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.assessment-when li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-secondary);
    border-radius: 50%;
}

.assessment-message {
    padding: 1rem;
    background: rgba(232, 184, 109, 0.1);
    border-radius: 0.75rem;
    border: 1px solid rgba(232, 184, 109, 0.2);
}

.assessment-message p {
    color: var(--color-secondary-dark);
    font-size: 0.875rem;
    text-align: center;
    margin: 0;
}

/* ========================================
   11. CONTACT SECTION
   ======================================== */
.contact-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(46, 125, 111, 0.05), var(--color-background), rgba(232, 184, 109, 0.05));
    overflow: hidden;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 3fr 2fr;
        gap: 3rem;
    }
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
    .contact-form-wrapper {
        padding: 2.5rem;
    }
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

.form-group {
    position: relative;
}

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

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

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

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

.form-submit {
    width: 100%;
}

.form-submit.loading {
    background: var(--color-gray-400);
    pointer-events: none;
}

.form-submit.success {
    background: #22c55e;
}

.spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--color-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

.contact-info-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(46, 125, 111, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: var(--color-primary);
}

.contact-info-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

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

.contact-info-text p:first-child {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    margin-bottom: 0.25rem;
}

.contact-info-text p:last-child {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-foreground);
    margin: 0;
}

.contact-map {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, rgba(46, 125, 111, 0.1), rgba(232, 184, 109, 0.1));
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-map-content {
    text-align: center;
}

.contact-map-content svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-primary);
    margin: 0 auto 0.5rem;
}

.contact-map-content p {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-foreground);
    margin: 0;
}

/* Decorative dots */
.contact-map::before,
.contact-map::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.contact-map::before {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    top: 1rem;
    right: 1rem;
}

.contact-map::after {
    width: 6px;
    height: 6px;
    background: var(--color-secondary);
    top: 2rem;
    right: 2rem;
}

/* ========================================
   12. FOOTER
   ======================================== */
.footer {
    position: relative;
    background: var(--color-primary-dark);
    color: var(--color-white);
    overflow: hidden;
}

.footer-top {
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

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

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* Footer Brand */
.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-brand h3 span {
    color: var(--color-secondary);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-secondary);
}

.footer-social a svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.footer-social a:hover svg {
    color: var(--color-foreground);
}

/* Footer Links */
.footer-links h4 {
    font-size: 1.125rem;
    color: var(--color-secondary);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

/* Footer CTA */
.footer-cta h4 {
    font-size: 1.125rem;
    color: var(--color-secondary);
    margin-bottom: 1.25rem;
}

.footer-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: right;
    }
}

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

.footer-bottom p svg {
    display: inline;
    width: 1rem;
    height: 1rem;
    color: var(--color-accent);
    fill: var(--color-accent);
    vertical-align: middle;
    margin: 0 0.25rem;
}

/* Footer Decorations */
.footer::before,
.footer::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.footer::before {
    width: 250px;
    height: 250px;
    background: rgba(46, 125, 111, 0.2);
    bottom: 0;
    left: 0;
}

.footer::after {
    width: 200px;
    height: 200px;
    background: rgba(232, 184, 109, 0.1);
    top: 50%;
    right: 0;
}

/* ========================================
   13. WPBAKERY ELEMENTS
   ======================================== */

/* VC Row adjustments */
.vc_row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.vc_column_container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* WPBakery Custom Elements */
.dr-hala-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.dr-hala-section {
    padding: 6rem 0;
}

.dr-hala-service-box {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-slow);
}

.dr-hala-service-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft-lg);
}

.dr-hala-icon-box {
    text-align: center;
    padding: 2rem;
}

.dr-hala-icon-box .icon-wrapper {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dr-hala-counter {
    text-align: center;
}

.dr-hala-counter .counter-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
}

.dr-hala-counter .counter-label {
    color: var(--color-gray-500);
}

.dr-hala-testimonial {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.dr-hala-testimonial .quote {
    font-style: italic;
    color: var(--color-gray-500);
    margin-bottom: 1.5rem;
}

.dr-hala-testimonial .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dr-hala-testimonial .author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.dr-hala-testimonial .author-name {
    font-family: var(--font-heading);
    font-weight: 600;
}

.dr-hala-testimonial .author-role {
    font-size: 0.875rem;
    color: var(--color-gray-400);
}

/* ========================================
   14. RESPONSIVE
   ======================================== */
@media (max-width: 639px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .book-title {
        font-size: 2rem;
    }
}

/* ========================================
   15. ANIMATIONS
   ======================================== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

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

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

@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes blob {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Animation utilities */
.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease forwards;
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-200 {
    animation-delay: 200ms;
}

.animation-delay-400 {
    animation-delay: 400ms;
}

.animation-delay-600 {
    animation-delay: 600ms;
}

.animation-delay-1000 {
    animation-delay: 1000ms;
}

.animation-delay-2000 {
    animation-delay: 2000ms;
}

.animation-delay-4000 {
    animation-delay: 4000ms;
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
