﻿/* =============================================
   فایل استایل اصلی سایت کلینیک دندانپزشکی
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;900&display=swap');

/* =============================================
   متغیرها و تنظیمات پایه
   ============================================= */
:root {
    --primary-color: #1e3a6b;
    --primary-dark: #0f2a4f;
    --secondary-color: #4a90e2;
    --accent-color: #ff6b6b;
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --white: #ffffff;
    --black: #000000;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

/* =============================================
   تایپوگرافی
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

    a:hover {
        color: var(--secondary-color);
    }

/* =============================================
   پیش‌بارگذار
   ============================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-bg);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =============================================
   نوار بالایی
   ============================================= */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

    .top-bar a {
        color: var(--white);
        margin-left: 15px;
    }

        .top-bar a:hover {
            color: rgba(255,255,255,0.8);
        }

    .top-bar .contact-info i {
        margin-left: 5px;
    }

    .top-bar .social-links a {
        margin: 0 5px;
        font-size: 1.1rem;
    }

/* =============================================
   ناوبری اصلی
   ============================================= */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    transition: var(--transition);
}

    .navbar.sticky {
        position: fixed;
        top: 0;
        width: 100%;
        animation: slideDown 0.5s;
        z-index: 999;
    }

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.navbar-brand img {
    height: 60px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 15px !important;
    transition: var(--transition);
    font-size: 1rem;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color);
    }

    .nav-link i {
        margin-left: 5px;
        font-size: 0.9rem;
    }

.btn-appointment {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

    .btn-appointment i {
        margin-left: 8px;
    }

/* =============================================
   اسلایدر اصلی
   ============================================= */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

    .hero-slider .carousel-item {
        height: 600px;
    }

        .hero-slider .carousel-item img {
            object-fit: cover;
            height: 100%;
        }

        .hero-slider .carousel-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
            z-index: 1;
        }

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    z-index: 2;
}

    .carousel-caption h1 {
        font-size: 3.5rem;
        font-weight: 900;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .carousel-caption p {
        font-size: 1.5rem;
        margin-bottom: 30px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* =============================================
   هدر صفحه (Page Header)
   ============================================= */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

    .page-header h1 {
        font-size: 3rem;
        font-weight: 900;
        margin-bottom: 15px;
    }

    .page-header .breadcrumb {
        margin-bottom: 0;
    }

    .page-header .breadcrumb-item a {
        color: rgba(255,255,255,0.8);
    }

    .page-header .breadcrumb-item.active {
        color: var(--white);
    }

    .page-header .breadcrumb-item + .breadcrumb-item::before {
        color: rgba(255,255,255,0.5);
    }

/* =============================================
   بخش‌های اصلی
   ============================================= */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        width: 80px;
        height: 3px;
        background: var(--primary-color);
    }

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* =============================================
   باکس‌های ویژگی‌ها
   ============================================= */
.feature-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

    .feature-box:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }

    .feature-box .icon-box {
        width: 80px;
        height: 80px;
        background: var(--primary-color);
        color: var(--white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 25px;
        font-size: 32px;
        transition: var(--transition);
    }

    .feature-box:hover .icon-box {
        background: var(--secondary-color);
        transform: rotateY(180deg);
    }

    .feature-box h4 {
        margin-bottom: 15px;
        font-weight: 600;
    }

    .feature-box p {
        color: var(--text-light);
        margin-bottom: 0;
    }

/* =============================================
   کارت‌های خدمات
   ============================================= */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }

    .service-card .service-icon {
        width: 70px;
        height: 70px;
        background: var(--light-bg);
        color: var(--primary-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 25px;
        font-size: 28px;
        transition: var(--transition);
    }

    .service-card:hover .service-icon {
        background: var(--primary-color);
        color: var(--white);
    }

    .service-card h4 {
        margin-bottom: 15px;
        font-weight: 600;
    }

    .service-card p {
        margin-bottom: 20px;
        color: var(--text-light);
    }

    .service-card .btn-link {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .service-card:hover .btn-link {
        color: var(--secondary-color);
    }

/* =============================================
   کارت‌های پزشکان
   ============================================= */
.doctor-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

    .doctor-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }

.doctor-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

    .doctor-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

.doctor-card:hover .doctor-image img {
    transform: scale(1.1);
}

.doctor-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
}

.doctor-card:hover .doctor-social {
    bottom: 0;
    opacity: 1;
}

.doctor-social a {
    color: var(--white);
    margin: 0 10px;
    font-size: 18px;
    transition: var(--transition);
}

    .doctor-social a:hover {
        color: var(--primary-color);
        transform: translateY(-3px);
    }

.doctor-info {
    padding: 20px;
    text-align: center;
}

    .doctor-info h4 {
        margin-bottom: 5px;
        font-weight: 600;
    }

    .doctor-info .specialty {
        color: var(--primary-color);
        font-weight: 500;
        margin-bottom: 10px;
    }

    .doctor-info .experience {
        color: var(--text-light);
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

/* =============================================
   کارت‌های وبلاگ
   ============================================= */
.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

    .blog-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }

.blog-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

    .blog-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.2;
    z-index: 2;
}

    .blog-date span:first-child {
        font-size: 24px;
        font-weight: 700;
        display: block;
    }

    .blog-date span:last-child {
        font-size: 14px;
    }

.blog-content {
    padding: 20px;
}

.blog-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
    display: flex;
    gap: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

    .blog-meta li i {
        margin-left: 5px;
        color: var(--primary-color);
    }

.blog-content h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

    .blog-content h4 a {
        color: var(--text-color);
    }

        .blog-content h4 a:hover {
            color: var(--primary-color);
        }

.blog-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* =============================================
   کارت‌های ویدئو
   ============================================= */
.video-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

    .video-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }

.video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

    .video-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition);
    z-index: 2;
}

    .video-play-btn:hover {
        background: var(--secondary-color);
        color: var(--white);
        transform: translate(-50%, -50%) scale(1.1);
    }

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    z-index: 2;
}

.video-info {
    padding: 20px;
}

    .video-info h4 {
        margin-bottom: 10px;
        font-size: 1.2rem;
    }

        .video-info h4 a {
            color: var(--text-color);
        }

            .video-info h4 a:hover {
                color: var(--primary-color);
            }

    .video-info p {
        color: var(--text-light);
        margin-bottom: 15px;
        font-size: 0.9rem;
    }

.video-meta {
    display: flex;
    gap: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

    .video-meta i {
        margin-left: 5px;
        color: var(--primary-color);
    }

/* =============================================
   نظرات بیماران
   ============================================= */
.testimonials-section {
    background: var(--light-bg);
}

.testimonial-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin: 15px;
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

    .testimonial-content .quote-icon {
        position: absolute;
        top: -10px;
        right: -10px;
        font-size: 40px;
        color: rgba(0,123,255,0.1);
    }

    .testimonial-content p {
        font-style: italic;
        margin-bottom: 15px;
        position: relative;
        z-index: 1;
    }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .testimonial-author img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
    }

    .testimonial-author h5 {
        margin-bottom: 5px;
        font-size: 1.1rem;
    }

    .testimonial-author p {
        margin-bottom: 0;
        font-size: 0.9rem;
        color: var(--text-light);
    }

/* =============================================
   بخش CTA
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
        background-size: 50px 50px;
        animation: moveBg 30s linear infinite;
    }

@keyframes moveBg {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(50px, 50px);
    }
}

.cta-section .btn-light {
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

/* =============================================
   فرم نوبت‌دهی
   ============================================= */
.appointment-section .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.appointment-section .card-header {
    background: var(--primary-color);
    border: none;
    padding: 20px;
}

    .appointment-section .card-header h4 {
        margin-bottom: 0;
    }

.form-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.form-control,
.form-select {
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    padding: 12px 15px;
    transition: var(--transition);
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: none;
    }

    .form-control.is-invalid {
        border-color: #dc3545;
    }

.invalid-feedback {
    font-size: 0.85rem;
}

.appointment-info {
    background: var(--light-bg);
    border-right: 4px solid var(--primary-color);
}

    .appointment-info ul {
        list-style: none;
        padding-right: 0;
    }

        .appointment-info ul li {
            margin-bottom: 10px;
            padding-right: 25px;
            position: relative;
        }

            .appointment-info ul li::before {
                content: '✓';
                position: absolute;
                right: 0;
                color: var(--primary-color);
                font-weight: bold;
            }

/* =============================================
   کارت‌های تماس
   ============================================= */
.contact-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

    .contact-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }

.contact-icon {
    margin-bottom: 20px;
}

.contact-card h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* =============================================
   فوتر
   ============================================= */
.footer {
    background: var(--dark-bg);
    color: #999;
    padding-top: 80px;
}

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-size: 1.3rem;
}

    .footer-widget h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 2px;
        background: var(--primary-color);
    }

.footer-widget p {
    color: #999;
    line-height: 1.8;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

    .footer-widget ul li {
        margin-bottom: 12px;
    }

        .footer-widget ul li a {
            color: #999;
            transition: var(--transition);
            display: block;
        }

            .footer-widget ul li a:hover {
                color: var(--primary-color);
                padding-right: 5px;
            }

        .footer-widget ul li i {
            margin-left: 10px;
            font-size: 0.9rem;
        }

.footer-widget .contact-info p {
    margin-bottom: 10px;
}

.footer-widget .contact-info i {
    margin-left: 10px;
    color: var(--primary-color);
}

.footer-widget .recent-posts li {
    margin-bottom: 15px;
}

.footer-widget .recent-posts a {
    display: block;
    margin-bottom: 5px;
}

.footer-widget .recent-posts .post-date {
    font-size: 0.85rem;
    color: #666;
}

    .footer-widget .recent-posts .post-date i {
        margin-left: 5px;
        font-size: 0.8rem;
    }

.newsletter-form .input-group {
    direction: ltr;
}

.newsletter-form .form-control {
    border-radius: 50px 0 0 50px !important;
    border: none;
    padding: 12px 20px;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0 !important;
    padding: 12px 25px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    margin-top: 50px;
}

    .footer-bottom p {
        margin-bottom: 0;
        color: #999;
        font-size: 0.9rem;
    }

    .footer-bottom .designer a {
        color: var(--white);
    }

        .footer-bottom .designer a:hover {
            color: var(--primary-color);
        }

/* =============================================
   سایدبار وبلاگ
   ============================================= */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

    .sidebar-widget h4 {
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 10px;
        font-size: 1.2rem;
    }

        .sidebar-widget h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 40px;
            height: 2px;
            background: var(--primary-color);
        }

.category-list {
    list-style: none;
    padding: 0;
}

    .category-list li {
        margin-bottom: 10px;
    }

        .category-list li a {
            display: flex;
            justify-content: space-between;
            color: var(--text-light);
            transition: var(--transition);
        }

            .category-list li a:hover {
                color: var(--primary-color);
                padding-right: 5px;
            }

            .category-list li a span {
                color: #999;
                font-size: 0.9rem;
            }

.recent-posts {
    list-style: none;
    padding: 0;
}

    .recent-posts li {
        margin-bottom: 15px;
    }

        .recent-posts li a {
            display: flex;
            gap: 15px;
            color: var(--text-color);
        }

            .recent-posts li a:hover {
                color: var(--primary-color);
            }

            .recent-posts li a img {
                width: 70px;
                height: 70px;
                border-radius: 8px;
                object-fit: cover;
            }

            .recent-posts li a h5 {
                font-size: 1rem;
                margin-bottom: 5px;
            }

            .recent-posts li a span {
                font-size: 0.85rem;
                color: #999;
            }

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-link {
    background: var(--light-bg);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: var(--transition);
}

    .tag-link:hover {
        background: var(--primary-color);
        color: var(--white);
    }

/* =============================================
   صفحه‌بندی
   ============================================= */
.pagination .page-link {
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 8px;
    transition: var(--transition);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    color: var(--white);
}

.pagination .page-link:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

/* =============================================
   دکمه بازگشت به بالا
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow);
}

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background: var(--secondary-color);
        color: var(--white);
        transform: translateY(-5px);
    }

/* =============================================
   اعلان‌ها
   ============================================= */
.notification-alert {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    min-width: 300px;
    animation: slideInLeft 0.5s;
}

@keyframes slideInLeft {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* =============================================
   ریسپانسیو
   ============================================= */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .carousel-caption h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        padding: 20px 0;
    }

    .nav-link {
        padding: 10px 0 !important;
    }

    .btn-appointment {
        margin-top: 15px;
        width: 100%;
    }

    .carousel-caption h1 {
        font-size: 2.2rem;
    }

    .carousel-caption p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .doctor-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .page-header {
        padding: 60px 0;
    }

        .page-header h1 {
            font-size: 2.2rem;
        }

    .hero-slider,
    .hero-slider .carousel-item {
        height: 400px;
    }

    .carousel-caption {
        bottom: 40%;
        transform: translateY(40%);
    }

        .carousel-caption h1 {
            font-size: 1.8rem;
        }

        .carousel-caption p {
            font-size: 1rem;
        }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-box {
        padding: 30px 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .blog-image {
        height: 200px;
    }

    .footer-widget {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .blog-meta {
        flex-direction: column;
        gap: 5px;
    }

    .video-thumbnail {
        height: 180px;
    }

    .testimonial-item {
        padding: 20px;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .back-to-top {
        bottom: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
    }
}
