/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand (logo): bright + deep red */
    --primary-color: #e71e37;
    --primary-dark: #7a1815;
    --primary-hover: #7a1815;
    --secondary-color: #7a1815;
    --accent-color: #e71e37;
    --primary-rgb: 231, 30, 55;
    --primary-dark-rgb: 122, 24, 21;
    --stone: #636363;
    --stone-rgb: 99, 99, 99;
    --text-dark: #333333; /* Dark gray for text and headings */
    --text-light: var(--stone); /* Secondary text + UI accents */
    --bg-light: #F2F2F2; /* Light gray for section backgrounds */
    --white: #FFFFFF; /* White background */
    --border-stone-soft: rgba(var(--stone-rgb), 0.14);
    --border-stone-mid: rgba(var(--stone-rgb), 0.22);
    --shadow: 0 4px 8px rgba(var(--stone-rgb), 0.1);
    --shadow-lg: 0 12px 28px rgba(var(--stone-rgb), 0.15);
}

::selection {
    background: rgba(var(--stone-rgb), 0.28);
    color: var(--white);
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--stone);
    overflow-x: hidden;
}

input::placeholder,
textarea::placeholder {
    color: rgba(var(--stone-rgb), 0.55);
    opacity: 1;
}

body[dir="ltr"] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(var(--stone-rgb), 0.09);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--primary-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.logo:hover .logo-img {
    transform: scale(1.03);
}

.logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}

.logo-img {
    height: 48px;
    width: auto;
    max-width: min(220px, 46vw);
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 1.25rem;
    flex: 1;
    justify-content: center;
    align-items: center;
    max-width: 600px;
}

.nav-link {
    text-decoration: none;
    color: var(--stone);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.08);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--white) !important;
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

.nav-link.active:hover {
    color: var(--white) !important;
    background: var(--primary-hover);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s;
    border-radius: 2px;
}

[dir="rtl"] .nav-link::after {
    right: 0;
    left: auto;
}

[dir="ltr"] .nav-link::after {
    left: 0;
    right: auto;
}

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

.nav-link-services {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
    transition: all 0.3s;
}

.nav-link-services:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.4);
}

.nav-link-services.active {
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
}

.nav-link-services::after {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--stone);
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    transition: all 0.3s;
    background: var(--bg-light);
    border: 1px solid rgba(var(--stone-rgb), 0.14);
    font-size: 0.9rem;
}

.phone-link:hover {
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
}

.phone-link i {
    color: var(--primary-color);
    font-size: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--stone);
    cursor: pointer;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    padding: 0.45rem 0.85rem;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s;
    min-width: 55px;
}

.lang-btn:hover {
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    background-size: cover;
    background-position: center;
    color: var(--white);
    overflow: hidden;
}

.hero.hero--slider {
    display: block;
    padding: 0;
    background: #1a1a2e;
    background-image: none;
}

.hero-slider {
    position: relative;
    min-height: 600px;
    width: 100%;
}

.hero-slide {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.75s ease;
    z-index: 0;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-slide .hero-overlay {
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(var(--stone-rgb), 0.42);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.hero-slider-btn:hover {
    background: rgba(var(--primary-rgb), 0.65);
    border-color: #fff;
}

.hero-slider-prev {
    right: 1rem;
}

.hero-slider-next {
    left: 1rem;
}

.hero-slider-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.hero-slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.hero-slider-dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .hero-slider-btn {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .hero-slider-prev {
        right: 0.5rem;
    }

    .hero-slider-next {
        left: 0.5rem;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--primary-rgb), 0.65);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Hero bilingual lines (index.php slides + language toggle via app.js) */
.hero-title .lang-ar,
.hero-title .lang-en,
.hero-subtitle .lang-ar,
.hero-subtitle .lang-en {
    display: block;
}

html.aura-lang-ar .lang-en,
html.aura-lang-en .lang-ar {
    display: none !important;
}

.service-card h3 .lang-ar,
.service-card h3 .lang-en,
.service-card p .lang-ar,
.service-card p .lang-en {
    display: block;
}

.feature-card h3 .lang-ar,
.feature-card h3 .lang-en,
.feature-card p .lang-ar,
.feature-card p .lang-en {
    display: block;
}

.testimonial-text .lang-ar,
.testimonial-text .lang-en {
    display: block;
}

.author-info h4 .lang-ar,
.author-info h4 .lang-en {
    display: block;
}

.author-info p .lang-ar,
.author-info p .lang-en {
    display: block;
}

.home-branches-section .section-subtitle .lang-ar,
.home-branches-section .section-subtitle .lang-en {
    display: block;
}

.branch-card h3 .lang-ar,
.branch-card h3 .lang-en {
    display: block;
}

.branch-details p .lang-ar,
.branch-details p .lang-en {
    display: inline;
}

.results-text h2 .lang-ar,
.results-text h2 .lang-en,
.results-text > p .lang-ar,
.results-text > p .lang-en {
    display: block;
}

/* service-detail.php: محتوى ديناميكي عربي/إنجليزي من قاعدة البيانات */
.service-detail-title .lang-ar,
.service-detail-title .lang-en,
.service-detail-subtitle .lang-ar,
.service-detail-subtitle .lang-en,
.breadcrumb-current .lang-ar,
.breadcrumb-current .lang-en,
.service-main-content .content-block p .lang-ar,
.service-main-content .content-block p .lang-en,
.included-item h3 .lang-ar,
.included-item h3 .lang-en,
.included-item p .lang-ar,
.included-item p .lang-en,
.when-item span .lang-ar,
.when-item span .lang-en,
.step-item p .lang-ar,
.step-item p .lang-en,
.result-item p .lang-ar,
.result-item p .lang-en,
.quick-info strong .lang-ar,
.quick-info strong .lang-en,
.related-service span .lang-ar,
.related-service span .lang-en {
    display: inline;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    margin: 0.85rem auto 0;
    background: var(--stone);
    border-radius: 2px;
    opacity: 0.9;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(var(--stone-rgb), 0.12);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

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

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-clickable {
    cursor: pointer;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 1rem;
}

[dir="rtl"] .service-link i.fa-arrow-left {
    display: inline-block;
}

[dir="rtl"] .service-link i.fa-arrow-right {
    display: none;
}

[dir="ltr"] .service-link i.fa-arrow-right {
    display: inline-block;
}

[dir="ltr"] .service-link i.fa-arrow-left {
    display: none;
}

/* Why Choose Section */
.why-choose {
    background: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 12px rgba(var(--stone-rgb), 0.14);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* Packages Section */
.packages {
    background: var(--bg-light);
}

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

.package-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-stone-soft);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.package-badge {
    position: absolute;
    top: -10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

[dir="rtl"] .package-badge {
    right: 20px;
    left: auto;
}

[dir="ltr"] .package-badge {
    left: 20px;
    right: auto;
}

.package-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.package-tests {
    flex: 1;
    margin-bottom: 1.5rem;
}

.package-tests p {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-tests i {
    color: var(--primary-color);
}

.package-price {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
}

/* Branches Section */
.branches {
    background: var(--white);
}

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

.map-placeholder {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 4rem 2rem;
    text-align: center;
    border: 2px dashed var(--primary-color);
    box-shadow: inset 0 0 0 1px rgba(var(--stone-rgb), 0.18);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.map-placeholder span {
    color: var(--text-light);
}

.branches-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.branch-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-stone-soft);
    transition: all 0.3s;
}

.branch-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

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

.branch-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.branch-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.branch-info i {
    color: var(--primary-color);
    width: 16px;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-light);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-stone-soft);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    border: 2px solid rgba(var(--stone-rgb), 0.2);
}

.author-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Online Results Section */
.online-results {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
}

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

[dir="rtl"] .results-content {
    direction: rtl;
}

[dir="ltr"] .results-content {
    direction: ltr;
}

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

.results-image i {
    font-size: 8rem;
    opacity: 0.9;
}

.results-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.results-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.results-features {
    list-style: none;
    margin-bottom: 2rem;
}

.results-features li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.results-features i {
    color: var(--primary-color);
}

.results-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background:
        radial-gradient(ellipse 95% 90% at 50% 100%, rgba(99, 99, 99, 0.28), transparent 58%),
        linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--white);
    padding: 2.5rem 0 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -90px 70px -65px rgba(var(--stone-rgb), 0.3);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-logo i {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.15);
    padding: 0.4rem;
    border-radius: 6px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.85rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.3);
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

[dir="ltr"] .footer-section h3::after {
    right: auto;
    left: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    font-size: 0.85rem;
    padding: 0.2rem 0;
    position: relative;
    padding-right: 0.75rem;
}

[dir="ltr"] .footer-section ul li a {
    padding-right: 0;
    padding-left: 1rem;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    right: 0;
    opacity: 0;
    transition: all 0.3s;
    color: var(--primary-color);
}

[dir="ltr"] .footer-section ul li a::before {
    content: '←';
    right: auto;
    left: 0;
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-right: 1.25rem;
    transform: translateX(-3px);
}

[dir="ltr"] .footer-section ul li a:hover {
    padding-right: 0;
    padding-left: 1.25rem;
    transform: translateX(3px);
}

.footer-section ul li a:hover::before {
    opacity: 1;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.6;
    padding: 0.3rem 0;
    transition: all 0.3s;
}

.contact-info li:hover {
    color: var(--white);
    transform: translateX(-3px);
}

[dir="ltr"] .contact-info li:hover {
    transform: translateX(3px);
}

.contact-info li i {
    color: var(--primary-color);
    width: 20px;
    font-size: 0.95rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    background: rgba(var(--primary-rgb), 0.15);
    padding: 0.4rem;
    border-radius: 5px;
}

.contact-info li .lang-ar,
.contact-info li .lang-en {
    display: inline;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid rgba(var(--stone-rgb), 0.45);
    font-size: 0.95rem;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(var(--stone-rgb), 0.45);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: all 0.3s;
        overflow-y: auto;
        z-index: 999;
    }

    [dir="rtl"] .nav-menu {
        right: -100%;
        left: auto;
    }

    [dir="rtl"] .nav-menu.active {
        right: 0;
        left: auto;
    }

    [dir="ltr"] .nav-menu {
        left: -100%;
        right: auto;
    }

    [dir="ltr"] .nav-menu.active {
        left: 0;
        right: auto;
    }

    .language-switcher {
        order: -1;
    }

    [dir="rtl"] .results-image {
        order: 0;
    }

    [dir="ltr"] .results-image {
        order: -1;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.3rem;
    }

    .header {
        overflow-x: hidden;
    }

    .header-content {
        gap: 0.5rem;
        min-width: 0;
    }

    .logo {
        min-width: 0;
        flex-shrink: 1;
    }

    .logo-img {
        height: 40px;
        max-width: min(150px, 38vw);
    }

    .header-loyalty-pill {
        display: none !important;
    }

    .header-actions {
        gap: 0.35rem;
        flex-shrink: 0;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .branches-content {
        grid-template-columns: 1fr;
    }

    .results-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 0.8rem 0;
    }

    .header-content {
        gap: 0.5rem;
    }

    .logo-img {
        height: 38px;
        max-width: min(140px, 36vw);
    }

    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
        padding: 1.5rem;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .header-actions {
        gap: 0.35rem;
    }

    .book-btn {
        padding: 0.45rem 0.65rem;
        font-size: 0.8rem;
    }

    .lang-btn {
        padding: 0.35rem 0.55rem;
        font-size: 0.7rem;
        min-width: 44px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-large {
        width: 100%;
    }

    .services-grid,
    .features-grid,
    .packages-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card,
    .feature-card,
    .package-card,
    .testimonial-card {
        padding: 1.5rem;
    }

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

    .footer {
        padding: 2rem 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        min-height: 500px;
    }

    .hero-slider,
    .hero-slide {
        min-height: 500px;
    }

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

    .package-price {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Services Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--primary-rgb), 0.85);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.services-page {
    padding: 4rem 0;
    background: var(--bg-light);
}

.service-detail-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-stone-soft);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-clickable {
    cursor: pointer;
    transition: all 0.3s;
}

.service-clickable:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-stone-mid);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0;
}

.service-detail-title h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-detail-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.service-detail-content {
    margin-top: 1.5rem;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.service-tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.test-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s;
}

.test-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.test-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.test-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.service-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-stone-mid);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 4rem 0;
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 700;
}

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

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .service-detail-header {
        flex-direction: column;
        text-align: center;
    }

    .service-detail-title h2 {
        font-size: 1.5rem;
    }

    .service-tests-grid {
        grid-template-columns: 1fr;
    }

    .service-features {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Service Detail Page Styles */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-stone-mid);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

.breadcrumb i {
    color: var(--text-light);
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: 600;
}

.service-detail-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 3rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--primary-rgb), 0.85);
}

.service-hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-hero-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
}

.service-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-detail-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

.service-detail-content-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.service-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.service-main-content {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.content-block {
    margin-bottom: 3rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-stone-mid);
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.included-tests {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.included-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s;
}

.included-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.included-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.included-item h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.included-item p {
    font-size: 1rem;
    margin-bottom: 0;
}

.when-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.when-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.when-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 24px;
}

.preparation-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-item p {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.results-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.result-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.result-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.result-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.result-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Sidebar Styles */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-stone-soft);
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.quick-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-stone-soft);
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-row i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 24px;
}

.info-row div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-row span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.info-row strong {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.booking-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.booking-card h3 {
    color: var(--white);
}

.booking-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.booking-features {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.booking-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
}

.booking-feature i {
    color: rgba(255, 255, 255, 0.9);
}

.related-services {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-service {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
}

.related-service:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(-5px);
}

.related-service i {
    color: var(--primary-color);
    transition: color 0.3s;
}

.related-service:hover i {
    color: var(--white);
}

[dir="rtl"] .related-service:hover {
    transform: translateX(5px);
}

@media (max-width: 968px) {
    .service-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .service-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .service-detail-title {
        font-size: 2rem;
    }

    .results-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-main-content {
        padding: 1.5rem;
    }

    .content-block h2 {
        font-size: 1.5rem;
    }

    .service-detail-title {
        font-size: 1.75rem;
    }
}

/* Blog Page Styles */
.blog-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 3rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--primary-rgb), 0.85);
}

.blog-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.blog-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.blog-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.blog-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-stone-soft);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-post:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.blog-post-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.blog-post-content {
    padding: 2rem;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-post-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-post-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.blog-read-more:hover {
    gap: 1rem;
}

.blog-read-more i.fa-arrow-left {
    display: inline-block;
}

.blog-read-more i.fa-arrow-right {
    display: none;
}

[dir="ltr"] .blog-read-more i.fa-arrow-right {
    display: inline-block;
}

[dir="ltr"] .blog-read-more i.fa-arrow-left {
    display: none;
}

.blog-pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.pagination-btn {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--border-stone-mid);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-stone-soft);
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-stone-mid);
}

.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-stone-mid);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: var(--primary-hover);
}

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

.categories-list li a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
    padding: 0.5rem;
    border-radius: 6px;
}

.categories-list li a:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.categories-list li a::before {
    content: '→';
    color: var(--primary-color);
    font-weight: bold;
}

[dir="ltr"] .categories-list li a::before {
    content: '←';
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recent-post-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-stone-soft);
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.recent-post-item h4 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.recent-post-item h4 a:hover {
    color: var(--primary-color);
}

.recent-post-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.newsletter-widget h3 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 968px) {
    .blog-wrapper {
        grid-template-columns: 1fr;
    }

    .blog-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-post {
        flex-direction: column;
    }

    .blog-post-image {
        height: 150px;
        font-size: 3rem;
    }

    .blog-post-content {
        padding: 1.5rem;
    }

    .blog-post-title {
        font-size: 1.25rem;
    }

    .blog-post-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Blog Post Detail Page Styles */
.blog-post-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.blog-post-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.blog-post-main {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-stone-mid);
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.post-date,
.post-author {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.post-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-excerpt {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.post-featured-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 6rem;
    margin-bottom: 2rem;
}

.post-content {
    line-height: 1.9;
}

.post-content h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-stone-mid);
}

.post-content h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.post-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.post-list {
    list-style: none;
    margin-bottom: 2rem;
    padding-right: 1.5rem;
}

[dir="ltr"] .post-list {
    padding-right: 0;
    padding-left: 1.5rem;
}

.post-list li {
    padding: 0.75rem 0;
    color: var(--text-light);
    position: relative;
    padding-right: 1.5rem;
}

[dir="ltr"] .post-list li {
    padding-right: 0;
    padding-left: 1.5rem;
}

.post-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

[dir="ltr"] .post-list li::before {
    right: auto;
    left: 0;
}

.warning-list li::before {
    content: '⚠';
    color: #f59e0b;
}

.post-highlight-box {
    background: var(--bg-light);
    border-right: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

[dir="ltr"] .post-highlight-box {
    border-right: none;
    border-left: 4px solid var(--primary-color);
}

.post-highlight-box h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.post-highlight-box p {
    margin-bottom: 0;
    font-size: 1rem;
}

.post-cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.post-cta-box h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.post-cta-box p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-stone-mid);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.post-tags span {
    font-weight: 600;
    color: var(--text-dark);
}

.post-tags a {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.post-tags a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-share span {
    font-weight: 600;
    color: var(--text-dark);
}

.post-share a {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
}

.post-share a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

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

.author-avatar-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.author-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    border-bottom: none;
    padding-bottom: 0;
}

.author-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.author-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-post-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-stone-soft);
}

.related-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-post-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.related-post-item h4 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.related-post-item h4 a:hover {
    color: var(--primary-color);
}

.related-post-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

@media (max-width: 968px) {
    .blog-post-wrapper {
        grid-template-columns: 1fr;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-featured-image {
        height: 300px;
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .blog-post-main {
        padding: 2rem 1.5rem;
    }

    .post-title {
        font-size: 1.75rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    .post-content h3 {
        font-size: 1.2rem;
    }

    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-featured-image {
        height: 250px;
        font-size: 3rem;
    }
}

/* Results Page Styles */
.results-header-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 3rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.results-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--primary-rgb), 0.85);
}

.results-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.results-header-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
}

.results-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.results-page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

.results-content-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.results-view-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.results-login-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.results-login-card h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.results-login-card > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.results-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-stone-mid);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-links {
    text-align: center;
    margin-top: 0.5rem;
}

.form-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.form-links a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.results-preview-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border-stone-soft);
    box-shadow: var(--shadow);
}

.results-preview-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.sample-report {
    border: 2px solid var(--border-stone-mid);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.report-header {
    background: var(--bg-light);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.report-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.report-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.report-body {
    padding: 1.5rem;
}

.report-body h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-stone-mid);
}

.results-table {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.results-table table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th {
    background: var(--bg-light);
    padding: 1rem;
    text-align: right;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
    font-size: 0.9rem;
}

[dir="ltr"] .results-table th {
    text-align: left;
}

.results-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-stone-soft);
    color: var(--text-dark);
    font-size: 0.9rem;
}

.results-table tr:hover {
    background: var(--bg-light);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.normal {
    background: #10b981;
    color: var(--white);
}

.status-badge.warning {
    background: #f59e0b;
    color: var(--white);
}

.status-badge.danger {
    background: #ef4444;
    color: var(--white);
}

.report-notes {
    background: #fef3c7;
    border-right: 4px solid #f59e0b;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

[dir="ltr"] .report-notes {
    border-right: none;
    border-left: 4px solid #f59e0b;
}

.report-notes h5 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.report-notes p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
}

.report-footer {
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-stone-mid);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.report-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.signature {
    color: var(--primary-color);
    font-weight: 600;
}

.report-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.results-features-section {
    margin-bottom: 4rem;
}

.results-features-section h2 {
    font-size: 2rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

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

.result-feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-stone-soft);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
}

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

.result-feature-card .feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 12px rgba(var(--stone-rgb), 0.14);
}

.result-feature-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.result-feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.results-instructions {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.results-instructions h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

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

.instruction-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.instruction-step .step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 968px) {
    .results-view-box {
        grid-template-columns: 1fr;
    }

    .results-header {
        flex-direction: column;
        text-align: center;
    }

    .results-page-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .results-login-card,
    .results-preview-card {
        padding: 1.5rem;
    }

    .results-table {
        font-size: 0.8rem;
    }

    .results-table th,
    .results-table td {
        padding: 0.5rem;
    }

    .report-actions {
        flex-direction: column;
    }

    .report-actions .btn {
        width: 100%;
    }

    .instructions-steps {
        grid-template-columns: 1fr;
    }
}

/* Booking Page Styles */
.booking-header-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 3rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.booking-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--primary-rgb), 0.85);
}

.booking-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.booking-header-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
}

.booking-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.booking-page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

.booking-form-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.booking-form-container {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.booking-account-note {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0 0 1.5rem;
    padding: 0.85rem 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    line-height: 1.5;
}

.booking-account-note a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.booking-account-note a:hover {
    text-decoration: underline;
}

.booking-form input[readonly] {
    background: var(--bg-light);
    cursor: default;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-section {
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(var(--stone-rgb), 0.12);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(var(--stone-rgb), 0.16);
}

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

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

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-stone-mid);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: var(--white);
}

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

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

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
}

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

.form-actions {
    margin-top: 1rem;
}

/* Booking Sidebar */
.booking-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-stone-soft);
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-stone-mid);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.benefits-list i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.help-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.help-card h3 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.help-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

@media (max-width: 968px) {
    .booking-wrapper {
        grid-template-columns: 1fr;
    }

    .booking-header {
        flex-direction: column;
        text-align: center;
    }

    .booking-page-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .booking-form-container {
        padding: 2rem 1.5rem;
    }

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

    .form-section-title {
        font-size: 1.3rem;
    }
}

/* About Page Styles */
.about-hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 4rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--primary-rgb), 0.85);
}

.about-hero-content {
    position: relative;
    z-index: 1;
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

.about-content-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.about-section {
    margin-bottom: 4rem;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
}

.about-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 6rem;
}

.mission-vision-section {
    margin-bottom: 4rem;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mission-card,
.vision-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.mission-icon,
.vision-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    border: 3px solid var(--primary-color);
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.mission-card p,
.vision-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.values-section {
    margin-bottom: 4rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.values-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

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

.value-card {
    text-align: center;
    padding: 1.5rem;
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    border: 3px solid var(--primary-color);
}

.value-card h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.stats-section {
    margin-bottom: 4rem;
}

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

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

.team-section {
    margin-bottom: 4rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.team-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.team-section .section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.team-member {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
}

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

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.team-member h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.member-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.certifications-section {
    margin-bottom: 4rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.certifications-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.certifications-section .section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.cert-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
}

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

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
}

.cert-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.cert-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.about-cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 968px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 250px;
        font-size: 4rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2rem;
    }

    .about-hero-subtitle {
        font-size: 1.1rem;
    }

    .about-content-wrapper {
        padding: 2rem 1.5rem;
    }

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

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

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

/* Contact Page Styles */
.contact-content-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-form-container {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.contact-form-container .section-title {
    margin-bottom: 0.5rem;
}

.contact-form-container .section-subtitle {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-info-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-stone-mid);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.contact-details h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0.25rem 0;
}

.social-media-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s;
    font-weight: 500;
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link.whatsapp {
    background: #25d366;
}

.social-link:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow);
}

[dir="ltr"] .social-link:hover {
    transform: translateX(5px);
}

.emergency-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.emergency-card h3 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.emergency-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.emergency-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.contact-map-section {
    margin-bottom: 4rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-map-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    height: 400px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    gap: 1rem;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
}

.map-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.map-placeholder span {
    font-size: 1rem;
}

.contact-branches-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-branches-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-branches-section .section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.branch-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

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

.branch-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

.branch-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.branch-details {
    margin-bottom: 1.5rem;
}

.branch-details p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.branch-details i {
    color: var(--primary-color);
}

@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .contact-info-card {
        padding: 1.5rem;
    }

    .map-placeholder {
        height: 300px;
    }

    .map-placeholder i {
        font-size: 3rem;
    }

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

/* Login Page Styles */
.login-section {
    padding: 4rem 0;
    background: var(--bg-light);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.login-card {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid var(--border-stone-soft);
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3.5rem;
}

.login-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--text-light);
    font-size: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    right: 1rem;
    color: var(--text-light);
    font-size: 1rem;
}

[dir="ltr"] .input-icon {
    right: auto;
    left: 1rem;
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    border: 2px solid var(--border-stone-mid);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

[dir="ltr"] .input-wrapper input {
    padding-right: 1rem;
    padding-left: 3rem;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.password-toggle {
    position: absolute;
    left: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
    transition: color 0.3s;
}

[dir="ltr"] .password-toggle {
    left: auto;
    right: 1rem;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.forgot-password-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.forgot-password-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 1rem 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-stone-soft);
}

.login-divider span {
    position: relative;
    background: var(--white);
    padding: 0 1rem;
    color: var(--text-light);
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-stone-mid);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-social:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.btn-social.google i {
    color: #db4437;
}

.btn-social.facebook i {
    color: #1877f2;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-stone-soft);
}

.login-footer p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.login-footer a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.login-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-stone-soft);
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-stone-mid);
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefits-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.benefits-list h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.benefits-list p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.help-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.help-card h3 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.help-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

@media (max-width: 968px) {
    .login-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .login-card {
        padding: 2rem 1.5rem;
    }

    .login-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .login-title {
        font-size: 1.75rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Register Page Styles */
.register-section {
    padding: 4rem 0;
    background: var(--bg-light);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.register-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.register-card {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid var(--border-stone-soft);
    box-shadow: var(--shadow-lg);
}

.register-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.register-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3.5rem;
}

.register-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.register-subtitle {
    color: var(--text-light);
    font-size: 1rem;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.register-form .form-section {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-stone-soft);
}

.register-form .form-section:last-of-type {
    border-bottom: none;
}

.register-form .form-section-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.register-divider {
    position: relative;
    text-align: center;
    margin: 1rem 0;
}

.register-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--bg-light);
}

.register-divider span {
    position: relative;
    background: var(--white);
    padding: 0 1rem;
    color: var(--text-light);
}

.social-register {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.register-submit-btn {
    margin-top: 0.5rem;
}

.register-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-stone-soft);
}

.register-footer p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.register-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.register-footer a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.register-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 968px) {
    .register-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .register-card {
        padding: 2rem 1.5rem;
    }

    .register-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .register-title {
        font-size: 1.75rem;
    }

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

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Improve touch targets */
    .btn, .nav-link, .lang-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Better spacing for mobile */
    .section-title {
        margin-bottom: 1rem;
    }

    .section-subtitle {
        margin-bottom: 2rem;
    }

    /* Improve form inputs on mobile */
    input, select, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Better card spacing */
    .service-card, .feature-card, .package-card {
        margin-bottom: 1rem;
    }

    /* Improve button spacing */
    .hero-buttons, .cta-buttons, .results-buttons {
        gap: 1rem;
    }

    /* Better table responsiveness */
    table {
        font-size: 0.85rem;
    }

    /* Improve sidebar on mobile */
    .sidebar, .login-sidebar, .register-sidebar, .contact-info-sidebar {
        margin-top: 2rem;
    }

    /* Grid improvements */
    .about-content-wrapper,
    .mission-vision-grid,
    .values-grid,
    .team-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }

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

    .blog-wrapper,
    .blog-post-wrapper,
    .service-detail-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .header {
        padding: 0.6rem 0;
    }

    .logo-img {
        height: 34px;
        max-width: min(128px, 34vw);
    }

    .book-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }

    .lang-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.65rem;
        min-width: 40px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

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

    .hero-subtitle {
        font-size: 0.85rem;
    }

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

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

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

/* Profile Page Styles */
.profile-section {
    padding: 3rem 0;
    background: var(--bg-light);
    min-height: calc(100vh - 200px);
}

.profile-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.edit-avatar-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
}

.edit-avatar-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.profile-name {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.profile-email {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    justify-content: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-stone-soft);
}

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

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.profile-nav {
    background: var(--white);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--border-stone-soft);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--stone);
    transition: all 0.3s;
    font-weight: 500;
}

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

.profile-nav-link.active {
    background: var(--primary-color);
    color: var(--white);
}

.profile-nav-link i {
    width: 20px;
    text-align: center;
}

.profile-nav-link.logout {
    color: var(--primary-color);
    border-top: 1px solid var(--border-stone-soft);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.profile-nav-link.logout:hover {
    background: rgba(var(--primary-rgb), 0.1);
}

.profile-content {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border-stone-soft);
    box-shadow: var(--shadow);
}

.profile-tab {
    display: none;
}

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

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-stone-mid);
}

.tab-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
}

.profile-info-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-form input[readonly],
.profile-form textarea[readonly] {
    background: var(--white);
    border: 2px solid var(--border-stone-mid);
    cursor: not-allowed;
}

.profile-form input:not([readonly]),
.profile-form textarea:not([readonly]) {
    background: var(--white);
    border: 2px solid var(--primary-color);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.appointments-list,
.results-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.appointment-card,
.result-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(var(--stone-rgb), 0.14);
    border-left: 4px solid var(--primary-color);
}

[dir="ltr"] .appointment-card,
[dir="ltr"] .result-card {
    border-left: 1px solid rgba(var(--stone-rgb), 0.14);
    border-right: 4px solid var(--primary-color);
}

.appointment-header,
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.appointment-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.appointment-status,
.result-status {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-upcoming {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.status-completed {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.status-cancelled {
    background: rgba(var(--stone-rgb), 0.12);
    color: var(--stone);
}

.status-normal {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.status-attention {
    background: rgba(255, 152, 0, 0.12);
    color: #e65100;
}

.status-abnormal {
    background: rgba(244, 67, 54, 0.12);
    color: var(--primary-color);
}

.results-logged-section {
    padding-top: 0;
}

.results-section-title {
    font-size: 1.25rem;
    margin: 0 0 1rem;
    color: var(--text-dark);
}

.results-section-title--spaced {
    margin-top: 2.5rem;
}

.results-user-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(var(--stone-rgb), 0.14);
}

.results-user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem 1.5rem;
}

.results-user-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.results-user-field--wide {
    grid-column: 1 / -1;
}

.results-user-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.results-user-value {
    color: var(--text-dark);
    word-break: break-word;
}

.results-profile-link-wrap {
    margin: 1.25rem 0 0;
}

.results-list--standalone {
    margin-top: 0.5rem;
}

.profile-empty-msg {
    padding: 1.25rem;
    color: var(--text-light);
    text-align: center;
}

.appointment-details {
    margin-bottom: 1rem;
}

.appointment-details p {
    color: var(--text-light);
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.appointment-details i {
    color: var(--primary-color);
    width: 20px;
}

.appointment-actions,
.result-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.result-info h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.result-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.result-summary {
    margin: 1rem 0;
    color: var(--text-light);
}

.history-timeline {
    position: relative;
    padding-right: 2rem;
}

[dir="ltr"] .history-timeline {
    padding-right: 0;
    padding-left: 2rem;
}

.history-timeline::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bg-light);
}

[dir="ltr"] .history-timeline::before {
    right: auto;
    left: 0;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-date {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.date-month {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
}

.timeline-content {
    flex: 1;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.settings-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.settings-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.settings-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.settings-option:hover {
    background: rgba(var(--primary-rgb), 0.05);
}

.settings-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.settings-card.danger-zone {
    background: rgba(var(--primary-rgb), 0.05);
    border: 2px solid rgba(var(--primary-rgb), 0.2);
}

.settings-card.danger-zone h3 {
    color: var(--primary-color);
}

.settings-card.danger-zone p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.btn-danger {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-danger:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

@media (max-width: 968px) {
    .profile-wrapper {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        order: -1;
    }

    .profile-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0.5rem;
    }

    .profile-nav-link {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .profile-nav-link span {
        display: none;
    }
}

@media (max-width: 768px) {
    .profile-section {
        padding: 2rem 0;
    }

    .profile-content {
        padding: 1.5rem;
    }

    .tab-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .tab-header .btn {
        width: 100%;
    }

    .appointment-actions,
    .result-actions {
        flex-direction: column;
    }

    .appointment-actions .btn,
    .result-actions .btn {
        width: 100%;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        width: 100%;
    }

    .history-timeline {
        padding-right: 0;
        padding-left: 0;
    }

    .history-timeline::before {
        display: none;
    }
}

/* برنامج نقاطي (ولاء المرضى) */
.header-loyalty-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 1px solid #fbbf24;
    color: #92400e;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

.header-loyalty-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.header-loyalty-pill i {
    color: #f59e0b;
}

.header-loyalty-value {
    background: #fff;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-weight: 700;
    color: #b45309;
}

.stat-item--loyalty .stat-value--loyalty {
    color: #d97706;
}

.profile-nav-link--loyalty i {
    color: #f59e0b;
}

.profile-nav-link--loyalty.active i {
    color: var(--white);
}

.loyalty-program-card {
    background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.loyalty-program-balance {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.loyalty-program-label {
    font-size: 0.95rem;
    color: var(--text-light);
}

.loyalty-program-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: #d97706;
    line-height: 1;
}

.loyalty-program-unit {
    font-weight: 600;
    color: #92400e;
}

.loyalty-program-rules {
    margin: 0;
    padding: 0 1rem 0 0;
    list-style: none;
}

.loyalty-program-rules li {
    margin-bottom: 0.65rem;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.5;
}

.loyalty-program-rules i {
    color: #16a34a;
    margin-top: 0.2rem;
}

.loyalty-history-title {
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
}

.loyalty-history-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-stone-soft);
    flex-wrap: wrap;
}

.loyalty-history-date {
    font-weight: 600;
}

.loyalty-history-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.loyalty-badge {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.loyalty-badge--plus {
    background: #dcfce7;
    color: #166534;
}

.loyalty-badge--minus {
    background: #fee2e2;
    color: #991b1b;
}

.loyalty-badge--neutral {
    color: var(--text-light);
}

.loyalty-booking-section {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.loyalty-balance-line {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.loyalty-hint,
.loyalty-empty-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.loyalty-sidebar-card {
    border: 1px solid #fde68a;
    background: linear-gradient(180deg, #fffbeb, #fff);
}

.loyalty-sidebar-balance {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.loyalty-sidebar-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

