/* ================================================
   ABOUT US PAGE — COLOR THEME
   Palette:
   #1E0C04  → Very Dark Brown  (headings, deep bg)
   #4C2A19  → Dark Brown       (subheadings, hover)
   #775646  → Medium Brown     (accent, icons, links)
   #E0D8D6  → Light Cream      (bg, borders, badges)
================================================ */

/* ================================================
   PAGE BACKGROUND
================================================ */
body {
    background: #ffffff;
}

/* ================================================
   NAVBAR — MAIN HEADER
   pharmacy-index pakai: <header class="header">
================================================ */
.header {
    background: #4c2a19 !important;
    border-bottom: 2px solid #4c2a19 !important;
    box-shadow: 0 2px 12px rgba(30, 12, 4, 0.2) !important;
}

.header .navbar,
.header nav.navbar,
nav.navbar.header-nav,
.header .header-nav.navbar {
    background: #4c2a19 !important;
}

/* Nav links */
.header .header-nav .main-nav > li > a {
    color: #775646 !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.header .header-nav .main-nav > li > a:hover,
.header .header-nav .main-nav > li.active > a {
    color: #e0d8d6 !important;
}

/* Dropdown arrow */
.header .header-nav .main-nav > li > a .fa-chevron-down,
.header .header-nav .main-nav > li > a::after {
    color: #775646 !important;
}

.header .header-nav .main-nav > li > a .fa-chevron-down:hover,
.header .header-nav .main-nav > li.active > a {
    color: #e0d8d6 !important;
}

/* ================================================
   DROPDOWN MENU
================================================ */
.header .header-nav .main-nav .has-submenu .submenu,
.header .header-nav .main-nav > li .dropdown-menu {
    background-color: #fff !important;
    border: 1px solid #e8d5c0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(139, 94, 60, 0.12) !important;
}

.header .header-nav .main-nav .has-submenu .submenu li a,
.header .header-nav .main-nav > li .dropdown-menu .dropdown-item {
    color: #2c1810 !important;
}

.header .header-nav .main-nav .has-submenu .submenu li a:hover,
.header .header-nav .main-nav > li .dropdown-menu .dropdown-item:hover {
    background-color: #fdf6ee !important;
    color: #b5835a !important;
}

/* ================================================
   NAVBAR — SIGN UP & REGISTER BUTTONS
================================================ */
/* Sign Up Button → #1E0C04 background, #E0D8D6 text */
.header-navbar-rht .btn.btn-primary-gradient,
.header-navbar-rht a.btn-primary-gradient,
.btn.btn-primary-gradient {
    background-image: none !important;
    background-color: #1e0c04 !important;
    border: 2px solid #1e0c04 !important;
    color: #e0d8d6 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.header-navbar-rht .btn.btn-primary-gradient:hover,
.header-navbar-rht a.btn-primary-gradient:hover,
.btn.btn-primary-gradient:hover,
.btn.btn-primary-gradient:focus,
.btn.btn-primary-gradient:active {
    background-image: none !important;
    background-color: #775646 !important;
    border-color: #775646 !important;
    color: #e0d8d6 !important;
}

.btn.btn-primary-gradient::before {
    background: none !important;
    display: none !important;
}

/* Register Button → #E0D8D6 background, #1E0C04 text */
.header-navbar-rht .btn.btn-dark,
.header-navbar-rht a.btn-dark,
.header .header-nav .header-navbar-rht .btn.btn-dark {
    background-color: #1e0c04 !important;
    border: 2px solid #1e0c04 !important;
    color: #e0d8d6 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.header.header-custom .header-navbar-rht .btn.btn-dark:hover,
.header.header-custom .header-navbar-rht .btn.btn-dark:focus,
.header.header-custom .header-navbar-rht .btn.btn-dark:active,
.header.header-fixed .header-navbar-rht .btn.btn-dark:hover,
.header.header-fixed .header-navbar-rht .btn.btn-dark:focus,
.header.header-fixed .header-navbar-rht .btn.btn-dark:active {
    background: #775646 !important;
    background-color: #775646 !important;
    background-image: none !important;
    border-color: #775646 !important;
    border: 2px solid #775646 !important;
    color: #e0d8d6 !important;
    box-shadow: none !important;
}

/* Icon search di navbar kanan */
.header-navbar-rht .nav-link,
.header-navbar-rht li a {
    color: #e0d8d6 !important;
}

.header-navbar-rht .nav-link:hover,
.header-navbar-rht li a:hover {
    color: #e0d8d6 !important;
}

/* ================================================
   NAVBAR — ICONS KANAN & HAMBURGER
================================================ */
.header-navbar-rht .nav-link,
.header-navbar-rht li a {
    color: #e0d8d6 !important;
}

.header .header-navbar-rht li a i,
.header .header-navbar-rht li a svg {
    color: #e0d8d6 !important;
}

.header .bar-icon span {
    background-color: #e0d8d6 !important;
}

/* Sidebar / offcanvas background */
@media only screen and (max-width: 991px) {
    html body .header .header-nav .main-menu-wrapper,
    html body .header .header-nav .main-menu-wrapper .menu-header {
        background-color: #4C2A19 !important;
    }

    /* Close (X) button */
    html body .header .header-nav .main-menu-wrapper .menu-close,
    html body .header .header-nav .main-menu-wrapper .menu-close i {
        color: #E0D8D6 !important;
    }

    /* Top-level menu items */
    html body .header .header-nav .main-menu-wrapper .main-nav > li {
        background-color: transparent !important;
        border-bottom: 1px solid #E0D8D6 !important; /* Cream Divider */
    }

    html body .header .header-nav .main-menu-wrapper .main-nav > li > a {
        background-color: transparent !important;
        color: #E0D8D6 !important;
        border-radius: 0 !important;
        border: none !important;
    }

    /* Active & hover states (remove default green/blue/white) */
    html body .header .header-nav .main-menu-wrapper .main-nav > li > a:hover,
    html body .header .header-nav .main-menu-wrapper .main-nav > li.active > a,
    html body .header .header-nav .main-menu-wrapper .main-nav > li.has-submenu.active > a,
    html body .header .header-nav .main-menu-wrapper .main-nav > li.has-submenu.show > a {
        background-color: transparent !important;
        color: #FFFFFF !important;
    }

    /* Dropdown chevron */
    html body .header .header-nav .main-menu-wrapper .main-nav > li.has-submenu > a i {
        color: #E0D8D6 !important;
    }

    /* Force submenu container to transparent in mobile to match the parent brown */
    html body .header .header-nav .main-menu-wrapper .main-nav > li.has-submenu .submenu,
    html body .header .header-nav .main-menu-wrapper .main-nav > li.has-submenu.active .submenu {
        background-color: transparent !important;
        border: none !important;
    }

    html body .header .header-nav .main-menu-wrapper .submenu li {
        border-bottom: none !important;
    }

    html body .header .header-nav .main-menu-wrapper .submenu li:last-child {
        border-bottom: none !important;
    }

    html body .header .header-nav .main-menu-wrapper .main-nav > li.has-submenu .submenu li a {
        color: #E0D8D6 !important;
        padding-left: 30px !important; /* Indent for submenu */
    }

    html body .header .header-nav .main-menu-wrapper .main-nav > li.has-submenu .submenu li a:hover,
    html body .header .header-nav .main-menu-wrapper .main-nav > li.has-submenu .submenu li.active > a {
        background-color: rgba(119, 86, 70, 0.5) !important;
        color: #FFFFFF !important;
        border-radius: 10px !important;
    }
}


/* ================================================
   1. ABOUT SECTION
================================================ */
.about-section {
    background: #fff !important;
    padding-bottom: 60px;
}

/* Badge / label kecil "About Our Company" */
.about-section .section-inner-header h6,
.about-section .about-inner-header h6 {
    color: #775646 !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
}

/* Heading utama */
.about-section .section-inner-header h2,
.about-section .about-inner-header h2 {
    color: #1e0c04 !important;
    font-weight: 700 !important;
}

/* Paragraf teks */
.about-section .about-content-details p {
    color: #4c2a19 !important;
    line-height: 1.8 !important;
}

/* About Box — "Over 25+ Years Experience" */
.about-box {
    background: linear-gradient(135deg, #775646, #4c2a19) !important;
    border-radius: 12px !important;
}

.about-box h4 {
    color: #e0d8d6 !important;
    font-weight: 700 !important;
}

/* About Contact card */
.about-contact {
    background: #f9f5f3 !important;
    border: 1px solid rgba(119, 86, 70, 0.2) !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 24px !important;
}

.about-contact-icon span {
    background: #775646 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 52px !important;
    padding: 12px !important;
}

.about-contact-icon span img {
    filter: brightness(0) invert(1) !important;
}

.about-contact-text p {
    color: #775646 !important;
    font-size: 13px !important;
    margin-bottom: 4px !important;
}

.about-contact-text h4 {
    color: #1e0c04 !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
}

/* ================================================
   2. WHY CHOOSE US SECTION
================================================ */
.why-choose-section {
    background: #f9f5f3 !important;
    padding: 60px 0 !important;
}

.why-choose-section .section-inner-header h2 {
    color: #1e0c04 !important;
    font-weight: 700 !important;
}

/* Card */
.why-choose-card {
    border: 1px solid rgba(119, 86, 70, 0.18) !important;
    border-radius: 14px !important;
    background: #fff !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(30, 12, 4, 0.05) !important;
}

.why-choose-card:hover {
    border-color: #775646 !important;
    box-shadow: 0 8px 28px rgba(119, 86, 70, 0.18) !important;
    transform: translateY(-4px) !important;
}

/* Icon circle */
.why-choose-icon span {
    background: rgba(119, 86, 70, 0.1) !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 16px !important;
}

/* Card heading */
.why-choose-content h4 {
    color: #1e0c04 !important;
    font-weight: 700 !important;
    font-size: 17px !important;
}

/* Card paragraph */
.why-choose-content p {
    color: #4c2a19 !important;
    line-height: 1.7 !important;
    font-size: 14px !important;
}

/* ================================================
   3. WAY SECTION
================================================ */
.way-section {
    background: #1e0c04 !important;
    padding: 60px 0 !important;
}

.way-section .way-bg {
    background: transparent !important;
}

/* Heading */
.way-section .section-inner-header h2,
.way-section .way-inner-header h2 {
    color: #e0d8d6 !important;
    font-weight: 700 !important;
}

/* Paragraf */
.way-section .section-inner-header p,
.way-section .way-inner-header p {
    color: rgba(224, 216, 214, 0.8) !important;
    line-height: 1.8 !important;
}

/* Button — custom class, fully independent dari Bootstrap */
.btn-jevera {
    /* Reset semua Bootstrap variable */
    --bs-btn-bg: #775646;
    --bs-btn-color: #e0d8d6;
    --bs-btn-border-color: #775646;
    --bs-btn-hover-bg: #e0d8d6;
    --bs-btn-hover-color: #1e0c04;
    --bs-btn-hover-border-color: #4c2a19;
    --bs-btn-active-bg: #e0d8d6;
    --bs-btn-active-color: #1e0c04;
    --bs-btn-active-border-color: #4c2a19;
    --bs-btn-focus-shadow-rgb: 119, 86, 70;

    /* Hard-coded styles */
    display: inline-block !important;
    background: #775646 !important;
    background-image: none !important;
    border: 2px solid #775646 !important;
    color: #e0d8d6 !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    text-decoration: none !important;
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease !important;
    cursor: pointer !important;
}

.btn-jevera:hover,
.btn-jevera:focus,
.btn-jevera:active {
    background: #e0d8d6 !important;
    background-image: none !important;
    border: 2px solid #4c2a19 !important;
    color: #1e0c04 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* Shapes decoratif — warm tint */
.way-section .way-shapes-img img {
    opacity: 0.12 !important;
    filter: sepia(1) hue-rotate(-10deg) saturate(0.5) !important;
}

/* ================================================
   4. FAQ SECTION — Full Override
================================================ */
.faq-section.faq-section-inner {
    background: #f9f5f3 !important;
    padding: 70px 0 !important;
}

/* Label kecil */
.faq-section .section-inner-header h6 {
    color: #775646 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 12px !important;
    background: rgba(119, 86, 70, 0.1) !important;
    display: inline-block !important;
    padding: 4px 14px !important;
    border-radius: 20px !important;
    margin-bottom: 12px !important;
}

/* Heading utama */
.faq-section .section-inner-header h2 {
    color: #1e0c04 !important;
    font-weight: 800 !important;
    font-size: 2rem !important;
}

/* FAQ Stats Badge */
.faq-patients-count {
    background: linear-gradient(135deg, #775646, #4c2a19) !important;
    border: none !important;
    box-shadow: 0 8px 30px rgba(30, 12, 4, 0.25) !important;
    border-radius: 16px !important;
    padding: 20px !important;
}

.faq-patients-content h4 {
    color: #e0d8d6 !important;
    font-weight: 800 !important;
    font-size: 2rem !important;
    margin-bottom: 4px !important;
}

.faq-patients-content p {
    color: rgba(224, 216, 214, 0.85) !important;
    font-size: 14px !important;
    margin-bottom: 0 !important;
}

/* ==============================
   ACCORDION WRAPPER
============================== */
.faq-section .accordion {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

/* ==============================
   ACCORDION ITEM
============================== */
.faq-section .accordion-item,
.faq-section.faq-section-inner .accordion-item {
    border: none !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(30, 12, 4, 0.06) !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
    transition: box-shadow 0.3s ease !important;
}

.faq-section .accordion-item:hover,
.faq-section.faq-section-inner .accordion-item:hover {
    box-shadow: 0 6px 24px rgba(119, 86, 70, 0.15) !important;
}

/* ==============================
   ACCORDION BUTTON (closed state)
============================== */
.faq-section .accordion-button,
.faq-section.faq-section-inner .accordion-button {
    background: #fff !important;
    color: #1e0c04 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 18px 20px 18px 52px !important;
    position: relative !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    border-left: 4px solid rgba(119, 86, 70, 0.2) !important;
    line-height: 1.5 !important;
}

/* Number / Icon circle di kiri */
.faq-section .accordion-button::before,
.faq-section.faq-section-inner .accordion-button::before {
    content: "?" !important;
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 26px !important;
    height: 26px !important;
    background: rgba(119, 86, 70, 0.12) !important;
    color: #775646 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: all 0.3s ease !important;
}

/* Arrow icon (bawaan bootstrap) - Styled as Plus Sign */
.faq-section .accordion-button::after,
.faq-section.faq-section-inner .accordion-button::after {
    background-size: contain !important;
    transition: all 0.3s ease !important;
    filter: none !important;
    width: 24px !important;
    height: 24px !important;
    background-color: #775646 !important;
    color: #e0d8d6 !important;
}

/* ==============================
   ACCORDION BUTTON (open/active state)
============================== */
.faq-section .accordion-button:not(.collapsed),
.faq-section.faq-section-inner .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #775646 0%, #4c2a19 100%) !important;
    color: #e0d8d6 !important;
    box-shadow: none !important;
    border-left: 4px solid #1e0c04 !important;
    font-weight: 700 !important;
}

/* Icon circle saat active */
.faq-section .accordion-button:not(.collapsed)::before,
.faq-section.faq-section-inner .accordion-button:not(.collapsed)::before {
    content: "!" !important;
    background: rgba(224, 216, 214, 0.2) !important;
    color: #e0d8d6 !important;
}

/* Arrow saat active - Plus sign berubah ke dark brown */
.faq-section .accordion-button:not(.collapsed)::after,
.faq-section.faq-section-inner .accordion-button:not(.collapsed)::after {
    filter: none !important;
    width: 24px !important;
    height: 24px !important;
    background-color: #e0d8d6 !important;
    color: #775646 !important;
}

/* Focus state */
.faq-section .accordion-button:focus,
.faq-section.faq-section-inner .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(119, 86, 70, 0.25) !important;
    outline: none !important;
}

/* ==============================
   ACCORDION BODY
============================== */
.faq-section .accordion-body,
.faq-section.faq-section-inner .accordion-body {
    background: #fff !important;
    padding: 16px 20px 20px 52px !important;
    border-left: 4px solid rgba(119, 86, 70, 0.2) !important;
    border-top: none !important;
}

/* Hilangkan border bawaan Bootstrap antara header & body */
.faq-section
    .accordion-item
    .accordion-header
    + .accordion-collapse
    .accordion-body,
.faq-section .accordion-header {
    border-bottom: none !important;
}

.faq-section .accordion-button:not(.collapsed) {
    border-bottom: none !important;
}

.faq-section .accordion-content p,
.faq-section.faq-section-inner .accordion-content p {
    color: #4c2a19 !important;
    line-height: 1.85 !important;
    margin-bottom: 0 !important;
    font-size: 14.5px !important;
}