/* ============================================
   DR. AHMED EL-KHATIB - LANDING PAGE
   styles.css - Premium Medical Design
   ============================================ */

/* ============================================
   VARIABLES
   ============================================ */
:root {
    /* Brand Colors - User Provided Palette */
    --primary: #7F3F8C;
    /* Deep Purple - Trust & Experience */
    --secondary: #6B2F78;
    /* Darker Purple - Hover/Subheadings */
    --accent: #F29BB9;
    /* Medical Pink - Highlights/Icons */
    --soft-bg: #F8D6E3;
    /* Soft Pink - Backgrounds */
    --text-main: #3A3A3A;
    /* Dark Grey - Main Text */
    --white: #FFFFFF;
    /* Clean White */

    /* Alias for existing styles compatibility */
    --primary-light: #9B5FA8;
    /* Lighter primary for rollovers if needed */
    --bg-body: var(--white);
    --bg-soft: var(--soft-bg);
    --bg-card: var(--white);
    --bg-footer: #2D1B36;
    /* Very Dark Purple for footer instead of blue-black */

    --text-primary: var(--text-main);
    --text-secondary: #5a5a5a;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* UI Elements */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(127, 63, 140, 0.08);
    --shadow-md: 0 8px 16px rgba(127, 63, 140, 0.12);
    --shadow-lg: 0 16px 32px rgba(127, 63, 140, 0.15);

    /* Typography */
    --font-main: 'Cairo', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-body);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(242, 155, 185, 0.2);
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(242, 155, 185, 0.3);
}

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

.text-white {
    color: var(--white) !important;
}

/* ============================================
   LAYOUT COMPONENTS
   ============================================ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

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

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-md {
    margin-top: var(--space-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 63, 140, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-right: 15px;
}

.btn-outline:hover {
    background: rgba(0, 96, 100, 0.05);
}

.btn-outline-secondary {
    background: transparent;
    border: 1.5px solid var(--primary-light);
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(155, 95, 168, 0.2);
}

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

.btn-white:hover {
    background: var(--bg-soft);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    transition: all 0.3s ease;
}

.header-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 50px;
    width: auto;
}

.brand-text h1 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary);
    line-height: 1.2;
}

.brand-text p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-secondary);
}

.desktop-nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(0, 96, 100, 0.05);
}

.btn-primary-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
}

.btn-primary-nav:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

.mobile-nav-toggle svg {
    width: 28px;
    height: 28px;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

/* Mobile Menu - RTL Alignment */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    /* Start off-screen right */
    left: auto;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1002;
    padding: 80px 20px 20px;
    transition: 0.3s;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    text-align: right;
}

.mobile-nav-menu.active,
.mobile-menu-overlay.active {
    right: 0;
    /* Slide in to right */
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list li {
    margin-bottom: 15px;
}

.mobile-nav-link {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px;
    border-radius: var(--radius-sm);
}

.mobile-nav-link:hover {
    background: var(--bg-soft);
    color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered for mobile mostly */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Default to Desktop */
    background-image: url('assets/images/hero-bg-desktop.webp');
}

/* Specific Mobile Background */
@media (max-width: 768px) {
    .hero-section {
        background-image: url('assets/images/doctor.webp');
        background-size: 100%;
        /* Zoom out to fit width */
        background-position: center top;
        /* Start from top */
        background-color: #E5E5E5;
        /* Match image background */
        border-radius: 0 !important;
        /* Force no radius */
        margin-top: 80px;
        /* Push down below fixed header */
        display: flex;
        align-items: flex-end;
        /* Content at bottom */
        justify-content: center;
        min-height: calc(100vh - 80px);
        /* Adjust height */
        padding-bottom: 40px;
    }

    .hero-content {
        width: 100%;
        padding: 0 20px 30px;
        background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 70%, transparent 100%);
        /* enhance text readability */
        margin-bottom: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        /* Slightly smaller for mobile */
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Gradient from Right (White) to Left (Transparent) to show doctor on left */
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
}

@media (max-width: 768px) {
    .hero-overlay {
        /* Gradient covering bottom for text readability, transparent top */
        background: linear-gradient(to top,
                rgba(255, 255, 255, 0.98) 0%,
                rgba(255, 255, 255, 0.95) 40%,
                rgba(255, 255, 255, 0.5) 60%,
                rgba(255, 255, 255, 0) 75%);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding-bottom: var(--space-sm);
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        margin: 0 !important;
    }

    .btn-outline {
        margin-right: 0;
        margin-left: 0;
    }
}

.hero-kicker {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: var(--radius-md);
    border-right: 4px solid var(--accent);
    margin-bottom: var(--space-xl);
}

.quote-author {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 5px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.content-section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .content-section {
        padding: 40px 0;
    }
}

.bg-soft {
    background-color: var(--bg-soft);
}

.about-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.about-img {
    width: 100%;
    display: block;
}

.section-title {
    margin-bottom: 10px;
}

.section-subtitle-highlight {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
}

.check-list li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--primary);
    background: var(--soft-bg);
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    font-weight: 800;
}

/* ============================================
   SERVICES SECTION (Tabs)
   ============================================ */
.tabs-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-top: var(--space-xl);
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    background: var(--bg-soft);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tab-btn {
    flex: 1;
    min-width: 140px;
    padding: 15px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    background: var(--white);
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-btn:hover:not(.active) {
    background: rgba(0, 0, 0, 0.02);
    color: var(--primary);
}

.tabs-content {
    padding: 40px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

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

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--soft-bg);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.service-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    /* Filter to convert black SVG to Brand Purple (#7F3F8C) */
    /* Generated using: https://codepen.io/sosuke/pen/Pjoqqp */
    filter: invert(29%) sepia(35%) saturate(1062%) hue-rotate(248deg) brightness(91%) contrast(89%);
}

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

.service-card:hover .service-icon img {
    filter: brightness(0) invert(1);
    /* White on hover */
}

.service-alert {
    background: rgba(255, 179, 0, 0.1);
    border: 1px solid var(--accent);
    color: #e65100;
    padding: 15px;
    border-radius: var(--radius-md);
    margin-top: 20px;
    font-weight: 600;
}

/* ============================================
   EDUCATION & FEATURES
   ============================================ */
/* Reduce spacing between Education and Comparison */
/* Reduce spacing between Education and Comparison & Balance Top/Bottom */
#education {
    padding: 40px 0;
}

#education .grid-2 {
    align-items: center;
}

.edu-visual {
    /* height: 400px; removed to allow natural centering */
    display: flex;
    justify-content: center;
    align-items: center;
}

#comparison {
    padding-top: 20px;
}

/* Education Visual & Background */
.bg-pattern {
    background-color: var(--bg-soft);
    /* Adding a subtle pattern could be done here if needed, keeping it simple clean soft bg for now */
}

.info-graphic {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .edu-visual {
        display: flex !important;
        /* Ensure it's shown on mobile if desired, or keep hidden. User's specific request usually implies showing it. Let's show it but ensure it fits. */
        margin-top: 30px;
    }

    /* If previous code hid edu-visual, let's allow it now that it has a real image */
}

.highlight-box {
    border-right: 4px solid var(--accent);
    background: var(--bg-card);
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--primary);
}

.pulse-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-light);
    opacity: 0.1;
    transform: scale(5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.white {
    color: white !important;
}

.opacity-90 {
    opacity: 0.9;
}

/* Motivation Section Refinement */
.motivation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.motivation-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: 0.3s;
}

.motivation-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.motivation-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.motivation-card h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* ============================================
   TESTIMONIALS (Image Gallery)
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.testimonial-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 200px;
    /* Fixed height placeholder */
}

.testimonial-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.testimonial-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Contain might be better for text screenshots, but cover looks cleaner as grid. User asked for Fixed Placeholder. */
    object-position: top;
    transition: 0.3s;
}

.testimonial-item:hover img {
    opacity: 0.9;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2002;
    transition: 0.3s;
    user-select: none;
}

.lightbox-nav:hover {
    background: var(--primary);
}

.lightbox-nav.prev {
    right: 20px;
}

.lightbox-nav.next {
    left: 20px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .lightbox-nav.prev {
        right: 10px;
    }

    .lightbox-nav.next {
        left: 10px;
    }
}

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

.contact-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.contact-list li::before {
    content: "•";
    color: var(--accent);
    margin-left: 10px;
    font-size: 1.5rem;
    vertical-align: middle;
}

.contact-methods {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-method:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.contact-method.whatsapp {
    background-color: #25D366;
    border-color: #25D366;
}

.contact-method.whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}

.contact-method.whatsapp .method-label,
.contact-method.whatsapp .method-value {
    color: #fff;
}

.contact-method.whatsapp .method-icon {
    /* Ensure icon is white */
    color: #fff;
}

.method-icon {
    font-size: 1.5rem;
    margin-left: 15px;
}

.method-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.method-value {
    display: block;
    font-weight: 700;
    color: var(--primary);
}

.contact-form-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #f9fdfd;
}

/* ============================================
   FAQ
   ============================================ */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: right;
    padding: 20px;
    background: none;
    border: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: 0.3s ease-out;
    background: #fcfcfc;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
    /* Approx height */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--bg-footer);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 20px;
}

.footer-brand h2 {
    color: var(--white);
    font-size: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .grid-2,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .tabs-nav {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        text-align: right;
        border-bottom: 1px solid #eee;
    }

    .tab-btn.active {
        border-right: 4px solid var(--primary);
        border-bottom: 1px solid #eee;
    }
}

/* ============================================
   STICKY ACTIONS (WhatsApp & Phone)
   ============================================ */
.sticky-actions {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.sticky-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    cursor: pointer;
    border: 2px solid #fff;
}

.sticky-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

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

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

/* Pulse Animation for WhatsApp */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn {
    animation: pulse-green 2s infinite;
}

@media (max-width: 768px) {
    .sticky-actions {
        bottom: 20px;
        left: 20px;
        gap: 12px;
    }

    .sticky-btn {
        width: 50px;
        height: 50px;
    }

    .sticky-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: right;
}

.service-features li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

.service-features li::before {
    content: '✔';
    /* Or a better checkmark/icon if available */
    position: absolute;
    right: 0;
    top: 2px;
    color: var(--secondary-color);
    /* Use the pink accent color */
    font-weight: bold;
}

.service-features strong {
    color: var(--primary-color);
}

/* Testimonials Slider (Desktop) */
.testimonials-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonials-slider {
    flex: 1;
    overflow-x: auto;
    scroll-behavior: smooth;
    overflow-y: hidden;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    /* IE/Edge */
    scrollbar-width: none;
    /* Firefox */
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.testimonials-track {
    display: flex;
    gap: 20px;
    padding: 10px 5px;
    /* Padding for shadow visibility */
}

/* Desktop: Horizontal Layout */
@media (min-width: 769px) {
    .testimonial-item {
        min-width: 300px;
        /* Fixed width for slider items */
        max-width: 300px;
        flex-shrink: 0;
        /* Matches existing grid style but constrained width */
    }

    .slider-btn {
        display: block;
        background: var(--primary-color);
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 1.2rem;
        cursor: pointer;
        opacity: 0.8;
        transition: all 0.3s ease;
        z-index: 2;
    }

    .slider-btn:hover {
        background: var(--secondary-color);
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Mobile: Revert to Grid */
@media (max-width: 768px) {
    .testimonials-slider-container {
        display: block;
        /* Remove flex */
    }

    .testimonials-slider {
        overflow: visible;
        /* Show all content */
    }

    .testimonials-track {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .testimonial-item {
        min-width: 0;
        /* Reset width constraint */
        max-width: none;
    }

    .slider-btn {
        display: none;
        /* Hide buttons on mobile */
    }
}

/* Locations Section */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.location-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.location-card h3 {
    color: var(--secondary-color);
    /* Purple accent */
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 15px;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.location-detail .loc-icon {
    font-size: 1.2rem;
    background: var(--light-color);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.location-detail p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Footer Updates */
.footer-contact p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Video Responsive */
.video-responsive {
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    margin: 0 auto 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    height: auto;
    padding-bottom: 0;
}

.service-icon img,
.service-icon svg {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: invert(29%) sepia(35%) saturate(1062%) hue-rotate(248deg) brightness(91%) contrast(89%);
    transition: all 0.3s ease;
}

/* Video Facade & Reassurance Section Refinement */
#reassurance {
    padding: 80px 0;
}

#reassurance .hero-title {
    font-size: 2.2rem !important;
    margin-bottom: 20px;
    line-height: 1.3;
}

#reassurance .hero-subtitle {
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 40px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.video-facade-container {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #000;
}

.video-facade-container:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.video-facade-container:hover .video-thumbnail {
    opacity: 1;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    z-index: 10;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.video-facade-container:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.15);
}

.play-button-overlay svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

/* Service Card Actions */
.service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

@media (max-width: 768px) {
    .service-actions {
        flex-direction: column;
        gap: 10px;
    }

    .service-actions .btn {
        width: 100%;
        margin-right: 0 !important;
    }
}