/* ============================================================
   CEDAR Life Care – Premium Pharma Corporate Design System
   ============================================================ */

:root {
    --primary: #3B2A8F;
    --primary-dark: #2E2170;
    --primary-light: rgba(59, 42, 143, 0.08);
    --secondary: #00A9B7;
    --secondary-dark: #008A96;
    --accent: #FF4A4A;
    --surface-light: #F7F8FA;
    --surface: #ffffff;
    --surface-alt: #f0f2f6;
    --text-primary: #1a1d2e;
    --text-secondary: #5a6178;
    --text-muted: #8b92a8;
    --border: #e4e7ef;
    --dark: #0f1222;
    --navy: #151829;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #5B4BB5 50%, var(--secondary) 100%);
    --gradient-hero: linear-gradient(125deg, rgba(15, 18, 34, 0.94) 0%, rgba(59, 42, 143, 0.75) 55%, rgba(0, 169, 183, 0.35) 100%);
    --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --shadow-sm: 0 2px 8px rgba(59, 42, 143, 0.06);
    --shadow-md: 0 8px 24px rgba(59, 42, 143, 0.1);
    --shadow-lg: 0 16px 48px rgba(59, 42, 143, 0.14);
    --shadow-xl: 0 24px 56px rgba(15, 18, 34, 0.12);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --duration: 0.35s;
    --space-section: clamp(4rem, 8vw, 6rem);
}

/* ================= GLOBAL ================= */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--surface);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.navbar-brand {
    font-family: var(--font-heading);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================= PAGE LOADER ================= */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.loader-logo span { color: var(--secondary); }

.loader-bar {
    width: 180px;
    height: 4px;
    background: var(--surface-alt);
    border-radius: 99px;
    margin-top: 1.25rem;
    overflow: hidden;
}

.loader-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 99px;
    animation: loaderProgress 1.2s var(--ease) forwards;
}

@keyframes loaderProgress {
    to { width: 100%; }
}

/* ================= SKIP LINK ================= */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 99999;
    padding: 0.6rem 1rem;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus { top: 1rem; }

/* ================= TOP BAR ================= */
.top-bar {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8125rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.top-bar-list a,
.top-bar-list span {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar-list a:hover { color: var(--secondary); }

.top-bar-list i { color: var(--secondary); font-size: 0.75rem; }

.top-bar-badges { display: flex; gap: 0.75rem; }

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 169, 183, 0.15);
    border: 1px solid rgba(0, 169, 183, 0.3);
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ================= HEADER / NAVBAR ================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
}

.custom-navbar {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(228, 231, 239, 0.8);
    transition: background var(--duration), box-shadow var(--duration), padding var(--duration);
}

.custom-navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.brand-logo { height: 60px; width: auto; }

.navbar-brand:has(.brand-logo) .brand-text { display: none; }

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-mark {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.04em;
}

.brand-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.navbar-toggler {
    border: 1px solid var(--border);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--primary-light); }

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary) !important;
    padding: 0.5rem 0 !important;
    margin: 0 0.85rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width var(--duration) var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-link:focus-visible::after { width: 100%; }

.nav-link:hover,
.nav-link.active { color: var(--primary) !important; }

.dropdown-toggle::after { display: none !important; }

.custom-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-icon i {
    font-size: 0.65rem;
    transition: transform var(--duration);
}

.show > .custom-dropdown .dropdown-icon i { transform: rotate(180deg); }

.dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    font-weight: 500;
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--primary);
    color: #fff;
}

.btn-quote {
    background: var(--gradient-primary);
    color: #fff !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: 0 6px 20px rgba(59, 42, 143, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.btn-quote:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(59, 42, 143, 0.4);
}

/* ================= BUTTONS ================= */
.btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-md) !important;
    padding: 0.75rem 1.75rem;
    box-shadow: 0 6px 20px rgba(59, 42, 143, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(59, 42, 143, 0.38);
    filter: brightness(1.05);
}

.btn-outline-primary {
    color: var(--primary);
    border: 2px solid var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-md);
    padding: 0.65rem 1.5rem;
    transition: all 0.25s;
}

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

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    transition: all 0.25s;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

/* ================= TYPOGRAPHY / SECTIONS ================= */
.section-padding { padding: var(--space-section) 0; }

.section-subtitle {
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    max-width: 560px;
    line-height: 1.65;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light-pattern {
    background-color: var(--surface-light);
    background-image: radial-gradient(circle at 20% 30%, rgba(59, 42, 143, 0.04) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(0, 169, 183, 0.05) 0%, transparent 50%);
}

/* ================= SCROLL REVEAL ================= */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-up { transform: translateY(32px); }
.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ================= HERO ================= */
.hero-section {
    position: relative;
    min-height: min(92vh, 820px);
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1587854692152-cf2409e0fd28?w=1920&q=80') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-float {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--secondary);
    z-index: 2;
    animation: floatY 6s ease-in-out infinite;
    backdrop-filter: blur(8px);
}

.hero-float-1 { top: 22%; right: 12%; animation-delay: 0s; }
.hero-float-2 { top: 45%; right: 22%; animation-delay: 1.5s; width: 44px; height: 44px; font-size: 1.1rem; }
.hero-float-3 { bottom: 28%; right: 8%; animation-delay: 3s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem 0 6rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.hero-content h1 {
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
}

.hero-lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 520px;
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: 0;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 4;
    line-height: 0;
}

.hero-curve svg {
    width: 100%;
    height: clamp(60px, 8vw, 100px);
    display: block;
}

/* ================= ABOUT ================= */
.about-section {
    position: relative;
    background: var(--surface);
    overflow: hidden;
}

.about-img-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img {
    width: 100%;
    border-radius: var(--radius-xl);
    display: block;
}

.about-img-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--surface);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-img-badge i { color: var(--secondary); }

.about-text {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.vision-mission {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.vm-card {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--surface-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: box-shadow 0.3s, transform 0.3s;
}

.vm-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.vm-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.vm-card h6 {
    font-weight: 700;
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
}

.vm-card p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(59, 42, 143, 0.2);
}

.stat-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 0.25rem;
    font-family: var(--font-heading);
}

.stat-card p {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.watermark-text {
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 800;
    color: rgba(59, 42, 143, 0.04);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

/* ================= CATEGORY CARDS ================= */
.category-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 169, 183, 0.35);
}

.category-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 169, 183, 0.1));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    transition: background 0.35s, color 0.35s, transform 0.35s;
}

.category-card:hover .category-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.05) rotate(-3deg);
}

.category-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.0625rem;
}

.category-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.category-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.25s, color 0.25s;
}

.category-link:hover {
    color: var(--secondary);
    gap: 0.6rem;
}

/* ================= SERVICES ================= */
.services-section { background: var(--surface); }

.service-card {
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.35s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    background: var(--surface);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ================= SPORTS NUTRITION ================= */
.sports-section { background: var(--surface); }

.sports-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.sports-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.sports-list i {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 2px;
}

.sports-visual {
    position: relative;
}

.sports-img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.float-product {
    position: absolute;
    background: var(--surface);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    animation: floatY 5s ease-in-out infinite;
    border: 1px solid var(--border);
}

.float-product i { color: var(--secondary); }

.float-product-1 { top: 8%; right: -4%; animation-delay: 0s; }
.float-product-2 { bottom: 35%; left: -6%; animation-delay: 1.2s; }
.float-product-3 { bottom: 8%; right: 5%; animation-delay: 2.4s; }

/* ================= FEATURES ================= */
.features-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.features-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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.features-section .container { position: relative; z-index: 1; }

.features-img-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.features-img-wrap img {
    width: 100%;
    display: block;
    border-radius: var(--radius-xl);
}

.features-badge-row {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--surface);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.feature-badge {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.features-badge-row span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.text-white-50 { color: rgba(255, 255, 255, 0.65) !important; }
.text-white-75 { color: rgba(255, 255, 255, 0.85); }

.feature-check-card {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    transition: background 0.3s, transform 0.3s;
    height: 100%;
}

.feature-check-card:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.feature-check-card > i {
    font-size: 1.35rem;
    color: var(--secondary);
    margin-top: 2px;
}

.feature-check-card h6 {
    color: #fff;
    font-weight: 700;
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
}

.feature-check-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8125rem;
    margin: 0;
    line-height: 1.5;
}

/* ================= TESTIMONIALS ================= */
.testimonials-section {
    background: var(--surface-light);
}

.testimonial-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 3rem);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin: 0 auto;
    max-width: 720px;
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card footer strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
}

.testimonial-card footer span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.testimonial-pagination .swiper-pagination-bullet-active {
    background: var(--primary) !important;
    width: 24px;
    border-radius: 99px;
}

/* ================= BLOG ================= */
.blog-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s, box-shadow 0.35s;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-img {
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-img img { transform: scale(1.06); }

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
}

.blog-content { padding: 1.5rem; }

.blog-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-content h5 {
    font-weight: 700;
    margin: 0.5rem 0;
    font-size: 1.0625rem;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.read-more {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    transition: gap 0.25s, color 0.25s;
}

.read-more:hover {
    color: var(--secondary);
    gap: 0.55rem;
}

/* ================= CONTACT ================= */
.contact-section { background: var(--surface); }

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
    color: var(--text-secondary);
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item > i {
    color: var(--secondary);
    font-size: 1.15rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.contact-info-item span,
.contact-info-item a {
    display: block;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-item a:hover {
    color: var(--magenta);
}

.contact-form-box {
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary);
}

.custom-input {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    background: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}

.contact-form-box .form-select.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233A2C8C'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px 10px;
    padding-right: 2.75rem;
    cursor: pointer;
}

.contact-form-box .custom-input.is-invalid {
    border-color: #dc3545;
}

.contact-form-box .invalid-feedback {
    font-size: 0.8125rem;
    color: #dc3545;
    margin-top: 0.35rem;
}

.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.form-alert i {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.form-alert-success {
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.25);
    color: #146c43;
}

.form-alert-error {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.25);
    color: #b02a37;
}

/* ================= FOOTER ================= */
.footer-section {
    background: linear-gradient(180deg, var(--navy) 0%, var(--dark) 100%);
    color: rgba(255, 255, 255, 0.85);
    padding-top: var(--space-section);
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-logo-link {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    line-height: 1.15;
}

.footer-logo-link .brand-mark {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.footer-logo-link .brand-sub {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.footer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1.25rem;
}

.footer-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.65rem; }

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 0.35rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.footer-social a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1.15rem;
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-contact-item i { color: var(--secondary); font-size: 1.1rem; }

.footer-contact-item strong {
    display: block;
    font-size: 0.8125rem;
    color: #fff;
}

.footer-contact-item p { margin: 0.25rem 0 0; font-size: 0.875rem; }

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-contact-item a:hover { color: var(--secondary); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding: 1.25rem 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ================= FLOATING BUTTONS ================= */
.float-btn {
    position: fixed;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
}

.float-whatsapp {
    bottom: 5.5rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.float-whatsapp:hover {
    color: #fff;
    transform: scale(1.08);
}

.float-scroll-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.float-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.float-scroll-top:hover { transform: translateY(-3px); }

.float-enquiry-mobile {
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    background: var(--gradient-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    gap: 0.5rem;
    box-shadow: 0 8px 28px rgba(59, 42, 143, 0.4);
    white-space: nowrap;
}

.float-enquiry-mobile:hover {
    color: #fff;
    transform: translateX(-50%) translateY(-2px);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ================= INNER PAGES ================= */
.page-inner { background: var(--surface); }

.page-hero {
    position: relative;
    padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
    background:
        var(--gradient-hero),
        url('../images/inner-header.jpg') center / cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.page-hero .container { position: relative; z-index: 1; }

.breadcrumb-nav {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover { color: #fff; }

.breadcrumb-nav .sep {
    margin: 0 0.5rem;
    opacity: 0.45;
}

.breadcrumb-nav span[aria-current="page"] {
    color: #fff;
    font-weight: 600;
}

.page-hero-kicker {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.page-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.page-hero-lead {
    font-size: 1.0625rem;
    max-width: 52ch;
    margin: 0;
    opacity: 0.9;
    line-height: 1.65;
}

.inner-section { padding: var(--space-section) 0; }

.inner-section.alt { background: var(--surface-light); }

.prose {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.prose p { margin-bottom: 1rem; }

.prose h2, .prose h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}

.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.2rem; }

.prose ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.prose li { margin-bottom: 0.5rem; }

.prose .lead {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.65;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.feature-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    color: var(--text-secondary);
}

.feature-list i {
    color: var(--secondary);
    margin-top: 3px;
}

.cta-box {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(58, 44, 140, 0.88) 0%, rgba(225, 27, 141, 0.72) 45%, rgba(0, 166, 199, 0.8) 100%),
        url('../images/quote-bg.jpg') center / cover no-repeat;
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.cta-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-box p {
    font-size: 0.9375rem;
    opacity: 0.92;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.cta-box .btn {
    background: #fff !important;
    color: var(--primary) !important;
    border: none;
    font-weight: 700;
}

.cta-box .btn:hover {
    background: var(--surface-light) !important;
    transform: translateY(-2px);
}

.sidebar-contact {
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.sidebar-contact h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.sidebar-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
}

.sidebar-contact a {
    color: var(--text-secondary);
    text-decoration: none;
}

.sidebar-contact a:hover { color: var(--magenta); }

.sidebar-contact i { color: var(--secondary); }

.info-card-grid .info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    transition: box-shadow 0.3s, transform 0.3s;
}

.info-card-grid .info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.55;
}

.dropdown-item.active {
    background: var(--primary);
    color: #fff;
}

/* ================= PRODUCT CATALOG TABLE ================= */
.page-catalog .catalog-only-section {
    padding-top: clamp(2rem, 4vw, 3rem);
}

.catalog-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.catalog-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
}

.catalog-header p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.product-table-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.product-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.product-table {
    width: 100%;
    min-width: 920px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
}

.product-table thead {
    background-color: var(--primary);
}

.product-table thead th {
    background-color: var(--primary);
    background-image: linear-gradient(135deg, #3A2C8C 0%, #5a47ad 50%, #7b3d9e 100%);
    color: #fff !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 1rem 1.15rem;
    border: none;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.product-table thead th:first-child {
    border-radius: 0;
    width: 56px;
    text-align: center;
}

.product-table tbody tr {
    transition: background 0.2s;
}

.product-table tbody tr:nth-child(even) {
    background: var(--surface-light);
}

.product-table tbody tr:hover {
    background: rgba(58, 44, 140, 0.04);
}

.product-table tbody td {
    padding: 1.15rem 1.15rem;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    line-height: 1.55;
}

.product-table tbody tr:last-child td {
    border-bottom: none;
}

.product-table .col-sr {
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    font-size: 0.9375rem;
}

.product-table .product-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.45;
    display: block;
}

.product-table .product-sub {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.product-table .brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    font-size: 0.9375rem;
    display: block;
    line-height: 1.35;
}

.brand-tag {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 0.2rem 0.55rem;
    background: var(--magenta-light);
    color: var(--magenta);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 99px;
}

.composition-block .dose-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--magenta);
    margin-bottom: 0.25rem;
}

.composition-block .dose-meta {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.8125rem;
    margin: 0 0 0.5rem;
}

.composition-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.composition-list li {
    position: relative;
    padding-left: 0.85rem;
    margin-bottom: 0.3rem;
    font-size: 0.8125rem;
}

.composition-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--secondary);
}

.pack-info {
    text-align: center;
}

.pack-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8125rem;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.35rem;
}

.pack-type {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.product-table-caption {
    padding: 0.85rem 1.15rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--surface-light);
    border-top: 1px solid var(--border);
}

@media (max-width: 767.98px) {
    .catalog-header h2 { font-size: 1.15rem; }
    .product-table thead th,
    .product-table tbody td { padding: 0.85rem 0.75rem; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--surface);
        padding: 1rem;
        border-radius: var(--radius-md);
        margin-top: 0.75rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-link { margin: 0.25rem 0 !important; }

    .hero-float { display: none; }

    .float-product-1,
    .float-product-2 { display: none; }

}

@media (max-width: 767.98px) {
    .top-bar-list { font-size: 0.75rem; gap: 0.35rem 1rem; }

    body { padding-bottom: 4rem; }

    .hero-content { padding:1rem 1rem 5rem 1rem; }

    .hero-cta .btn { width: 100%; }

}

.features-badge-row .counter{
	font-size:2rem;
}

/* Manufacturing page – full-width services grid, no sidebar */
.page-manufacturing .services-section {
    padding-top: 0;
}

/* Certificate gallery (About Us) */
.certificate-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.certificate-thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-light);
    cursor: zoom-in;
    transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.certificate-thumb:hover,
.certificate-thumb:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    outline: none;
}

.certificate-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.certificate-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 44, 140, 0.45);
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.certificate-thumb:hover .certificate-zoom,
.certificate-thumb:focus-visible .certificate-zoom {
    opacity: 1;
}

.cert-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.cert-lightbox[hidden] {
    display: none;
}

.cert-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 12, 41, 0.85);
    cursor: zoom-out;
}

.cert-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 900px);
    max-height: 92vh;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1rem 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    animation: certZoomIn 0.25s var(--ease);
}

@keyframes certZoomIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cert-lightbox-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: var(--surface-light);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}

.cert-lightbox-close:hover {
    background: var(--primary);
    color: #fff;
}

.cert-lightbox-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--text-primary);
    margin: 0 2.5rem 0.75rem 0.25rem;
}

.cert-lightbox-image-wrap {
    max-height: calc(92vh - 5rem);
    overflow: auto;
    border-radius: var(--radius-md);
    background: var(--surface-light);
}

.cert-lightbox-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(92vh - 5rem);
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 767.98px) {
    .certificate-gallery {
        grid-template-columns: 1fr;
    }
}

/* Careers apply block */
.careers-apply {
    margin-top: 2rem;
    padding: 2rem 1.75rem;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.careers-apply-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.35rem;
}

.careers-apply h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.careers-apply p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.careers-apply-email {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem !important;
}

.careers-apply-email a {
    color: var(--primary);
    text-decoration: none;
}

.careers-apply-email a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.careers-apply-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Under development pages */
.page-under-development .catalog-only-section {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

.under-dev-card {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.under-dev-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(58, 44, 140, 0.12), rgba(225, 27, 141, 0.1));
    color: var(--primary);
    font-size: 2rem;
}

.under-dev-card h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.under-dev-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.under-dev-card .btn {
    min-width: 10rem;
}