/* =========================
   STANPHARMA DESIGN SYSTEM
========================= */

:root {
    /* Brand */
    --stanpharma-green: #2FA84F;
    --stanpharma-green-dark: #248a40;

    /* Text */
    --stanpharma-text-dark: #1f2933;
    --stanpharma-text-muted: #5f6b76;

    /* Backgrounds */
    --stanpharma-bg-white: #ffffff;
    --stanpharma-bg-light: #f9fafb;

    /* Borders & dividers */
    --stanpharma-border: #e4e7eb;

    /* Optional accent */
    --stanpharma-accent-blue: #2c7be5;
}

/* =========================
   GLOBAL
========================= */

body {
    font-family: Archivo, Helvetica, Arial, sans-serif;
    color: var(--stanpharma-text-dark);
    background-color: var(--stanpharma-bg-white);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--stanpharma-text-dark);
}

a {
    color: var(--stanpharma-green);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--stanpharma-green-dark);
    text-decoration: none;
}

.text-muted,
.section-muted {
    color: var(--stanpharma-text-muted) !important;
}

/* =========================
   UTILITIES
========================= */

.bg-soft {
    background-color: var(--stanpharma-bg-light);
}

.accent-blue {
    color: var(--stanpharma-accent-blue);
}

.section {
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 20px;
}

.section-text {
    font-size: 1.05rem;
    color: var(--stanpharma-text-muted);
}

/* =========================
   CARDS
========================= */

.card,
.info-card {
    background-color: #fff;
    border: 1px solid var(--stanpharma-border);
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.info-card {
    padding: 30px;
    height: 100%;
}

.info-card h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

/* =========================
   TOP BAR
========================= */

.stanpharma-topbar {
    background-color: var(--stanpharma-bg-light);
    border-bottom: 1px solid var(--stanpharma-border);
    font-size: 13px;
    padding: 6px 0;
    color: var(--stanpharma-text-muted);
}

/* =========================
   NAVBAR
========================= */

.stanpharma-navbar {
    background-color: #fff;
    border-bottom: 1px solid var(--stanpharma-border);
}

.stanpharma-logo {
    height: 42px;
}

.stanpharma-nav .nav-link {
    color: var(--stanpharma-text-muted);
    font-weight: 500;
    padding: 0.75rem 1rem;
}

.stanpharma-nav .nav-link:hover {
    color: var(--stanpharma-green);
}

.stanpharma-nav .nav-link.active {
    color: var(--stanpharma-green);
    font-weight: 600;
    position: relative;
}

.stanpharma-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 15%;
    bottom: 6px;
    width: 70%;
    height: 2px;
    background-color: var(--stanpharma-green);
}

@media (max-width: 991px) {
    .stanpharma-nav .nav-link.active::after {
        display: none;
    }
}

/* =========================
   STICKY HEADER
========================= */

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.sticky-header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* =========================
   CTA BUTTON
========================= */

.stanpharma-cta {
    background-color: var(--stanpharma-green);
    color: #fff !important;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 500;
}

.stanpharma-cta:hover {
    background-color: var(--stanpharma-green-dark);
}

/* =========================
   HERO SECTIONS
========================= */

.home-hero {
    padding: 90px 0;
    background: linear-gradient(
        135deg,
        rgba(47,168,79,0.08),
        #ffffff
    );
}

.hero-eyebrow {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--stanpharma-green);
    font-weight: 600;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 10px;
}

.hero-title span {
    color: var(--stanpharma-green);
}

.hero-text {
    font-size: 1.1rem;
    color: var(--stanpharma-text-muted);
    margin-top: 20px;
}

/* =========================
   QUALITY LIST
========================= */

/* =========================
   QUALITY & REGULATORY
========================= */

.quality-card {
    background-color: #fff;
    border: 1px solid var(--stanpharma-border);
    border-radius: 6px;
    padding: 30px;
}

.quality-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 15px;
    color: var(--stanpharma-text-muted);
}

.quality-item i {
    color: var(--stanpharma-green);
    font-size: 18px;
    margin-right: 12px;
    margin-top: 2px;
}

.quality-item:last-child {
    margin-bottom: 0;
}


/*.quality-list {
    list-style: none;
    padding-left: 0;
}

.quality-list li {
    padding-left: 28px;
    margin-bottom: 12px;
    position: relative;
    color: var(--stanpharma-text-muted);
}

.quality-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--stanpharma-green);
}*/

/* =========================
   FOOTER
========================= */

.stanpharma-footer {
    background-color: var(--stanpharma-bg-light);
    border-top: 1px solid var(--stanpharma-border);
    color: var(--stanpharma-text-muted);
}

.footer-logo {
    height: 40px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--stanpharma-text-dark);
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--stanpharma-text-muted);
}

.footer-links a:hover {
    color: var(--stanpharma-green);
}

.footer-certifications {
    list-style: none;
    padding-left: 0;
}

.footer-certifications li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-certifications li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--stanpharma-green);
}

.footer-contact {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom {
    background-color: #fff;
    border-top: 1px solid var(--stanpharma-border);
    padding: 12px 0;
}

.footer-bottom a {
    color: var(--stanpharma-text-muted);
    margin-left: 10px;
}

.footer-bottom a:hover {
    color: var(--stanpharma-green);
}
/* =========================
   INFO ICONS
========================= */

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: rgba(47,168,79,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 26px;
    color: var(--stanpharma-green);
}
.info-card:hover .info-icon {
    background-color: rgba(47,168,79,0.15);
    transform: translateY(-2px);
    transition: all 0.2s ease;
}
/* =========================
   ABOUT SECTION
========================= */

.about-highlights {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.about-highlights li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--stanpharma-text-muted);
}

.about-highlights li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--stanpharma-green);
}
.hero-image {
    max-width: 90%;
    height: auto;
}

@media (max-width: 767px) {
    .hero-image {
        max-width: 100%;
        margin-top: 30px;
    }
}
/* =========================
   PAGE HERO (INNER PAGES)
========================= */

.page-hero {
    padding: 70px 0 60px;
    background: linear-gradient(
        135deg,
        rgba(47,168,79,0.10),
        rgba(255,255,255,1)
    );
    border-bottom: 1px solid var(--stanpharma-border);
}

.page-hero-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.2px;
    font-weight: 600;
    color: var(--stanpharma-green);
    margin-bottom: 8px;
}

.page-hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--stanpharma-text-dark);
}

.page-hero-text {
    font-size: 1.1rem;
    color: var(--stanpharma-text-muted);
    max-width: 640px;
}
/* =========================
   PAGE HERO
========================= */
.stanpharma-hero {
    background: linear-gradient(
        135deg,
        rgba(47,168,79,0.08),
        rgba(47,168,79,0.03)
    );
    padding: 50px 0;
    border-bottom: 1px solid #eaeaea;
}

.stanpharma-hero h1 {
    font-weight: 700;
    color: #333;
}

.stanpharma-hero .lead {
    color: #666;
    max-width: 700px;
}
/* =========================
   PRODUCT LISTING
========================= */

.category-box {
    border: 1px solid var(--stanpharma-border);
    padding: 20px;
    border-radius: 6px;
    background-color: #fff;
}

.category-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.category-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    color: var(--stanpharma-text-muted);
    text-decoration: none;
    display: block;
}

.category-list a.active,
.category-list a:hover {
    color: var(--stanpharma-green);
    font-weight: 600;
}

.product-card {
    height: 100%;
    background-color: #fff;
    border: 1px solid var(--stanpharma-border);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}

.product-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-body {
    padding: 15px;
    flex-grow: 1;
}

.product-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.product-meta {
    font-size: 13px;
    color: var(--stanpharma-text-muted);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 14px;
    color: var(--stanpharma-text-muted);
}

.product-footer {
    padding: 15px;
    border-top: 1px solid var(--stanpharma-border);
    text-align: right;
}
/* =========================
   PRODUCT DETAIL PAGE
========================= */

.product-image-box {
    border: 1px solid var(--stanpharma-border);
    border-radius: 6px;
    padding: 20px;
    background-color: #fff;
    text-align: center;
}

.product-image-box img {
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
}

.product-facts {
    border: 1px solid var(--stanpharma-border);
    border-radius: 6px;
    padding: 15px;
    background-color: var(--stanpharma-bg-light);
}

.fact-item {
    margin-bottom: 10px;
    font-size: 14px;
}

.fact-item strong {
    display: block;
    color: var(--stanpharma-text-dark);
}

.product-section {
    margin-bottom: 25px;
}

.product-section h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

.product-section p {
    color: var(--stanpharma-text-muted);
}

.product-disclaimer {
    background-color: #fff;
    border-left: 4px solid var(--stanpharma-green);
    padding: 15px;
    font-size: 14px;
    color: var(--stanpharma-text-muted);
}

.product-cta {
    border-top: 1px solid var(--stanpharma-border);
    padding-top: 20px;
}
/* =========================
   CONTACT PAGE
========================= */

.contact-item {
    margin-bottom: 12px;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    color: var(--stanpharma-text-dark);
}

.contact-item p {
    margin-bottom: 0;
    color: var(--stanpharma-text-muted);
}

.contact-note {
    border-top: 1px solid var(--stanpharma-border);
    padding-top: 10px;
    color: var(--stanpharma-text-muted);
}
