/* Ayurvedic Plus - Professional Landing Page CSS */

/* Color Palette */
:root {
    --sage-green: #8B9D83;
    --dark-sage: #6B7D63;
    --cream: #F5F1E8;
    --golden: #D4AF37;
    --dark-golden: #B8941F;
    --white: #FFFFFF;
    --text-dark: #2C3E2F;
    --text-light: #5A6B55;
    --shadow: rgba(139, 157, 131, 0.15);
}

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1px;
}

.highlight {
    color: var(--golden);
    position: relative;
}

/* ═══════════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════════ */
.top-bar {
    background: #2C3E2F;
    color: rgba(255,255,255,.78);
    font-size: 15.5px;
    font-weight: 400;
    letter-spacing: .2px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar-left,
.top-bar-right { display: flex; align-items: center; gap: 14px; }
.tb-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,.78);
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
}
.tb-item:hover { color: var(--golden); }
.tb-item svg   { opacity: .65; flex-shrink: 0; }
.tb-divider    { color: rgba(255,255,255,.2); font-size: 11px; }

/* ═══════════════════════════════════════════════
   MAIN HEADER / NAVBAR
═══════════════════════════════════════════════ */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(139,157,131,.18);
    box-shadow: 0 1px 12px rgba(44,62,47,.07);
    z-index: 999;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 110px;
    gap: 7px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo-icon {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.nav-logo-font {
    height: 75px;
    width: auto;
    object-fit: contain;
}
.nav-logo-text { display: none; }
.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: #2C3E2F;
    letter-spacing: .2px;
}
.nav-tagline {
    font-size: 10.5px;
    color: var(--golden, #D4AF37);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}
.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    color: #2C3E2F;
    letter-spacing: .3px;
}
.nav-tagline {
    font-size: 10.5px;
    color: var(--golden);
    font-weight: 500;
    letter-spacing: .6px;
    text-transform: uppercase;
}

/* Nav links */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
    margin: 0;
    padding: 0;
}
.nav-menu a {
    display: block;
    padding: 10px 12px;
    font-size: 18px;
    font-weight: 500;
    color: #3a4a3c;
    text-decoration: none;
    border-radius: 6px;
    position: relative;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--golden);
    border-radius: 2px;
    transition: width .25s;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--dark-sage);
    background: rgba(139,157,131,.08);
}
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 55%; }

/* CTA buttons */
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-btn {
    padding: 9px 15px;
    border-radius: 6px;
    font-size: 16.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all .22s;
    white-space: nowrap;
    display: inline-block;
}
.nav-btn-outline {
    border: 1.5px solid var(--sage-green);
    color: var(--dark-sage);
    background: transparent;
}
.nav-btn-outline:hover {
    background: var(--sage-green);
    color: #fff;
}
.nav-btn-solid {
    background: linear-gradient(135deg, var(--golden) 0%, var(--dark-golden) 100%);
    color: #fff;
    border: 1.5px solid transparent;
    box-shadow: 0 3px 10px rgba(212,175,55,.28);
}
.nav-btn-solid:hover {
    box-shadow: 0 5px 16px rgba(212,175,55,.4);
    transform: translateY(-1px);
    color: #fff;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 23px;
    height: 2px;
    background: #2C3E2F;
    border-radius: 2px;
    transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
    .top-bar-right { display: none; }
}
@media (max-width: 768px) {
    .top-bar { display: none; }
    .hamburger { display: flex; }
    .nav-cta   { display: none; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgba(139,157,131,.15);
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
        padding: 10px 0 16px;
        z-index: 998;
    }
    .nav-menu.active { display: flex; }
    .nav-menu a {
        border-radius: 0;
        padding: 13px 24px;
        font-size: 15px;
    }
    .nav-menu a::after { display: none; }
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--golden), var(--dark-golden));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    border: 2px solid var(--sage-green);
    color: var(--sage-green);
    background: transparent;
}

.btn-outline:hover {
    background: var(--sage-green);
    color: var(--white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--cream) 0%, #E8E4D9 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-title {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat h3 {
    font-size: 36px;
    color: var(--golden);
    margin-bottom: 5px;
}

.stat p {
    color: var(--text-light);
    font-size: 14px;
}

.hero-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    text-align: center;
}

.card-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.hero-card h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-sage);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--cream);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(139, 157, 131, 0.1);
    color: var(--sage-green);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--cream);
    border-radius: 15px;
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card .card-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-sage);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--cream);
}

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

.feature-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.feature-icon {
    font-size: 45px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark-sage);
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--white);
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--golden), var(--dark-golden));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.step h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--dark-sage);
}

.step-arrow {
    font-size: 30px;
    color: var(--sage-green);
    margin: 0 20px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--sage-green), var(--dark-sage));
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.info-item {
    margin-bottom: 30px;
}

.info-icon {
    font-size: 35px;
    margin-bottom: 10px;
}

.info-item h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--dark-sage);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid rgba(139, 157, 131, 0.2);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--sage-green);
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
    background: #1e2b20;
    color: rgba(255,255,255,.75);
    padding: 64px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Brand column */
.footer-brand {}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    /* margin-bottom: 16px; */
    margin-bottom: 0px;
}
.footer-logo img {
    /* width: 160px;
    height: 80px; */
    width: 139px;
    height: 142px;
    border-radius: 8px;
    object-fit: contain;
    /* background: #fff; */
    /* padding: 6px 10px; */
}
.footer-logo-text {
    display: none;
}
.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.footer-brand-tag {
    font-size: 10px;
    color: var(--golden);
    font-weight: 500;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.footer-brand > p {
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(255,255,255,.6);
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-contact-mini {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
}

/* Link columns */
.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--golden);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s, padding-left .2s;
    display: inline-block;
}
.footer-col ul a:hover {
    color: #fff;
    padding-left: 4px;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,.35);
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom-right { color: rgba(255,255,255,.35); }

/* Responsive */
@media (max-width: 1024px) {
    .footer-content { grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand > p { max-width: 100%; }
    .footer-contact-mini { flex-direction: row; flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 600px) {
    .footer { padding: 40px 0 0; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 32px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-logo img { width: 90px; height: 92px; }
    .footer-brand-name { font-size: 16px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 4px; padding: 16px 0; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — All Breakpoints
═══════════════════════════════════════════════ */

/* ── Laptop / Small Desktop (≤1024px) ─────────── */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .nav-menu a { padding: 8px 10px; font-size: 13.5px; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .section-header h2 { font-size: 36px; }
}

/* ── Tablet (≤960px) ──────────────────────────── */
@media (max-width: 960px) {
    .top-bar-right { display: none; }
    .nav-menu a { padding: 8px 9px; font-size: 13px; }
    .nav-cta .nav-btn:first-child { display: none; } /* hide Login, keep CTA */
}

/* ── Tablet Portrait (≤768px) ─────────────────── */
@media (max-width: 768px) {
    .top-bar { display: none; }
    .hamburger { display: flex; }
    .nav-cta   { display: none; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgba(139,157,131,.15);
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
        padding: 10px 0 16px;
        z-index: 998;
    }
    .nav-menu.active { display: flex; }
    .nav-menu a { border-radius: 0; padding: 13px 24px; font-size: 15px; }
    .nav-menu a::after { display: none; }

    /* Sections */
    .about { padding: 70px 0; }
    .features { padding: 70px 0; }
    .how-it-works { padding: 70px 0; }
    .contact { padding: 70px 0; }
    .portals-section { padding: 60px 0; }

    .about-grid,
    .features-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

    .steps { flex-direction: column; gap: 0; }
    .step-arrow { transform: rotate(90deg); margin: 8px 0; font-size: 22px; }

    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .portals-grid { grid-template-columns: 1fr; max-width: 480px; }

    .footer-content { grid-template-columns: 1fr 1fr; gap: 30px; }

    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 32px; }
    .section-header p  { font-size: 15px; }

    .cta-content h2 { font-size: 30px; }
    .cta-content p  { font-size: 15px; }
    .cta-inner { padding: 60px 24px; }
}

/* ── Mobile (≤600px) ──────────────────────────── */
@media (max-width: 600px) {
    .container { padding: 0 16px; }

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

    .footer-content { grid-template-columns: 1fr; }

    .btn-large { padding: 13px 28px; font-size: 15px; }

    .section-header h2 { font-size: 28px; }
    .cta-content h2    { font-size: 26px; }
}

/* ── Small Mobile (≤400px) ────────────────────── */
@media (max-width: 400px) {
    .nav-brand   { font-size: 15px; }
    .nav-tagline { display: none; }
    .nav-logo-icon { width: 50px; height: 50px; }
    .nav-logo-font { height: 38px; }
    .section-header h2 { font-size: 24px; }
}

/* Cart badge */
.cart-count-badge {
    display: inline-flex; align-items: center; justify-content: center;
    background: #ef4444; color: #fff; font-size: 0.65rem; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%;
    position: absolute; top: -6px; right: -8px;
}
