/* ====================================
        TABLET & SMALL LAPTOP
        max-width: 992px
==================================== */

@media (max-width: 992px) {


    /* General */

    :root {
        --section-padding: 80px;
    }


    h1 {
        font-size: 3rem;
    }


    h2 {
        font-size: 2.3rem;
    }


    /* =========================
            NAVBAR
    ========================= */

    .custom-navbar {
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(10px);
        padding: 18px 0;
    }


    .navbar-collapse {
        background: var(--white-color);
        margin-top: 20px;
        padding: 30px;
        border-radius: var(--radius-medium);
        box-shadow: var(--shadow-soft);
    }


    .navbar-nav {
        gap: 25px;
        align-items: center;
    }


    .book-btn {
        margin-top: 25px;
        width: 100%;
        text-align: center;
    }


    /* =========================
            HERO
    ========================= */


    .hero-content {
        padding-top: 140px;
        text-align: center;
    }


    .hero-text {
        max-width: 100%;
        margin-bottom: 50px;
    }


    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-image img {
        height: 550px;
    }


    .hero-image::before {
        width: 170px;
        height: 170px;
        top: -25px;
        right: -20px;
    }


    /* =========================
            SERVICES
    ========================= */


    .services-preview .col-md-4 {
        margin-bottom: 30px;
    }


    /* =========================
            FOOTER
    ========================= */


    .footer-content {
        flex-direction: column;
        text-align: center;
    }

}


/* ====================================
                MOBILE
        max-width: 768px
==================================== */

@media (max-width: 768px) {


    :root {
        --section-padding: 70px;
    }


    h1 {
        font-size: 2.4rem;
    }


    h2 {
        font-size: 2rem;
    }


    h3 {
        font-size: 1.3rem;
    }


    body {
        line-height: 1.7;
    }


    /* Hero */

    .hero-content {
        padding-top: 120px;
    }


    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }


    .hero-text p {
        font-size: 1rem;
    }


    .hero-image img {
        height: 430px;
        border-radius: var(--radius-medium);
    }


    .hero-image::before {
        width: 120px;
        height: 120px;
        top: -15px;
        right: -10px;
    }


    /* Service Cards */

    .service-card img {
        height: 240px;
    }


    .service-card h3,
    .service-card p,
    .service-card span {
        padding-left: 20px;
        padding-right: 20px;
    }


    /* Testimonials */

    .testimonial-box p {
        font-size: 1.5rem;
    }


    /* Buttons */

    .btn {
        padding: 12px 28px;
    }

}


/* ====================================
            SMALL MOBILE
        max-width: 576px
==================================== */

@media (max-width: 576px) {


    :root {
        --section-padding: 60px;
    }


    h1 {
        font-size: 2rem;
    }


    h2 {
        font-size: 1.7rem;
    }


    .container {
        padding-left: 20px;
        padding-right: 20px;
    }


    /* Navbar */

    .logo {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }


    .navbar-collapse {
        padding: 20px;
    }


    .nav-link {
        font-size: 0.9rem;
    }


    /* Hero */

    .hero-content {
        padding-top: 110px;
    }


    .hero-image img {
        height: 360px;
    }


    /* Philosophy */

    .philosophy-text p {
        font-size: 1rem;
    }


    /* Why Us */

    .why-us h3 {
        font-size: 2rem;
    }


    /* Testimonial */

    .testimonial-box p {
        font-size: 1.25rem;
    }


    .testimonial-box h4 {
        font-size: 1rem;
    }


    /* Footer */

    footer {
        padding: 60px 0 30px;
    }


    .footer-content h3 {
        font-size: 1.6rem;
    }

}


/* ====================================
        VERY SMALL DEVICES
        max-width: 360px
==================================== */

@media (max-width: 360px) {


    h1 {
        font-size: 1.7rem;
    }


    h2 {
        font-size: 1.5rem;
    }


    .hero-image img {
        height: 300px;
    }


    .btn {
        width: 100%;
    }

}

/* ====================================
        SERVICES RESPONSIVE
==================================== */

@media (max-width: 992px) {

    .filter-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .services-hero {
        min-height: 55vh;
    }

    .services-hero h1 {
        font-size: 2.8rem;
    }

}

@media (max-width: 768px) {

    .filter-section {
        margin-top: -40px;
    }


    .filter-wrapper {
        grid-template-columns: 1fr;
        padding: 25px 20px;
    }


    .filter-wrapper input,
    .filter-wrapper select {
        width: 100%;
        height: 50px;
    }


    .services-hero {
        min-height: 45vh;
        padding: 100px 0 50px;
    }


    .services-hero span {
        letter-spacing: 3px;
        font-size: 0.85rem;
    }


    .services-hero p {
        font-size: 1rem;
    }


    .category-card {
        margin-bottom: 25px;
    }


    .service-actions {
        flex-direction: column;
    }

}

@media (max-width: 576px) {

    .services-hero h1 {
        font-size: 2rem;
    }


    .filter-wrapper {
        border-radius: var(--radius-small);
    }


    .service-card img {
        height: 230px;
    }


    .service-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

}

/* ====================================
        SERVICE DETAIL RESPONSIVE
==================================== */

@media (max-width: 992px) {


    /* Hero */

    .service-hero {
        min-height: 50vh;
    }


    .service-hero h1 {
        font-size: 3rem;
    }


    /* Overview */

    .service-image {
        margin-bottom: 40px;
    }


    .service-image img {
        height: 500px;
    }


    .service-info-box {
        padding: 35px;
    }


    .service-meta {
        grid-template-columns: repeat(3, 1fr);
    }


    /* Timeline */

    .process-timeline {
        gap: 15px;
    }


    .process-item span {
        width: 70px;
        height: 70px;

        font-size: 1.2rem;
    }


    .process-item h3 {
        font-size: 1.1rem;
    }


}

@media (max-width: 768px) {


    /* Hero */

    .service-hero {
        min-height: 45vh;
        padding: 100px 0 60px;
    }


    .service-hero span {
        letter-spacing: 3px;
        font-size: 0.85rem;
    }


    .service-hero p {
        font-size: 1rem;
    }


    /* Image */

    .service-image img {
        height: 350px;
    }


    /* Info Box */

    .service-info-box {
        padding: 30px 25px;
    }


    .service-meta {
        grid-template-columns: 1fr;
    }


    /* Timeline */

    .process-timeline {

        flex-direction: column;

        align-items: center;

        gap: 40px;
    }


    .process-timeline::before {
        display: none;
    }


    .process-item p {
        max-width: 100%;
    }


    /* Care */

    .care-card {
        padding: 35px 25px;
    }


    /* Related Services */

    .related-card img {
        height: 230px;
    }


    /* CTA */

    .service-cta {
        padding: 80px 20px;
    }


}

@media (max-width: 576px) {


    /* Hero */

    .service-hero h1 {
        font-size: 2rem;
    }


    .service-hero p {
        font-size: 0.95rem;
    }


    /* Overview */

    .service-image img {
        height: 280px;
    }


    .service-category {
        font-size: 0.8rem;
    }


    .service-info-box h2 {
        font-size: 1.8rem;
    }


    /* Benefit Cards */

    .benefit-card {
        padding: 35px 25px;
    }


    .benefit-card h3 {
        font-size: 2.3rem;
    }


    /* FAQ */

    .service-faq .accordion-button {
        padding: 20px;
        font-size: 0.95rem;
    }


    .service-faq .accordion-body {
        padding: 20px;
    }


    /* Reviews */

    .review-card {
        padding: 35px 25px;
    }


    /* Buttons */

    .hero-btn,
    .service-cta .cta-btn,
    .related-card .btn {
        width: 100%;
        text-align: center;
    }


}

/* ====================================
            BOOKING RESPONSIVE
==================================== */

@media (max-width: 992px) {


    /* Hero */

    .booking-hero {
        min-height: 45vh;
    }


    .booking-hero h1 {
        font-size: 3rem;
    }


    /* Service Cards */

    .booking-service-card img {
        height: 220px;
    }


    .booking-service-card p {
        min-height: auto;
    }


    /* Customer Form */

    .customer-form {
        padding: 40px;
    }


    /* Summary */

    .booking-summary {
        grid-template-columns: 1fr;
        gap: 25px;
    }


}

@media (max-width: 768px) {


    /* Hero */

    .booking-hero {
        min-height: 40vh;
        padding: 100px 0 70px;
    }


    .booking-hero h1 {
        font-size: 2.4rem;
    }


    .booking-hero p {
        font-size: .95rem;
    }


    /* Progress */

    .booking-progress {

        scroll-snap-type: x mandatory;

    }

    .progress-step {

        scroll-snap-align: start;

    }

    .booking-progress {
        overflow-x: auto;

        justify-content: flex-start;

        padding-bottom: 15px;

        scrollbar-width: none;
    }


    .booking-progress::-webkit-scrollbar {
        display: none;
    }


    .progress-step {
        min-width: 85px;
    }


    .progress-step span {
        width: 45px;
        height: 45px;
    }


    .progress-line {
        width: 45px;
    }


    /* Date */

    .date-selection {
        padding: 30px 25px;
    }


    /* Time */

    .time-slots {
        gap: 15px;
    }


    .time-slot {
        min-width: 100px;
        height: 50px;
    }


    /* Customer */

    .customer-form {
        padding: 35px 25px;
    }


    /* Actions */

    .booking-actions {
        flex-direction: column;
        align-items: stretch;
    }


    .booking-actions .btn {
        width: 100%;
    }


}

@media (max-width: 576px) {


    /* Hero */

    .booking-hero h1 {
        font-size: 2rem;
    }


    .booking-hero span {
        font-size: .8rem;

        letter-spacing: 2px;
    }


    /* Service */

    .booking-service-card img {
        height: 200px;
    }


    .booking-service-card .service-content {
        padding: 22px;
    }


    .booking-service-card h3 {
        font-size: 1.25rem;
    }


    /* Progress */

    .progress-step p {
        font-size: .75rem;
    }


    /* Form */

    .customer-form {
        padding: 25px 18px;
    }


    .customer-form label {
        font-size: .9rem;
    }


    /* Summary */

    .summary-card,
    .confirmation-info {
        padding: 30px 22px;
    }


    .summary-item {
        font-size: .9rem;
    }


    .summary-item.total strong {
        font-size: 1.1rem;
    }


    /* Confirm Button */

    .confirm-btn {
        height: 52px;
    }


}

/* ====================================
        GALLERY RESPONSIVE
==================================== */

@media (max-width: 992px) {

    .gallery-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .gallery-item.wide {

        grid-column: span 2;

    }

    .before-after-container {

        height: 500px;

    }

    .result-details {

        grid-template-columns: 1fr;

        gap: 20px;

    }

    .video-content {

        text-align: center;

        margin-bottom: 50px;

    }

    .video-content p {

        margin-left: auto;

        margin-right: auto;

    }

}

@media (max-width: 768px) {

    .gallery-hero {

        min-height: 50vh;

    }

    .gallery-hero h1 {

        font-size: 2.4rem;

    }

    .gallery-grid {

        grid-template-columns: 1fr;

        grid-auto-rows: 260px;

    }

    .gallery-item.large,
    .gallery-item.wide {

        grid-column: auto;

        grid-row: auto;

    }

    .gallery-overlay {

        opacity: 1;

    }

    .gallery-overlay {

        padding: 20px;

    }

    .before-after-container {

        height: 380px;

    }

    .slider-handle {

        width: 60px;

        height: 60px;

    }

    .big-play-button {

        width: 85px;

        height: 85px;

        font-size: 1.8rem;

    }

    .cta-buttons {

        flex-direction: column;

        align-items: center;

    }

    .cta-buttons .btn {

        width: 100%;

        max-width: 320px;

    }

}

@media (max-width: 576px) {

    .gallery-hero h1 {

        font-size: 2rem;

    }

    .gallery-hero p {

        font-size: .95rem;

    }

    .filter-btn {

        width: 100%;

    }

    .gallery-grid {

        gap: 18px;

    }

    .before-after-container {

        height: 300px;

    }

    .detail-box {

        padding: 25px;

    }

    .gallery-modal img,
    .gallery-modal video {

        max-width: 95%;

    }

    .modal-close {

        top: 15px;

        right: 15px;

    }

}

/* ====================================
        DASHBOARD
==================================== */

@media (max-width: 992px) {

    .dashboard-sidebar {

        position: fixed;

        left: -320px;

        top: 0;

        z-index: 9999;

        transition: .3s ease;

    }

    .dashboard-sidebar.active {

        left: 0;

    }

    .sidebar-toggle {

        display: flex;

        align-items: center;

        justify-content: center;

    }

    .dashboard-content {

        width: 100%;

        padding: 30px;

    }

}

@media (max-width: 992px) {

    .stats-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}

@media (max-width: 576px) {

    .stats-grid {

        grid-template-columns:
            1fr;

    }

}

@media (max-width:768px) {

    .actions-grid {

        grid-template-columns: 1fr;

    }

}

@media (max-width:768px) {

    .recommendation-grid {

        grid-template-columns: 1fr;

    }

}

@media (max-width:768px) {

    .welcome-card {

        flex-direction: column;

        text-align: center;

        gap: 25px;

        padding: 35px 25px;

    }

}

@media (max-width:768px) {

    .appointment-card {

        flex-direction: column;

        align-items: flex-start;

    }

    .appointment-meta {

        width: 100%;

        gap: 20px;

    }

    .appointment-actions {

        width: 100%;

    }

    .appointment-actions .btn {

        flex: 1;

    }

}

@media(max-width:576px) {

    .gallery-filters {

        display: flex;

        flex-direction: column;

        gap: 10px;

    }

}

@media(max-width:992px) {

    .navbar-actions {

        width: 100%;

        margin-top: 20px;

        flex-direction: column;

        gap: 15px;

    }

}

.service-meta {
    grid-template-columns: 1fr;
}

@media(max-width:576px) {

    .service-info-box {

        padding: 20px;

    }

}


@media (max-width: 768px) {

    .specialists-grid {

        grid-template-columns: 1fr;

    }

}