/* ══════════════════════════════════════════
   Braxyl Pharmacies Limited — Main Stylesheet
════════════════════════════════════════════ */

:root {
    --primary:    #0b4f8a;
    --primary-dk: #083968;
    --accent:     #17a97e;
    --accent-lt:  #e8f8f3;
    --light-bg:   #f4f7fb;
    --text-main:  #1a2332;
    --text-muted: #5a6a80;
    --border:     #dde3ec;
}

* { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: #fff;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Playfair Display', serif;
}

/* ── NAVBAR ── */
.navbar {
    background: rgba(11, 79, 138, 0.97) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 16px rgba(0,0,0,.18);
    transition: background .3s;
}
.navbar-brand .brand-logo {
    height: 42px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
}
.navbar-brand .brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .5px;
    line-height: 1.15;
}
.navbar-brand .brand-sub {
    font-family: 'Inter', sans-serif;
    font-size: .65rem;
    font-weight: 400;
    color: rgba(255,255,255,.72);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.navbar .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-size: .85rem;
    font-weight: 500;
    padding: .45rem .9rem !important;
    border-radius: 6px;
    transition: background .2s, color .2s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,.12);
}
.navbar-toggler { border-color: rgba(255,255,255,.4); }
.navbar-toggler-icon { filter: invert(1); }

/* ── HERO ── */
#hero {
    background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 55%, #1176b5 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,.08)'/%3E%3C/svg%3E") repeat;
}
#hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(23,169,126,.22);
    border: 1px solid rgba(23,169,126,.45);
    color: #7eeacb;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.4rem;
}
#hero h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    color: #fff;
    line-height: 1.18;
    font-weight: 700;
}
#hero h1 span { color: #7eeacb; }
#hero p.lead {
    color: rgba(255,255,255,.82);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 520px;
}
.btn-hero-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: .75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    transition: background .2s, transform .15s;
}
.btn-hero-primary:hover { background: #13876a; transform: translateY(-1px); color: #fff; }
.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.45);
    padding: .73rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    transition: border-color .2s, background .2s;
}
.btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

.hero-stat-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(6px);
}
.hero-stat-card .stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #7eeacb;
    line-height: 1;
}
.hero-stat-card .stat-label {
    font-size: .78rem;
    color: rgba(255,255,255,.7);
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: .5px;
}

.hero-img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-circle {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 2px dashed rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-circle-inner {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-icon-main { font-size: 9rem; color: rgba(255,255,255,.7); }

/* ── SECTION SHARED ── */
section { padding: 90px 0; }
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .6rem;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
}
.section-title span { color: var(--primary); }
.section-divider {
    width: 48px;
    height: 4px;
    background: var(--accent);
    border-radius: 4px;
    margin: 1rem 0 1.4rem;
}

/* ── ABOUT ── */
#about { background: var(--light-bg); }
.about-highlight-box {
    background: var(--primary);
    color: #fff;
    border-radius: 16px;
    padding: 2rem 2rem;
    position: relative;
    overflow: hidden;
}
.about-highlight-box::after {
    content: '\f22e';
    font-family: 'Bootstrap-Icons';
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-size: 8rem;
    opacity: .06;
}

.value-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--accent-lt);
    color: var(--accent);
    border: 1px solid rgba(23,169,126,.25);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: .82rem;
    font-weight: 600;
    margin: 4px;
}

/* ── MISSION / VISION ── */
#mission { background: #fff; }
.mv-card {
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    border: none;
    box-shadow: 0 4px 28px rgba(0,0,0,.07);
    transition: transform .25s, box-shadow .25s;
}
.mv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.mv-card.mission { background: var(--primary); color: #fff; }
.mv-card.vision  { background: var(--accent);  color: #fff; }
.mv-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 1.4rem;
}

/* ── TESTIMONIAL ── */
.testimonial-strip {
    background: linear-gradient(135deg, var(--primary-dk), var(--primary));
    border-radius: 20px;
    padding: 3rem 3.5rem;
    position: relative;
}
.testimonial-strip .quote-icon {
    font-size: 5rem;
    color: rgba(255,255,255,.12);
    position: absolute;
    top: 1rem;
    left: 2rem;
    line-height: 1;
}
.testimonial-strip blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255,255,255,.92);
    line-height: 1.75;
    margin: 0;
}
.testimonial-strip .attribution {
    font-size: .85rem;
    color: #7eeacb;
    font-weight: 600;
    margin-top: 1.2rem;
}

/* ── WHY US ── */
#why { background: var(--light-bg); }
.why-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 1.4rem;
    height: 100%;
    border: 1px solid var(--border);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.why-card:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 28px rgba(23,169,126,.12);
    transform: translateY(-3px);
}
.why-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--accent-lt);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
.why-card h6 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: .9rem; color: var(--text-main); }
.why-card p { font-size: .82rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ── PRODUCTS ── */
#products { background: #fff; }
.product-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: box-shadow .25s, transform .25s;
    height: 100%;
}
.product-card:hover { box-shadow: 0 10px 36px rgba(11,79,138,.12); transform: translateY(-4px); }
.product-card-header {
    padding: 1.8rem 1.5rem 1.5rem;
    background: var(--primary);
    color: #fff;
}
.product-card-header.accent { background: var(--accent); }
.product-card-header.dark   { background: var(--primary-dk); }
.product-card-header.teal   { background: #0d7a7a; }
.product-card-body { padding: 1.5rem; }
.product-tag {
    display: inline-block;
    background: var(--light-bg);
    color: var(--text-muted);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: .75rem;
    font-weight: 500;
    margin: 3px 2px;
}

/* ── CUSTOMERS ── */
#customers { background: var(--light-bg); }
.customer-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    height: 100%;
    transition: box-shadow .2s;
}
.customer-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.customer-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}
.customer-card h6 { font-weight: 700; font-size: .9rem; color: var(--text-main); }
.customer-card p { font-size: .8rem; color: var(--text-muted); margin: 0; }

/* ── PARTNERSHIPS ── */
#partnerships { background: #fff; }
.partner-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    transition: border-color .2s, background .2s;
}
.partner-item:hover { border-color: var(--primary); background: var(--light-bg); }
.partner-dot {
    width: 38px; height: 38px; flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #1489d4);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}

/* ── PHARMACEUTICAL DETAIL ── */
#pharma { background: var(--light-bg); }
.pharma-range-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 14px rgba(0,0,0,.05);
    height: 100%;
}
.pharma-range-card.accent-border { border-left-color: var(--accent); }
.pharma-range-card h6 { font-weight: 700; color: var(--text-main); font-size: .92rem; }
.pharma-range-card p  { font-size: .82rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ── CONTACT ── */
#contact {
    background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 100%);
    color: #fff;
}
#contact .section-title { color: #fff; }
#contact .section-title span { color: #7eeacb; }
#contact p.lead { color: rgba(255,255,255,.8); }
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    color: #7eeacb;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}
.contact-item span { color: rgba(255,255,255,.8); font-size: .9rem; }
.contact-item strong { color: #fff; }

.contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.2rem 2rem;
    box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.contact-form-card .form-label { font-weight: 600; font-size: .85rem; color: var(--text-main); }
.contact-form-card .form-control,
.contact-form-card .form-select {
    border-radius: 8px;
    border: 1.5px solid var(--border);
    font-size: .9rem;
    padding: .65rem .9rem;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11,79,138,.12);
}
.btn-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .75rem 2rem;
    font-weight: 700;
    font-size: .95rem;
    width: 100%;
    transition: background .2s;
}
.btn-submit:hover { background: var(--primary-dk); color: #fff; }

/* ── FOOTER ── */
footer {
    background: #0a1a2e;
    color: rgba(255,255,255,.65);
    font-size: .82rem;
}
footer .footer-brand { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.15rem; }
footer a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
footer a:hover { color: #7eeacb; }
.footer-divider { border-color: rgba(255,255,255,.08); }
.social-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: background .2s, color .2s;
}
.social-btn:hover { background: var(--accent); color: #fff; }

/* ── BACK TO TOP ── */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(23,169,126,.4);
    z-index: 999;
    transition: background .2s;
    cursor: pointer;
}
#backToTop:hover { background: #13876a; }
#backToTop.visible { display: flex; }

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
    section { padding: 60px 0; }
    .hero-circle { width: 240px; height: 240px; }
    .hero-circle-inner { width: 180px; height: 180px; }
    .hero-icon-main { font-size: 5rem; }
    .testimonial-strip { padding: 2rem 1.5rem; }
}
