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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #3C3C3C;
    direction: rtl;
    text-align: right;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.primary-btn {
    background: linear-gradient(135deg, #F8AE00 0%, #FFB400 100%);
    color: #FFFFFF;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(248, 174, 0, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 180, 0, 0.4);
    background: linear-gradient(135deg, #FFB400, #890117);
}

.secondary-btn {
    background: #FFFFFF;
    color: #890117;
    border: 2px solid #890117;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: #890117;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Header */
.header {
    background: #FFFFFF;
    box-shadow: 0 2px 20px rgba(60, 60, 60, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1002;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #F8AE00;
}

/* Navigation */
.nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 15px 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1040;
    max-height: 0;
    overflow: hidden;
}

.nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1030;
    pointer-events: none;
}

.nav.active .nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-menu {
    list-style: none;
    padding: 15px 0;
    margin: 0;
    background: #FFFFFF;
    border-radius: 0 0 15px 15px;
    position: relative;
    z-index: 1041;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-height: 75vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;

    /* Custom scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: rgba(248, 174, 0, 0.3) transparent;
}

.nav-menu::-webkit-scrollbar {
    width: 6px;
}

.nav-menu::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.nav-menu::-webkit-scrollbar-thumb {
    background: rgba(248, 174, 0, 0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.nav-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(248, 174, 0, 0.5);
}

.nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-link {
    display: block;
    padding: 16px 24px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1042;
    background: #FFFFFF;
    cursor: pointer;
    border: none;
    outline: none;
}

.nav-link:hover {
    color: #F8AE00;
    background: linear-gradient(90deg, rgba(248, 174, 0, 0.08), transparent);
    transform: translateX(-3px);
}

.nav-link.active {
    color: #F8AE00;
    background: linear-gradient(90deg, rgba(248, 174, 0, 0.12), transparent);
    font-weight: 600;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #F8AE00;
    z-index: 1043;
}

/* Scroll fade indicators */
.nav-menu::before,
.nav-menu::after {
    content: '';
    position: sticky;
    display: block;
    height: 8px;
    background: transparent;
    z-index: 1044;
    pointer-events: none;
    transition: all 0.3s ease;
}

.nav-menu::before {
    top: 0;
    background: linear-gradient(to bottom, white 0%, transparent 100%);
}

.nav-menu::after {
    bottom: 0;
    background: linear-gradient(to top, white 0%, transparent 100%);
}

/* Smooth scrolling for touch devices */
.nav-menu {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Visual indicator for scrollable content */
.nav-menu.has-scroll {
    background-image:
        radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0)),
        radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0));
    background-position: 0 0, 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 10px, 100% 10px;
    background-attachment: local, local;
}

/* Navigation Toggle */
.nav-toggle {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 5px 0;
    margin-left: 10px;
    z-index: 1002;
}

.nav-toggle-bar {
    width: 100%;
    height: 3px;
    background: #3C3C3C;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1002;
}

.phone-btn {
    background: #F8AE00;
    color: #FFFFFF;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-btn:hover {
    background: #FFB400;
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f9ff 0%, #E9F3F6 100%);
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-text {
    display: none;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #890117;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #3C3C3C;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}



.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #F8AE00;
    font-weight: 500;
}

.feature-item i {
    color: #F8AE00;
}

.whatsapp-btn {
    background: #1ea952 !important;
    color: #FFFFFF !important;
    /* Removed animation for performance */
}

.whatsapp-btn:hover {
    background: #178a42 !important;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #FFFFFF;
}

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

.section-title {
    font-size: 2.2rem;
    color: #890117;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #3C3C3C;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    text-decoration: none;
    color: inherit;
}

.service-link {
    margin-top: 20px;
    color: #F8AE00;
    font-weight: 600;
    font-size: 14px;
    opacity: 1;
    transform: translateY(0);
}

.service-link i {
    margin-right: 5px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #F8AE00 0%, #FFB400 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #FFFFFF;
}

.service-title {
    font-size: 1.3rem;
    color: #890117;
    margin-bottom: 15px;
}

.service-description {
    color: #3C3C3C;
    line-height: 1.6;
}



/* Opening Hours Section */
.opening-hours {
    padding: 80px 0;
    background: #E9F3F6;
}

.hours-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.hours-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #F8AE00 0%, #FFB400 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hours-icon .icon {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.hours-list {
    width: 100%;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #FFFFFF;
    margin-bottom: 10px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Removed hover animation for performance */

.hours-item.closed {
    opacity: 0.6;
}

.day {
    font-weight: 600;
    color: #890117;
}

.time {
    color: #3C3C3C;
    font-weight: 500;
}

.emergency-notice {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #fff3cd;
    border-radius: 15px;
    color: #856404;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Location & Contact Section */
.location-contact {
    padding: 80px 0;
    background: #FFFFFF;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F8AE00 0%, #FFB400 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon .icon {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.contact-icon i {
    color: #FFFFFF;
    font-size: 1.5rem;
}

.contact-details h3 {
    color: #890117;
    margin-bottom: 10px;
}

.contact-details p {
    color: #3C3C3C;
    line-height: 1.6;
    margin: 0;
}

.phone-link,
.email-link {
    color: #F8AE00;
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.phone-link:hover,
.email-link:hover {
    color: #890117;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f9ff 0%, #E9F3F6 100%);
}

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

.cta-title {
    font-size: 2.2rem;
    color: #890117;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: #3C3C3C;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer Styles */
.footer {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 60px 0 0;
    border-top: 1px solid #e9ecef;
}

/* Footer Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Footer Logo Section */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-logo .logo-icon {
    width: 45px;
    height: 45px;
    filter: brightness(0) invert(1);
}

.footer-logo .logo-text {
    color: #F8AE00;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Footer Titles */
.footer-title {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #F8AE00;
    padding-bottom: 10px;
}

/* Footer Contact Information */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #6c757d;
}

.footer-logo .logo-img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    display: none;
}

.footer-contact-item i {
    color: #F8AE00;
    font-size: 1.1rem;
    margin-top: 2px;
    width: 20px;
}

.footer-phone {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: #F8AE00;
}

/* Footer Hours */
.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.footer-hours-row:last-child {
    border-bottom: none;
}

.footer-hours-row .day {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.footer-hours-row .time {
    color: #6c757d;
    font-size: 0.9rem;
}

.footer-hours-row.weekend {
    opacity: 0.7;
}

/* Footer Social Media */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e9ecef;
}

.social-link:last-child {
    border-bottom: none;
}

.social-link:hover {
    color: #F8AE00;
    transform: translateX(-5px);
}

.social-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-link:hover i {
    transform: scale(1.1);
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 220px;
    z-index: 1000;
    border: 1px solid #f0f0f0;
    padding: 10px 0;
    list-style: none;
    margin: 5px 0 0 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #3C3C3C;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-link:hover {
    background: linear-gradient(90deg, rgba(248, 174, 0, 0.1), transparent);
    color: #F8AE00;
    transform: translateX(-3px);
}

/* Mobile dropdown behavior */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        border-radius: 0;
        margin: 0;
        border: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 5px 0;
    }

    .dropdown-link {
        padding: 10px 20px 10px 40px;
        font-size: 14px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .dropdown-link:hover {
        transform: none;
    }

    .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
    }
}

/* Desktop Navigation Styles */
@media (min-width: 769px) {
    .nav-toggle {
        display: none;
    }

    .nav {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: none;
        box-shadow: none;
        border-radius: 0;
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        max-height: none;
        overflow: visible;
    }

    .nav-overlay {
        display: none;
    }

    .nav-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(6px, 1vw, 12px);
        padding: 0;
        width: 100%;
        min-width: 0;
        max-height: none;
        overflow: visible;
        flex-wrap: nowrap;
    }

    .nav-item {
        border-bottom: none;
    }

    .nav-link {
        padding: clamp(8px, 0.7vw, 10px) clamp(8px, 0.9vw, 12px);
        border-radius: 25px;
        font-size: clamp(12px, 0.95vw, 14px);
        background: none;
        transition: all 0.3s ease;
        white-space: nowrap;
        margin-left: 0;
    }

    .nav-link:hover {
        background: rgba(248, 174, 0, 0.1);
        color: #F8AE00;
        transform: none;
    }

    .nav-link.active {
        background: #F8AE00;
        color: #FFFFFF;
    }

    .nav-link.active::before {
        display: none;
    }

    .header-content {
        justify-content: space-between;
        gap: clamp(14px, 2vw, 32px);
    }

    .logo-text {
        font-size: 15px;
    }
}

/* Specific adjustment for screens that are too small for 8 items but not mobile yet */
@media (min-width: 769px) and (max-width: 1250px) {
    .nav-menu {
        gap: 6px;
    }

    .header-content {
        gap: 14px;
    }

    .nav-link {
        padding: 7px 9px;
        font-size: 12px;
    }

    .logo-text {
        display: none;
    }
}

/* Enhanced mobile navigation for better scrolling */
@media (max-width: 480px) {
    .nav.active {
        max-height: 70vh;
    }

    .nav-menu {
        max-height: 65vh;
        padding: 10px 0;
    }

    .nav-link {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Cosmetic Dentistry Hero Section */
.cosmetic-hero {
    background: linear-gradient(135deg, #E9F3F6 0%, #FFFFFF 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.cosmetic-hero .hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 174, 0, 0.1) 0%, rgba(255, 180, 0, 0.1) 100%);
    z-index: 1;
}

.cosmetic-hero .hero-content {
    position: relative;
    z-index: 2;
    color: #3C3C3C;
    text-align: center;
    padding: 90px 0 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(248, 174, 0, 0.1);
    border: 1px solid #F8AE00;
    padding: 8px 16px;
    border-radius: 25px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #890117;
}

.hero-badge i {
    color: #F8AE00;
}

.cosmetic-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #890117;
}

.cosmetic-hero .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-feature {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 25px;
    text-align: right;
    border: 1px solid #F8AE00;
    box-shadow: 0 10px 30px rgba(248, 174, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(248, 174, 0, 0.2);
    background: #FFFFFF;
}

.hero-feature .feature-icon {
    background: linear-gradient(45deg, #F8AE00, #FFB400);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    margin-right: auto;
}

.hero-feature .feature-icon i {
    font-size: 24px;
    color: #FFFFFF;
}

.hero-feature h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #890117;
}

.hero-feature p {
    font-size: 0.95rem;
    color: #3C3C3C;
    line-height: 1.5;
}

.hero-cta {
    margin-top: 40px;
}

.hero-price-hint {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Before/After Gallery Section */
.before-after-gallery {
    padding: 80px 0;
    background: #E9F3F6;
}

.gallery-slider {
    position: relative;
    margin-top: 40px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.gallery-prev,
.gallery-next {
    background: #FFFFFF;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

/* Removed hover animation for performance */

.gallery-container {
    overflow: hidden;
    border-radius: 20px;
}

.gallery-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    padding: 0 15px;
}

.before-after-card {
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Removed hover animation for performance */

.before-after-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #F8AE00 0%, #FFB400 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-align: center;
}

.placeholder-content i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.placeholder-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.placeholder-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.case-info {
    padding: 25px;
    text-align: center;
}

.case-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #F8AE00;
    margin-bottom: 8px;
}

.case-info p {
    color: #3C3C3C;
    font-size: 0.9rem;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active,
.gallery-dot:hover {
    background: #F8AE00;
    transform: scale(1.2);
}

.gallery-upload-note {
    background: #E9F3F6;
    border: 1px solid #F8AE00;
    border-radius: 10px;
    padding: 15px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #890117;
}

.gallery-upload-note i {
    font-size: 1.2rem;
}

/* Veneer Explanation Section */
.veneer-explanation {
    padding: 80px 0;
    background: #FFFFFF;
}

.veneer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.hollywood-smile-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hollywood-smile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.veneer-image-placeholder {
    background: linear-gradient(135deg, #F8AE00 0%, #FFB400 100%);
    height: 400px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-align: center;
    padding: 40px;
}

.veneer-image-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.veneer-image-placeholder p {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.ai-generated-note {
    font-size: 0.9rem;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 15px;
}

.veneer-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F8AE00;
    margin-bottom: 30px;
    line-height: 1.3;
}

.explanation-section {
    margin-bottom: 40px;
}

.explanation-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #3C3C3C;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.explanation-section h3 i {
    color: #F8AE00;
}

.explanation-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #3C3C3C;
    margin-bottom: 15px;
}

.process-steps {
    display: grid;
    gap: 20px;
}

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

.step-number {
    background: linear-gradient(45deg, #F8AE00, #FFB400);
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F8AE00;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.95rem;
    color: #3C3C3C;
    line-height: 1.5;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #E9F3F6;
    border-radius: 10px;
    border-right: 4px solid #F8AE00;
}

.benefit-item i {
    color: #F8AE00;
    font-size: 1.1rem;
}

.benefit-item span {
    font-weight: 500;
    color: #3C3C3C;
}

.conditions-list {
    list-style: none;
    padding: 0;
}

.conditions-list li {
    padding: 12px 0;
    border-bottom: 1px solid #E9F3F6;
    position: relative;
    padding-right: 30px;
}

.conditions-list li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #F8AE00;
    font-weight: bold;
    font-size: 1.1rem;
}

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

.veneer-cta {
    margin-top: 40px;
    text-align: center;
}

/* Responsive Design for Cosmetic Page */
@media (max-width: 768px) {
    .cosmetic-hero .hero-content {
        padding: 80px 0 60px;
    }

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

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

    .service-hero {
        padding: 80px 0 60px;
    }

    .hero-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }

    .veneer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .veneer-image-placeholder {
        height: 300px;
    }

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

    .gallery-nav {
        display: none;
    }
}

/* Footer Map */
.footer-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 200px;
}

.footer-map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
    margin-top: 30px;
    background: #ffffff;
}

.footer-copyright {
    color: #6c757d;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
}

/* Legal Links Styling */
.legal-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.legal-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.legal-link:hover {
    color: #F8AE00;
    border-bottom-color: #F8AE00;
}

/* Simple Content Styles for Impressum */
.simple-content {
    padding: 20px 0 80px;
    background: #FFFFFF;
    min-height: calc(100vh - 200px);
    margin-top: 60px;
    /* Account for compact header */
}

.simple-content .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.simple-content h1 {
    font-size: 2.5rem;
    color: #890117;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.simple-content h2 {
    color: #890117;
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.simple-content h3 {
    color: #F8AE00;
    font-size: 1.2rem;
    margin: 25px 0 10px 0;
    font-weight: 600;
}

.simple-content p {
    color: #3C3C3C;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1rem;
}

.simple-content ul {
    color: #3C3C3C;
    line-height: 1.6;
    margin: 15px 0;
    padding-left: 25px;
}

.simple-content li {
    margin-bottom: 8px;
}

.simple-content strong {
    color: #890117;
    font-weight: 600;
}

.simple-content a {
    color: #F8AE00;
    text-decoration: none;
}

.simple-content a:hover {
    text-decoration: underline;
}

.simple-content em {
    font-style: italic;
    color: #6c757d;
}

/* Compact header for legal pages */
.legal-page-body .header {
    padding: 8px 0;
    min-height: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.legal-page-body .nav {
    padding: 8px 0;
}

.legal-page-body .nav-logo {
    width: 30px;
    height: 30px;
}

.legal-page-body .nav-title {
    font-size: 1rem;
}

/* Hide mobile navigation elements on legal pages */
.legal-page-body .nav-toggle,
.legal-page-body .mobile-nav,
.legal-page-body .nav-overlay {
    display: none !important;
}

/* Simplify desktop navigation on legal pages */
.legal-page-body .nav-menu {
    display: none;
}

@media (min-width: 769px) {
    .legal-page-body .nav-menu {
        display: flex;
        gap: 10px;
    }

    .legal-page-body .nav-link {
        font-size: 0.85rem;
        padding: 4px 8px;
    }

    .legal-page-body .dropdown-menu {
        display: none;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 20px 0 80px;
    background: linear-gradient(135deg, #E9F3F6 0%, #FFFFFF 100%);
    min-height: calc(100vh - 200px);
    margin-top: 60px;
    /* Account for compact header */
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 3rem;
    color: #890117;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #3C3C3C;
    max-width: 600px;
    margin: 0 auto;
}

.legal-content {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E9F3F6;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    color: #890117;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-left: 4px solid #F8AE00;
    padding-left: 20px;
}

.legal-section h3 {
    color: #F8AE00;
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 25px;
    font-weight: 600;
}

.legal-section p {
    color: #3C3C3C;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 15px;
}

.legal-section ul {
    color: #3C3C3C;
    line-height: 1.7;
    font-size: 1rem;
    margin: 15px 0;
    padding-right: 25px;
}

.legal-section li {
    margin-bottom: 8px;
}

.legal-section strong {
    color: #890117;
    font-weight: 600;
}

.legal-section a {
    color: #F8AE00;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.legal-section a:hover {
    border-bottom-color: #F8AE00;
    color: #890117;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
        border-radius: 15px;
        margin: 0 15px;
    }

    .page-title {
        font-size: 2.2rem;
    }

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

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .legal-links {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Footer Action Buttons */
.footer-actions {
    display: flex;
    gap: 15px;
}

.footer-call-btn,
.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-call-btn {
    background: #F8AE00;
    color: #FFFFFF;
}

.footer-call-btn:hover {
    background: #2c3e50;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-whatsapp-btn {
    background: #1ea952;
    color: #FFFFFF;
}

.footer-whatsapp-btn:hover {
    background: #178a42;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Additional Contact Section Hours Table */
.hours-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #E9F3F6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hours-row:hover {
    background: #E9F3F6;
    transform: translateX(-3px);
}

.hours-row.closed {
    opacity: 0.6;
    background: #f5f5f5;
}

.hours-row .day {
    font-weight: 600;
    color: #890117;
    font-size: 0.9rem;
}

.hours-row .time {
    color: #3C3C3C;
    font-size: 0.9rem;
}



/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

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

    /* Header Mobile */
    .header-content {
        padding: 10px 0;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .footer-logo .logo-img {
        height: 50px;
    }

    .logo-text {
        display: none;
    }

    /* Hero Mobile */
    .hero {
        padding: 80px 0 60px;
    }

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

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

    .hero-features {
        align-items: flex-start;
    }

    .feature-item {
        justify-content: flex-start;
    }

    /* Services Mobile */
    .services {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 25px;
    }

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

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



    /* Opening Hours Mobile */
    .opening-hours {
        padding: 60px 0;
    }

    .hours-icon {
        width: 80px;
        height: 80px;
    }

    .hours-icon .icon {
        width: 40px;
        height: 40px;
    }

    .hours-item {
        padding: 15px;
    }

    /* Contact Mobile */
    .location-contact {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-item {
        gap: 15px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-icon .icon {
        width: 25px;
        height: 25px;
    }

    .map-container {
        height: 300px;
    }

    /* CTA Mobile */
    .cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .primary-btn,
    .secondary-btn {
        padding: 12px 25px;
        font-size: 15px;
    }



    /* Footer Mobile Styles */
    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-section {
        gap: 15px;
    }

    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .footer-logo .logo-icon {
        width: 35px;
        height: 35px;
    }

    .footer-logo .logo-text {
        font-size: 1.1rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .footer-map {
        height: 150px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px 0;
    }

    .footer-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-call-btn,
    .footer-whatsapp-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .footer-contact-item {
        gap: 12px;
    }

    .footer-contact-item i {
        font-size: 1rem;
    }

    .footer-hours-row {
        padding: 6px 0;
    }

    .footer-hours-row .day,
    .footer-hours-row .time {
        font-size: 0.85rem;
    }
}

/* Pricing Section Styles */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f9ff 0%, #E9F3F6 100%);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.pricing-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Removed hover animation for performance */

.pricing-card.popular {
    border: 3px solid #F8AE00;
    transform: scale(1.05);
}

.pricing-header {
    background: linear-gradient(135deg, #F8AE00 0%, #FFB400 100%);
    color: #FFFFFF;
    padding: 30px 25px;
    text-align: center;
    position: relative;
}

.pricing-card.popular .pricing-header {
    background: linear-gradient(135deg, #890117 0%, #F8AE00 100%);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.popular-badge {
    background: #890117;
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 15px;
    position: absolute;
    top: -10px;
    right: 20px;
    transform: rotate(10deg);
}

.pricing-features {
    padding: 30px 25px;
}

.pricing-features .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.pricing-features .feature-item i {
    color: #F8AE00;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.pricing-footer {
    padding: 25px;
    background: #f8f9fa;
    text-align: center;
}

.pricing-footer .primary-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
}

.pricing-note {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.pricing-note p {
    color: #3C3C3C;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-note i {
    color: #F8AE00;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Pricing Mobile Responsiveness */
@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }

    .pricing-card {
        max-width: none;
        margin: 0 10px;
    }

    .pricing-card.popular {
        transform: scale(1);
        margin: 0 10px;
    }

    .pricing-header {
        padding: 25px 20px;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .pricing-features {
        padding: 25px 20px;
    }

    .pricing-note {
        margin: 0 15px;
        padding: 15px 20px;
    }

    .pricing-note p {
        font-size: 0.85rem;
        flex-direction: column;
        text-align: right;
    }

    /* Benefits Section Mobile */
    .orthodontic-benefits {
        padding: 60px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-item {
        padding: 25px 20px;
        text-align: right;
    }

    .benefit-item h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .benefit-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

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



    .primary-btn,
    .secondary-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Service Page Styles */
.service-hero {
    background: linear-gradient(135deg, #f5f9ff 0%, #E9F3F6 100%);
    padding: 90px 0 80px;
    text-align: center;
}

.service-hero-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #F8AE00 0%, #FFB400 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: #FFFFFF;
}

.nav-link {
    color: #F8AE00;
    text-decoration: none;
    font-weight: 600;
}

.nav-link:hover {
    color: #890117;
}

/* Service Details */
.service-details {
    padding: 80px 0;
    background: #FFFFFF;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.treatment-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.treatment-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #E9F3F6;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.treatment-item:hover {
    background: #E9F3F6;
    transform: translateX(-5px);
}

.treatment-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F8AE00 0%, #FFB400 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FFFFFF;
    flex-shrink: 0;
}

.treatment-info h3 {
    color: #890117;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.treatment-info p {
    color: #3C3C3C;
    line-height: 1.6;
    margin: 0;
}

.details-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f5f9ff, #E9F3F6);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #F8AE00;
    font-size: 4rem;
    border: 2px dashed #F8AE00;
}

.image-placeholder p {
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: 600;
}

/* Veneer Result Image */
.veneer-result-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(248, 174, 0, 0.2);
    transition: all 0.3s ease;
    border: 3px solid #F8AE00;
}

.veneer-result-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px rgba(248, 174, 0, 0.3);
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: #E9F3F6;
}

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

.process-step {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(248, 174, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F8AE00 0%, #FFB400 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
}

.step-content h3 {
    color: #890117;
    margin-bottom: 15px;
}

.step-content p {
    color: #3C3C3C;
    line-height: 1.6;
}

/* Before/After Section */
.before-after-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8AE00 0%, #FFB400 100%);
    color: #FFFFFF;
}

.before-after-section .section-title,
.before-after-section .section-subtitle {
    color: #FFFFFF;
}

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

.result-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.result-stats {
    margin-top: 15px;
}

.stat {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Child-Friendly Section */
.child-friendly-section {
    padding: 80px 0;
    background: #E9F3F6;
}

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

.friendly-item {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.friendly-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.friendly-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #F8AE00, #45A049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #FFFFFF;
}

/* Age Groups Section */
.age-groups-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.age-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.age-group {
    background: #E9F3F6;
    padding: 30px;
    border-radius: 20px;
    border-right: 5px solid #F8AE00;
}

.age-group h3 {
    color: #890117;
    margin-bottom: 20px;
}

.age-group ul {
    list-style: none;
    padding: 0;
}

.age-group li {
    padding: 8px 0;
    color: #3C3C3C;
    position: relative;
    padding-right: 25px;
}

.age-group li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #F8AE00;
    font-weight: bold;
    font-size: 1.1rem;
}

.age-group li:last-child {
    border-bottom: none;
}

/* Safety Section */
.safety-section {
    padding: 80px 0;
    background: #E9F3F6;
}

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

.safety-item {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.safety-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF9800, #F57C00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #FFFFFF;
}

/* Orthodontic Benefits */
.orthodontic-benefits {
    padding: 80px 0;
    background: #E9F3F6;
}

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

.benefit-item {
    background: #FFFFFF;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #F8AE00;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(248, 174, 0, 0.2);
    border-left-color: #890117;
}

.benefit-item h3 {
    font-size: 1.3rem;
    color: #890117;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-item p {
    color: #3C3C3C;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Treatment Timeline */
.treatment-timeline {
    padding: 80px 0;
    background: #FFFFFF;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F8AE00 0%, #FFB400 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    flex-shrink: 0;
}

.timeline-content {
    background: #E9F3F6;
    padding: 25px;
    border-radius: 15px;
    flex: 1;
}

.timeline-content h3 {
    color: #890117;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #3C3C3C;
    margin-bottom: 10px;
}

.timeline-duration {
    background: #F8AE00;
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Mobile Responsive for Service Pages */
@media (max-width: 768px) {
    .service-hero {
        padding: 100px 0 60px;
    }

    .service-hero-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .treatment-item {
        padding: 20px;
    }

    .treatment-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

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

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

    .results-grid,
    .friendly-features,
    .safety-features,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .age-groups {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin: 0 auto;
    }

}



/* Smooth scrolling for all internal links */
html {
    scroll-behavior: smooth;
}

/* Ensure proper RTL layout */
[dir="rtl"] .contact-grid {
    direction: rtl;
}

[dir="rtl"] .services-grid {
    direction: rtl;
}



/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 20px;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    border-left: 5px solid #F8AE00;
}

.cookie-consent.active {
    display: flex;
}

.cookie-text {
    flex: 1;
    font-size: 14px;
    color: #3C3C3C;
    text-align: right;
}

.cookie-text p {
    margin: 0;
}

.cookie-text a {
    color: #890117;
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

.accept-btn {
    background: #F8AE00;
    color: #FFFFFF;
}

.accept-btn:hover {
    background: #FFB400;
}

.decline-btn {
    background: #f0f0f0;
    color: #3C3C3C;
}

.decline-btn:hover {
    background: #e0e0e0;
}

@media (max-width: 768px) {
    .cookie-consent {
        flex-direction: column;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 12px 12px 0 0;
        padding: 20px 15px;
    }

    .cookie-btns {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
    z-index: 2147483647;
    /* stay above overlays */
    padding: 0.9rem 0;
    padding-bottom: calc(0.9rem + env(safe-area-inset-bottom));
    display: none;
    /* Shown via JS */
    border-top: 2px solid var(--accent-color, #890117);
    pointer-events: auto;
}

.cookie-banner .cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-banner .cookie-text h3 {
    font-size: 1rem;
    margin: 0 0 0.25rem;
    color: var(--accent-color, #890117);
}

.cookie-banner .cookie-text p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    color: var(--text-color, #3C3C3C);
}

.cookie-banner .cookie-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-banner .cookie-btn {
    padding: 0.55rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    font-family: inherit;
}

.cookie-banner .cookie-btn-accept {
    background: var(--primary-color, #F8AE00);
    color: #ffffff;
}

.cookie-banner .cookie-btn-accept:hover {
    background: var(--secondary-color, #FFB400);
    transform: translateY(-2px);
}

.cookie-banner .cookie-btn-decline {
    background: #f0f0f0;
    color: var(--text-color, #3C3C3C);
}

.cookie-banner .cookie-btn-decline:hover {
    background: #e0e0e0;
}

.cookie-banner .cookie-links {
    margin-top: 0.25rem;
    display: flex;
    gap: 1rem;
}

.cookie-banner .cookie-links a {
    font-size: 0.8rem;
    color: var(--accent-color, #890117);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-banner .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .cookie-banner .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner .cookie-btn {
        flex: 1;
    }

    .cookie-banner .cookie-links {
        justify-content: center;
    }
}

/* Hero Video Container */
.hero-video-container {
    max-width: 1000px;
    margin: 3.5rem auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 4px solid #FFFFFF;
}

.hero-video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -15px rgba(248, 174, 0, 0.2);
}

.hero-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .hero-video-container {
        margin: 1.5rem auto;
        border-radius: 16px;
        border-width: 2px;
    }
}

/* Orthodontics Page Redesign Styles */

.orthodontics-hero {
    padding: 120px 0 80px !important;
    background: linear-gradient(135deg, #f8faff 0%, #eef2f7 100%) !important;
}

.orthodontics-hero .hero-title {
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.orthodontics-hero .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #4a4a4a;
}

.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: #890117;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border: 1px solid rgba(248, 174, 0, 0.3);
    box-shadow: 0 4px 15px rgba(248, 174, 0, 0.1);
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 3.5rem 0 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #3C3C3C;
    background: #FFFFFF;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.trust-badge i {
    color: #1ea952;
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-hint {
    margin-top: 30px;
    margin-bottom: 25px;
    font-size: 1rem;
    color: #555;
    font-style: italic;
    opacity: 0.9;
    max-width: 600px;
}

/* Problems Section */
.problems-section {
    padding: 60px 0;
    background: #FFFFFF;
    text-align: center;
}

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

.problem-card {
    background: #fdfdfd;
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.problem-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #F8AE00;
}

.problem-card i {
    font-size: 2.5rem;
    color: #F8AE00;
    margin-bottom: 15px;
}

.problem-card h3 {
    font-size: 1.1rem;
    color: #3C3C3C;
    margin: 0;
}

/* Highlighted Benefits */
.highlights-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

.benefit-item.highlight {
    background: #FFFFFF;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
}

.benefit-icon-wrapper {
    width: 70px;
    height: 70px;
    background: #890117;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(137, 1, 23, 0.2);
}

.benefit-icon-wrapper i {
    color: #FFFFFF;
    font-size: 1.8rem;
}

/* Modern Steps */
.steps-section {
    padding: 80px 0;
}

.modern-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 40px auto 0;
}

.step-item {
    display: flex;
    gap: 30px;
    align-items: center;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: #F8AE00;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(248, 174, 0, 0.3);
}

.step-text h3 {
    color: #890117;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.step-text p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #fdfdfd;
}

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

.faq-item {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 15px;
    border-right: 4px solid #890117;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: #890117;
    margin-bottom: 12px;
}

.faq-item p {
    margin: 0;
    color: #555;
}

.final-cta {
    background: linear-gradient(135deg, #890117 0%, #c0392b 100%) !important;
}

.final-cta .cta-title,
.final-cta .cta-subtitle {
    color: #FFFFFF !important;
}

.final-cta .secondary-btn {
    background: transparent;
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.final-cta .secondary-btn:hover {
    background: #FFFFFF;
    color: #890117;
}

@media (min-width: 992px) {
    .orthodontics-hero .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        text-align: right;
    }

    .hero-video-container {
        grid-column: 2;
        grid-row: 1 / span 5;
        margin: 0;
        max-width: 100%;
        width: 100%;
    }

    .orthodontics-hero .hero-title,
    .orthodontics-hero .hero-subtitle,
    .hero-badge-top,
    .hero-actions {
        grid-column: 1;
    }

    .orthodontics-hero .hero-title {
        font-size: 3.2rem;
        margin-right: 0;
        max-width: 100%;
    }

    .orthodontics-hero .hero-subtitle {
        margin-right: 0;
        max-width: 100%;
    }

    .hero-actions {
        align-items: flex-start;
        margin-top: 1.5rem;
    }

    .hero-trust-badges {
        justify-content: flex-start;
        margin-top: 2rem;
        margin-bottom: 0;
    }

    .cta-hint {
        text-align: right;
        margin-right: 15px;
        /* Slight indent relative to button */
    }
}

@media (max-width: 768px) {
    .orthodontics-hero {
        padding: 100px 0 60px !important;
    }

    .orthodontics-hero .hero-title {
        font-size: 2.1rem;
        line-height: 1.35;
        padding: 0 10px;
    }

    .orthodontics-hero .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 2rem;
        padding: 0 15px;
    }

    .hero-video-container {
        margin: 2rem 5px;
        border-radius: 16px;
        border-width: 2px;
    }

    .hero-trust-badges {
        gap: 15px;
        flex-direction: column;
        align-items: center;
        margin: 3.5rem 0 2rem;
    }

    .trust-badge {
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 10px 15px;
    }

    .hero-badge-top {
        font-size: 0.8rem;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .modern-steps {
        gap: 50px;
    }
}

/* =========================================
   Global Redesign Styles (Generic)
   ========================================= */

/* Generic Split Hero */
.split-hero {
    padding: 120px 0 80px !important;
    background: linear-gradient(135deg, #f8faff 0%, #eef2f7 100%) !important;
}

.split-hero .hero-title {
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.split-hero .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #4a4a4a;
}

/* Generic Hero Image Container */
.hero-image-container {
    max-width: 1000px;
    margin: 3.5rem auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    border: 4px solid #FFFFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -15px rgba(248, 174, 0, 0.2);
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsive adjustments for image container */
@media (max-width: 768px) {
    .hero-image-container {
        margin: 2rem 5px;
        border-radius: 16px;
        border-width: 2px;
    }
}

/* Modern Service Card */
.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card-modern {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid transparent;
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(137, 1, 23, 0.1);
    border-color: #F8AE00;
}

.service-card-modern .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #890117;
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon {
    background: #890117;
    color: #FFFFFF;
}

.service-card-modern h3 {
    font-size: 1.3rem;
    color: #3C3C3C;
    margin-bottom: 10px;
}

.service-card-modern p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-card-modern .service-link {
    margin-top: auto;
    color: #890117;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.service-card-modern:hover .service-link {
    gap: 12px;
}

/* Desktop Split Layout for Generic Pages */
@media (min-width: 992px) {
    .split-hero .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        text-align: right;
    }

    .split-hero .hero-image-container {
        grid-column: 2;
        grid-row: 1 / span 5;
        margin: 0;
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .split-hero .hero-title,
    .split-hero .hero-subtitle,
    .hero-badge-top,
    .hero-actions,
    .split-hero .hero-features {
        grid-column: 1;
    }

    .split-hero .hero-title {
        font-size: 3.2rem;
        margin-right: 0;
        max-width: 100%;
    }

    .split-hero .hero-subtitle {
        margin-right: 0;
        max-width: 100%;
    }

    /* Adjust features list for split layout */
    .split-hero .hero-features {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 2rem;
    }

    .split-hero .feature-item {
        margin: 0;
        font-size: 1.1rem;
    }

    .hero-actions {
        align-items: flex-start;
        margin-top: 1.5rem;
    }
}
