﻿/* =====================================
   GLOBAL
===================================== */

:root {
    --primary: #a65f43;
    --primary-dark: #80452f;
    --dark: #26343b;
    --text: #626b70;
    --light: #faf7f1;
    --white: #ffffff;
    --border: #e9e5df;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none !important;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1200px, 90%);
    margin: 0 auto;
}


/* =====================================
   HEADER
===================================== */

/*.site-header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    background: var(--white);
    box-shadow: 0 3px 15px rgba(38, 52, 59, 0.07);
}

.header-top {
    width: 100%;
    padding: 10px 0;
    background: var(--dark);
}

.top-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.contact-list,
.social-icon-one {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-top a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    transition: 0.3s;
}

    .header-top a:hover {
        color: #e3b08d;
    }

.header-top i {
    font-size: 14px;
}

.social-icon-one {
    gap: 17px;
}

    .social-icon-one a {
        justify-content: center;
        width: 25px;
        height: 25px;
        border-radius: 50%;
    }

        .social-icon-one a:hover {
            color: #e3b08d;
            transform: translateY(-2px);
        }*/


/* NAVBAR */

/*.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

    .logo img {
        width: 72px;
        height: 72px;
        object-fit: contain;
    }

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

    .nav-links > a,
    .nav-links .dropdown-toggle {
        color: var(--dark);
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        transition: 0.3s;
    }

        .nav-links > a:hover,
        .nav-links > a.active,
        .nav-links .dropdown-toggle:hover {
            color: var(--primary);
        }

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    padding: 10px 0;
    background: transparent;
    border: none;
}

    .dropdown-toggle::after {
        margin-left: 8px;
    }

.dropdown-menu {
    min-width: 190px;
    padding: 8px 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}

.dropdown-item {
    padding: 10px 18px;
    color: var(--dark);
    font-size: 13px;
    transition: 0.3s;
}

    .dropdown-item:hover {
        color: var(--primary);
        background: var(--light);
    }*/


/* HEADER APPOINTMENT BUTTON */

/*.Appointment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 19px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    background: var(--primary);
    color: var(--white) !important;
    font-size: 12px !important;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(166, 95, 67, 0.18);
    transition: all 0.3s ease;
}

    .Appointment-button:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        color: var(--white) !important;
        transform: translateY(-2px);
    }

    .Appointment-button i {
        font-size: 13px;
    }*/


/* MOBILE MENU BUTTON */

/*.menu-button {
    display: none;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 21px;
    cursor: pointer;
}*/


/* =====================================
   HERO SECTION
===================================== */

/* =====================================
   TEAM HERO SECTION
===================================== */

.team-hero {
    padding: 75px 0;
    text-align: center;
    background: linear-gradient( 135deg, #f5e9de, #faf7f1, #f0e4d8 );
}

    .team-hero .hero-content {
        width: min(1200px, calc(100% - 40px));
        margin: 0 auto;
    }

    .team-hero .eyebrow {
        margin-bottom: 12px;
        color: var(--primary);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .team-hero h1 {
        margin-bottom: 18px;
        color: var(--dark);
        font-family: "Playfair Display", serif;
        font-size: clamp(32px, 4vw, 46px);
        font-weight: 600;
        line-height: 1.2;
    }

    /* BREADCRUMB */

    .team-hero .breadcrumb {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 0;
        padding: 0;
        background: transparent;
        font-size: 14px;
    }

        .team-hero .breadcrumb a {
            color: var(--primary);
        }

        .team-hero .breadcrumb i {
            color: #999;
            font-size: 11px;
        }

        .team-hero .breadcrumb span {
            color: var(--text);
        }

/* MOBILE RESPONSIVE */

@media (max-width: 576px) {

    .team-hero {
        padding: 48px 0;
    }

        .team-hero .hero-content {
            width: calc(100% - 30px);
        }

        .team-hero h1 {
            font-size: clamp(27px, 7vw, 34px);
            line-height: 1.25;
            margin-bottom: 13px;
        }

        .team-hero .eyebrow {
            font-size: 10px;
            letter-spacing: 1.8px;
        }

        .team-hero .breadcrumb {
            gap: 8px;
            font-size: 12px;
        }
}

/* =====================================
   TEAM SECTION
===================================== */

.team-section {
    padding: 85px 0;
    background: var(--white);
}

.section-heading {
    max-width: 750px;
    margin: 0 auto 40px;
    text-align: center;
}

    .section-heading h2 {
        margin-bottom: 15px;
        color: var(--dark);
        font-family: 'Playfair Display', serif;
        font-size: clamp(28px, 3vw, 38px);
        font-weight: 700;
        line-height: 1.3;
    }

    .section-heading > p:last-child {
        margin: 0 auto;
        color: var(--text);
        font-size: 14px;
        line-height: 1.9;
    }


/* =====================================
   SEARCH AND FILTER
===================================== */

.filter-box {
    margin-bottom: 38px;
    padding: 25px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(38, 52, 59, 0.04);
}

    .filter-box label {
        display: block;
        margin-bottom: 8px;
        color: var(--dark);
        font-size: 13px;
        font-weight: 700;
    }

    .filter-box .form-control,
    .filter-box .form-select {
        min-height: 45px;
        border: 1px solid #ded8d0;
        border-radius: 6px;
        color: var(--dark);
        font-size: 13px;
        box-shadow: none;
    }

        .filter-box .form-control:focus,
        .filter-box .form-select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(166, 95, 67, 0.10);
        }


/* =====================================
   PROFESSIONAL CARD
===================================== */

.team-member {
    display: flex;
}

.team-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 7px 24px rgba(38, 52, 59, 0.06);
    transition: all 0.35s ease;
}

    .team-card:hover {
        transform: translateY(-7px);
        border-color: rgba(166, 95, 67, 0.35);
        box-shadow: 0 16px 35px rgba(38, 52, 59, 0.13);
    }


/* CARD IMAGE */

.team-image {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #f3eee8;
}

    .team-image::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 65px;
        background: linear-gradient(transparent, rgba(38, 52, 59, 0.12));
        pointer-events: none;
    }

    .team-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        transition: transform 0.5s ease;
    }

.team-card:hover .team-image img {
    transform: scale(1.06);
}


/* CARD CONTENT */

.team-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 17px 18px;
}

    .team-info h3 {
        min-height: 48px;
        margin-bottom: 5px;
        color: var(--dark);
        font-family: 'Playfair Display', serif;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.35;
    }

.team-designation {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.team-info > p {
    min-height: 75px;
    margin-bottom: 15px;
    color: var(--text);
    font-size: 12px;
    line-height: 1.8;
}


/* CARD TAGS */

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.team-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 30px;
    background: #f7eee8;
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 700;
}


/* =====================================
   CARD BUTTONS - SAME LINE
===================================== */

.team-actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-top: auto;
}

    .team-actions button {
        display: inline-flex;
        flex: 1 1 0;
        min-width: 0;
        min-height: 43px;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 9px 7px;
        border: 1px solid var(--primary);
        border-radius: 6px;
        font-size: 10px;
        font-weight: 700;
        line-height: 1.3;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .team-actions button i {
            flex-shrink: 0;
            font-size: 12px;
        }

.view-profile {
    background: var(--white);
    color: var(--primary);
}

    .view-profile:hover {
        background: var(--primary);
        color: var(--white);
        transform: translateY(-2px);
    }

.book-appointment-btn {
    background: var(--primary);
    color: var(--white);
}

    .book-appointment-btn:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        color: var(--white);
        transform: translateY(-2px);
    }


/* NO RESULTS */

.no-results {
    display: none;
    padding: 50px 20px;
    text-align: center;
    color: var(--text);
}

    .no-results i {
        color: var(--primary);
    }

    .no-results h4 {
        margin-bottom: 8px;
        color: var(--dark);
        font-family: 'Playfair Display', serif;
    }


/* =====================================
   QUERY SECTION
===================================== */

.query-section {
    position: relative;
    overflow: hidden;
    padding: 55px 0;
    background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.09), transparent 28%), var(--dark);
    color: var(--white);
}

.query-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.query-content {
    max-width: 620px;
}

.query-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #e3b08d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.query-content h2 {
    margin-bottom: 12px;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
}

.query-content p {
    max-width: 600px;
    margin-bottom: 0;
    color: #d5dcdf;
    font-size: 13px;
    line-height: 1.9;
}


/* QUERY BUTTONS - SAME LINE */

.query-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 10px;
    flex-shrink: 0;
}

    .query-actions a,
    .query-actions button {
        display: inline-flex;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 11px 15px;
        border: 1px solid var(--primary);
        border-radius: 6px;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
        cursor: pointer;
        transition: all 0.3s ease;
    }

.query-call-btn {
    background: var(--primary-dark);
    color: var(--white);
}

    .query-call-btn:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-2px);
    }

.query-email-btn {
    background: transparent;
    color: var(--white);
}

    .query-email-btn:hover {
        background: var(--white);
        border-color: var(--white);
        color: var(--dark);
    }

.query-enquiry-btn {
    background: var(--primary);
    color: var(--white);
}

    .query-enquiry-btn:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-2px);
    }


/* =====================================
   FOOTER
===================================== */

.site-footer {
    width: 100%;
    background: #1e292e;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 50px;
}

.footer-about {
    padding-right: 10px;
}

.footer-logo img {
    width: 150px;
    max-height: 75px;
    object-fit: contain;
    margin-bottom: 18px;
}

.footer-about p {
    max-width: 320px;
    color: #cbd2d5;
    font-size: 13px;
    line-height: 1.9;
}

.footer-grid h3 {
    margin-bottom: 22px;
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
}

.footer-links {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

    .footer-links a {
        color: #cbd2d5;
        font-size: 13px;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: #e3b08d;
        }

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

    .footer-social a {
        display: flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.10);
        color: var(--white);
        transition: all 0.3s ease;
    }

        .footer-social a:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }

.footer-bottom {
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

    .footer-bottom p {
        margin: 0;
        color: #cbd2d5;
        font-size: 12px;
    }


/* =====================================
   MODALS - COMMON DESIGN
===================================== */

.custom-modal {
    overflow: hidden;
    border: none;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);
}

.custom-modal-header {
    padding: 22px 25px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
}

    .custom-modal-header .modal-title {
        color: var(--white);
        font-size: 20px;
        font-weight: 700;
    }

    .custom-modal-header .btn-close {
        filter: brightness(0) invert(1);
        opacity: 1;
    }

.custom-modal-body {
    padding: 26px;
    background: var(--white);
}

.modal-intro {
    margin-bottom: 22px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.8;
}

.custom-modal-body .form-label {
    margin-bottom: 7px;
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
}

.custom-modal-body .form-control,
.custom-modal-body .form-select {
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background-color: #fcfbf9;
    color: var(--dark);
    font-size: 13px;
    box-shadow: none;
}

.custom-modal-body textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.custom-modal-body .form-control:focus,
.custom-modal-body .form-select:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(166, 95, 67, 0.12);
}

.custom-modal-body .form-control::placeholder {
    color: #a3a8aa;
    font-size: 12px;
}


/* MODAL SUBMIT BUTTON */

.modal-submit-btn {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .modal-submit-btn:hover {
        background: var(--dark);
        transform: translateY(-2px);
    }


/* PROFILE MODAL */

.profile-icon {
    display: flex;
    width: 65px;
    height: 65px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #f7eee8;
    color: var(--primary);
    font-size: 27px;
}

.custom-modal-body #profileName {
    margin-bottom: 5px;
    color: var(--dark);
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
}

.profile-designation {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.custom-modal-body h6 {
    margin-top: 18px;
    margin-bottom: 7px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
}

    .custom-modal-body h6 i {
        color: var(--primary);
    }

.custom-modal-body #profileDescription,
.custom-modal-body #profileQualification,
.custom-modal-body #profileLanguage {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.8;
}

.custom-modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

.modal-secondary-btn,
.modal-query-btn,
.modal-primary-btn {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid var(--primary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.modal-secondary-btn {
    background: var(--white);
    color: var(--dark);
    border-color: var(--border);
}

    .modal-secondary-btn:hover {
        background: var(--light);
    }

.modal-query-btn {
    background: var(--white);
    color: var(--primary);
}

    .modal-query-btn:hover {
        background: var(--primary);
        color: var(--white);
    }

.modal-primary-btn {
    background: var(--primary);
    color: var(--white);
}

    .modal-primary-btn:hover {
        background: var(--primary-dark);
        color: var(--white);
    }


/* =====================================
   WHATSAPP FLOATING BUTTON
===================================== */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1040;
    display: flex;
    width: 55px;
    height: 55px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    font-size: 29px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.20);
    transition: transform 0.3s ease;
}

    .whatsapp-float:hover {
        color: var(--white);
        transform: scale(1.08);
    }


/* =====================================
   RESPONSIVE - TABLET
===================================== */

@media (max-width: 1100px) {

    .nav-links {
        gap: 13px;
    }

        .nav-links > a,
        .nav-links .dropdown-toggle {
            font-size: 12px;
        }

    .Appointment-button {
        padding: 10px 13px;
        font-size: 11px !important;
    }

    .query-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .query-actions {
        justify-content: flex-start;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =====================================
   RESPONSIVE - MOBILE NAVIGATION
===================================== */

@media (max-width: 991px) {

    .navbar {
        min-height: 72px;
    }

    .logo img {
        width: 62px;
        height: 62px;
    }

    .menu-button {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        padding: 12px 5% 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        box-shadow: 0 12px 22px rgba(0, 0, 0, 0.10);
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links > a,
        .nav-links .dropdown-toggle {
            display: flex;
            width: 100%;
            align-items: center;
            justify-content: space-between;
            padding: 13px 0;
            border-bottom: 1px solid var(--border);
            font-size: 14px;
        }

        .nav-links .Appointment-button {
            justify-content: center;
            margin-top: 14px;
            padding: 13px;
            border: none;
            border-radius: 6px;
        }

        .nav-links .dropdown {
            width: 100%;
        }

        .nav-links .dropdown-menu {
            position: static !important;
            width: 100%;
            margin: 0;
            padding: 5px 12px;
            border: none;
            border-radius: 0;
            background: var(--light);
            box-shadow: none;
        }

    .team-section {
        padding: 65px 0;
    }

    .team-image {
        height: 260px;
    }

    .query-inner {
        gap: 25px;
    }
}


/* =====================================
   RESPONSIVE - SMALL TABLET
===================================== */

@media (max-width: 767px) {

    .team-hero {
        padding: 65px 0 55px;
    }

    .team-section {
        padding: 55px 0;
    }

    .filter-box {
        padding: 20px;
    }

    .team-image {
        height: 280px;
    }

    .team-info {
        padding: 20px;
    }

        .team-info h3 {
            min-height: auto;
        }

        .team-info > p {
            min-height: auto;
        }

    .query-section {
        padding: 45px 0;
    }

    .query-actions {
        width: 100%;
        flex-wrap: wrap;
    }

        .query-actions a,
        .query-actions button {
            flex: 1 1 0;
        }
}


/* =====================================
   RESPONSIVE - MOBILE
===================================== */

@media (max-width: 576px) {

    .container {
        width: 92%;
    }

    .header-top {
        padding: 9px 0;
    }

    .top-header-inner {
        flex-direction: column;
        gap: 8px;
    }

    .contact-list {
        justify-content: center;
        gap: 8px 15px;
    }

        .contact-list a {
            font-size: 11px;
        }

    .social-icon-one {
        gap: 16px;
    }

    .team-hero {
        padding: 48px 0;
    }

        .team-hero h1 {
            font-size: 30px;
        }

        .team-hero .hero-content > p:not(.eyebrow) {
            font-size: 13px;
        }

    .team-section {
        padding: 48px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

        .section-heading h2 {
            font-size: 27px;
        }

        .section-heading > p:last-child {
            font-size: 13px;
        }

    .filter-box {
        padding: 17px;
        margin-bottom: 28px;
    }

    .team-image {
        height: 270px;
    }

    .team-info {
        padding: 20px 17px;
    }

        .team-info h3 {
            font-size: 19px;
        }

    /* Buttons stay on the same line on mobile too */
    .team-actions {
        gap: 7px;
    }

        .team-actions button {
            min-height: 42px;
            padding: 8px 5px;
            font-size: 10px;
        }

            .team-actions button i {
                font-size: 11px;
            }

    .query-section {
        padding: 40px 0;
    }

    .query-content h2 {
        font-size: 27px;
    }

    .query-content p {
        font-size: 12px;
    }

    /* Query buttons can wrap on very small screens */
    .query-actions {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

        .query-actions a,
        .query-actions button {
            width: 100%;
            min-height: 44px;
            padding: 10px 8px;
            font-size: 11px;
        }

    .query-enquiry-btn {
        grid-column: 1 / -1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 42px;
        padding-bottom: 35px;
    }

    .footer-about {
        padding-right: 0;
    }

    .custom-modal-header {
        padding: 19px 20px;
    }

        .custom-modal-header .modal-title {
            font-size: 18px;
        }

    .custom-modal-body {
        padding: 22px 20px;
    }

    .custom-modal-footer {
        padding: 14px 18px;
    }

    .modal-secondary-btn,
    .modal-query-btn,
    .modal-primary-btn {
        font-size: 11px;
        padding: 8px 10px;
    }

    .whatsapp-float {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}


/* =====================================
   VERY SMALL MOBILE
===================================== */

@media (max-width: 380px) {

    .team-actions {
        gap: 5px;
    }

        .team-actions button {
            gap: 4px;
            padding: 7px 4px;
            font-size: 9px;
        }

            .team-actions button i {
                font-size: 10px;
            }

    .contact-list {
        flex-direction: column;
        gap: 5px;
    }
}





















/* =====================================
   FINAL RESPONSIVE FIX - ALL DEVICES
===================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.navbar {
    position: relative;
    width: 100%;
}

@media (max-width: 991px) {
    .navbar {
        min-height: 68px;
        flex-wrap: nowrap;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1100;
        width: 100%;
        max-height: calc(100dvh - 75px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

        .nav-links.open {
            display: flex !important;
        }

        .nav-links .Appointment-button {
            display: flex !important;
            width: 100%;
            min-height: 46px;
            align-items: center;
            justify-content: center;
            margin: 14px 0 5px;
            visibility: visible;
            opacity: 1;
        }

    .menu-button {
        display: inline-flex !important;
        flex-shrink: 0;
    }
}

/* Team cards */
.team-member {
    min-width: 0;
}

.team-card {
    min-width: 0;
}

.team-actions {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

    .team-actions button {
        flex: 1 1 0;
        min-width: 0;
        white-space: normal;
    }

/* Query section */
.query-inner {
    flex-wrap: wrap;
}

.query-actions {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
}

    .query-actions a,
    .query-actions button {
        min-width: 0;
    }

/* Appointment / Profile / Enquiry modals */
.modal {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-dialog {
    width: calc(100% - 30px);
    max-width: 600px;
    margin: 15px auto;
}

.modal-dialog-centered {
    min-height: calc(100% - 30px);
}

.modal-content {
    max-height: calc(100dvh - 30px);
    overflow: hidden;
}

.modal-body,
.custom-modal-body {
    max-height: calc(100dvh - 160px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-footer,
.custom-modal-footer {
    flex-wrap: wrap;
}

/* Tablet */
@media (max-width: 767px) {
    .top-header-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .contact-list {
        justify-content: center;
    }

    .team-section {
        padding: 50px 0;
    }

    .query-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .query-actions {
        width: 100%;
    }

        .query-actions a,
        .query-actions button {
            flex: 1 1 140px;
        }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 576px) {
    .container {
        width: 92%;
    }

    .header-top {
        padding: 8px 0;
    }

    .top-header-inner {
        flex-direction: column;
        gap: 7px;
    }

    .contact-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px 12px;
    }

        .contact-list a {
            font-size: 10px;
        }

    .social-icon-one {
        justify-content: center;
    }

    .logo img {
        width: 55px;
        height: 55px;
    }

    .menu-button {
        width: 40px;
        height: 40px;
    }

    .team-hero {
        padding: 42px 0;
    }

    .team-section {
        padding: 40px 0;
    }

    .filter-box {
        padding: 15px;
    }

    .team-image {
        height: 250px;
    }

    .team-info {
        padding: 17px 14px;
    }

    .team-actions {
        gap: 6px;
    }

        .team-actions button {
            min-height: 42px;
            padding: 7px 4px;
            font-size: 10px;
        }

    .query-section {
        padding: 35px 0;
    }

    .query-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

        .query-actions a,
        .query-actions button {
            width: 100%;
            min-height: 44px;
            padding: 9px 5px;
            font-size: 11px;
        }

    .query-enquiry-btn {
        grid-column: 1 / -1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Mobile modal */
    .modal-dialog {
        width: calc(100% - 20px);
        margin: 10px auto;
    }

    .modal-dialog-centered {
        min-height: calc(100% - 20px);
    }

    .modal-content {
        max-height: calc(100dvh - 20px);
        border-radius: 10px;
    }

    .modal-body,
    .custom-modal-body {
        max-height: calc(100dvh - 145px);
        padding: 18px 15px;
        overflow-y: auto;
    }

    .custom-modal-header {
        padding: 15px;
    }

    .custom-modal-footer {
        padding: 12px 15px;
    }
}

/* iPhone SE and very small screens */
@media (max-width: 380px) {
    .container {
        width: 94%;
    }

    .team-image {
        height: 220px;
    }

    .team-info {
        padding: 14px 10px;
    }

        .team-info h3 {
            font-size: 17px;
        }

    .team-actions {
        gap: 5px;
    }

        .team-actions button {
            font-size: 9px;
            padding: 7px 3px;
        }

            .team-actions button i {
                font-size: 10px;
            }

    .modal-dialog {
        width: calc(100% - 12px);
        margin: 6px auto;
    }

    .modal-content {
        max-height: calc(100dvh - 12px);
    }

    .modal-body,
    .custom-modal-body {
        max-height: calc(100dvh - 130px);
        padding: 15px 12px;
    }
}




/* CLEAR FILTER BUTTON */
.clear-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

    .clear-filter-btn:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        color: #fff;
    }

@media (max-width: 576px) {
    .clear-filter-btn {
        width: 100%;
        min-height: 44px;
    }
}


/* =========================================
   ASROY - PROFESSIONAL APPOINTMENT MODAL
========================================= */

/* Modal Background */
#appointmentModal {
    padding: 0 !important;
    overflow-y: auto;
}

    /* Modal Dialog */
    #appointmentModal .modal-dialog {
        width: calc(100% - 30px);
        max-width: 560px;
        margin: 20px auto;
    }

    #appointmentModal .modal-dialog-centered {
        min-height: calc(100% - 40px);
    }

    /* Modal Content */
    #appointmentModal .custom-modal {
        position: relative;
        overflow: hidden;
        border: none;
        border-radius: 16px;
        background: var(--white);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    }

    /* Modal Header */
    #appointmentModal .custom-modal-header {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 24px 28px;
        border: none;
        background: linear-gradient( 135deg, var(--primary), var(--primary-dark) );
    }

        /* Header Decorative Line */
        #appointmentModal .custom-modal-header::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 28px;
            width: 55px;
            height: 3px;
            border-radius: 5px;
            background: rgba(255, 255, 255, 0.65);
        }

    #appointmentModal .modal-title {
        margin: 0;
        color: var(--white);
        font-family: 'Playfair Display', serif;
        font-size: 22px;
        font-weight: 700;
    }

    /* Close Button */
    #appointmentModal .btn-close {
        width: 32px;
        height: 32px;
        padding: 8px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.18);
        filter: brightness(0) invert(1);
        opacity: 1;
        transition: all 0.3s ease;
    }

        #appointmentModal .btn-close:hover {
            background-color: rgba(255, 255, 255, 0.35);
            transform: rotate(90deg);
        }

    /* Modal Body */
    #appointmentModal .custom-modal-body {
        padding: 28px;
        background: var(--white);
        overflow-y: auto;
    }

    /* Intro Text */
    #appointmentModal .modal-intro {
        position: relative;
        margin-bottom: 24px;
        padding: 13px 15px;
        border-left: 3px solid var(--primary);
        border-radius: 5px;
        background: var(--light);
        color: var(--text);
        font-size: 13px;
        line-height: 1.8;
    }

    /* Form Groups */
    #appointmentModal #appointmentForm .mb-3 {
        margin-bottom: 19px !important;
    }

    /* Labels */
    #appointmentModal .form-label {
        display: block;
        margin-bottom: 8px;
        color: var(--dark);
        font-size: 12px;
        font-weight: 700;
    }

    /* Input and Select */
    #appointmentModal .form-control,
    #appointmentModal .form-select {
        width: 100%;
        min-height: 47px;
        padding: 11px 14px;
        border: 1px solid var(--border);
        border-radius: 7px;
        background-color: #fcfbf9;
        color: var(--dark);
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        box-shadow: none;
        transition: all 0.3s ease;
    }

    /* Textarea */
    #appointmentModal textarea.form-control {
        min-height: 105px;
        resize: vertical;
    }

    /* Placeholder */
    #appointmentModal .form-control::placeholder {
        color: #a3a8aa;
        font-size: 12px;
    }

    /* Input Focus */
    #appointmentModal .form-control:focus,
    #appointmentModal .form-select:focus {
        border-color: var(--primary);
        background-color: var(--white);
        box-shadow: 0 0 0 3px rgba(166, 95, 67, 0.12);
        outline: none;
    }

    /* Select Dropdown */
    #appointmentModal .form-select {
        cursor: pointer;
    }

    /* Date Input */
    #appointmentModal input[type="date"] {
        cursor: pointer;
    }

    /* Submit Button */
    #appointmentModal .modal-submit-btn {
        display: flex;
        width: 100%;
        min-height: 49px;
        align-items: center;
        justify-content: center;
        gap: 11px;
        margin-top: 8px;
        padding: 13px 20px;
        border: 1px solid var(--primary);
        border-radius: 7px;
        background: linear-gradient( 135deg, var(--primary), var(--primary-dark) );
        color: var(--white);
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 6px 16px rgba(166, 95, 67, 0.18);
        transition: all 0.3s ease;
    }

        #appointmentModal .modal-submit-btn i {
            font-size: 13px;
            transition: transform 0.3s ease;
        }

        #appointmentModal .modal-submit-btn:hover {
            background: var(--dark);
            border-color: var(--dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(38, 52, 59, 0.18);
        }

            #appointmentModal .modal-submit-btn:hover i {
                transform: translateX(5px);
            }

    /* Success Message */
    #appointmentModal #appointmentSuccess {
        margin-top: 18px;
        margin-bottom: 0;
        border-radius: 7px;
        font-size: 12px;
        line-height: 1.7;
    }

    /* Scrollbar */
    #appointmentModal .modal-body::-webkit-scrollbar {
        width: 5px;
    }

    #appointmentModal .modal-body::-webkit-scrollbar-track {
        background: #f5f2ee;
    }

    #appointmentModal .modal-body::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: var(--primary);
    }

/* Modal Backdrop */
.modal-backdrop.show {
    opacity: 0.65;
}


/* =========================================
   APPOINTMENT MODAL - TABLET
========================================= */

@media (max-width: 767px) {

    #appointmentModal .modal-dialog {
        max-width: 520px;
    }

    #appointmentModal .custom-modal-header {
        padding: 21px 23px;
    }

    #appointmentModal .custom-modal-body {
        padding: 23px;
    }

    #appointmentModal .modal-title {
        font-size: 20px;
    }
}


/* =========================================
   APPOINTMENT MODAL - MOBILE
========================================= */

@media (max-width: 576px) {

    #appointmentModal .modal-dialog {
        width: calc(100% - 20px);
        max-width: none;
        margin: 10px auto;
    }

    #appointmentModal .modal-dialog-centered {
        min-height: calc(100% - 20px);
    }

    #appointmentModal .custom-modal {
        max-height: calc(100dvh - 20px);
        border-radius: 12px;
    }

    #appointmentModal .custom-modal-header {
        padding: 17px 19px;
    }

        #appointmentModal .custom-modal-header::after {
            left: 19px;
        }

    #appointmentModal .modal-title {
        font-size: 19px;
    }

    #appointmentModal .custom-modal-body {
        max-height: calc(100dvh - 100px);
        padding: 19px 17px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #appointmentModal .modal-intro {
        margin-bottom: 19px;
        padding: 11px 12px;
        font-size: 12px;
    }

    #appointmentModal #appointmentForm .mb-3 {
        margin-bottom: 16px !important;
    }

    #appointmentModal .form-control,
    #appointmentModal .form-select {
        min-height: 45px;
        font-size: 12px;
    }

    #appointmentModal textarea.form-control {
        min-height: 90px;
    }

    #appointmentModal .modal-submit-btn {
        min-height: 47px;
        font-size: 12px;
    }
}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    #appointmentModal .modal-dialog {
        width: calc(100% - 12px);
        margin: 6px auto;
    }

    #appointmentModal .custom-modal {
        max-height: calc(100dvh - 12px);
    }

    #appointmentModal .custom-modal-header {
        padding: 15px;
    }

    #appointmentModal .modal-title {
        font-size: 17px;
    }

    #appointmentModal .custom-modal-body {
        max-height: calc(100dvh - 85px);
        padding: 15px 13px;
    }

    #appointmentModal .modal-intro {
        font-size: 11px;
    }

    #appointmentModal .form-label {
        font-size: 11px;
    }

    #appointmentModal .form-control,
    #appointmentModal .form-select {
        min-height: 43px;
        padding: 9px 11px;
        font-size: 12px;
    }
}


