@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    font-family: 'Kanit', sans-serif;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
    background: #f1f1f1;

}

/* Track */
::-webkit-scrollbar-track {
    background: none;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

html {
    overflow-x: hidden;
    /* scroll-padding-top: 5.5rem; */
    scroll-behavior: smooth;
}




:root {
    --primary-color: #7F237A;
    --primary-hover: #550055;
    --footer-color: #E80384;
    --text-color: #000000;
    --background-color: #ffffff;
    --white: #ffffff;
}



.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    z-index: 99999;
}

.header-main .logo {
    display: flex;
    align-items: center;
}

.header-main .logo img {
    width: 65px;
    height: 65px;
    margin-right: 10px;
}

.header-main .logo h1 {
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
}

.header-main nav {
    display: flex;
    align-items: center;
}

.header-main .nav-links {
    display: flex;
    list-style: none;
}

.header-main .nav-links li {
    margin: 0 15px;
}

.header-main .nav-links a {
    text-decoration: none;
    color: #000;
    position: relative;
}

.header-main .nav-links a:hover {
    color: #800080;
}

.header-main .active {
    font-weight: 500;
    color: #800080 !important;
}

.header-main .active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #800080;
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
}

.header-main .appointment-btn {
    background-color: #800080;
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 20px;
    transition: background-color 0.3s ease;
}

.header-main .appointment-btn:hover {
    background-color: #550055;
}

/* Hamburger menu for small screens */
.header-main .hamburger {
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
    z-index: 10000;
}

.header-main .mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    height: 100%;
    background-color: #800080;
    transition: left 0.3s ease;
    z-index: 1000;
}

.header-main .mobile-nav ul {
    list-style: none;
    padding: 20px;
}

.header-main .mobile-nav ul li {
    margin: 15px 0;
}

.header-main .mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.header-main .small-nav {
    display: none;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .header-main nav {
        display: none;
    }

    .header-main .small-nav {
        display: block;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 450px) {
    .header-main {
        padding: 10px 10px;
    }

    .header-main .logo img {
        width: 45px;
        height: 37px;
    }

    .header-main .logo h1 {
        font-size: 15px;
        font-weight: bold;
    }

    .header-main .appointment-btn {
        padding: 7px 10px;
        border-radius: 5px;
        font-size: 14px;
        margin-left: 0px;
        transition: background-color 0.3s ease;
    }

}

/* schedule section  */
.schedule-appointment {
    padding: 30px 100px;
    background-color: var(--primary-color);
    width: 100%;
    height: 400px;
    color: white;
    display: flex;
    align-items: center;
    margin: 40px 0;
}

.schedule-appointment .schedule-text {
    display: flex;
    justify-content: start;
    flex-direction: column;
    width: 60%;
    gap: 10px;
}

.schedule-appointment .schedule-text h3 {
    font-size: 40px;
    font-weight: 600;
}

.schedule-appointment .schedule-text p {
    font-size: 20px;
    font-weight: 400;
    text-align: left !important;
}

.schedule-appointment .schedule-text a {
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #ffffff;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    max-width: fit-content;
}


.schedule-appointment .schedule-img {
    margin-top: 20px;
}

.schedule-appointment .schedule-img img {
    height: 390px;
    width: 100%;
    object-fit: cover;
}


/* Popup Background */
/* Popup Background */
.appointment-popup {
    display: flex;
    margin-top: 2rem;
    justify-content: center;
    align-items: center;
}

.appointment-popup-content {
    background-color: #fff;
    padding: 30px;
    width: 600px;
    max-width: 90%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}

.appointment-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
}


/* Form Styles */
.appointment-popup-content h2 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 600;
    margin: 10px 0 20px;
}

.appointment-popup form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 2px solid #eee;
    border-radius: 20px;
    padding: 20px;
}

.appointment-form-group {
    display: flex;
    gap: 15px;
}

.appointment-form-group div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.appointment-popup label {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-align: start;
}

.appointment-form-group label {
    text-align: start;
}

.appointment-popup input[type="text"],
.appointment-popup input[type="date"],
.appointment-popup input[type="time"],
.appointment-popup textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-weight: 300;
    outline: none;
}

.appointment-popup textarea {
    resize: none;
    height: 80px;
}

.appointment-popup button[type="submit"] {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 20px;
}

/* Full-width textarea */
.full-width-container {
    display: flex;
    flex-direction: column;
    text-align: start;
}

.appointment-form-group .full-width label {
    width: 100%;
    text-align: start;
}


@media (max-width:900px) {
    .schedule-appointment .schedule-img {
        display: none;
    }

    .schedule-appointment .schedule-text {
        width: 100%;
    }

    .schedule-appointment {
        height: auto;
        padding: 30px 30px;
    }

}

@media (max-width:600px) {
    .schedule-appointment .schedule-text h3 {
        font-size: 30px;
    }

    .schedule-appointment .schedule-text p {
        font-size: 18px;
    }

    .schedule-appointment .schedule-text a {
        font-size: 19px;
    }

    /* popup design  */
    .appointment-popup-content h2 {
        font-size: 22px;
    }

    .appointment-form-group {
        flex-direction: column;
    }

    .appointment-form-group {
        gap: 10px;
    }

    .appointment-popup button[type="submit"] {
        margin-top: 10px;
    }

    .appointment-popup form {
        gap: 10px;
        padding: 10px;
    }

    .appointment-popup-content {
        padding: 10px;
        margin-top: 20px;
    }

    .appointment-popup-close {
        top: 5px;
        right: 10px;
        font-size: 30px;
    }

    .appointment-popup textarea {
        border-radius: 10px;
    }

}

@media (max-width: 450px) {
    .schedule-appointment .schedule-text a {
        padding: 8px 10px;
    }

    .schedule-appointment .schedule-text h3 {
        font-size: 25px;
    }

    .schedule-appointment .schedule-text p {
        font-size: 15px;
    }

    .schedule-appointment .schedule-text a {
        font-size: 16px;
    }

    /* pop up design  */
    .appointment-popup-close {
        top: 2px;
        right: 10px;
        font-size: 25px;
    }

    .appointment-popup-content {
        margin-top: 25px;
    }

    .appointment-popup form {
        margin-top: 0px;
    }

}