.service-page {
    min-height: 100vh;
}

/* Banner Section Styles */
.service-banner {
    position: relative;
    height: 50vh;
    background: url('/wp-content/themes/de_dental/assets/images/deep-bite-banner.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.banner-subtitle {
    font-size: 1.5rem;
    animation: fadeInUp 1s ease 0.5s;
}

/* Service Content Styles */
.service-content {
    padding: 5rem 0;
    background: #f9f9f9;
}

.service-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-description {
    text-align: center;
    margin-bottom: 4rem;
}

.service-description h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.service-description p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

/* Causes Section Styles */
.causes-section {
    margin-bottom: 4rem;
}

.causes-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.causes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.cause-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.cause-card:hover {
    transform: translateY(-10px);
}

.cause-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1.5rem;
}

.cause-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.cause-card p {
    color: #666;
}

/* Symptoms Section Styles */
.symptoms-section {
    background: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
}

.symptoms-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.symptoms-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.symptom-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f0f8ff;
    border-radius: 5px;
    color: #333;
    font-size: 1.1rem;
}

.symptom-item i {
    color: #007bff;
    font-size: 1.2rem;
}

/* Treatment Section Styles */
.treatment-section {
    margin-bottom: 4rem;
}

.treatment-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.treatment-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-10px);
}

.treatment-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1.5rem;
}

.treatment-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.treatment-card p {
    color: #666;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2.5rem;
    }

    .banner-subtitle {
        font-size: 1.2rem;
    }

    .causes-grid {
        grid-template-columns: 1fr;
    }

    .symptoms-list {
        grid-template-columns: 1fr;
    }

    .treatment-grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar Styles */
.service-sidebar {
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
    position: sticky;
    top: 30px;
    transition: all 0.3s ease;
}

.service-sidebar:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.sidebar-widget {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
    position: relative;
    font-weight: 600;
}

.widget-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 2px;
    background: #007bff;
}

.service-links,
.related-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-links li,
.related-services li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.service-links li:before,
.related-services li:before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #007bff;
}

.service-links a,
.related-services a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
    font-size: 15px;
    line-height: 1.4;
}

.service-links a:hover,
.related-services a:hover {
    color: #007bff;
    padding-left: 10px;
}

.appointment-widget {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.appointment-widget p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.theme-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #007bff;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.theme-btn:hover {
    background: #fff;
    color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info li:hover {
    background: #f0f7ff;
    transform: translateX(5px);
}

.contact-info i {
    margin-right: 15px;
    color: #007bff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.1);
    font-size: 16px;
}

.contact-info span {
    color: #666;
    font-size: 15px;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 991px) {
    .service-sidebar {
        margin-top: 50px;
        position: relative;
        top: 0;
    }
}

@media (max-width: 767px) {
    .service-sidebar {
        padding: 20px;
    }

    .widget-title {
        font-size: 18px;
    }

    .appointment-widget {
        padding: 20px;
    }

    .theme-btn {
        padding: 10px 25px;
        font-size: 13px;
    }
}