/* ==========================================
   SECTION TITLE
========================================== */

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2d1368;
    font-size: 2rem;
}

/* ==========================================
   APPOINTMENT
========================================== */

.appointment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 550px;
}

.appointment__content {
    background: #ead8ff;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.appointment__tag {
    color: #6d2cff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.appointment h2 {
    font-size: 3rem;
    color: #2d1368;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.appointment p {
    color: #555;
    margin-bottom: 2rem;
}

.appointment__btn {
    display: inline-block;
    width: max-content;
    padding: 1rem 2rem;
    border-radius: 10px;
    background: #5b2cff;
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
}

.appointment__btn:hover {
    background: #4720d9;
}

.appointment__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ====================================================
   RESET
==================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    color: #1b1b1b;
}

/* ====================================================
   ACCESSIBILITY
==================================================== */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #000;
    color: #fff;
    padding: 1rem;
    z-index: 9999;
}

.skip-link:focus {
    left: 0;
}

:focus-visible {
    outline: 3px solid #5b2cff;
    outline-offset: 3px;
}

/* ====================================================
   CONTAINER
==================================================== */

.container {
    width: min(1280px, 92%);
    margin: auto;
}

/* ====================================================
   TABLET
==================================================== */

@media (max-width: 992px) {

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

    .header__menu {
        gap: 1rem;
    }

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

    .appointment__content {
        padding: 4rem 3rem;
        order: 2;
    }

    .appointment__image {
        order: 1;
        min-height: 400px;
    }

    .appointment h2 {
        font-size: 2.5rem;
    }
}

/* ====================================================
   MOBILE
==================================================== */

.mobile-toggle {
    display: none;
}

@media (max-width: 768px) {

    .header__nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
        border: none;
        background: none;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .hero {
        min-height: 600px;
    }

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

    .hero__title {
        font-size: 2.5rem;
    }

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

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

    .appointment__content {
        padding: 3rem 1.5rem;
    }

    .appointment__image {
        min-height: 300px;
    }

    .appointment h2 {
        font-size: 2rem;
    }

    .appointment p {
        font-size: 0.95rem;
    }

    .appointment__btn {
        width: 100%;
        text-align: center;
    }
}

/* ====================================================
   SMALL MOBILE
==================================================== */

@media (max-width: 480px) {

    .appointment__content {
        padding: 2.5rem 1rem;
    }

    .appointment h2 {
        font-size: 1.7rem;
    }

    .appointment__tag {
        font-size: 0.9rem;
    }

    .appointment p {
        font-size: 0.9rem;
    }

    .appointment__image {
        min-height: 250px;
    }

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

/* ====================================================
   REDUCED MOTION
==================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}