/* ===== SUPER PHARMACY — Premium Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    --primary: #2dbacb;
    --primary-dark: #0c92a0;
    --accent-green: #8cc74c;
    --dark-bg: #0a1628;
    --dark-card: #111e33;
    --dark-card-alt: #162440;
    --white: #ffffff;
    --light-gray: #f4f7fa;
    --text-muted: #94a3b8;
    --text-body: #cbd5e1;
    --border-subtle: rgba(45, 186, 203, .15);
    --gradient-brand: linear-gradient(135deg, #2dbacb 0%, #0c92a0 100%);
    --gradient-green: linear-gradient(135deg, #8cc74c 0%, #6ba832 100%);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, .25);
    --shadow-glow: 0 0 40px rgba(45, 186, 203, .15);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: .35s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--dark-bg);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden
}

img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none;
    color: inherit
}

ul {
    list-style: none
}

/* ---------- Utility ---------- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto
}

.section-pad {
    padding: 100px 0
}

.section-title {
    text-align: center;
    margin-bottom: 60px
}

.section-title h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -.5px
}

.section-title .underline {
    width: 60px;
    height: 4px;
    background: var(--gradient-brand);
    margin: 0 auto 16px;
    border-radius: 4px
}

.section-title p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: .3px
}

.btn-primary {
    background: var(--gradient-brand);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(45, 186, 203, .35)
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 186, 203, .5)
}

.btn-green {
    background: var(--gradient-green);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(140, 199, 76, .3)
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(140, 199, 76, .5)
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, .25)
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary)
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition)
}

.navbar.scrolled {
    background: rgba(10, 22, 40, .95);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .3)
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.nav-brand img {
    height: 46px;
    width: auto
}

.nav-brand span {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--white);
    letter-spacing: .5px
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: .9rem;
    transition: var(--transition);
    position: relative
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition)
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white)
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%
}

.nav-cta {
    padding: 10px 24px;
    font-size: .85rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition)
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, .92) 0%, rgba(10, 22, 40, .75) 50%, rgba(12, 146, 160, .25) 100%);
    z-index: 1
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .35
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white)
}

.hero-content h1 .highlight {
    color: var(--primary);
    display: block
}

.hero-content .tagline {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.8
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center
}

.hero-visual img {
    max-width: 420px;
    filter: drop-shadow(0 20px 60px rgba(45, 186, 203, .2));
    animation: float 6s ease-in-out infinite
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-18px)
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(140, 199, 76, .12);
    border: 1px solid rgba(140, 199, 76, .3);
    color: var(--accent-green);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 22px
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

/* ---------- About ---------- */
.about {
    background: var(--dark-bg);
    position: relative
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent)
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius)
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius);
    pointer-events: none
}

.about-image .experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-brand);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-card)
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 16px
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.85
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px
}

.stat-item {
    text-align: center;
    padding: 18px 10px;
    background: var(--dark-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle)
}

.stat-item .num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: block
}

.stat-item .label {
    font-size: .78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px
}

/* ---------- Services ---------- */
.services {
    background: var(--dark-card)
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.service-card {
    background: var(--dark-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(45, 186, 203, .3)
}

.service-card:hover::before {
    transform: scaleX(1)
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(45, 186, 203, .08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition)
}

.service-card:hover .service-icon {
    background: rgba(45, 186, 203, .15)
}

.service-card h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 10px
}

.service-card p {
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.6
}

/* ---------- Trust ---------- */
.trust {
    background: var(--dark-bg);
    position: relative
}

.trust::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent)
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px
}

.trust-card {
    background: var(--dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition)
}

.trust-card:hover {
    border-color: rgba(140, 199, 76, .35);
    transform: translateY(-4px)
}

.trust-icon {
    font-size: 2.2rem;
    margin-bottom: 14px
}

.trust-card h4 {
    color: var(--white);
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: 8px
}

.trust-card p {
    color: var(--text-muted);
    font-size: .82rem;
    line-height: 1.55
}

/* ---------- Testimonials ---------- */
.testimonials {
    background: var(--dark-card)
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px
}

.testimonial-card {
    background: var(--dark-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative
}

.testimonial-card:hover {
    border-color: rgba(45, 186, 203, .3);
    transform: translateY(-4px)
}

.testimonial-card .stars {
    color: #f59e0b;
    font-size: .95rem;
    margin-bottom: 14px;
    letter-spacing: 2px
}

.testimonial-card blockquote {
    font-size: .95rem;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 1rem
}

.testimonial-name {
    font-weight: 600;
    color: var(--white);
    font-size: .9rem
}

.testimonial-role {
    font-size: .78rem;
    color: var(--text-muted)
}

/* ---------- Store Gallery ---------- */
.gallery {
    background: var(--dark-bg);
    position: relative
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent)
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 280px
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition)
}

.gallery-item:hover img {
    transform: scale(1.05)
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, .6), transparent);
    pointer-events: none
}

/* ---------- Contact / Location ---------- */
.contact {
    background: var(--dark-card)
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(45, 186, 203, .1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem
}

.contact-item h4 {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px
}

.contact-item p,
.contact-item a {
    color: var(--text-muted);
    font-size: .92rem
}

.contact-item a:hover {
    color: var(--primary)
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px
}

.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border-subtle);
    height: 100%;
    min-height: 420px
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 420px
}

/* ---------- Footer ---------- */
.footer {
    background: var(--dark-bg);
    border-top: 1px solid var(--border-subtle);
    padding: 50px 0 30px
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap
}

.footer-brand {
    max-width: 350px
}

.footer-brand img {
    height: 42px;
    margin-bottom: 14px
}

.footer-brand p {
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.7;
    margin-bottom: 16px
}

.footer-philosophy {
    color: var(--primary);
    font-weight: 600;
    font-size: .95rem;
    font-style: italic
}

.footer-links h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 16px
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: .88rem;
    margin-bottom: 10px;
    transition: var(--transition)
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px)
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 12px
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--dark-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition)
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white)
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: .82rem
}

/* ---------- Floating WhatsApp ---------- */
.floating-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(37, 211, 102, .4);
    transition: var(--transition);
    cursor: pointer
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 32px rgba(37, 211, 102, .55)
}

.floating-wa svg {
    width: 30px;
    height: 30px;
    fill: var(--white)
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

/* ---------- Responsive ---------- */
@media(max-width:1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .trust-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .hero .container {
        grid-template-columns: 1fr
    }

    .hero-visual {
        display: none
    }

    .hero-content h1 {
        font-size: 2.8rem
    }
}

@media(max-width:768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 22, 40, .98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 998
    }

    .nav-links.open {
        display: flex
    }

    .hamburger {
        display: flex;
        z-index: 999
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px)
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px)
    }

    .nav-links a {
        font-size: 1.2rem
    }

    .section-pad {
        padding: 70px 0
    }

    .section-title h2 {
        font-size: 1.9rem
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .about-image {
        order: -1
    }

    .testimonials-grid {
        grid-template-columns: 1fr
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .gallery-grid {
        grid-template-columns: 1fr
    }

    .hero-content h1 {
        font-size: 2.2rem
    }

    .footer-content {
        flex-direction: column
    }

    .map-wrapper {
        min-height: 300px
    }

    .map-wrapper iframe {
        min-height: 300px
    }
}