﻿
/* =====================================
   ASROY BLOGS PAGE - COMPLETE CSS
   Theme: Brown / Cream
===================================== */

:root {
    --primary: #a65f43;
    --primary-dark: #80452f;
    --dark: #26343b;
    --text: #626b70;
    --light: #faf7f1;
    --white: #ffffff;
    --border: #e9e5df;
    --ink: var(--dark);
    --accent: var(--primary);
    --primary-light: #f5e9de;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--white);
}

a {
    text-decoration: none !important;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

/* =====================================
   FIXED HEADER
===================================== */

/*header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: var(--white);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
}

.header-top {
    width: 100%;
    padding: 11px 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;
    margin: 0;
    padding: 0;
}

.contact-list {
    flex-wrap: wrap;
    gap: 12px 25px;
}

.social-icon-one {
    gap: 20px;
}

.header-top a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .header-top a:hover {
        color: #e3b08d;
    }

.header-top i {
    font-size: 15px;
}*/

/* =====================================
   NAVBAR
===================================== */

/*.navbar {
    position: relative;
    width: min(1200px, 90%);
    min-height: 82px;
    margin: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

    .navbar > img {
        width: 72px;
        height: 72px;
        object-fit: contain;
        flex-shrink: 0;
    }*/

/* =====================================
   NAVIGATION LINKS
===================================== */

/*.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

    .nav-links > a,
    .dropdown-toggle {
        color: var(--ink);
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        transition: color 0.3s ease;
    }

        .nav-links > a:hover,
        .nav-links > a.active,
        .dropdown-toggle:hover {
            color: var(--accent);
        }*/

    /* =====================================
   PROGRAM DROPDOWN
===================================== */

    /*.nav-links .dropdown {
        position: relative;
        list-style: none;
    }

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

    .dropdown-toggle::after {
        content: "";
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid currentColor;
        transition: transform 0.3s ease;
    }

.dropdown-menu {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 10px 0;
    margin: 0;
    background: var(--white);
    border: 1px solid #ed9e6ba3;
    border-radius: 11px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.13);
    z-index: 11000;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

    .dropdown-menu li {
        margin: 0;
        padding: 0;
    }

        .dropdown-menu li a {
            display: block;
            padding: 11px 17px;
            color: #333;
            font-size: 14px;
            transition: all 0.25s ease;
        }

            .dropdown-menu li a:hover {
                background: var(--primary-light);
                color: var(--primary);
                padding-left: 22px;
            }*/

/* Desktop dropdown */

/*@media (min-width: 992px) {
    .nav-links .dropdown:hover > .dropdown-menu,
    .nav-links .dropdown:focus-within > .dropdown-menu {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links .dropdown:hover > .dropdown-toggle::after,
    .nav-links .dropdown:focus-within > .dropdown-toggle::after {
        transform: rotate(180deg);
    }*/

    /* Dropdown gap bridge */
    /*.dropdown-menu::before {
        content: "";
        position: absolute;
        top: -12px;
        left: 0;
        right: 0;
        height: 12px;
    }
}*/

/* Mobile JS controlled dropdown */

/*@media (max-width: 991px) {
    .nav-links .dropdown-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
        padding: 5px 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: var(--light) !important;
        box-shadow: none !important;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: none !important;
        transition: none !important;
    }

    .nav-links .dropdown.show > .dropdown-menu {
        display: block !important;
    }

    .nav-links .dropdown-menu::before {
        display: none;
    }

    .nav-links .dropdown-menu li a {
        padding: 12px 35px !important;
        color: var(--dark);
        font-size: 14px;
        white-space: normal;
    }

        .nav-links .dropdown-menu li a:hover {
            color: var(--primary);
            background: var(--primary-light);
        }

    .nav-links .dropdown.show > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}*/

/* =====================================
   MOBILE MENU BUTTON
===================================== */

/*.menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: none;
    background: transparent;
    color: var(--ink);
    font-size: 27px;
    cursor: pointer;
    flex-shrink: 0;
}*/

/* =====================================
   APPOINTMENT BUTTON
===================================== */

/*.Appointment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    background: var(--primary);
    color: var(--white) !important;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(166, 95, 67, 0.20);
    transition: all 0.3s ease;
}

    .Appointment-button:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        color: var(--white) !important;
        box-shadow: 0 8px 20px rgba(128, 69, 47, 0.28);
        transform: translateY(-3px);
    }

    .Appointment-button i {
        font-size: 15px;
        transition: transform 0.3s ease;
    }

    .Appointment-button:hover i {
        transform: translateX(3px);
    }*/

/* =====================================
   PAGE BANNER
===================================== */

.page-banner {
    padding: 75px 15px;
    text-align: center;
    background: linear-gradient( 135deg, #f5e9de, #faf7f1, #f0e4d8 );
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.page-banner 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 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    font-size: 14px;
}

    .breadcrumb a {
        color: var(--primary);
    }

    .breadcrumb i {
        color: #999;
        font-size: 11px;
    }

    .breadcrumb span {
        color: var(--text);
    }

/* =====================================
   BLOG SECTION
===================================== */

.blog-section {
    padding: 90px 0;
    background: var(--white);
}

.section-label {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

    .section-heading h2 {
        margin-bottom: 18px;
        color: var(--dark);
        font-family: "Playfair Display", serif;
        font-size: clamp(30px, 4vw, 43px);
        font-weight: 600;
        line-height: 1.25;
    }

    .section-heading > p:last-child {
        max-width: 700px;
        margin: 0 auto;
        color: var(--text);
        font-size: 15px;
        line-height: 1.9;
    }

/* =====================================
   SEARCH AND FILTER BOX
===================================== */

.blog-filter-box {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--light);
    box-shadow: 0 8px 25px rgba(38, 52, 59, 0.04);
}

    .blog-filter-box label {
        display: block;
        margin-bottom: 9px;
        color: var(--dark);
        font-size: 13px;
        font-weight: 700;
    }

.blog-search-input {
    position: relative;
}

    .blog-search-input i {
        position: absolute;
        top: 50%;
        left: 15px;
        z-index: 2;
        color: var(--primary);
        transform: translateY(-50%);
    }

    .blog-search-input .form-control {
        padding-left: 42px;
    }

.blog-filter-box .form-control,
.blog-filter-box .form-select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background-color: var(--white);
    color: var(--dark);
    font-size: 14px;
    box-shadow: none;
}

    .blog-filter-box .form-control:focus,
    .blog-filter-box .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(166, 95, 67, 0.12);
    }

.clear-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid var(--primary);
    border-radius: 6px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .clear-filter-btn:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        color: var(--white);
    }

.blog-filter-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
}

#articleCount {
    color: var(--primary);
    font-weight: 700;
}

/* =====================================
   CATEGORY FILTER
===================================== */

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0 40px;
}

.category-btn {
    padding: 10px 19px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--white);
    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .category-btn:hover,
    .category-btn.active {
        border-color: var(--primary);
        background: var(--primary);
        color: var(--white);
    }

/* =====================================
   FEATURED ARTICLE
===================================== */

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    margin-bottom: 55px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(38, 52, 59, 0.07);
}

.featured-image {
    position: relative;
    display: flex;
    min-height: 370px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 35px;
    text-align: center;
    background: linear-gradient( 135deg, #e7c9b5, #f5e9de, #d8b59d );
}

    .featured-image::before,
    .featured-image::after {
        content: "";
        position: absolute;
        border: 1px solid rgba(128, 69, 47, 0.15);
        border-radius: 50%;
    }

    .featured-image::before {
        width: 300px;
        height: 300px;
    }

    .featured-image::after {
        width: 420px;
        height: 420px;
    }

    .featured-image > span {
        position: absolute;
        top: 25px;
        left: 25px;
        z-index: 2;
        padding: 8px 14px;
        border-radius: 30px;
        background: var(--primary);
        color: var(--white);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1px;
    }

.featured-image-icon {
    position: relative;
    z-index: 1;
    display: flex;
    width: 115px;
    height: 115px;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    color: var(--primary);
    font-size: 48px;
    box-shadow: 0 10px 30px rgba(128, 69, 47, 0.12);
}

.featured-image h3 {
    position: relative;
    z-index: 1;
    max-width: 380px;
    margin: 0;
    color: var(--dark);
    font-family: "Playfair Display", serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.35;
}

.featured-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 45px;
}

    .featured-content h3 {
        margin-bottom: 17px;
        color: var(--dark);
        font-family: "Playfair Display", serif;
        font-size: 29px;
        font-weight: 600;
        line-height: 1.35;
    }

    .featured-content > p:not(.section-label) {
        margin-bottom: 20px;
        color: var(--text);
        font-size: 14px;
        line-height: 1.9;
    }

    .featured-content small {
        margin-bottom: 22px;
        color: #999;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1px;
    }

/* =====================================
   BLOG CARDS
===================================== */

.blog-item {
    min-width: 0;
}

    .blog-item[hidden] {
        display: none !important;
    }

.blog-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 7px 24px rgba(38, 52, 59, 0.05);
    transition: all 0.35s ease;
}

    .blog-card:hover {
        transform: translateY(-7px);
        border-color: transparent;
        box-shadow: 0 18px 38px rgba(38, 52, 59, 0.12);
    }

.blog-image {
    position: relative;
    display: flex;
    height: 220px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--primary);
    font-size: 65px;
    transition: all 0.3s ease;
}

    .blog-image::before,
    .blog-image::after {
        content: "";
        position: absolute;
        border: 1px solid rgba(128, 69, 47, 0.17);
        border-radius: 50%;
    }

    .blog-image::before {
        width: 170px;
        height: 170px;
    }

    .blog-image::after {
        width: 220px;
        height: 220px;
        border-color: rgba(128, 69, 47, 0.12);
    }

    .blog-image > i {
        position: relative;
        z-index: 1;
        transition: transform 0.4s ease;
    }

.blog-card:hover .blog-image > i {
    transform: scale(1.12) rotate(-5deg);
}

.blog-image span {
    position: absolute;
    top: 17px;
    left: 17px;
    z-index: 2;
    padding: 7px 12px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Blog image backgrounds */

.image-1 {
    background: linear-gradient(135deg, #f2dfd0, #e9c8b4);
}

.image-2 {
    background: linear-gradient(135deg, #f4e6d5, #e7c6a8);
}

.image-3 {
    background: linear-gradient(135deg, #e3ebdf, #c7d8be);
}

.image-4 {
    background: linear-gradient(135deg, #e8e1d8, #d8c8b6);
}

.image-5 {
    background: linear-gradient(135deg, #eee4e8, #dfc9d2);
}

.image-6 {
    background: linear-gradient(135deg, #e0e9ec, #c3d7dc);
}

.image-7 {
    background: linear-gradient(135deg, #e8e2ef, #d3c4e1);
}

.image-8 {
    background: linear-gradient(135deg, #e6ebd9, #ced9b4);
}

.image-9 {
    background: linear-gradient(135deg, #f4e8d5, #e8d0a9);
}

.image-10 {
    background: linear-gradient(135deg, #eee1d9, #dfc4b4);
}

.image-11 {
    background: linear-gradient(135deg, #e1ebe6, #c4d9ce);
}

.image-12 {
    background: linear-gradient(135deg, #f1dfe0, #e7c3c4);
}

/* Blog content */

.blog-card-content {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
}

    .blog-card-content > small {
        margin-bottom: 12px;
        color: var(--primary);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1.3px;
    }

    .blog-card-content h3 {
        margin-bottom: 13px;
        font-family: "Playfair Display", serif;
        font-size: 21px;
        font-weight: 600;
        line-height: 1.4;
    }

        .blog-card-content h3 a {
            color: var(--dark);
            transition: color 0.3s ease;
        }

            .blog-card-content h3 a:hover {
                color: var(--primary);
            }

    .blog-card-content p {
        margin-bottom: 20px;
        color: var(--text);
        font-size: 13px;
        line-height: 1.85;
    }

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

    .read-more:hover {
        color: var(--primary-dark);
        gap: 14px;
    }

/* =====================================
   NO RESULTS
===================================== */

.no-results {
    padding: 55px 20px;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: 12px;
    background: var(--light);
}

    .no-results > i {
        margin-bottom: 18px;
        color: var(--primary);
    }

    .no-results h4 {
        margin-bottom: 10px;
        color: var(--dark);
        font-family: "Playfair Display", serif;
        font-size: 25px;
    }

    .no-results p {
        margin-bottom: 20px;
        color: var(--text);
        font-size: 14px;
    }

/* =====================================
   PAGINATION
===================================== */

.pagination-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 45px;
}

.page-btn {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .page-btn:hover,
    .page-btn.active {
        border-color: var(--primary);
        background: var(--primary);
        color: var(--white);
    }

    .page-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

/* =====================================
   COMMON BUTTONS
===================================== */

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 24px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-button {
    background: var(--primary);
    color: var(--white) !important;
}

    .primary-button:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        color: var(--white) !important;
        transform: translateY(-2px);
    }

.secondary-button {
    background: transparent;
    color: var(--primary) !important;
}

    .secondary-button:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: var(--white) !important;
        transform: translateY(-2px);
    }

    .primary-button i,
    .secondary-button i {
        transition: transform 0.3s ease;
    }

    .primary-button:hover i,
    .secondary-button:hover i {
        transform: translateX(4px);
    }

/* =====================================
   ENQUIRY SECTION
===================================== */

.enquiry-section {
    padding: 65px 0;
    background: var(--dark);
    color: var(--white);
}

.enquiry-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

    .enquiry-inner > div:first-child {
        max-width: 650px;
    }

    .enquiry-inner h2 {
        margin-bottom: 12px;
        color: var(--white);
        font-family: "Playfair Display", serif;
        font-size: clamp(28px, 3vw, 36px);
        font-weight: 600;
    }

    .enquiry-inner p:not(.section-label) {
        margin-bottom: 0;
        color: #d5dcdf;
        font-size: 15px;
        line-height: 1.8;
    }

    .enquiry-inner .section-label {
        color: #e3b08d;
    }

.enquiry-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

/* =====================================
   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: 165px;
    max-height: 70px;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-about p {
    max-width: 320px;
    color: #cbd2d5;
    font-size: 14px;
    line-height: 1.8;
}

.footer-grid h3 {
    margin-bottom: 25px;
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

.footer-links {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
}

    .footer-links a {
        color: #cbd2d5;
        font-size: 14px;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: #e3b08d;
        }

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

    .footer-social a {
        display: flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        font-size: 15px;
        transition: all 0.3s ease;
    }

        .footer-social a:hover {
            background: var(--accent);
            transform: translateY(-3px);
        }

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

    .footer-bottom p {
        margin: 0;
        color: #cbd2d5;
        font-size: 13px;
    }

/* =====================================
   WHATSAPP FLOAT BUTTON
===================================== */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    font-size: 29px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

    .whatsapp-float:hover {
        color: #fff;
        transform: scale(1.08);
    }

/* =====================================
   BOOTSTRAP MODALS
===================================== */

#enquiryModal,
#appointmentModal {
    z-index: 20000;
}

    #enquiryModal .modal-dialog,
    #appointmentModal .modal-dialog {
        max-width: 520px;
    }

    #enquiryModal .modal-content,
    #appointmentModal .modal-content {
        overflow: hidden;
        border: none;
        border-radius: 14px;
        background: var(--white);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    }

    #enquiryModal .modal-header,
    #appointmentModal .modal-header {
        padding: 22px 26px;
        border: none;
        background: linear-gradient( 135deg, var(--primary), var(--primary-dark) );
    }

    #enquiryModal .modal-title,
    #appointmentModal .modal-title {
        color: var(--white);
        font-family: "Playfair Display", serif;
        font-size: 25px;
        font-weight: 600;
    }

    #enquiryModal .btn-close,
    #appointmentModal .btn-close {
        opacity: 1;
        filter: brightness(0) invert(1);
    }

    #enquiryModal .modal-body,
    #appointmentModal .modal-body {
        padding: 26px;
    }

        #enquiryModal .modal-body > p,
        #appointmentModal .modal-body > p {
            color: var(--text);
            font-size: 14px;
            line-height: 1.7;
        }

    #enquiryModal .form-label,
    #appointmentModal .form-label {
        display: block;
        margin-bottom: 8px;
        color: var(--dark);
        font-size: 13px;
        font-weight: 700;
    }

    #enquiryModal .form-control,
    #appointmentModal .form-control,
    #appointmentModal .form-select {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        border: 1px solid var(--border);
        border-radius: 6px;
        background: #fcfbf9;
        color: var(--dark);
        font-family: "Inter", sans-serif;
        font-size: 14px;
        box-shadow: none;
        transition: all 0.3s ease;
    }

    #enquiryModal textarea.form-control,
    #appointmentModal textarea.form-control {
        min-height: 115px;
        resize: vertical;
    }

    #enquiryModal .form-control:focus,
    #appointmentModal .form-control:focus,
    #appointmentModal .form-select:focus {
        border-color: var(--primary);
        background: var(--white);
        box-shadow: 0 0 0 3px rgba(166, 95, 67, 0.12);
        outline: none;
    }

    #enquiryModal button[type="submit"],
    #appointmentModal button[type="submit"] {
        width: 100%;
        margin-top: 5px;
        font-family: "Inter", sans-serif;
    }

.modal-backdrop {
    z-index: 19900;
}

/* =====================================
   LAPTOP
===================================== */

@media (max-width: 1100px) and (min-width: 992px) {
    .navbar {
        gap: 15px;
    }

    .nav-links {
        gap: 17px;
    }

        .nav-links > a,
        .dropdown-toggle {
            font-size: 13px;
        }

    .Appointment-button {
        padding: 11px 17px;
        font-size: 13px;
    }

    .featured-content {
        padding: 35px;
    }

        .featured-content h3 {
            font-size: 25px;
        }

    .footer-grid {
        gap: 25px;
    }
}

/* =====================================
   TABLET AND MOBILE NAVBAR
===================================== */

@media (max-width: 991px) {
    .header-top {
        padding: 9px 0;
    }

    .navbar {
        width: 100%;
        min-height: 75px;
        padding: 0 20px;
        gap: 15px;
    }

        .navbar > img {
            width: 62px;
            height: 62px;
        }

    .menu-button {
        display: flex;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 100px);
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 12px 0 25px;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.10);
        z-index: 10001;
    }

        .nav-links.open {
            display: flex !important;
        }

        .nav-links > a,
        .nav-links > .dropdown > .dropdown-toggle {
            display: flex;
            width: 100%;
            min-height: 46px;
            justify-content: space-between;
            align-items: center;
            padding: 13px 20px;
            margin: 0;
            border: 0;
            border-bottom: 1px solid #eee8df;
            color: var(--ink);
            background: var(--white);
            font-size: 15px;
            white-space: normal;
        }

            .nav-links > a:hover,
            .nav-links > .dropdown > .dropdown-toggle:hover {
                color: var(--primary);
                background: var(--light);
            }

        .nav-links .dropdown {
            display: block;
            width: 100%;
            position: relative;
            margin: 0;
        }

        .nav-links .dropdown-toggle {
            width: 100%;
            cursor: pointer;
        }

        .nav-links .Appointment-button {
            display: flex;
            width: calc(100% - 30px);
            min-height: 45px;
            justify-content: center;
            align-items: center;
            margin: 12px 15px 5px;
            padding: 12px 15px;
            border: 0;
            border-radius: 30px;
            background: var(--primary);
            color: var(--white) !important;
        }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-section {
        padding: 70px 0;
    }

    .featured-image {
        min-height: 320px;
    }

    .featured-content {
        padding: 28px;
    }

        .featured-content h3 {
            font-size: 23px;
        }

    .blog-card-content {
        padding: 22px;
    }

    .enquiry-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 767px) {
    .container {
        width: 92%;
    }

    .top-header-inner {
        flex-direction: column;
        gap: 10px;
    }

    .contact-list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 18px;
    }

    .social-icon-one {
        justify-content: center;
        gap: 20px;
    }

    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 290px;
    }

    .featured-content {
        padding: 25px;
    }

    .enquiry-inner {
        gap: 25px;
    }

    .enquiry-actions {
        width: 100%;
    }
}

/* =====================================
   SMALL MOBILE / IPHONE
===================================== */

@media (max-width: 576px) {
    .header-top {
        padding: 10px 0;
    }

        .header-top a {
            font-size: 12px;
        }

        .header-top i {
            font-size: 13px;
        }

    .top-header-inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .contact-list {
        justify-content: center;
        gap: 7px 12px;
    }

    .social-icon-one {
        justify-content: center;
    }

    .navbar {
        width: 100%;
        min-height: 68px;
        padding: 0 15px;
    }

        .navbar > img {
            width: 55px;
            height: 55px;
        }

    .menu-button {
        width: 42px;
        height: 42px;
        font-size: 25px;
    }

    .nav-links {
        max-height: calc(100vh - 80px);
        max-height: calc(100dvh - 80px);
        padding-bottom: max(22px, env(safe-area-inset-bottom));
    }

        .nav-links > a,
        .nav-links > .dropdown > .dropdown-toggle {
            min-height: 43px;
            padding: 12px 18px;
            font-size: 14px;
        }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 42px;
        padding-bottom: 35px;
    }

    .footer-about {
        padding-right: 0;
    }

    .footer-logo img {
        max-width: 150px;
    }

    .whatsapp-float {
        right: 15px;
        bottom: calc(15px + env(safe-area-inset-bottom));
        width: 52px;
        height: 52px;
        font-size: 27px;
    }

    .page-banner {
        padding: 55px 15px;
    }

        .page-banner h1 {
            font-size: 32px;
        }

    .blog-section {
        padding: 55px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

        .section-heading h2 {
            font-size: 29px;
        }

        .section-heading > p:last-child {
            font-size: 14px;
        }

    .blog-filter-box {
        padding: 18px;
    }

    .blog-filter-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .category-filter {
        justify-content: flex-start;
        gap: 8px;
        margin: 25px 0 30px;
    }

    .category-btn {
        padding: 9px 14px;
        font-size: 12px;
    }

    .featured-article {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }

    .featured-image {
        min-height: 260px;
    }

        .featured-image h3 {
            font-size: 23px;
        }

    .featured-content {
        padding: 22px;
    }

        .featured-content h3 {
            font-size: 24px;
        }

    .blog-image {
        height: 210px;
    }

    .blog-card-content {
        min-height: auto;
        padding: 22px;
    }

        .blog-card-content h3 {
            font-size: 20px;
        }

    .pagination-area {
        margin-top: 32px;
    }

    .enquiry-section {
        padding: 50px 0;
    }

    .enquiry-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .enquiry-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

        .enquiry-actions .primary-button,
        .enquiry-actions .secondary-button {
            width: 100%;
        }

    #enquiryModal .modal-dialog,
    #appointmentModal .modal-dialog {
        width: auto;
        max-width: none;
        margin: 12px;
    }

    #enquiryModal .modal-header,
    #appointmentModal .modal-header {
        padding: 18px 20px;
    }

    #enquiryModal .modal-title,
    #appointmentModal .modal-title {
        font-size: 22px;
    }

    #enquiryModal .modal-body,
    #appointmentModal .modal-body {
        padding: 20px;
    }
}

/* =====================================
   VERY SMALL IPHONE
===================================== */

@media (max-width: 380px) {
    .container {
        width: 94%;
    }

    .navbar {
        min-height: 64px;
        padding: 0 12px;
    }

        .navbar > img {
            width: 50px;
            height: 50px;
        }

    .menu-button {
        width: 40px;
        height: 40px;
        font-size: 23px;
    }

    .nav-links > a,
    .nav-links > .dropdown > .dropdown-toggle {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-banner h1 {
        font-size: 27px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .featured-content h3 {
        font-size: 21px;
    }

    .featured-image {
        min-height: 230px;
    }

    .featured-image-icon {
        width: 90px;
        height: 90px;
        font-size: 38px;
    }

    .primary-button,
    .secondary-button {
        padding: 12px 17px;
        font-size: 13px;
    }

    .category-btn {
        padding: 8px 11px;
        font-size: 11px;
    }

    .blog-card-content {
        padding: 18px;
    }
}

/* =====================================
   IPHONE SAFE AREA
===================================== */

@supports (padding: max(0px)) {
    .whatsapp-float {
        right: max(15px, env(safe-area-inset-right));
        bottom: max(15px, env(safe-area-inset-bottom));
    }

    @media (max-width: 991px) {
        .nav-links {
            padding-bottom: max(25px, env(safe-area-inset-bottom));
        }
    }
}

/* =====================================
   TOUCH DEVICE
===================================== */

@media (hover: none) {
    .blog-card:hover {
        transform: none;
    }

    .Appointment-button:hover {
        transform: none;
    }
}

/* =====================================
   GLOBAL LINK UNDERLINE RESET
===================================== */

a,
a:hover,
a:focus,
a:active,
a:visited,
a:link {
    text-decoration: none !important;
}

    /* =====================================
   ACCESSIBILITY
===================================== */

    button:focus-visible,
    a:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 3px;
    }

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
