/* ===== PNR Pharmaceuticals - Custom Stylesheet ===== */
/* Aesthetic: Refined Professional — Navy + Teal + Gold */

:root {
    --navy: #0d2545;
    --navy-mid: #163a6b;
    --teal: #0f8b7c;
    --teal-light: #12a896;
    --gold: #c9972b;
    --gold-light: #e8b84b;
    --cream: #f8f5ef;
    --light-gray: #f2f4f7;
    --text-dark: #1a2332;
    --text-muted: #5a6a7e;
    --border: #dee2e8;
    --white: #ffffff;
    --shadow-sm: 0 2px 12px rgba(13,37,69,0.08);
    --shadow-md: 0 6px 30px rgba(13,37,69,0.12);
    --shadow-lg: 0 16px 60px rgba(13,37,69,0.16);
    --radius: 10px;
    --radius-lg: 18px;
}

* { box-sizing: border-box; }

body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    background: var(--white);
    scroll-behavior: smooth;
}

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

/* ===== TOPBAR ===== */
.topbar {
    background: var(--navy);
    border-bottom: 2px solid var(--gold);
}
.topbar-item {
    color: rgba(255,255,255,0.82);
    font-size: 0.82rem;
    font-weight: 500;
}
.topbar-item i { color: var(--gold-light); }

/* ===== NAVBAR ===== */
#mainNav {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--teal);
    transition: all 0.3s ease;
    padding: 0.6rem 0;
}
#mainNav.scrolled {
    box-shadow: var(--shadow-md);
}

.brand-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.brand-icon span {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}
.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}
.brand-tagline {
    font-size: 0.65rem;
    color: var(--teal);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 0.9rem !important;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.92rem;
}
.nav-link:hover, .nav-link.active {
    color: var(--teal) !important;
    background: rgba(15,139,124,0.08);
}
.nav-link.active { font-weight: 600; }

.btn-primary-custom {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    color: var(--white) !important;
    border: none;
    border-radius: 8px;
    padding: 0.52rem 1.3rem !important;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(15,139,124,0.35);
}

.dropdown-menu { border-radius: var(--radius); border: none; }
.dropdown-item { font-size: 0.88rem; padding: 0.5rem 1.2rem; }
.dropdown-item:hover { background: rgba(15,139,124,0.08); color: var(--teal); }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a5276 100%);
    min-height: 86vh;
    display: flex; align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-pattern-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.06);
}
.hero-pattern-circle:nth-child(1) { width: 500px; height: 500px; top: -150px; right: -100px; }
.hero-pattern-circle:nth-child(2) { width: 300px; height: 300px; top: -50px; right: 50px; }
.hero-pattern-circle:nth-child(3) { width: 200px; height: 200px; bottom: 50px; left: -50px; }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(201,151,43,0.15);
    border: 1px solid rgba(201,151,43,0.4);
    color: var(--gold-light);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.2rem;
}
.hero h1 .highlight { color: var(--gold-light); }
.hero-desc {
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}
.hero-chips {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-bottom: 2.2rem;
}
.hero-chip {
    background: rgba(15,139,124,0.2);
    border: 1px solid rgba(15,139,124,0.4);
    color: rgba(255,255,255,0.9);
    padding: 0.38rem 0.9rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
}
.btn-hero-primary {
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: var(--white) !important;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.3s ease;
    border: none;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15,139,124,0.45);
    color: var(--white) !important;
}
.btn-hero-secondary {
    background: transparent;
    color: var(--white) !important;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    border: 2px solid rgba(255,255,255,0.35);
    transition: all 0.3s ease;
}
.btn-hero-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
    color: var(--white) !important;
}

.hero-stats {
    display: flex; gap: 2rem; flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.hero-right-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.cert-chip {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.88);
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-block;
    margin: 0.25rem;
}

/* ===== SECTION STYLES ===== */
.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--navy);
    margin-bottom: 1rem;
}
.section-divider {
    width: 50px; height: 3px;
    background: linear-gradient(to right, var(--teal), var(--gold));
    border-radius: 2px;
    margin: 0 auto 1.5rem;
}
.section-divider.left { margin: 0 0 1.5rem; }

/* ===== WHY CHOOSE US ===== */
.why-us-bg { background: var(--cream); }
.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    height: 100%;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.why-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--teal), var(--gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(15,139,124,0.12), rgba(15,139,124,0.05));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--teal);
    margin-bottom: 1rem;
}
.why-card h5 { font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; font-size: 1rem; }
.why-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ===== PRODUCT CARDS ===== */
.product-category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    height: 100%;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-category-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--teal);
    color: inherit;
}
.product-cat-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}
.product-category-card h5 { font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; font-size: 1.02rem; }
.product-category-card p { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 0.8rem; line-height: 1.55; }
.cat-count { font-size: 0.78rem; color: var(--teal); font-weight: 600; }

/* ===== PRODUCTS PAGE TABS ===== */
.products-nav .nav-link {
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    margin: 0.2rem;
    font-size: 0.85rem !important;
    padding: 0.5rem 1rem !important;
    color: var(--text-dark) !important;
    background: var(--white);
}
.products-nav .nav-link.active, .products-nav .nav-link:hover {
    background: var(--teal) !important;
    color: var(--white) !important;
    border-color: var(--teal) !important;
}
.product-list-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.65rem 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    display: flex; align-items: center; gap: 8px;
    transition: all 0.2s ease;
}
.product-list-item::before {
    content: '●';
    color: var(--teal);
    font-size: 0.5rem;
    flex-shrink: 0;
}
.product-list-item:hover { border-color: var(--teal); background: rgba(15,139,124,0.04); }
.product-section-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.product-section-header h3 { font-family: 'Playfair Display', serif; margin: 0; font-size: 1.6rem; }
.product-section-header p { margin: 0.5rem 0 0; color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.grade-badge {
    background: rgba(201,151,43,0.2);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
    margin-right: 0.3rem;
}

/* ===== ABOUT PAGE ===== */
.about-lead {
    font-size: 1.12rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.about-highlight-box {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}
.about-highlight-box h3 { font-family: 'Playfair Display', serif; color: var(--gold-light); margin-bottom: 1rem; }
.about-stat-block {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.07);
    border-radius: var(--radius);
}
.about-stat-block .num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-light);
}
.about-stat-block .label { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ===== SERVICES PAGE ===== */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-icon {
    width: 68px; height: 68px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

/* ===== CONTACT PAGE ===== */
.contact-info-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--white);
    height: 100%;
}
.contact-info-item {
    display: flex; gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-info-icon {
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--gold-light);
}
.contact-info-item h6 { color: rgba(255,255,255,0.6); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.contact-info-item p { color: var(--white); margin: 0; font-size: 0.92rem; }
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.form-label { font-weight: 500; font-size: 0.88rem; color: var(--navy); margin-bottom: 0.4rem; }
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(15,139,124,0.12);
}
.btn-submit {
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: var(--white);
    border: none;
    border-radius: 10px;
    padding: 0.85rem 2rem;
    font-weight: 600;
    font-size: 0.98rem;
    width: 100%;
    transition: all 0.3s ease;
}
.btn-submit:hover {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    box-shadow: 0 6px 20px rgba(15,139,124,0.35);
    transform: translateY(-1px);
    color: var(--white);
}
.alert-success-custom {
    background: rgba(15,139,124,0.1);
    border: 1px solid var(--teal);
    border-radius: 10px;
    color: var(--teal);
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { font-family: 'Playfair Display', serif; color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.page-hero .breadcrumb-item { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.page-hero .breadcrumb-item a { color: var(--gold-light); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.88); }
.page-hero .breadcrumb-divider { color: rgba(255,255,255,0.4); }

/* ===== TESTIMONIAL ===== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    height: 100%;
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; }
.testimonial-text { font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); font-style: italic; margin: 1rem 0; }
.testimonial-author { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.testimonial-company { font-size: 0.78rem; color: var(--text-muted); }

/* ===== CTA BANNER ===== */
.cta-section {
    background: linear-gradient(135deg, var(--teal) 0%, var(--navy-mid) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-section h2 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 2.2rem; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.05rem; }

/* ===== FOOTER ===== */
.footer {
    background: var(--navy);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--teal), var(--gold));
}
.footer-heading {
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}
.footer-text { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.7; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    display: flex; align-items: center; gap: 6px;
}
.footer-links a i { font-size: 0.7rem; }
.footer-links a:hover { color: var(--teal-light); padding-left: 4px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
    color: rgba(255,255,255,0.7);
    font-size: 0.87rem;
    margin-bottom: 0.7rem;
    display: flex; gap: 0.7rem; align-items: flex-start;
}
.footer-contact-list li i { color: var(--gold-light); margin-top: 2px; flex-shrink: 0; }
.footer-divider { border-color: rgba(255,255,255,0.1); }
.footer-copy { color: rgba(255,255,255,0.45); font-size: 0.82rem; }
.badge-pill-footer {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 0.3rem;
}
.cert-badge {
    background: rgba(201,151,43,0.15);
    border: 1px solid rgba(201,151,43,0.3);
    color: var(--gold-light);
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-right: 0.4rem;
    margin-bottom: 0.3rem;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    background: var(--teal);
    color: var(--white);
    border: none; border-radius: 50%;
    display: none; align-items: center; justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: all 0.3s ease;
}
.back-to-top:hover { background: var(--navy); transform: translateY(-3px); }
.back-to-top.show { display: flex; }

/* ===== UTILITIES ===== */
.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }
.text-gold { color: var(--gold); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); }
.rounded-custom { border-radius: var(--radius-lg); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero { min-height: auto; padding: 3rem 0; }
    .hero-stats { gap: 1.2rem; }
    .page-hero { padding: 2.5rem 0; }
    .form-card, .contact-info-card { padding: 1.5rem; }
}
