/* ===================================
   PharmaCore - Main Stylesheet
   style.css
   =================================== */

/* ---- CSS Custom Properties ---- */
:root {
    --primary: #1b4fa8;
    --primary-dark: #0d3480;
    --primary-light: #2563eb;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-light: #64748b;
    --bg-light: #f0f6ff;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --success: #22c55e;
    --danger: #ef4444;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(27, 79, 168, 0.12);
    --shadow-lg: 0 10px 40px rgba(27, 79, 168, 0.18);
    --shadow-xl: 0 20px 60px rgba(27, 79, 168, 0.22);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --gradient-primary: linear-gradient(135deg, #1b4fa8 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(160deg, #0a1628 0%, #1b4fa8 50%, #06b6d4 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.7;
    padding-top: var(--header-h, 72px);
    /* offset for fixed header */
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
}

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(27, 79, 168, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 79, 168, 0.45);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--gradient-primary);
    color: #fff;
    padding: 10px 22px;
    font-size: 0.88rem;
    border-radius: var(--radius-md);
    box-shadow: 0 3px 12px rgba(27, 79, 168, 0.3);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 79, 168, 0.4);
}

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

.section-badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    /* margin-bottom: 14px; */
    border: 1px solid rgba(27, 79, 168, 0.15);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2vw, 2.6rem);
    color: var(--text-dark);
    line-height: 1.3;
    /* margin-bottom: 16px; */
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 580px;
    margin: 0 auto;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
    margin: 16px auto 0;
}

/* ---- TOP BAR ---- */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0;
    font-size: 0.82rem;
}

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

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar-left span i,
.top-bar-right a i {
    margin-right: 6px;
    color: var(--secondary);
}

.top-bar-right {
    display: flex;
    gap: 14px;
}

.top-bar-right a {
    color: rgba(255, 255, 255, 0.75);
}

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

/* ---- HEADER / NAV ---- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    padding: 14px 0;
}

.main-header.scrolled {
    padding: 9px 0;
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 1);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(27, 79, 168, 0.35);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
}

.logo-name {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-tagline {
    display: block;
    font-size: 0.68rem;
    color: var(--text-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Main Nav */
.main-nav {
    flex: 1;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: center;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-body);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: var(--bg-light);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

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

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* ---- HERO SECTION ---- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero_banner.png') center/cover no-repeat;
    opacity: 0.18;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.85;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15);
    animation: floatParticle var(--dur, 8s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: var(--font-heading);
    /* font-size: clamp(2.2rem, 5vw, 3.8rem); */
    line-height: 1.15;
    margin-bottom: 22px;
    font-weight: 700;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--secondary), #a5f3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 38px;
    max-width: 560px;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.hero-stat .number span {
    color: var(--secondary);
}

.hero-stat .label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator i {
    font-size: 1.1rem;
}

@keyframes bounce {

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

    50% {
        transform: translateY(8px);
    }
}

/* ---- ABOUT SNIPPET ---- */
.about-section {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.about-image-col {
    position: relative;
}

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

.about-image-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-badge-float {
    position: absolute;
    bottom: 28px;
    left: -28px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 18px 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
}

.about-badge-float .icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.about-badge-float .badge-text .num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.about-badge-float .badge-text .lbl {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2px;
}

.about-text-col .section-header {
    text-align: left;
    margin-bottom: 28px;
}

.about-text-col .divider {
    margin: 16px 0 0 0;
}

.about-desc {
    margin: 22px 0 30px;
    color: var(--text-body);
    line-height: 1.8;
}

.about-features {
    margin-bottom: 34px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* ---- SERVICES SECTION ---- */
.services-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 79, 168, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.08);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 18px;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 10px;
}

/* ---- PRODUCTS SECTION (Home preview) ---- */
.products-preview {
    padding: 100px 0;
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.product-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0eeff, #cce4f6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-img i {
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.4;
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.product-card-body {
    padding: 22px;
}

.product-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-card-body p {
    font-size: 0.83rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ---- STATS COUNTER SECTION ---- */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.04"><circle cx="30" cy="30" r="20"/></g></g></svg>') repeat;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.stat-card-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    /* color: #fff; */
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number sup {
    font-size: 1.2rem;
}

.stat-label {
    font-size: 0.82rem;
    color: #1b4fa8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Premium Reason Cards for Services Page */
.reason-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--primary);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-light);
}

.reason-icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    transition: all 0.4s ease;
}

.reason-icon-wrap i {
    font-size: 2rem;
    color: var(--primary);
    z-index: 1;
}

.reason-icon-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.4s ease;
    transform: scale(0.8);
}

.reason-card:hover .reason-icon-wrap {
    transform: rotateY(360deg);
}

.reason-card:hover .reason-icon-wrap::after {
    opacity: 1;
    transform: scale(1);
}

.reason-card:hover .reason-icon-wrap i {
    color: #fff;
}

.reason-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.reason-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.15;
    margin-bottom: 14px;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.93rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 22px;
    font-style: italic;
}

.stars {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 18px;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info .name {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-dark);
}

.author-info .role {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* ---- CTA SECTION ---- */
.cta-section {
    padding: 40px 0;
    background: var(--text-dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(27, 79, 168, 0.3) 0%, transparent 70%);
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.1rem);
    color: #fff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    max-width: 540px;
    margin-inline: auto;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- PAGE BANNER (Inner Pages) ---- */
.page-banner {
    background: var(--gradient-hero);
    padding: 90px 0 80px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 12px;
}

.breadcrumb {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a {
    color: var(--secondary);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 8px;
}

/* ---- PRODUCT FULL PAGE ---- */
.products-page {
    padding: 40px 0;
}

.products-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    background: var(--bg-light);
    color: var(--text-body);
    border: 1px solid var(--border);
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.products-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.prod-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.prod-card-img {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.prod-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.prod-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.prod-card-body {
    padding: 24px;
}

.prod-card-body h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.prod-detail-group {
    margin-bottom: 15px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.prod-detail-item {
    margin-bottom: 6px;
    color: var(--text-body);
}

.prod-detail-item strong {
    color: var(--primary);
    font-weight: 600;
}

.prod-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border-top: 1px solid #e2e8f0; */
    /* padding-top: 12px; */
    font-size: 0.8rem;
    color: var(--text-light);
}

.prod-meta span i {
    color: var(--primary);
    margin-right: 5px;
}

/* ---- CONTACT PAGE ---- */
.contact-page {
    padding: 40px 0;
}

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

.contact-info-blocks {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-info-block {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.contact-info-block:hover {
    transform: translateX(5px);
}

.contact-info-block .ci-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-block h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-info-block p {
    font-size: 0.83rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.contact-form h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-form .form-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27, 79, 168, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.map-embed {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 32px;
    box-shadow: var(--shadow-sm);
}

.map-embed iframe {
    width: 100%;
    height: 280px;
    border: 0;
    display: block;
}

/* ---- RESEARCH PAGE ---- */
.research-page {
    padding: 80px 0;
}

.research-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    margin-bottom: 80px;
}

.research-intro img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.pipeline-section {
    margin-bottom: 80px;
}

.pipeline-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.pipeline-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pipeline-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pipeline-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.pipeline-phase {
    min-width: 110px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    text-align: center;
    flex-shrink: 0;
}

.pipeline-phase .ph-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 1px;
}

.pipeline-phase .ph-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
}

.pipeline-progress {
    flex: 1;
}

.pipeline-progress h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.pipeline-progress p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.progress-bar {
    height: 8px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar .fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 1.2s ease;
}

.pipeline-status {
    min-width: 110px;
    text-align: right;
}

.status-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}

.status-badge.active {
    background: #dcfce7;
    color: #15803d;
}

.status-badge.phase3 {
    background: #dbeafe;
    color: var(--primary);
}

.status-badge.phase2 {
    background: #fef9c3;
    color: #854d0e;
}

.status-badge.preclinical {
    background: #f3e8ff;
    color: #7c3aed;
}

/* ---- ABOUT FULL PAGE ---- */
.about-page {
    padding: 80px 0;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 60px 0;
}

.mv-card {
    padding: 38px 34px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.mv-card.mission {
    background: var(--gradient-primary);
    color: #fff;
}

.mv-card.vision {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.mv-card i {
    font-size: 2rem;
    margin-bottom: 18px;
    opacity: 0.8;
}

.mv-card.vision i {
    color: var(--primary);
    opacity: 1;
}

.mv-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.mv-card p {
    font-size: 0.92rem;
    line-height: 1.8;
    opacity: 0.88;
}

/* .team-section {
    margin-top: 80px;
} */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 28px;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

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

.prod-card-img {
    height: 180px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.prod-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.prod-category {
    /* position: absolute; */
    /* top: 15px; */
    /* right: 15px; */
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.prod-card-body {
    padding: 24px;
}

.team-photo {
    height: 180px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-photo i {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.25;
}

.team-photo-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
}

.team-card:hover .team-photo-overlay {
    opacity: 0.9;
}

.team-photo-overlay a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    transition: var(--transition);
}

.team-photo-overlay a:hover {
    background: rgba(255, 255, 255, 0.4);
}

.team-info {
    padding: 10px;
}

.team-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-info .role {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.team-info p {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---- SERVICES FULL PAGE ---- */
.services-page {
    padding: 40px 0;
}

.services-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.services-features .sf-card {
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.services-features .sf-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.sf-card .sf-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.sf-card:hover .sf-icon {
    background: var(--gradient-primary);
    color: #fff;
}

.sf-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.sf-card p {
    font-size: 0.87rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 20px;
}

.sf-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sf-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-body);
}

.sf-list li i {
    color: var(--success);
    font-size: 0.85rem;
}

/* ---- FOOTER ---- */
.main-footer {
    background: #0a1628;
    position: relative;
}

.footer-wave {
    line-height: 0;
}

.footer-wave svg {
    display: block;
}

.footer-content {
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.6fr;
    gap: 48px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo i {
    font-size: 1.8rem;
    color: var(--secondary);
}

.footer-logo span {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
    margin-bottom: 22px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-socials a:hover {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-col ul a i {
    color: var(--secondary);
    font-size: 0.65rem;
}

.footer-col ul a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px !important;
}

.contact-list li i {
    color: var(--secondary);
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-list li span {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* Newsletter */
.footer-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 32px 36px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-left h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.newsletter-left h4 i {
    color: var(--secondary);
    margin-right: 8px;
}

.newsletter-left p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.83rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 280px;
    max-width: 480px;
}

.newsletter-form input {
    flex: 1;
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 0.88rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    border-color: var(--secondary);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* =========================================================================
   18. FLOATING CHATBOT
   ========================================================================= */
.chatbot-wrapper {
    position: fixed;
    bottom: 21px;
    left: 14px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.chatbot-toggle {
    background: var(--primary);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background: var(--secondary);
}

/* Chatbot Tooltip */
.chatbot-toggle .chat-tooltip {
    position: absolute;
    left: 62px;
    background: #0f172a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.25s ease;
}

.chatbot-toggle:hover .chat-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.chatbot-window {
    width: 320px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

.chatbot-header {
    background: var(--primary);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.chatbot-body {
    padding: 20px;
    height: 250px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-sender-label {
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    color: #06b6d4 !important;
    /* Distinct Cyan Color */
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: -10px !important;
    margin-left: 2px !important;
}

.chat-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-message.bot {
    background: #e2e8f0;
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.chat-message.user {
    background: var(--primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.chatbot-input {
    display: flex;
    padding: 15px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    outline: none;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.chatbot-input input:focus {
    border-color: var(--primary);
}

.chatbot-input button {
    background: var(--secondary);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-input button:hover {
    background: var(--primary);
}

/* Adjust Dark Mode for Chatbot */
.dark-mode .chatbot-window {
    background: var(--dark-card);
    border-color: var(--dark-border);
}

.dark-mode .chatbot-body {
    background: var(--dark-bg);
}

.dark-mode .chat-message.bot {
    background: var(--dark-border);
    color: var(--text-light);
}

.dark-mode .chatbot-input {
    background: var(--dark-card);
    border-color: var(--dark-border);
}

.dark-mode .chatbot-input input {
    background: var(--dark-bg);
    border-color: var(--dark-border);
    color: var(--text-light);
}

/* =========================================================================
   2. GLOBAL PRELOADER
   ========================================================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-capsule {
    width: 40px;
    height: 80px;
    position: relative;
    animation: rotateCapsule 2s infinite ease-in-out;
    margin-bottom: 25px;
}

.capsule-part {
    width: 100%;
    height: 50%;
    border-radius: 40px 40px 0 0;
    position: absolute;
}

.capsule-part.top {
    top: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.capsule-part.bottom {
    bottom: 0;
    background: #e2e8f0;
    border-radius: 0 0 40px 40px;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.loader-text span {
    color: var(--primary);
}

.loader-bar {
    width: 150px;
    height: 3px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-progress {
    width: 40%;
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
    position: absolute;
    left: -40%;
    animation: barLoop 1.5s infinite ease-in-out;
}

@keyframes rotateCapsule {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

@keyframes barLoop {
    0% {
        left: -40%;
    }

    100% {
        left: 100%;
    }
}

body.dark-mode .preloader {
    background: var(--dark-bg);
}

body.dark-mode .loader-text {
    color: #fff;
}

body.dark-mode .loader-bar {
    background: rgba(255, 255, 255, 0.1);
}

/* =========================================================================
   3. LAYOUT & CONTAINERS
   ========================================================================= */
/* =========================================================================
   19. PRODUCT DETAILS
   ========================================================================= */
.product-details-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.product-visual-sticky {
    position: sticky;
    top: 200px;
    z-index: 10;
    margin-bottom: 30px;
}

.product-details-actions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.brochure-content {
    /* padding: 40px; */
    background: #fff;
}

.product-spec-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 15px 25px;
    border-bottom: 1px solid #f1f5f9;
}

.product-spec-row:last-child {
    border-bottom: none;
}

.product-spec-label {
    font-weight: 700;
    color: var(--text-dark);
}

.product-spec-value {
    color: var(--text-body);
}

/* Adjust Dark Mode for Product Details */
body.dark-mode .product-details-container,
body.dark-mode .brochure-content {
    background: var(--dark-card);
}

body.dark-mode .product-spec-row {
    border-color: var(--dark-border);
}

/* =========================================================================
   20. PRESENCE & SUPPLY NETWORK
   ========================================================================= */
.network-section {
    padding: 80px 0;
    margin: 60px 0;
    background: #f8fafc;
    border-radius: var(--radius-xl);
}

.presence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.presence-col h4 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.presence-list {
    list-style: none;
    padding: 0;
}

.presence-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0;
    color: var(--text-body);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.presence-list li i {
    color: var(--secondary);
    margin-top: 4px;
    font-size: 0.9rem;
}

.presence-list li strong {
    color: var(--text-dark);
}

.aspiration-box {
    margin-top: 50px;
    padding: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.aspiration-box::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    opacity: 0.1;
}

.aspiration-box p {
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    font-style: italic;
    font-weight: 500;
}

.aspiration-box .tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Dark Mode fix for Network Section */
body.dark-mode .network-section {
    background: var(--dark-bg);
}

body.dark-mode .presence-list li {
    border-color: var(--dark-border);
}

/* =========================================================================
   21. DISTRIBUTION MODEL
   ========================================================================= */
.dist-model-section {
    /* padding: 40px 0; */
    margin-top: 60px;
    background: #fff;
}

.dist-model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.dist-card {
    background: #f8fafc;
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.dist-card:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-5px);
}

.dist-card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.dist-card h4 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.dist-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

/* Dark Mode for Dist Model */
body.dark-mode .dist-model-section {
    background: var(--dark-bg);
}

body.dark-mode .dist-card {
    background: var(--dark-card);
    border-color: var(--dark-border);
}

body.dark-mode .dist-card:hover {
    border-color: var(--primary);
}

/* =========================================================================
   22. CERTIFICATIONS & COMPLIANCE
   ========================================================================= */
.cert-section {
    padding: 80px 0;
    background: #fff;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.cert-badge-card {
    background: #f8fafc;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.cert-badge-card:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-light);
}

.cert-badge-card h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 800;
}

.cert-badge-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Dark Mode for Certs */
body.dark-mode .cert-badge-card {
    background: var(--dark-card);
    border-color: var(--dark-border);
}

body.dark-mode .cert-icon {
    background: var(--dark-bg);
}

/* ---- PAGINATION ---- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-btn,
.pagination-num {
    padding: 10px 18px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.pagination-num {
    padding: 10px 16px;
}

.pagination-btn:hover,
.pagination-num:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-num.active {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
}

.pagination-btn i {
    font-size: 0.75rem;
}

@media (max-width: 480px) {
    .pagination {
        gap: 10px;
    }

    .pagination-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .pagination-num {
        padding: 8px 12px;
    }
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}