/* ==========================================================================
   PREMIUM DESIGN SYSTEM - LITAL MIZRACHI CLINIC
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    /* Color Palette */
    --primary: #233549;          /* Deep Slate Blue - Professional, Stable, Secure */
    --primary-light: #2e455e;
    --primary-dark: #192736;
    --accent: #bfa15f;           /* Warm Gold / Champagne - Human, Warmth, Quality */
    --accent-hover: #a88d50;
    --accent-light: #e5dcc7;
    --bg-main: #f9f7f4;          /* Soothing Warm Off-White / Sand Background */
    --bg-card: #ffffff;          /* Pure White for Content Cards */
    --text-dark: #2c3845;        /* Deep Charcoal for high-readability text */
    --text-muted: #6b7a8a;       /* Slate Grey for supporting text */
    --text-light: #ffffff;
    --border-color: #e5e9ec;
    
    /* Semantic Colors */
    --success: #4a7c59;          /* Soft Forest Green for Success States */
    --error: #b23b3b;            /* Soft Crimson for Errors */
    --warning: #e09f3e;
    
    /* Fonts */
    --font-heading: 'Rubik', sans-serif;
    --font-body: 'Assistant', sans-serif;
    
    /* Spacing & Borders */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Layout */
    --header-height: 80px;
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    text-align: right; /* RTL Default */
}

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

p {
    margin-bottom: 1rem;
}

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

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

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

ul {
    list-style: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.max-w-700 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.section-subtitle.light {
    color: var(--accent-light);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    letter-spacing: -0.5px;
}

.section-title.light {
    color: var(--text-light);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.section-divider.center {
    margin-left: auto;
    margin-right: auto;
}

.section-divider.light {
    background: var(--accent-light);
}

.section-paragraph {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.section-paragraph.light {
    color: rgba(255, 255, 255, 0.85);
}

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

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
    font-weight: 600;
}

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

.btn-secondary {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

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

.btn-block {
    display: flex;
    width: 100%;
}

.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent);
    margin-top: 12px;
}

.btn-text-link:hover {
    color: var(--primary);
}

.btn-text-link i {
    transition: var(--transition);
}

.btn-text-link:hover i {
    transform: translateX(-5px); /* Move left in RTL */
}

/* ==========================================================================
   FLOATING HEADER & NAV
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo .logo-link {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    padding: 8px 4px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent);
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

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

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

/* ==========================================================================
   PAGE CONTAINER & TRANSITIONS
   ========================================================================== */
.content-container {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 300px);
}

/* Dynamic Page Toggling and Animations */
.page-section {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-section.active-page {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   HOME PAGE: HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: calc(85vh - var(--header-height));
    background: linear-gradient(rgba(35, 53, 73, 0.85), rgba(35, 53, 73, 0.85)), url('./assets/clinic_hero.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--text-light);
    padding: 80px 24px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(197, 160, 89, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(191, 161, 95, 0.2);
    color: var(--accent-light);
    border: 1px solid rgba(191, 161, 95, 0.4);
    padding: 6px 18px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-contact-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 5px;
    margin-bottom: 25px;
    padding: 10px 24px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(191, 161, 95, 0.35);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.hero-contact-badge:hover {
    background-color: rgba(191, 161, 95, 0.12);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(191, 161, 95, 0.2);
}

.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-contact-item i {
    color: var(--accent);
    font-size: 0.95rem;
}

.hero-contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.hero-contact-item a:hover {
    color: var(--accent);
}

.hero-contact-divider {
    color: rgba(191, 161, 95, 0.4);
    font-size: 1.1rem;
    pointer-events: none;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ==========================================================================
   HOME PAGE: INTRO SECTION (מי אני?)
   ========================================================================== */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.intro-image-container {
    position: relative;
    width: 100%;
    max-width: 450px; /* Reduced to look extremely neat and not overpower the page */
    margin: 0 auto;
}

.intro-bg-decorator {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    background-color: rgba(191, 161, 95, 0.07);
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: 1;
    pointer-events: none;
    box-shadow: var(--shadow-sm);
}

.intro-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
}

.intro-text-container {
    animation: fadeInRight 0.8s ease;
}

.intro-text-container p {
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   HOME PAGE: CREDO SECTION (אני מאמין)
   ========================================================================== */
.credo-section {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.credo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 90%, rgba(191, 161, 95, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.credo-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.credo-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 24px;
    opacity: 0.8;
}

.credo-title {
    font-size: 2.25rem;
    color: var(--text-light);
    margin-bottom: 24px;
    font-weight: 700;
}

.credo-text {
    font-size: 1.35rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    font-weight: 300;
}

/* ==========================================================================
   HOME PAGE: CHALLENGES SECTION (באילו אתגרים מטפלת)
   ========================================================================== */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.challenge-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.challenge-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(191, 161, 95, 0.3);
}

.challenge-card:hover::before {
    height: 100%;
}

.challenge-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(191, 161, 95, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.challenge-card:hover .challenge-icon {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.challenge-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.challenge-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   HOME PAGE: APPROACH SECTION (גישה טיפולית)
   ========================================================================== */
.approach-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--text-light);
    padding: 100px 24px;
    position: relative;
}

.approach-section .section-title {
    color: var(--text-light);
}

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

.approach-section .section-divider {
    background-color: var(--accent);
}

.approach-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.approach-text {
    animation: fadeInLeft 0.8s ease;
}

.approach-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Slider Carousel Styles */
.approach-slider-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 30px 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(191, 161, 95, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
}

.approach-slider {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.approach-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    padding: 0 10px;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.approach-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
    pointer-events: auto;
}

.approach-slide.exit-left {
    opacity: 0;
    transform: translateX(-100%);
}

.approach-slide.exit-right {
    opacity: 0;
    transform: translateX(100%);
}

.slide-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(191, 161, 95, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.approach-slide h3 {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.approach-slide p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Slider buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(191, 161, 95, 0.4);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
}

.slider-btn.prev-btn {
    right: 8px; /* RTL placement */
}

.slider-btn.next-btn {
    left: 8px; /* RTL placement */
}

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background-color: var(--accent);
    width: 20px;
    border-radius: 10px;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.bio-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.85;
}

.credo-quote-small {
    border-right: 4px solid var(--accent);
    padding: 10px 24px;
    margin: 30px 0;
    background-color: rgba(191, 161, 95, 0.06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.credo-quote-small p {
    font-style: italic;
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 0;
    font-weight: 400;
}

.credentials-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 110px;
}

.credentials-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.credentials-title i {
    color: var(--accent);
}

.credentials-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.credentials-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cred-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(191, 161, 95, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cred-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary);
}

.cred-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    line-height: 1.6;
}

.cred-info .sub-cred {
    border-top: 1px dashed var(--border-color);
    padding-top: 6px;
    margin-top: 6px;
}

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(191, 161, 95, 0.25);
}

.service-icon-bg {
    width: 70px;
    height: 70px;
    background-color: rgba(35, 53, 73, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 28px;
    transition: var(--transition);
}

.service-card:hover class-name {
    /* Subtle hover transformations */
}

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

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.service-subtitle-spec {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-summary {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Service Expansion Animation */
.service-expanded-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.service-expanded-content p {
    margin-top: 12px;
    margin-bottom: 0;
}

.service-card.expanded .service-expanded-content {
    max-height: 500px;
    opacity: 1;
    transition: max-height 0.5s ease-in, opacity 0.5s ease-in;
    border-top: 1px dashed var(--border-color);
    padding-top: 15px;
    margin-top: 10px;
}

.btn-service-more {
    margin-top: auto;
    background: transparent;
    border: none;
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 0 0 0;
    align-self: flex-start;
    transition: var(--transition);
}

.btn-service-more:hover {
    color: var(--primary);
}

.btn-service-more i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.service-card.expanded .btn-service-more i {
    transform: rotate(180deg);
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(191, 161, 95, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-text p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0;
}

.info-text p a {
    color: var(--primary);
    font-weight: 600;
}

.info-text p a:hover {
    color: var(--accent);
}

.info-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Map Mockup Component */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: 200px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #eef2f5;
    background-image: radial-gradient(var(--border-color) 1.5px, transparent 1.5px);
    background-size: 15px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.map-placeholder i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.map-placeholder span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.map-placeholder small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Contact Form Styles */
.contact-form-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 45px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.discrete-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: #edf7ed;
    color: #1e4620;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 1px solid #d3eade;
}

.contact-form-card h3 {
    font-size: 1.6rem;
    margin-top: 20px; /* offset badge spacing */
    margin-bottom: 8px;
}

.form-instructions {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

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

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 1rem;
    pointer-events: none;
}

.textarea-icon {
    top: 24px;
    transform: none;
}

.form-control {
    width: 100%;
    padding: 14px 44px 14px 16px; /* Right padding creates space for the RTL icon */
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(191, 161, 95, 0.15);
}

.form-control:focus + .input-icon {
    color: var(--accent);
}

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

/* Error states */
.form-group.has-error .form-control {
    border-color: var(--error);
    background-color: rgba(178, 59, 59, 0.03);
}

.form-group.has-error .input-icon {
    color: var(--error);
}

.error-message {
    font-size: 0.85rem;
    color: var(--error);
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

.form-group.has-error .error-message {
    display: block;
    animation: slideDown 0.2s ease;
}

/* Button Loading States */
.btn-loader {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Success Card */
.form-success-card {
    display: none;
    text-align: center;
    padding: 30px 10px;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(74, 124, 89, 0.12);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 3rem;
    margin-bottom: 24px;
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-success-card h3 {
    font-size: 1.8rem;
    color: var(--success);
    margin-top: 0;
    margin-bottom: 12px;
}

.form-success-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Hide form when success shows */
.contact-form-card.show-success form {
    display: none;
}

.contact-form-card.show-success .form-success-card {
    display: block;
}

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Left side to not cover scroll/footer options, standard for RTL */
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
}

.whatsapp-btn {
    background-color: #25D366; /* WhatsApp Green */
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background-color: #128C7E; /* WhatsApp Dark Green */
    color: var(--text-light);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   PREMIUM FOOTER
   ========================================================================== */
/* Footer Wave Divider */
.footer-wave-container {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-color: transparent;
}

.footer-wave-container svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 32px; /* Thinner and more delicate wave curve */
}

.footer-wave-container .shape-fill {
    fill: #f3ede2; /* Matches the light warm champagne sand footer background */
}

.footer-wave-container .shape-stroke {
    fill: none;
    stroke: var(--accent); /* Elegant gold wavy line */
    stroke-width: 2.5px; /* Slightly thicker for premium print feel */
    opacity: 0.85;
}

.main-footer {
    background-color: #f3ede2; /* Light warm champagne sand */
    color: var(--text-dark);
    padding: 50px 0 25px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo-container {
    margin-bottom: 20px;
    width: 100%;
}

.footer-logo-img {
    max-width: 420px; /* Increased to 420px to make it significantly larger, prominent, and highly readable */
    width: 100%;
    height: auto;
    mix-blend-mode: multiply; /* Blends the white background of the JPEG organically into the sand footer */
    transition: var(--transition);
    display: inline-block;
}

.footer-logo-img:hover {
    transform: scale(1.03); /* Subtle scale animation since shadow is removed for organic blend */
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.security-stamp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(191, 161, 95, 0.08);
    border: 1px solid rgba(191, 161, 95, 0.25);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.security-stamp i {
    color: var(--accent-hover);
}

.footer-links h4, .footer-contact h4 {
    color: var(--primary); /* Deep Slate Blue for footer headings */
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-hover);
    padding-right: 6px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.footer-contact p i {
    color: var(--accent);
    font-size: 1.1rem;
    width: 20px;
}

.footer-contact a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact .license-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 12px;
    margin-top: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-tagline-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 550;
    color: var(--accent-hover);
    letter-spacing: 1.5px;
    border-top: 1.5px solid rgba(191, 161, 95, 0.12);
    padding-top: 20px;
    margin-top: 10px;
    width: 100%;
}

.tagline-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
    opacity: 0.6;
}

@media (min-width: 769px) {
    .footer-brand {
        grid-row: span 2;
    }
    
    .footer-tagline-block {
        grid-column: 2 / 4;
        align-self: end;
    }
}

.contact-page-tagline {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--accent);
    text-align: center;
    margin-top: 40px;
    letter-spacing: 2px;
    border-top: 1px dashed var(--border-color);
    padding-top: 25px;
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   RESPONSIVE LAYOUTS
   ========================================================================== */
@media (max-width: 1024px) {
    .intro-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-image-container {
        order: 2;
        width: calc(100% - 32px);
        max-width: 420px;
        margin: 0 auto;
        position: relative;
    }

    .intro-bg-decorator {
        top: 12px;
        right: 12px;
    }
    
    .credentials-card {
        position: static;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - var(--header-height));
        background-color: var(--primary-dark);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 40px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-link {
        color: rgba(255, 255, 255, 0.85);
        font-size: 1.15rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link.active {
        color: var(--accent);
        font-weight: 700;
    }
    
    /* Menu Open State icon transition */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--accent);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--accent);
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-contact-badge {
        flex-direction: column;
        gap: 10px;
        padding: 12px 20px;
        border-radius: 20px;
        max-width: 290px;
        margin: 5px auto 25px auto;
        display: inline-flex;
    }

    .hero-contact-divider {
        display: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .contact-form-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   NATIVE ACCESSIBILITY SYSTEM
   ========================================================================== */
/* Body State Modifiers */
body.accessibility-contrast {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffff00 !important;
}
body.accessibility-contrast * {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
body.accessibility-contrast a {
    color: #00ffff !important;
    text-decoration: underline !important;
}
body.accessibility-contrast button, 
body.accessibility-contrast input, 
body.accessibility-contrast textarea {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border: 2px solid #ffff00 !important;
}

body.accessibility-text-lg {
    font-size: 1.15rem !important;
}
body.accessibility-text-lg p,
body.accessibility-text-lg span,
body.accessibility-text-lg li,
body.accessibility-text-lg a {
    font-size: 1.15rem !important;
}

body.accessibility-text-xl {
    font-size: 1.3rem !important;
}
body.accessibility-text-xl p,
body.accessibility-text-xl span,
body.accessibility-text-xl li,
body.accessibility-text-xl a {
    font-size: 1.3rem !important;
}

body.accessibility-highlight-links a {
    text-decoration: underline !important;
    outline: 2px dashed #ff0000 !important;
    outline-offset: 2px !important;
    background-color: rgba(255, 255, 0, 0.2) !important;
}

body.accessibility-readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Floating Widget & Buttons */
.accessibility-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.accessibility-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 2px solid var(--accent);
    color: var(--text-light);
    font-size: 1.6rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.accessibility-btn:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    transform: scale(1.1);
}

/* Accessibility Drawer Options Panel */
.accessibility-drawer {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: #ffffff;
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    direction: rtl;
}

.accessibility-drawer.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.accessibility-header {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1.5px solid var(--accent);
}

.accessibility-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.accessibility-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.accessibility-close:hover {
    color: var(--accent);
}

.accessibility-body {
    padding: 20px;
}

.accessibility-option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.accessibility-opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    background-color: var(--bg-main);
    border: 1px solid rgba(191, 161, 95, 0.25);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.accessibility-opt i {
    font-size: 1.25rem;
    color: var(--primary);
}

.accessibility-opt:hover {
    background-color: rgba(191, 161, 95, 0.12);
    border-color: var(--accent);
}

.accessibility-opt.active {
    background-color: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.accessibility-opt.active i {
    color: var(--primary-dark);
}

.accessibility-statement-link {
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 15px;
}

.accessibility-statement-link a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.accessibility-statement-link a:hover {
    color: var(--accent-hover);
}

/* Accessibility Statement Modal Overlay */
.accessibility-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    direction: rtl;
}

.accessibility-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.accessibility-modal-content {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 2px solid var(--accent);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accessibility-modal-overlay.active .accessibility-modal-content {
    transform: translateY(0);
}

.accessibility-modal-header {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 20px 24px;
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accessibility-modal-header h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
}

.accessibility-modal-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.accessibility-modal-close:hover {
    color: var(--accent);
}

.accessibility-modal-body {
    padding: 24px;
    line-height: 1.7;
    color: var(--text-dark);
}

.accessibility-modal-body h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
}

.accessibility-modal-body ul {
    list-style: disc;
    padding-right: 20px;
    margin-bottom: 20px;
}

.accessibility-modal-body li {
    margin-bottom: 8px;
}

/* Adjust mobile layout drawer placement to not cover floaters */
@media (max-width: 480px) {
    .accessibility-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .accessibility-drawer {
        width: 280px;
        right: -10px;
    }
}
