/* =========================
   Global Styles
========================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins: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&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');

* {
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    outline: none; border: none;
    text-decoration: none;
    transition: .2s linear;
}

/* Apply text-transform only to specific elements that need it */
.heading,
.navbar a,
.btn,
h1, h2, h3, h4, h5, h6 {
    text-transform: capitalize;
}
:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --main-color: linear-gradient(135deg, #d4a574 0%, #c19660 100%);
    --hover-color: linear-gradient(135deg, #c19660 0%, #b08850 100%);
    --section-alt: #ffffff;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    overflow-x: hidden;
}

section {
    padding: 2rem 9%;
    background: var(--bg-color);
}

.heading {
    text-align: center;
    font-size: 4rem;
    color: linear-gradient(135deg, #d4a574 0%, #c19660 100%);
    padding: 1rem;
    margin: 2rem 0;
    background: rgba(143, 185, 150, 0.05);
}

.heading span {
    color: linear-gradient(135deg, #d4a574 0%, #c19660 100%);
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    border-radius: 5rem;
    background: #333;
    color: #fff;
    padding: .9rem 3.5rem;
    cursor: pointer;
    font-size: 1.7rem;
}

.btn:hover {
    background: var(--hover-color);
}

/* =========================
   Header
========================= */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background:#92a98f;
    padding: 1rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 .5rem 1rem rgba(0,0, 0, .1);
}

header .logo {
    font-size: 2.5rem;
    font-weight: bolder;
    color: var(--main-color);
}

header .logo img {
    height: 70px;
    width: auto;
}

header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .navbar .nav-links {
    display: flex;
    align-items: center;
}

header .navbar .nav-links a {
    padding: 0 1.5rem;
    color: #ffffff;
    font-size: 1.6rem;
    position: relative;
}

header .navbar .nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

header .navbar .nav-links a:hover {
    color: #ffffff;
}

header .navbar .nav-links a:hover::after {
    width: 100%;
}

header .navbar .login-btn {
    background: linear-gradient(135deg, #dbfed7 0%, #92a98f 40%);
    color: #f5f3f0;
    padding: 0.8rem 3.2rem;
    border-radius: 7rem;
    font-weight: bold;
    border:none;
    font-size: 1.6rem;
    box-shadow: 0 6px 20px rgba(231, 230, 230, 0.685);
    transition: all 0.3s ease;
}

header .navbar .login-btn:hover {
    background: linear-gradient(135deg, #dbfed7 0%, #92a98f 50%);
    border: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(231, 230, 230);
}

/* Mobile Menu Toggle */
#menu-btn {
    display: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #ffffff;
    background: none;
    border: none;
    z-index: 1001;
}

/* =========================
   User Authentication Section
========================= */
.user-section {
    position: relative;
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #dbfed7 0%, #92a98f 50%);
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 2.5rem;
    font-weight: 500;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(250, 250, 250, 0.662);
}

.user-btn:hover {
    background: linear-gradient(135deg, #dbfed7 0%, #92a98f 50%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(250, 250, 250, 0.662);
}

.user-btn i:last-child {
    transition: transform 0.3s ease;
}

.user-btn:hover i:last-child {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border-radius: 12px;
    z-index: 1001;
    margin-top: 0.5rem;
    border: 1px solid rgba(212, 165, 116, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.dropdown-content.show {
    display: block;
    animation: dropdownSlide 0.3s ease-out;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    color: #5a4a3a;
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-content a:hover {
    background: rgba(212, 165, 116, 0.1);
    color: #d4a574;
    transform: translateX(5px);
}

.dropdown-content a.logout-link {
    color: #dc3545;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: none;
}

.dropdown-content a.logout-link:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #c82333;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0,0,0,0.1);
    margin: 5px 0;
}

/* =========================
   Welcome Message
========================= */
.welcome-message {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 8px 25px rgba(195, 230, 203, 0.3);
    z-index: 1002;
    max-width: 350px;
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #155724;
    font-size: 1.4rem;
}

.message-content i {
    color: #28a745;
    font-size: 1.6rem;
}

.close-message {
    background: none;
    border: none;
    color: #155724;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    font-size: 1.4rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close-message:hover {
    opacity: 1;
}

/* =========================
   Home Section
========================= */
.home {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow: hidden;
}

.home-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.home::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0);
}

.home .content {
    position: relative;
    z-index: 1;
}

.home .content h3 {
    font-size: 6rem;
    color: var(--bg-color);
    margin-bottom: 1rem;
}

.home .content p {
    font-size: 2rem;
    color: #ffffff;
    margin: 1rem 0 2rem 0;
}

.home-arrow {
    margin-top: 0rem;
}

.arrow-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dbfed7 0%, #92a98f 50%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.arrow-btn i {
    font-size: 2.5rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.arrow-btn:hover {
    background: linear-gradient(135deg, #dbfed7 0%, #92a98f 50%);
    transform: scale(1.1);
}
.arrow-btn:hover i {
    transform: translateY(0px);
}

/* =========================
   Details Section
========================= */
.details .row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
}

.details .row .content {
    flex: 1 1 40rem;
    padding: 2rem;
}

.details .row .content .subtitle {
    font-size: 1.8rem;
    line-height: 2;
    color: var(--text-color);
    padding: 1rem 0;
    text-align: center;
}

/* =========================
   Services Section - Peek Slider
========================= */
.services {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 9%;
    position: relative;
}

.services .subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.peek-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 2rem 0;
}

.peek-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.peek-slider::-webkit-scrollbar {
    display: none;
}

.peek-slide {
    position: relative;
    min-width: 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.peek-slide:hover {
    transform: translateY(-10px);
}

.peek-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.peek-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 2rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.peek-slide:hover .peek-overlay {
    transform: translateY(-10px);
}

.peek-overlay h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.peek-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 1.4rem;
}

.peek-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.peek-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.peek-btn.prev {
    left: 10px;
}

.peek-btn.next {
    right: 10px;
}

.book-service-btn {
    display: block;
    margin: 0 auto;
    background: linear-gradient(135deg, #92a98f 0%, #7f9a7c 100%);
    color: white;
    border: none;
    padding: 1.5rem 4rem;
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(146, 169, 143, 0.3);
}

.book-service-btn:hover {
    background: linear-gradient(135deg, #7f9a7c 0%, #6d8869 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(146, 169, 143, 0.4);
}

/* =========================
   About Section
========================= */
.about .row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
}

.about .row .content {
    flex: 1 1 100%;
    padding: 2rem;
}

.about .row .content p {
    font-size: 1.7rem;
    line-height: 2;
    color: var(--text-color);
    padding: 1rem 0;
    text-align: justify;
}

/* =========================
   Contact Section
========================= */
.contact {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 5rem 9%;
}

.contact .heading {
    font-size: 4rem;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fafafa;
    color: #333;
    text-transform: none;
}

.form-input:focus {
    outline: none;
    border-color: #92a98f;
    background: white;
    box-shadow: 0 0 0 3px rgba(146, 169, 143, 0.1);
}

.form-input::placeholder {
    color: #999;
    font-style: italic;
    text-transform: none;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
    max-height: 200px;
    text-transform: none;
}

.submit-btn {
    background: linear-gradient(135deg, #dbfed7 0%, #92a98f 50%);
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(146, 169, 143, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    width: 100%;
    text-transform: capitalize;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #c8e6c3 0%, #7f9a7c 50%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(146, 169, 143, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 1.4rem;
}

/* =========================
   Footer
========================= */
.footer {
    background: var(--section-alt);
}

.footer .box-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .box-container .logo {
    width: 50%;
    height: 50%;
    margin: 2rem auto;
    text-align: center; 
}

.footer .credit {
    text-align: center;
    padding: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 2.5rem;
    font-size: 2rem;
    color: var(--main-color);
    border-top: var(--main-color);
}

.footer .credit span {
    color: var(--main-color);
}

/* =========================
   Appointments Page
========================= */
.appointments-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #92a98f 0%, #7f9a7c 100%);
    padding: 2rem 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.appointments-header .appointments-title {
    font-size: 3.2rem;
    color: white;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.appointments-main {
    margin-top: 120px;
    padding: 4rem 5%;
    min-height: calc(100vh - 120px);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.appointments-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(146, 169, 143, 0.1);
}

.no-appointments {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.no-appointments-content {
    text-align: center;
    max-width: 500px;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 2px dashed #dee2e6;
}

.no-appointments-content i {
    font-size: 8rem;
    color: #92a98f;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.no-appointments-content p {
    font-size: 1.8rem;
    color: #6c757d;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.appointments-table-container {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.appointments-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.appointments-table th {
    background: linear-gradient(135deg, #92a98f 0%, #7f9a7c 100%);
    padding: 2rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.6rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.appointments-table td {
    padding: 2rem 1.5rem;
    font-size: 1.5rem;
    color: #333;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

.appointment-row {
    transition: all 0.3s ease;
}

.appointment-row:nth-child(even) {
    background-color: #fafbfc;
}

.appointment-row:hover {
    background: linear-gradient(135deg, rgba(146, 169, 143, 0.05) 0%, rgba(127, 154, 124, 0.05) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.appointment-row:last-child td {
    border-bottom: none;
}

.appointment-date {
    font-weight: 600;
    color: #495057;
    font-size: 1.6rem;
}

.appointment-time {
    color: #6c757d;
    font-weight: 500;
    font-size: 1.5rem;
}

.appointment-service {
    font-weight: 600;
    color: #333;
    font-size: 1.6rem;
}

.appointment-room {
    color: #6c757d;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 20px;
    display: inline-block;
}

.appointment-price {
    font-weight: 700;
    color: #92a98f;
    font-size: 1.7rem;
}

.appointment-reference {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    color: #6c757d;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid #dee2e6;
    font-weight: 600;
}

.appointments-actions {
    text-align: center;
    padding-top: 3rem;
    border-top: 2px solid #f1f3f4;
}

.book-new-appointment-btn {
    background: linear-gradient(135deg, #92a98f 0%, #7f9a7c 100%);
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.7rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(146, 169, 143, 0.3);
}

.book-new-appointment-btn:hover {
    background: linear-gradient(135deg, #7f9a7c 0%, #6d8869 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(146, 169, 143, 0.4);
}

.book-new-appointment-btn i {
    font-size: 1.5rem;
}

/* =========================
   MOBILE RESPONSIVE DESIGN
========================= */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    html {
        font-size: 55%;
    }

    section {
        padding: 2rem 5%;
    }

    /* Header Mobile */
    header {
        padding: 1.5rem 4%;
    }

    header .logo img {
        height: 50px;
    }

    #menu-btn {
        display: block;
    }

    header .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(146, 169, 143, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease;
        padding: 2rem;
    }

    header .navbar.active {
        right: 0;
    }

    header .navbar .nav-links {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        text-align: center;
    }

    header .navbar .nav-links a {
        font-size: 2.5rem;
        padding: 1.5rem;
        display: block;
        width: 100%;
    }

    header .navbar .login-btn {
        margin-top: 2rem;
        font-size: 2rem;
        padding: 1.2rem 4rem;
    }

    .user-btn {
        font-size: 1.8rem;
        padding: 1rem 2.5rem;
    }

    /* Home Section Mobile */
    .home .content h3 {
        font-size: 4rem;
    }

    .home .content p {
        font-size: 1.8rem;
    }

    .arrow-btn {
        width: 50px;
        height: 50px;
    }

    .arrow-btn i {
        font-size: 2rem;
    }

    /* Welcome Message Mobile */
    .welcome-message {
        top: 80px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }

    .message-content {
        font-size: 1.3rem;
    }

    /* Details Section Mobile */
    .details .row .content .subtitle {
        font-size: 1.6rem;
        text-align: left;
    }

    /* Services Section Mobile */
    .services {
        padding: 4rem 5%;
    }

    .services .subtitle {
        font-size: 1.6rem;
        margin-bottom: 3rem;
    }

    .peek-slider-container {
        padding: 1rem 0;
    }

    .peek-slider {
        padding: 1rem 4rem;
    }

    .peek-slide {
        min-width: 250px;
        height: 350px;
    }

    .peek-overlay h3 {
        font-size: 1.8rem;
    }

    .peek-overlay p {
        font-size: 1.3rem;
    }

    .peek-btn {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }

    .book-service-btn {
        padding: 1.3rem 3rem;
        font-size: 1.6rem;
    }

    /* About Section Mobile */
    .about .row .content p {
        font-size: 1.6rem;
        text-align: left;
    }

    /* Contact Section Mobile */
    .contact {
        padding: 4rem 5%;
    }

    .contact .heading {
        font-size: 3rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-group label {
        font-size: 1.5rem;
    }

    .form-input {
        padding: 1rem 1.2rem;
        font-size: 1.4rem;
    }

    .submit-btn {
        padding: 1.3rem 2rem;
        font-size: 1.5rem;
    }

    /* Footer Mobile */
    .footer .box-container .logo {
        width: 70%;
    }

    .footer .credit {
        font-size: 1.6rem;
    }

    /* Appointments Page Mobile */
    .appointments-header {
        padding: 1.5rem 4%;
    }

    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .back-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1.4rem;
    }

    .appointments-header .appointments-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .appointments-main {
        margin-top: 140px;
        padding: 2rem 4%;
    }

    .appointments-container {
        padding: 2rem;
    }

    /* Make table scrollable on mobile */
    .appointments-table-container {
        overflow-x: auto;
    }

    .appointments-table {
        min-width: 600px;
    }

    .appointments-table th,
    .appointments-table td {
        padding: 1.5rem 1rem;
        font-size: 1.4rem;
    }

    .no-appointments-content {
        padding: 2rem;
    }

    .no-appointments-content i {
        font-size: 6rem;
    }

    .no-appointments-content p {
        font-size: 1.6rem;
    }

    .book-new-appointment-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.5rem;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    html {
        font-size: 50%;
    }

    section {
        padding: 2rem 3%;
    }

    /* Header Ultra Mobile */
    header {
        padding: 1rem 3%;
    }

    header .logo img {
        height: 40px;
    }

    #menu-btn {
        font-size: 2rem;
    }

    header .navbar .nav-links a {
        font-size: 2rem;
        padding: 1rem;
    }

    header .navbar .login-btn {
        font-size: 1.8rem;
        padding: 1rem 3rem;
    }

    /* Home Section Ultra Mobile */
    .home .content h3 {
        font-size: 3rem;
    }

    .home .content p {
        font-size: 1.6rem;
    }

    .arrow-btn {
        width: 45px;
        height: 45px;
    }

    .arrow-btn i {
        font-size: 1.8rem;
    }

    /* Services Section Ultra Mobile */
    .services {
        padding: 3rem 3%;
    }

    .services .subtitle {
        font-size: 1.5rem;
    }

    .peek-slider {
        padding: 1rem 3.5rem;
    }

    .peek-slide {
        min-width: 220px;
        height: 320px;
    }

    .peek-overlay {
        padding: 1.5rem;
    }

    .peek-overlay h3 {
        font-size: 1.6rem;
    }

    .peek-overlay p {
        font-size: 1.2rem;
    }

    .peek-btn {
        width: 35px;
        height: 35px;
        font-size: 1.4rem;
    }

    .peek-btn.prev {
        left: 5px;
    }

    .peek-btn.next {
        right: 5px;
    }

    .book-service-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.5rem;
    }

    /* Contact Section Ultra Mobile */
    .contact {
        padding: 3rem 3%;
    }

    .contact .heading {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group {
        margin-bottom: 2rem;
    }

    .form-group label {
        font-size: 1.4rem;
    }

    .form-input {
        padding: 0.9rem 1rem;
        font-size: 1.3rem;
    }

    textarea.form-input {
        min-height: 100px;
    }

    .submit-btn {
        padding: 1.2rem 1.8rem;
        font-size: 1.4rem;
    }

    /* Dropdown Mobile */
    .dropdown-content {
        min-width: 200px;
        right: -20px;
    }

    .dropdown-content a {
        padding: 10px 15px;
        font-size: 1.3rem;
    }

    /* Footer Ultra Mobile */
    .footer .box-container .logo {
        width: 85%;
    }

    .footer .credit {
        font-size: 1.4rem;
        padding: 1rem;
    }

    /* Appointments Ultra Mobile */
    .appointments-main {
        margin-top: 160px;
        padding: 1.5rem 3%;
    }

    .appointments-container {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .appointments-table th,
    .appointments-table td {
        padding: 1.2rem 0.8rem;
        font-size: 1.3rem;
    }

    .no-appointments-content i {
        font-size: 5rem;
    }

    .no-appointments-content p {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .book-new-appointment-btn {
        padding: 1rem 2rem;
        font-size: 1.4rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .home {
        min-height: 70vh;
    }

    .home .content h3 {
        font-size: 3.5rem;
    }

    .home .content p {
        font-size: 1.6rem;
    }

    header .navbar {
        height: 100vh;
        overflow-y: auto;
    }
}