﻿
/* =========================================
   ABOUT PAGE DESIGN
========================================= */

.about-page {
    width: 100%;
    overflow: hidden;
}

/* =========================================
   ABOUT HERO
========================================= */

.drug-hero {
    padding: 75px 0;
    background: linear-gradient(135deg, #f1e6d9, #faf7f1);
    text-align: center;
}

    .drug-hero h1 {
        font-family: 'Playfair Display', serif;
        font-size: 42px;
        font-weight: 700;
        color: #26343b;
        margin: 12px 0 18px;
    }

.drug-subtitle {
    display: inline-block;
    color: #a65f43;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.drug-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #68747a;
    font-size: 14px;
}

    .drug-breadcrumb a {
        color: #a65f43;
        text-decoration: none;
    }

        .drug-breadcrumb a:hover {
            text-decoration: underline;
        }


/* =========================================
   ABOUT INTRODUCTION
========================================= */


/* =========================================
   ABOUT INTRODUCTION - FIXED LAYOUT
========================================= */

.about-introduction {
    width: 100%;
    padding: 10px 0;
    background: var(--white);
}

/* MAIN TWO COLUMN LAYOUT */

.about-intro-grid {
    width: min(1200px, calc(100% - 48px)) !important;
    max-width: 1200px;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 36px;
}

/* LEFT SIDE IMAGE */

.about-image {
    width: 100%;
    height: 667px;
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(38, 52, 59, 0.13);
}

    .about-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 20px;
        transition: transform 0.5s ease;
    }

    .about-image:hover img {
        transform: scale(1.04);
    }

/* RIGHT SIDE CONTENT */

.about-content {
    width: 100%;
    min-width: 0;
}

    .about-content h2 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(30px, 3vw, 40px);
        font-weight: 500;
        line-height: 1.25;
        color: var(--ink);
        margin: 0 0 22px;
        max-width: 650px;
    }

    .about-content > p {
        font-family: 'Inter', sans-serif;
        font-size: 15px;
        line-height: 1.9;
        color: var(--muted);
        text-align: left;
        margin-bottom: 25px;
    }

    .about-content strong {
        color: var(--accent);
        font-weight: 700;
    }

/* =========================================
   OUR VISION
========================================= */

.vision-box {
    width: 100%;
    margin-top: 25px;
    padding: 25px 28px;
    background: var(--cream);
    border: 1px solid #eee8df;
    border-left: 4px solid var(--accent);
    border-radius: 12px;
}

.vision-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
    margin-bottom: 15px;
}

.vision-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    color: var(--ink);
    margin-bottom: 12px;
}

.vision-box p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
    text-align: left;
    margin: 0;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .about-intro-grid {
        gap: 35px;
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }

    .about-image {
        height: 450px;
    }

    .about-content h2 {
        font-size: 30px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .about-introduction {
        padding: 50px 0;
    }

    .about-intro-grid {
        width: calc(100% - 36px) !important;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-image {
        height: 350px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .about-content > p {
        font-size: 14px;
        line-height: 1.8;
    }

    .vision-box {
        padding: 22px;
    }
}



/* =========================================
   WHAT WE DO
========================================= */

.what-we-do {
    padding: 85px 0;
    background: var(--cream);
}

.section-title {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

    .section-title h2 {
        color: var(--ink);
        font-size: 40px;
        margin: 12px 0;
    }

    .section-title > p {
        color: var(--muted);
        font-size: 15px;
        line-height: 1.8;
    }

/* SERVICE GRID */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--white);
    padding: 30px 25px;
    border: 1px solid #eee8df;
    border-radius: 14px;
    transition: all 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-7px);
        border-color: var(--accent);
        box-shadow: 0 12px 30px rgba(38, 52, 59, 0.09);
    }

/* SERVICE ICON */

.service-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5eae2;
    color: var(--accent);
    font-size: 23px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 21px;
    color: var(--ink);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   WHY CHOOSE US
========================================= */

.why-choose-us {
    padding: 85px 0;
    background: var(--white);
}

.why-container {
    max-width: 1100px;
}

.why-heading {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

    .why-heading h2 {
        font-size: 40px;
        color: var(--ink);
        margin: 12px 0;
    }

    .why-heading p {
        color: var(--muted);
        font-size: 15px;
        line-height: 1.8;
    }

/* WHY CHOOSE US CARDS */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.why-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 30px 25px;
    background: var(--cream);
    border: 1px solid #eee8df;
    border-radius: 14px;
    transition: all 0.3s ease;
}

    .why-card:hover {
        transform: translateY(-7px);
        border-color: var(--accent);
        box-shadow: 0 12px 30px rgba(38, 52, 59, 0.09);
    }

/* ICON ABOVE TEXT */

.why-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5eae2;
    color: var(--accent);
    font-size: 23px;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* CARD HEADING */

.why-card h3 {
    color: var(--ink);
    font-size: 21px;
    margin-bottom: 12px;
}

/* CARD DESCRIPTION */

.why-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}




/* =========================================
   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;
    }
}


/* =========================================
   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: 13px;
    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(-2px);
    }


    .Appointment-button i {
        font-size: 15px;
        transition: transform 0.3s ease;
    }


    .Appointment-button:hover i {
        transform: translateX(3px);
    }


/* =====================================
ENQUIRY SECTION
===================================== */

.enquiry-section {
    width: 100%;
    padding: 55px 20px;
    background: #25343a;
}

.enquiry-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

    /* LEFT CONTENT */

    .enquiry-inner .section-label {
        color: #d68b68;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.5px;
        margin-bottom: 22px;
    }

    .enquiry-inner h2 {
        font-family: 'Playfair Display', serif;
        font-size: 34px;
        font-weight: 500;
        color: #ffffff;
        margin-bottom: 12px;
    }

    .enquiry-inner p:not(.section-label) {
        color: #eeeeee;
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 0;
    }

/* RIGHT BUTTONS */

.enquiry-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

    .enquiry-actions a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 15px;
        transition: all 0.3s ease;
    }

    /* CALL BUTTON */

    .enquiry-actions .primary-button {
        background: #a65f43;
        color: #ffffff;
        padding: 15px 23px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 500;
    }

        .enquiry-actions .primary-button:hover {
            background: #c07859;
            color: #ffffff;
        }

    /* EMAIL BUTTON */

    .enquiry-actions .secondary-button {
        color: #0d6efd;
        text-decoration: underline;
        font-weight: 500;
    }

        .enquiry-actions .secondary-button:hover {
            color: #6ea8fe;
        }

/* =====================================
   RESPONSIVE DESIGN
===================================== */

@media (max-width: 768px) {

    .enquiry-section {
        padding: 45px 20px;
    }

    .enquiry-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

        .enquiry-inner h2 {
            font-size: 29px;
        }

    .enquiry-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {

    .enquiry-inner h2 {
        font-size: 26px;
    }

    .enquiry-inner p:not(.section-label) {
        font-size: 14px;
    }

    .enquiry-actions {
        gap: 20px;
    }
}