/* ==========================================================================
   1. CORE VARIABLES, RESET & LAYOUT SYSTEMS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-blue: #0056b3;
    --secondary-blue: #007bff;
    --green: #28a745;
    --dark-green: #1e7e34;
    --text-dark: #333333;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
}

body {
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 55px);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Global Typography/Section Accents */
.section-title {
    text-align: center;
    margin: 60px 0 40px 0;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 700;
    color: #002b5c;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.section-title::before, .section-title::after {
    content: ''; height: 2px; width: 80px;
    background: linear-gradient(to right, transparent, var(--secondary-blue), transparent);
}

/* Global Buttons & Badges */
.btn {
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.btn-blue { background-color: var(--primary-blue); color: white; }
.btn-green { background-color: var(--green); color: white; }

.badge-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.badge-tag.milk { background: #e2f0fd; color: var(--secondary-blue); }
.badge-tag.paneer { background: #e8f5e9; color: var(--green); }
.badge-tag.ghee { background: #fff3e0; color: #ff9800; }
.badge-tag.butter { background: #fffde7; color: #fbc02d; }
.badge-tag.cheese { background: #ede7f6; color: #673ab7; }

/* ==========================================================================
   2. GLOBAL HEADER, FOOTER & HERO BANNERS
   ========================================================================== */
.top-bar {
    background-color: var(--primary-blue);
    color: #ffffff;
    font-size: 13px;
    padding: 10px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.top-bar-right { display: flex; gap: 20px; align-items: center; }
.top-bar-right a i { margin-right: 5px; }
.social-icons a { margin-left: 12px; font-size: 14px; opacity: 0.8; }
.social-icons a:hover { opacity: 1; }

.header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; }
.logo-img { height: 60px; width: auto; }
.nav-menu { display: flex; gap: 22px; font-size: 14px; font-weight: 600; align-items: stretch; }
/* Every top-level item uses the same box: flex, equal padding, and a
   transparent bottom border reserved so hover doesn't shift the layout.
   The dropdown wrapper matches its siblings' height so text baselines line up. */
.nav-menu > a, .nav-dropdown > a {
    display: flex; align-items: center;
    color: #444; padding: 4px 0 5px; line-height: 1.5;
    border-bottom: 2px solid transparent;
}
.nav-menu > a:hover, .nav-menu > a.active,
.nav-dropdown:hover > a, .nav-dropdown > a.active {
    color: var(--secondary-blue); border-bottom-color: var(--secondary-blue);
}

/* Categories / Gallery dropdowns */
.nav-dropdown { position: relative; display: flex; align-items: stretch; }
.nav-dropdown > a { gap: 6px; }
.nav-dropdown > a i { font-size: 10px; }
/* Left-aligned to the parent item rather than centred, so wide entries
   like "Milk Protein Concentrates" don't overhang to the left. */
.nav-dropdown-menu {
    position: absolute; top: 100%; left: 0; transform: translateY(10px);
    background: #fff; min-width: 210px; padding: 8px 0; border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12); border: 1px solid var(--border-color);
    opacity: 0; visibility: hidden; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(2px); }
/* Keeps the pointer from falling through the gap between item and panel */
.nav-dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
/* Dropdowns near the right edge open leftwards so they stay on screen */
.nav-dropdown:last-of-type .nav-dropdown-menu { left: auto; right: 0; }
.nav-dropdown-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 20px; font-size: 13px; color: #444; border: none; white-space: nowrap;
}
.nav-dropdown-menu a i { color: var(--secondary-blue); font-size: 12px; width: 14px; text-align: center; }
.nav-dropdown-menu a:hover { background: #f4f9ff; color: var(--secondary-blue); }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
    display: none; width: 46px; height: 46px; border: none; background: transparent;
    cursor: pointer; padding: 0; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span {
    display: block; width: 25px; height: 2px; margin: 0 auto; border-radius: 2px;
    background: var(--primary-blue); transition: transform 0.3s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Backdrop behind the mobile drawer */
.nav-backdrop {
    position: fixed; inset: 0; background: rgba(0,20,45,0.45); z-index: 1001;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* Inner Page Hero/Breadcrumb Structure */
.inner-hero {
    background: linear-gradient(rgba(241, 248, 255, 0.85), rgba(241, 248, 255, 0.85)), url('https://images.unsplash.com/photo-1528498033373-38d7a8628680?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}
.inner-hero h2 { font-size: 36px; color: #002b5c; font-weight: 700; }
.inner-hero p { max-width: 820px; color: var(--text-muted); font-size: 15px; }
.breadcrumb { font-size: 14px; color: var(--text-muted); margin: 5px 0 15px 0; }
.breadcrumb a { color: var(--secondary-blue); }

/* Global Bulk Inquiry Banner */
.bulk-cta { background: linear-gradient(135deg, var(--primary-blue) 0%, #002b5c 100%); color: white; padding: 50px 0; }
.bulk-cta .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 25px; }
.bulk-text h3 { font-size: 26px; font-weight: 700; }

/* Floating Contact Shortcuts (WhatsApp / Call / Top) */
.floating-actions {
    position: fixed; right: 22px; bottom: 24px; z-index: 999;
    display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.float-btn {
    position: relative; width: 54px; height: 54px; border-radius: 50%; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 24px; text-decoration: none;
    box-shadow: 0 8px 22px rgba(0,0,0,0.22);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.float-btn:hover { transform: scale(1.09); box-shadow: 0 12px 28px rgba(0,0,0,0.3); }
.float-whatsapp { background: linear-gradient(135deg, #35d16b, #1faa4d); }
.float-call { background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue)); font-size: 20px; }
.float-top {
    background: #002b5c; font-size: 15px; width: 44px; height: 44px;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.float-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-top:hover { background: var(--primary-blue); }

/* Pulse ring on the contact buttons */
.float-whatsapp::before, .float-call::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: inherit; opacity: 0.55; z-index: -1;
    animation: floatPulse 2.2s ease-out infinite;
}
.float-call::before { animation-delay: 1.1s; }
@keyframes floatPulse {
    0%   { transform: scale(1);   opacity: 0.55; }
    70%  { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* Hover label */
.float-label {
    position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(8px);
    background: #002b5c; color: #fff; font-size: 12.5px; font-weight: 600;
    padding: 8px 14px; border-radius: 8px; white-space: nowrap;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.float-label::after {
    content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
    border: 6px solid transparent; border-left-color: #002b5c;
}
.float-btn:hover .float-label { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

@media (prefers-reduced-motion: reduce) {
    .float-whatsapp::before, .float-call::before { animation: none; }
}

/* Global Directory Footer */
.footer {
    position: relative;
    background: linear-gradient(180deg, #012647 0%, #001325 100%);
    color: #9db0c6; padding: 66px 0 0; font-size: 13.5px;
}
.footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--green));
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr 1.3fr; gap: 45px;
    padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
    color: #fff; font-size: 16px; margin-bottom: 24px; font-weight: 600;
    position: relative; padding-bottom: 12px;
}
.footer-col h4::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px;
    border-radius: 3px; background: linear-gradient(90deg, var(--secondary-blue), var(--green));
}
.footer-col ul li { margin-bottom: 13px; }
.footer-col ul:not(.contact-links) li a {
    color: #9db0c6; display: inline-flex; align-items: center; gap: 8px; transition: all 0.25s ease;
}
.footer-col ul:not(.contact-links) li a::before {
    content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    font-size: 11px; color: #5c7a99; transition: transform 0.25s ease, color 0.25s ease;
}
.footer-col ul li a:hover { color: #fff; }
.footer-col ul:not(.contact-links) li a:hover::before { color: var(--green); transform: translateX(3px); }

/* Brand column */
.footer-logo {
    display: inline-block; background: #fff; padding: 12px 16px;
    border-radius: 12px; margin-bottom: 20px; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.footer-logo:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.28); }
.footer-logo img { height: 52px; width: auto; display: block; }
.footer-brand p { line-height: 1.7; margin-bottom: 22px; max-width: 300px; }
.footer .social-icons { display: flex; gap: 10px; }
.footer .social-icons a {
    width: 38px; height: 38px; border-radius: 50%; margin: 0; opacity: 1;
    background: rgba(255,255,255,0.07); color: #cdd9e6;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
    transition: all 0.3s ease;
}
.footer .social-icons a:hover { background: linear-gradient(135deg, var(--secondary-blue), var(--green)); color: #fff; transform: translateY(-3px); }

/* Contact column */
.contact-links li { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; line-height: 1.5; }
.contact-links i {
    width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; margin: 0;
    background: rgba(255,255,255,0.07); color: var(--secondary-blue);
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.contact-links a:hover { color: #fff; }

/* Newsletter */
.footer-newsletter p { line-height: 1.7; margin-bottom: 18px; }
.newsletter-input { position: relative; margin-bottom: 12px; }
.newsletter-input i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #6f88a3; font-size: 13px; }
.newsletter-form input {
    width: 100%; padding: 13px 14px 13px 38px; border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px; background: rgba(255,255,255,0.05); color: #fff; font-size: 13px; outline: none;
    transition: border-color 0.25s ease;
}
.newsletter-form input::placeholder { color: #6f88a3; }
.newsletter-form input:focus { border-color: var(--secondary-blue); }
.newsletter-btn {
    width: 100%; padding: 13px; border: none; border-radius: 8px; cursor: pointer;
    background: linear-gradient(135deg, var(--secondary-blue), var(--green)); color: #fff;
    font-weight: 600; font-size: 13px; letter-spacing: 0.5px;
    display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.3s ease;
}
.newsletter-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,123,255,0.28); }

/* Bottom bar */
.footer-bottom { margin-top: 22px; padding: 20px 0; background: rgba(0,0,0,0.25); color: #7d93ab; font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom strong { color: #cdd9e6; font-weight: 600; }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { color: #7d93ab; }
.footer-bottom-links a:hover { color: #fff; }

/* ==========================================================================
   3. PAGE 1: HOME PAGE LAYOUT COMPONENTS
   ========================================================================== */

/* --- Full-Width Hero Carousel --- */
.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #e2eefb;
}
.hero-carousel-track {
    position: relative;
    width: 100%;
    height: 560px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.06);
    transition: opacity 0.9s ease, transform 6s ease, visibility 0.9s ease;
    z-index: 1;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}
/* Banners are light photos with an empty left zone; text + buttons overlay there. */
.hero-slide::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.78) 30%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 66%);
}
.hero-slide-inner { position: relative; z-index: 2; width: 100%; }
.hero-slide-content {
    max-width: 520px;
    animation: heroFadeUp 0.9s ease both;
}
.hero-slide:not(.is-active) .hero-slide-content { animation: none; }

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: #e2f0fd; color: var(--primary-blue);
    font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
    padding: 7px 16px; border-radius: 30px; margin-bottom: 20px;
}
.hero-eyebrow i { color: var(--green); }
.hero-slide-content h1 {
    font-size: 46px; line-height: 1.14; font-weight: 700; color: #002b5c; margin-bottom: 18px;
}
.hero-slide-content h1 .accent { color: var(--secondary-blue); }
.hero-slide-content .lead {
    font-size: 17px; color: var(--text-muted); margin-bottom: 30px; max-width: 480px;
}
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-buttons .btn { box-shadow: 0 8px 22px rgba(0,0,0,0.12); }

/* Arrows */
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.2); color: #fff; font-size: 18px;
    backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}
.hero-arrow:hover { background: var(--primary-blue); transform: translateY(-50%) scale(1.08); }
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* Dots */
.hero-dots {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 5;
    display: flex; gap: 12px;
}
.hero-dot {
    width: 12px; height: 12px; border-radius: 50%; cursor: pointer; padding: 0;
    background: rgba(255,255,255,0.45); border: 2px solid transparent;
    transition: all 0.3s ease;
}
.hero-dot.is-active { background: #fff; width: 32px; border-radius: 6px; }

/* --- Category Grid --- */
.grid-categories { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.category-card {
    background: white; border: 1px solid var(--border-color); border-radius: 14px;
    padding: 12px 12px 4px; text-align: center; overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.category-card:hover { transform: translateY(-6px); border-color: var(--secondary-blue); box-shadow: 0 14px 30px rgba(0,86,179,0.10); }
.category-img-container {
    width: 100%; aspect-ratio: 1 / 1; margin: 0 auto 12px auto; border-radius: 10px; overflow: hidden;
    background: #f4f9ff;
}
.category-img-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.category-card:hover .category-img-container img { transform: scale(1.08); }
.category-card p { font-weight: 600; font-size: 15px; color: #333; padding-bottom: 12px; }

/* --- Featured Products --- */
.featured-section { background: linear-gradient(180deg, #eef6ff 0%, #f7fbff 100%); padding: 10px 0 60px 0; margin-top: 20px; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 25px; }
.home-product-card {
    border: 1px solid var(--border-color); border-radius: 14px; background: white;
    overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column;
}
.home-product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0,0,0,0.08); }
.home-product-img { height: 210px; overflow: hidden; background: #f7fbff; position: relative; }
.home-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.home-product-card:hover .home-product-img img { transform: scale(1.06); }
.home-product-body { padding: 18px; text-align: center; }
.home-product-body h4 { font-size: 16px; font-weight: 600; color: #111; margin-bottom: 10px; }
.home-product-body a { color: var(--secondary-blue); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.home-product-body a:hover { gap: 10px; }

/* --- USP / Why Choose Us --- */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; text-align: center; }
.usp-item { padding: 30px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--border-color); transition: all 0.3s ease; }
.usp-item:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,0,0,0.06); }
.usp-item .usp-icon {
    width: 64px; height: 64px; margin: 0 auto 18px auto; border-radius: 50%;
    background: #e8f5e9; color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.usp-item.blue .usp-icon { background: #e2f0fd; color: var(--secondary-blue); }
.usp-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: #111; }
.usp-item p { font-size: 13px; color: var(--text-muted); }

/* --- About Section --- */
.about-section { padding: 80px 0; background: #fff; }
.about-layout { display: flex; gap: 55px; align-items: center; }
.about-visual { flex: 1; position: relative; }
.about-visual img { width: 100%; height: 440px; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 50px rgba(0,0,0,0.12); }
.about-exp-badge {
    position: absolute; bottom: -25px; right: -15px; background: var(--primary-blue); color: #fff;
    border-radius: 16px; padding: 20px 26px; box-shadow: 0 15px 35px rgba(0,86,179,0.30); text-align: center;
}
.about-exp-badge h3 { font-size: 34px; font-weight: 700; line-height: 1; }
.about-exp-badge span { font-size: 12px; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.5px; }
.about-content { flex: 1.15; }
.about-content .about-eyebrow { color: var(--green); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.about-content h3 { color: #002b5c; font-size: 30px; font-weight: 700; margin-bottom: 18px; line-height: 1.25; }
.about-content > p { font-size: 15px; color: var(--text-muted); margin-bottom: 25px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 25px 0 30px 0; }
.about-feat-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: #333; }
.about-feat-item i { color: var(--green); background: #e8f5e9; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }

/* --- Process Steps --- */
.process-section { background: #f7fbff; padding: 70px 0; }
.process-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; text-align: center; flex-wrap: wrap; position: relative; }
.process-step { flex: 1; min-width: 150px; position: relative; }
.process-icon {
    width: 80px; height: 80px; border-radius: 50%; background: #fff; border: 2px solid #e2eefb;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 18px auto;
    font-size: 28px; color: var(--secondary-blue); position: relative; z-index: 2; transition: all 0.3s ease;
}
.process-step:hover .process-icon { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); transform: translateY(-4px); }
.process-num { position: absolute; top: -6px; right: calc(50% - 48px); width: 26px; height: 26px; background: var(--green); color: #fff; border-radius: 50%; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; z-index: 3; }
.process-step h4 { font-size: 15px; font-weight: 600; color: #111; margin-bottom: 5px; }
.process-step p { font-size: 12px; color: var(--text-muted); }

/* --- Industries --- */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; text-align: center; }
.industry-item { padding: 28px 15px; border-radius: 14px; background: #fff; border: 1px solid var(--border-color); transition: all 0.3s ease; }
.industry-item:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,0.06); }
.industry-item i { font-size: 32px; color: var(--green); margin-bottom: 12px; }
.industry-item p { font-weight: 600; font-size: 14px; color: #333; }

/* --- Certifications --- */
.cert-section { padding-bottom: 40px; }
.cert-logos { display: flex; justify-content: center; gap: 45px; align-items: center; flex-wrap: wrap; padding: 15px 0; }
.cert-logo-item { height: 90px; display: flex; align-items: center; justify-content: center; filter: grayscale(30%); opacity: 0.85; transition: all 0.3s ease; }
.cert-logo-item:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }
.cert-logo-item img { max-height: 90px; max-width: 130px; object-fit: contain; }

/* --- Testimonials --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.testimonial-card { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 30px 25px; position: relative; transition: all 0.3s ease; }
.testimonial-card:hover { box-shadow: 0 16px 36px rgba(0,0,0,0.07); transform: translateY(-4px); }
.testimonial-card .quote-mark { font-size: 44px; color: #e2f0fd; line-height: 0.6; font-family: Georgia, serif; margin-bottom: 10px; display: block; }
.testimonial-card .stars { color: #ffc107; font-size: 13px; margin-bottom: 12px; }
.testimonial-card p { font-size: 14px; color: #555; margin-bottom: 22px; line-height: 1.7; font-style: italic; }
.user-profile { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--border-color); padding-top: 18px; }
.user-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--primary-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; flex-shrink: 0; }
.user-info h5 { font-size: 14px; font-weight: 600; color: #111; }
.user-info span { font-size: 12px; color: var(--text-muted); }

/* ==========================================================================
   4. PAGE 2: PRODUCTS LISTING PAGE (SIDEBAR & CATALOG GRID)
   ========================================================================== */
.catalog-layout { display: flex; gap: 30px; margin-top: 40px; margin-bottom: 60px; }
.sidebar { flex: 0 0 280px; }
.sidebar-widget { border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; margin-bottom: 30px; }
.widget-title { background-color: var(--primary-blue); color: white; padding: 12px 18px; font-size: 16px; font-weight: 600; }
.category-list li a { display: flex; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--border-color); font-size: 14px; color: #444; }
.category-list li a:hover, .category-list li.active a { background: #f4f9ff; color: var(--secondary-blue); font-weight: 500; }

.filter-body { padding: 20px 18px; }
.filter-group { margin-bottom: 25px; }
.filter-group h5 { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: #111; }
.filter-checkbox { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 14px; color: #555; cursor: pointer; }
.filter-checkbox input { margin-right: 10px; }

.bulk-box { background: #fdfdfd; border: 1px dashed var(--green); border-radius: 6px; padding: 20px; text-align: center; }
.bulk-box i { font-size: 28px; color: var(--green); margin-bottom: 10px; }
.bulk-box p { font-size: 13px; color: var(--text-muted); margin-bottom: 15px; }

.catalog-content { flex: 1; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; gap: 15px; flex-wrap: wrap; }
.search-wrapper { position: relative; flex: 1; max-width: 400px; }
.search-wrapper input { width: 100%; padding: 10px 40px 10px 15px; border: 1px solid var(--border-color); border-radius: 4px; outline: none; }
.search-wrapper i { position: absolute; right: 15px; top: 13px; color: #aaa; }
.toolbar-right { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--text-muted); }
.toolbar-right select { padding: 8px 12px; border: 1px solid var(--border-color); border-radius: 4px; outline: none; }

.products-catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; align-items: stretch; }
.catalog-product-card {
    border: 1px solid var(--border-color); border-radius: 14px; padding: 14px; background: #fff;
    display: flex; flex-direction: column; position: relative; overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.catalog-product-card:hover { transform: translateY(-6px); border-color: var(--secondary-blue); box-shadow: 0 16px 34px rgba(0,86,179,0.12); }
.catalog-product-img { height: 180px; overflow: hidden; border-radius: 10px; margin-bottom: 15px; background: #f4f9ff; }
.catalog-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.catalog-product-card:hover .catalog-product-img img { transform: scale(1.07); }
.catalog-product-card .badge-tag {
    align-self: flex-start; background: #e2f0fd; color: var(--primary-blue);
    font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px;
    padding: 4px 10px; border-radius: 20px; margin-bottom: 9px;
}
.catalog-product-card h4 { font-size: 15.5px; font-weight: 600; color: #002b5c; margin-bottom: 6px; line-height: 1.35; }
.catalog-product-card .pack-size { font-size: 12.5px; color: #7a8a9a; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.catalog-product-card .pack-size i { color: var(--secondary-blue); font-size: 11px; }
.catalog-product-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; flex: 1; }

.btn-view-details {
    width: 100%; background: #f1f6fc; color: var(--primary-blue);
    padding: 11px 14px; border: none; border-radius: 8px;
    font-weight: 600; font-size: 12.5px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease;
}
.catalog-product-card:hover .btn-view-details { background: var(--primary-blue); color: #fff; }

/* Category sidebar counts */
.category-list .cat-count {
    background: #f1f6fc; color: var(--text-muted); font-size: 11px; font-weight: 600;
    padding: 2px 9px; border-radius: 20px; min-width: 26px; text-align: center;
}
.category-list li.active .cat-count { background: var(--secondary-blue); color: #fff; }
.category-list li { cursor: pointer; }
.category-list li:last-child a { border-bottom: none; }

/* Empty search state */
.no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.no-results i { font-size: 40px; color: #cfdcea; margin-bottom: 16px; }
.no-results h4 { font-size: 18px; color: #002b5c; font-weight: 600; margin-bottom: 8px; }
.no-results p { font-size: 14px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination-btn { width: 40px; height: 40px; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 14px; font-weight: 500; cursor: pointer; }
.pagination-btn.active, .pagination-btn:hover { background-color: var(--primary-blue); color: white; border-color: var(--primary-blue); }

/* ==========================================================================
   5. PAGE 3: PRODUCT DETAILS PAGE
   ========================================================================== */
.details-container { display: flex; gap: 34px; margin: 34px 0 60px; align-items: flex-start; }
.details-main { flex: 1; min-width: 0; }
.details-sidebar { flex: 0 0 320px; display: flex; flex-direction: column; gap: 20px; }

/* --- Product hero card: gallery + key specs --- */
.product-essential {
    display: flex; gap: 32px; background: #fff; border: 1px solid var(--border-color);
    border-radius: 16px; padding: 26px; margin-bottom: 34px;
}
.gallery-vertical { display: flex; gap: 14px; flex: 0 0 400px; }
.thumb-stack { display: flex; flex-direction: column; gap: 10px; width: 72px; flex-shrink: 0; }
.thumb-stack img {
    width: 72px; height: 72px; object-fit: cover; border: 2px solid var(--border-color);
    border-radius: 10px; cursor: pointer; transition: border-color 0.25s ease, transform 0.25s ease;
}
.thumb-stack img:hover { border-color: #9fcbff; transform: translateY(-2px); }
.thumb-stack img.active { border-color: var(--secondary-blue); }
.main-img-box {
    flex: 1; height: 400px; border-radius: 12px; background: #f7fbff;
    overflow: hidden; position: relative;
}
.main-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.main-img-box:hover img { transform: scale(1.07); }
.zoom-icon {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.92); color: #555; display: flex; align-items: center;
    justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-specs { flex: 1; min-width: 0; }
.product-specs h2 { font-size: 27px; font-weight: 700; color: #002b5c; line-height: 1.25; margin: 8px 0 0; }
.rating-row { display: flex; align-items: center; gap: 8px; margin: 10px 0 14px; color: #ffc107; font-size: 14px; }
.rating-row span { color: var(--text-muted); font-size: 13px; }
.product-intro { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.spec-list-grid { display: grid; grid-template-columns: 150px 1fr; gap: 11px 18px; margin: 22px 0; font-size: 14px; }
.spec-label { font-weight: 500; color: var(--text-muted); display: flex; align-items: center; gap: 9px; }
.spec-label i { color: var(--secondary-blue); width: 15px; text-align: center; }
.spec-value { color: #111; font-weight: 500; }
.spec-value.in-stock { color: var(--green); font-weight: 600; }

.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.qty-row > span { font-size: 14px; font-weight: 600; }
.qty-selector { display: flex; align-items: center; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; height: 44px; }
.qty-btn { width: 40px; height: 100%; border: none; background: #f1f6fc; font-size: 16px; cursor: pointer; color: #444; transition: background 0.2s ease; }
.qty-btn:hover { background: #e2f0fd; color: var(--primary-blue); }
.qty-input { width: 52px; text-align: center; border: none; font-size: 14px; font-weight: 600; outline: none; }

.btn-action-stack { display: flex; gap: 12px; margin: 20px 0 16px; flex-wrap: wrap; }
.btn-full {
    flex: 1; min-width: 190px; padding: 13px 18px; border: none; border-radius: 8px; font-weight: 600;
    font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 9px;
    cursor: pointer; color: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-full.blue { background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue)); }
.btn-full.green { background: linear-gradient(135deg, #34c759, var(--dark-green)); }
.btn-full:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.16); }
.share-row { display: flex; gap: 22px; font-size: 13px; color: var(--text-muted); padding-top: 16px; border-top: 1px solid var(--border-color); }
.share-row span { cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.share-row span:hover { color: var(--secondary-blue); }

/* --- Tabbed information --- */
.info-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--border-color); margin-bottom: 26px; flex-wrap: wrap; }
.info-tab-link {
    padding: 11px 18px; font-weight: 600; font-size: 13px; color: var(--text-muted);
    cursor: pointer; text-transform: uppercase; letter-spacing: 0.3px;
    border-radius: 8px 8px 0 0; position: relative; transition: color 0.25s ease, background 0.25s ease;
}
.info-tab-link:hover { color: var(--primary-blue); background: #f4f9ff; }
.info-tab-link.active { color: var(--primary-blue); background: #f4f9ff; }
.info-tab-link.active::after {
    content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px;
    border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--secondary-blue), var(--green));
}
.tab-panel { display: none; margin-bottom: 45px; }
.tab-panel.active { display: block; animation: heroFadeUp 0.4s ease both; }
.tab-panel-body { display: flex; gap: 30px; }
.tab-text { flex: 1; font-size: 14px; color: var(--text-muted); line-height: 1.75; }
.tab-text p, .tab-text ul { max-width: 940px; }
.tab-text h5 { font-size: 15px; font-weight: 600; color: #002b5c; margin: 18px 0 10px; }
.tab-text ul { margin-top: 14px; }
.tab-text ul li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 9px; color: #444; }
.tab-text ul li i { color: var(--green); font-size: 13px; margin-top: 5px; }
.tab-img-box { flex: 0 0 300px; border-radius: 12px; overflow: hidden; height: 320px; }
.tab-img-box img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Nutrition table */
.nutrition-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.nutrition-table th { background: #f4f9ff; color: #002b5c; text-align: left; padding: 12px 14px; font-size: 13px; font-weight: 600; }
.nutrition-table td { padding: 11px 14px; border-bottom: 1px solid var(--border-color); color: #444; }
.nutrition-table td:last-child { text-align: right; font-weight: 600; color: #111; }

/* Reviews */
.review-item { border: 1px solid var(--border-color); border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-head .user-avatar { width: 40px; height: 40px; font-size: 14px; }
.review-head h5 { font-size: 14px; font-weight: 600; color: #111; }
.review-head .stars { font-size: 12px; }
.review-item p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* --- Related products --- */
.section-head-row {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px;
}
.section-head-row h4 { font-size: 17px; font-weight: 700; color: #002b5c; text-transform: uppercase; }
.cross-sell-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 60px; }
.cross-card {
    border: 1px solid var(--border-color); border-radius: 12px; padding: 12px; text-align: center;
    background: #fff; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cross-card:hover { transform: translateY(-5px); border-color: var(--secondary-blue); box-shadow: 0 14px 28px rgba(0,86,179,0.10); }
.cross-img { height: 110px; border-radius: 8px; overflow: hidden; margin-bottom: 10px; background: #f7fbff; }
.cross-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cross-card:hover .cross-img img { transform: scale(1.07); }
.cross-card h5 { font-size: 12.5px; font-weight: 600; color: #333; margin-bottom: 4px; }
.cross-card .req-price { font-size: 11px; color: var(--secondary-blue); margin-bottom: 9px; font-weight: 600; }
.cross-card .btn-xs {
    width: 100%; padding: 7px; background: #f1f6fc; color: var(--primary-blue); border: none;
    font-size: 11px; font-weight: 600; border-radius: 6px; cursor: pointer; transition: all 0.25s ease;
}
.cross-card:hover .btn-xs { background: var(--primary-blue); color: #fff; }

/* --- Sidebar panels --- */
.sidebar-panel { border: 1px solid var(--border-color); border-radius: 14px; padding: 22px; background: #fff; }
.sidebar-panel h4 {
    font-size: 16px; font-weight: 600; color: #002b5c; margin-bottom: 16px;
    padding-bottom: 12px; border-bottom: 1px solid var(--border-color); position: relative;
}
.sidebar-panel h4::after {
    content: ''; position: absolute; left: 0; bottom: -1px; width: 42px; height: 2px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--green));
}
.sidebar-note { font-size: 12.5px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.55; }
.form-group-item { margin-bottom: 11px; }
.form-group-item input, .form-group-item select, .form-group-item textarea {
    width: 100%; padding: 11px 13px; border: 1px solid var(--border-color); border-radius: 8px;
    font-size: 13px; outline: none; transition: border-color 0.25s ease;
}
.form-group-item input:focus, .form-group-item select:focus, .form-group-item textarea:focus { border-color: var(--secondary-blue); }
.form-group-item input.error, .form-group-item textarea.error { border-color: #dc3545; }
.form-group-item textarea { height: 84px; resize: none; }
.btn-submit-enquiry {
    width: 100%; padding: 13px; border: none; border-radius: 8px; cursor: pointer; color: #fff;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    font-weight: 600; font-size: 13px; letter-spacing: 0.4px;
    display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.3s ease;
}
.btn-submit-enquiry:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,86,179,0.25); }

.why-choose-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 11px; color: #444; font-weight: 500; }
.why-choose-list li:last-child { margin-bottom: 0; }
.why-choose-list i { color: var(--green); }

.bulk-sidebar-box {
    background: linear-gradient(135deg, #f4f9ff, #eef7f0); border: 1px dashed var(--secondary-blue);
    border-radius: 14px; padding: 18px; display: flex; align-items: flex-start; gap: 14px;
}
.bulk-sidebar-box > i { font-size: 24px; color: var(--secondary-blue); margin-top: 2px; }
.bulk-sidebar-box h6 { font-size: 13.5px; font-weight: 600; color: #111; margin-bottom: 4px; }
.bulk-sidebar-box p { font-size: 11.5px; color: var(--text-muted); margin-bottom: 7px; line-height: 1.5; }
.bulk-sidebar-box a { font-size: 11.5px; font-weight: 600; color: var(--secondary-blue); text-decoration: underline; }

.specs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.specs-table td { padding: 9px 0; border-bottom: 1px solid #f1f1f1; }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table td:first-child { color: var(--text-muted); font-weight: 500; }
.specs-table td:last-child { color: #111; font-weight: 600; text-align: right; }

/* ==========================================================================
   6. RESPONSIVE MEDIA BREAKPOINTS
   ========================================================================== */
@media(max-width: 1100px) {
    .cross-sell-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Mobile header: hamburger + slide-in drawer ---- */
@media(max-width: 992px) {
    .nav-toggle { display: flex; }
    .logo-img { height: 48px; }
    .header { padding: 12px 0; }

    .nav-menu {
        position: fixed; top: 0; right: 0; bottom: 0;
        width: min(330px, 86vw); background: #fff; z-index: 1002;
        flex-direction: column; align-items: stretch; justify-content: flex-start;
        gap: 0; padding: 86px 0 40px; overflow-y: auto;
        transform: translateX(100%); transition: transform 0.35s ease;
        box-shadow: -12px 0 44px rgba(0,0,0,0.16);
    }
    .nav-menu.is-open { transform: translateX(0); }

    .nav-menu > a, .nav-dropdown > a {
        display: flex; align-items: center; justify-content: space-between;
        padding: 15px 26px; border-bottom: 1px solid var(--border-color);
        font-size: 14px; line-height: 1.5;
    }
    /* Neutralise the desktop underline-on-hover treatment inside the drawer */
    .nav-menu > a:hover, .nav-menu > a.active, .nav-dropdown:hover > a {
        border-bottom-color: var(--border-color); background: #f4f9ff;
    }
    .nav-menu > a.active { color: var(--secondary-blue); }

    /* CATEGORIES / GALLERY become accordions - full width, not flex rows */
    .nav-dropdown { position: static; display: block; }
    .nav-dropdown > a { width: 100%; }
    .nav-dropdown:last-of-type .nav-dropdown-menu { left: auto; right: auto; }
    .nav-dropdown > a i { transition: transform 0.3s ease; }
    .nav-dropdown.is-open > a i { transform: rotate(180deg); }
    .nav-dropdown-menu {
        position: static; transform: none; opacity: 1; visibility: visible;
        min-width: 0; padding: 0; border: none; border-radius: 0; box-shadow: none;
        background: #f7fbff; max-height: 0; overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .nav-dropdown.is-open .nav-dropdown-menu { max-height: 420px; }
    .nav-dropdown:hover .nav-dropdown-menu { transform: none; }
    .nav-dropdown-menu a { padding: 12px 26px 12px 40px; border-bottom: 1px solid #e8f1fa; }

    /* Top bar condenses */
    .top-bar { font-size: 12px; }
    .top-bar-left { display: none; }
    .top-bar .container { justify-content: center; }
    .top-bar-right { gap: 16px; }
}

@media(max-width: 992px) {
    .catalog-layout, .details-container { flex-direction: column; }
    .details-sidebar { flex: 1; width: 100%; }
    .product-essential { flex-direction: column; }
    .gallery-vertical { flex: 1; }
    .tab-panel-body { flex-direction: column; }
    .tab-img-box { flex: none; width: 100%; height: 260px; }
    .sidebar { flex: 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 40px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand p { max-width: 460px; }
}
@media(max-width: 992px) {
    .hero-carousel-track { height: 480px; }
    .hero-slide-content h1 { font-size: 40px; }
    .grid-categories { grid-template-columns: repeat(4, 1fr); }
    .about-layout { flex-direction: column; }
    .about-exp-badge { right: 20px; }
    .testimonial-grid { grid-template-columns: 1fr; }
}
@media(max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-bottom-inner { justify-content: center; text-align: center; }
    .footer { padding-top: 50px; }
    /* Keep the top bar to the essentials on phones */
    .top-bar-email { display: none; }
    .top-bar-right { gap: 14px; font-size: 11.5px; }
    .social-icons a { margin-left: 9px; }
    .floating-actions { right: 14px; bottom: 16px; gap: 10px; }
    .float-btn { width: 48px; height: 48px; font-size: 21px; }
    .float-call { font-size: 17px; }
    .float-top { width: 40px; height: 40px; font-size: 13px; }
    .float-label { display: none; }
    .grid-categories { grid-template-columns: repeat(3, 1fr); }
    .cross-sell-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-vertical { flex-direction: column-reverse; }
    .thumb-stack { flex-direction: row; width: 100%; overflow-x: auto; }
    .main-img-box { height: 300px; }
    .spec-list-grid { grid-template-columns: 130px 1fr; font-size: 13px; }
    .product-specs h2 { font-size: 22px; }
    .btn-full { min-width: 100%; }
    .hero-carousel-track { height: 420px; }
    .hero-slide::before { background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 45%, rgba(255,255,255,0.4) 75%, rgba(255,255,255,0.15) 100%); }
    .hero-slide-content { max-width: 100%; }
    .hero-slide-content h1 { font-size: 28px; }
    .hero-slide-content .lead { font-size: 14px; margin-bottom: 22px; }
    .hero-arrow { width: 42px; height: 42px; font-size: 15px; }
    .hero-arrow-prev { left: 12px; }
    .hero-arrow-next { right: 12px; }
    .about-features { grid-template-columns: 1fr; }
    .process-grid { gap: 30px; }
    .process-num { right: calc(50% - 44px); }
}

/* ---- Small phones ---- */
@media(max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { grid-column: auto; }
    .footer-col h4 { margin-bottom: 18px; }
    .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 14px; }
    .logo-img { height: 42px; }
    .top-bar-right { font-size: 11px; gap: 10px; }
    .nav-menu { width: 88vw; }
    .inner-hero h2 { font-size: 26px; }
    .section-title { font-size: 19px; gap: 10px; }
    .section-title::before, .section-title::after { width: 34px; }
    .stat-item h3 { font-size: 28px; }
}
/* ==========================================================================
   11. LAZY LOADING (skeleton shimmer + scroll reveal)
   ========================================================================== */
/* Container shows an animated skeleton until its image decodes */
.lazy-holder { position: relative; background: #eef4fb; }
.lazy-holder::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, #eaf2fa 0%, #f7fbff 50%, #eaf2fa 100%);
    background-size: 200% 100%;
    animation: lazyShimmer 1.4s ease-in-out infinite;
    transition: opacity 0.4s ease;
}
.lazy-holder.is-loaded::before { opacity: 0; animation: none; }
@keyframes lazyShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
/* Image sits above the skeleton and fades in once loaded */
.lazy-holder > img.lazy-img { position: relative; z-index: 2; }
img.lazy-img { opacity: 0; transition: opacity 0.5s ease; }
img.lazy-img.is-loaded { opacity: 1; }

/* Cards ease in as they scroll into view */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
/* Once revealed, hand transform back to the card's own hover timing (0.3s)
   so the lift-on-hover effect isn't slowed to the reveal duration. */
[data-reveal].is-visible {
    opacity: 1; transform: none;
    transition: opacity 0.55s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
    .lazy-holder::before { animation: none; }
    img.lazy-img { opacity: 1; transition: none; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   10. GALLERY & VIDEO GALLERY
   ========================================================================== */
.gallery-page { margin: 40px 0 70px; }

/* Filter pills */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-pill {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    background: #fff; border: 1px solid var(--border-color); color: #55697d;
    font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 30px;
    transition: all 0.28s ease;
}
.filter-pill span { font-size: 11px; background: #f1f6fc; color: var(--text-muted); padding: 1px 8px; border-radius: 20px; }
.filter-pill:hover { border-color: var(--secondary-blue); color: var(--primary-blue); }
.filter-pill.is-active { background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue)); color: #fff; border-color: transparent; }
.filter-pill.is-active span { background: rgba(255,255,255,0.25); color: #fff; }

/* Photo grid */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.gallery-item {
    position: relative; margin: 0; border-radius: 14px; overflow: hidden; cursor: pointer;
    height: 240px; background: #f4f9ff; border: 1px solid var(--border-color);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}
.gallery-item:hover, .gallery-item:focus-visible { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0,86,179,0.15); outline: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.gallery-item:hover img { transform: scale(1.09); }
.gallery-item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; text-align: left;
    background: linear-gradient(180deg, rgba(0,20,45,0) 0%, rgba(0,20,45,0.85) 100%);
    color: #fff; transform: translateY(6px); opacity: 0; transition: all 0.32s ease;
}
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { transform: translateY(0); opacity: 1; }
.gallery-item-cat { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #8ecbff; }
.gallery-item figcaption h5 { font-size: 14.5px; font-weight: 600; margin-top: 3px; }
.gallery-zoom {
    position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.92); color: var(--primary-blue);
    display: flex; align-items: center; justify-content: center; font-size: 14px;
    opacity: 0; transform: scale(0.8); transition: all 0.32s ease;
}
.gallery-item:hover .gallery-zoom { opacity: 1; transform: scale(1); }

.gallery-tab-cta { text-align: center; margin-top: 44px; }
.gallery-tab-cta .btn { display: inline-flex; }

/* Video grid */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 26px; }
.video-card {
    background: #fff; border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden;
    cursor: pointer; display: flex; flex-direction: column;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}
.video-card:hover, .video-card:focus-visible { transform: translateY(-6px); border-color: var(--secondary-blue); box-shadow: 0 18px 36px rgba(0,86,179,0.13); outline: none; }
.video-thumb { position: relative; height: 195px; overflow: hidden; background: #f4f9ff; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.video-card:hover .video-thumb img { transform: scale(1.08); }
.video-thumb::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,20,45,0.1) 0%, rgba(0,20,45,0.45) 100%);
}
.video-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; border-radius: 50%; z-index: 2;
    background: rgba(255,255,255,0.94); color: var(--primary-blue);
    display: flex; align-items: center; justify-content: center; font-size: 19px;
    padding-left: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.video-card:hover .video-play {
    transform: translate(-50%, -50%) scale(1.12);
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue)); color: #fff;
}
.video-duration {
    position: absolute; bottom: 12px; right: 12px; z-index: 2;
    background: rgba(0,20,45,0.82); color: #fff; font-size: 11.5px; font-weight: 600;
    padding: 4px 10px; border-radius: 6px;
}
.video-body { padding: 18px 20px 20px; flex: 1; }
.video-cat { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--secondary-blue); }
.video-body h4 { font-size: 16px; font-weight: 600; color: #002b5c; margin: 7px 0 8px; line-height: 1.4; }
.video-body p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ---- Lightbox (shared by both galleries) ---- */
.lightbox {
    position: fixed; inset: 0; z-index: 2000; background: rgba(0,12,28,0.94);
    display: flex; align-items: center; justify-content: center; padding: 30px;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-stage {
    position: relative; max-width: 1100px; width: 100%; max-height: 100%;
    display: flex; flex-direction: column; align-items: center;
    animation: lbZoom 0.35s ease both;
}
@keyframes lbZoom {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}
.lightbox-stage img {
    max-width: 100%; max-height: 76vh; width: auto; border-radius: 12px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.lightbox-caption { text-align: center; color: #fff; margin-top: 18px; max-width: 720px; }
.lightbox-caption h5 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.lightbox-caption p { font-size: 13.5px; color: rgba(255,255,255,0.72); line-height: 1.65; }
.lightbox-counter {
    display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600;
    color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.12);
    padding: 5px 14px; border-radius: 20px;
}

.lightbox-close, .lightbox-arrow {
    position: absolute; z-index: 2010; border: none; cursor: pointer;
    background: rgba(255,255,255,0.13); color: #fff;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: background 0.28s ease, transform 0.28s ease;
}
.lightbox-close { top: 26px; right: 30px; width: 48px; height: 48px; font-size: 20px; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 20px; }
.lightbox-arrow.prev { left: 30px; }
.lightbox-arrow.next { right: 30px; }
.lightbox-close:hover { background: #e0453c; transform: rotate(90deg); }
.lightbox-arrow:hover { background: var(--primary-blue); transform: translateY(-50%) scale(1.1); }

/* Video lightbox player */
.video-lightbox .lightbox-stage { max-width: 1000px; }
.video-frame {
    position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px;
    overflow: hidden; background: #000; box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-placeholder {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
}
.video-placeholder::before { content: ''; position: absolute; inset: 0; background: rgba(0,16,36,0.86); }
.video-placeholder-inner { position: relative; text-align: center; color: #fff; padding: 24px; max-width: 460px; }
.video-placeholder-inner i { font-size: 38px; color: #6cc0ff; margin-bottom: 14px; }
.video-placeholder-inner h5 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.video-placeholder-inner p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.video-placeholder-inner code {
    background: rgba(255,255,255,0.12); padding: 2px 6px; border-radius: 4px;
    font-family: monospace; font-size: 12px;
}

@media(max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
    .gallery-item { height: 165px; }
    .gallery-item figcaption { opacity: 1; transform: none; padding: 30px 12px 12px; }
    .gallery-item figcaption h5 { font-size: 12.5px; }
    .video-grid { grid-template-columns: 1fr; }
    .lightbox { padding: 14px; }
    .lightbox-stage img { max-height: 62vh; }
    .lightbox-close { top: 12px; right: 14px; width: 42px; height: 42px; font-size: 17px; }
    .lightbox-arrow { width: 42px; height: 42px; font-size: 16px; }
    .lightbox-arrow.prev { left: 10px; }
    .lightbox-arrow.next { right: 10px; }
    .lightbox-caption h5 { font-size: 15px; }
    .filter-pill { font-size: 12px; padding: 8px 15px; }
}

/* ==========================================================================
   9. ABOUT PAGE & LEGAL PAGES
   ========================================================================== */

/* Stats band */
.stats-band {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #002b5c 100%);
    padding: 46px 0; margin: 60px 0 0; color: #fff;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 40px; font-weight: 700; line-height: 1; margin-bottom: 8px; }
.stat-item span { font-size: 13.5px; color: rgba(255,255,255,0.82); }

/* Vision / Mission / Values */
.vm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.vm-card {
    background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 32px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.vm-card:hover { transform: translateY(-6px); border-color: var(--secondary-blue); box-shadow: 0 16px 34px rgba(0,86,179,0.10); }
.vm-icon {
    width: 62px; height: 62px; border-radius: 16px; margin-bottom: 20px;
    background: #e8f5e9; color: var(--green);
    display: flex; align-items: center; justify-content: center; font-size: 25px;
}
.vm-card.blue .vm-icon { background: #e2f0fd; color: var(--secondary-blue); }
.vm-card h4 { font-size: 19px; font-weight: 700; color: #002b5c; margin-bottom: 12px; }
.vm-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* Legal pages (privacy / terms) */
.legal-layout { display: flex; gap: 34px; align-items: flex-start; margin: 40px 0 60px; }
.legal-toc { flex: 0 0 290px; position: sticky; top: 100px; }
.legal-toc-list li a {
    display: block; padding: 8px 0; font-size: 13px; color: #55697d;
    border-bottom: 1px solid var(--border-color); transition: all 0.25s ease;
}
.legal-toc-list li:last-child a { border-bottom: none; }
.legal-toc-list li a:hover { color: var(--secondary-blue); padding-left: 5px; }

.legal-content { flex: 1; min-width: 0; max-width: 900px; }
.legal-updated {
    display: inline-flex; align-items: center; gap: 9px;
    background: #f4f9ff; border: 1px solid #dbeafe; color: var(--primary-blue);
    font-size: 13px; padding: 10px 18px; border-radius: 30px; margin-bottom: 34px;
}
.legal-content section { margin-bottom: 38px; scroll-margin-top: 110px; }
.legal-content h3 {
    font-size: 20px; font-weight: 700; color: #002b5c; margin-bottom: 14px;
    padding-bottom: 12px; border-bottom: 1px solid var(--border-color); position: relative;
}
.legal-content h3::after {
    content: ''; position: absolute; left: 0; bottom: -1px; width: 48px; height: 2px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--green));
}
.legal-content h5 { font-size: 15px; font-weight: 600; color: #33475b; margin: 20px 0 10px; }
.legal-content p { font-size: 14.5px; color: #4a5b6d; line-height: 1.85; margin-bottom: 14px; }
.legal-content ul { margin: 4px 0 18px; }
.legal-content ul li {
    display: flex; align-items: flex-start; gap: 11px; margin-bottom: 10px;
    font-size: 14.5px; color: #4a5b6d; line-height: 1.75;
}
.legal-content ul li i { color: var(--green); font-size: 13px; margin-top: 6px; flex-shrink: 0; }
.legal-content blockquote {
    background: linear-gradient(135deg, #f4f9ff, #eef7f0);
    border-left: 4px solid var(--green); border-radius: 0 12px 12px 0;
    padding: 18px 22px; margin: 20px 0; font-size: 14.5px; font-style: italic; color: #33475b;
}
.legal-contact-box {
    background: #f7fbff; border: 1px solid var(--border-color); border-radius: 14px; padding: 24px 26px; margin-top: 6px;
}
.legal-contact-box p { margin-bottom: 11px; display: flex; align-items: flex-start; gap: 12px; }
.legal-contact-box p:last-child { margin-bottom: 0; }
.legal-contact-box i { color: var(--secondary-blue); width: 17px; margin-top: 5px; }
.legal-contact-box a { color: var(--secondary-blue); }
.legal-contact-box a:hover { text-decoration: underline; }

@media(max-width: 992px) {
    .legal-layout { flex-direction: column; }
    .legal-toc { flex: 1; width: 100%; position: static; }
    .stats-band { margin-top: 40px; }
    .stat-item h3 { font-size: 33px; }
}

/* ==========================================================================
   8. BLOG LISTING & ARTICLE PAGES
   ========================================================================== */
.blog-layout { display: flex; gap: 34px; align-items: flex-start; margin-bottom: 60px; }
.blog-main { flex: 1; min-width: 0; }
.blog-sidebar { flex: 0 0 320px; display: flex; flex-direction: column; gap: 20px; }

/* Featured hero card */
.blog-featured {
    display: flex; gap: 0; background: #fff; border: 1px solid var(--border-color);
    border-radius: 18px; overflow: hidden; margin: 40px 0 34px;
    min-height: 400px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.blog-featured:hover { transform: translateY(-5px); border-color: var(--secondary-blue); box-shadow: 0 20px 44px rgba(0,86,179,0.13); }
/* Positioned container + absolutely filled image: the picture always covers the
   panel edge to edge regardless of how tall the text column ends up. */
.blog-featured-img { flex: 0 0 44%; position: relative; overflow: hidden; }
.blog-featured-img img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    transition: transform 0.6s ease;
}
.blog-featured:hover .blog-featured-img img { transform: scale(1.06); }
.blog-featured-body {
    flex: 1; min-width: 0; padding: 40px 44px;
    display: flex; flex-direction: column; justify-content: center;
}
.blog-featured-body h3 { font-size: 28px; font-weight: 700; color: #002b5c; line-height: 1.3; margin: 14px 0 14px; }
.blog-featured-body p { font-size: 14.5px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; max-width: 640px; }
.blog-featured-body .blog-meta { margin-bottom: 20px; }

/* Toolbar */
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.blog-count { font-size: 14px; color: var(--text-muted); }

/* Card grid */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; }
.blog-grid.related { margin-bottom: 60px; }
/* Home page teaser: pin to 3 across so cards don't stretch on wide screens */
.blog-grid.home-blogs { grid-template-columns: repeat(3, 1fr); }
.home-blog-section { margin-top: 20px; }
.section-subtitle {
    text-align: center; max-width: 640px; margin: -24px auto 34px;
    font-size: 14.5px; color: var(--text-muted); line-height: 1.75;
}
.home-blog-cta { text-align: center; margin-top: 36px; }
.home-blog-cta .btn { display: inline-flex; }
.blog-card {
    background: #fff; border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}
.blog-card:hover { transform: translateY(-6px); border-color: var(--secondary-blue); box-shadow: 0 18px 36px rgba(0,86,179,0.12); }
.blog-card-img { position: relative; height: 205px; overflow: hidden; background: #f4f9ff; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.08); }
.blog-card-cat {
    position: absolute; top: 14px; left: 14px;
    background: rgba(255,255,255,0.95); color: var(--primary-blue);
    font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px;
    padding: 6px 13px; border-radius: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.blog-card-cat.static {
    position: static; display: inline-block; box-shadow: none;
    background: #e2f0fd; align-self: flex-start;
}
.blog-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h4 { font-size: 16.5px; font-weight: 600; color: #002b5c; line-height: 1.4; margin: 10px 0 10px; }
.blog-card-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; flex: 1; }

.blog-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: #8194a8; }
.blog-meta i { margin-right: 5px; color: var(--secondary-blue); }
.blog-meta.light { gap: 22px; font-size: 13px; margin-top: 14px; }

/* Tags */
.blog-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.blog-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: #f1f6fc; color: #5c7a99; border: 1px solid transparent;
    font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: 20px;
    line-height: 1.6; white-space: nowrap;
}
.blog-tag::before { content: '#'; color: var(--secondary-blue); font-weight: 700; }
.blog-tag.clickable { cursor: pointer; transition: all 0.25s ease; }
.blog-tag.clickable:hover { background: #e2f0fd; color: var(--primary-blue); border-color: #bcdcff; }
.blog-tag.is-active { background: var(--secondary-blue); color: #fff; border-color: var(--secondary-blue); }
.blog-tag.is-active::before { color: rgba(255,255,255,0.75); }
.blog-tag span { font-size: 10px; opacity: 0.7; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud .blog-tag { font-size: 11.5px; padding: 6px 12px; }

.clear-filter {
    background: none; border: none; cursor: pointer; padding: 0;
    color: var(--secondary-blue); font-size: 13px; font-weight: 600; text-decoration: underline;
}
.clear-filter:hover { color: var(--primary-blue); }

/* Tags on the article page */
.post-tags {
    display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
    margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border-color);
}
.post-tags-label { font-size: 14px; font-weight: 600; color: #002b5c; }
.post-tags-label i { color: var(--secondary-blue); margin-right: 7px; }
.post-tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags-list .blog-tag { font-size: 12px; padding: 6px 13px; }
/* Avoid a double rule when the tag strip sits directly above the share strip */
.post-tags + .post-share { margin-top: 18px; border-top: none; }

.blog-readmore {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: var(--secondary-blue);
    transition: gap 0.28s ease;
}
.blog-card:hover .blog-readmore, .blog-featured:hover .blog-readmore { gap: 13px; }

/* Sidebar lists */
.blog-cat-list li a {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    padding: 11px 0; border-bottom: 1px solid var(--border-color);
    font-size: 13.5px; color: #444; transition: all 0.25s ease;
}
.blog-cat-list li:last-child a { border-bottom: none; }
.blog-cat-list li a:hover, .blog-cat-list li.active a { color: var(--secondary-blue); padding-left: 5px; }
.blog-cat-list li { cursor: pointer; }
.blog-cat-list .cat-count {
    background: #f1f6fc; color: var(--text-muted); font-size: 11px; font-weight: 600;
    padding: 2px 9px; border-radius: 20px; min-width: 26px; text-align: center;
}
.blog-cat-list li.active .cat-count { background: var(--secondary-blue); color: #fff; }

.recent-list li { margin-bottom: 16px; }
.recent-list li:last-child { margin-bottom: 0; }
.recent-list li a { display: flex; gap: 13px; align-items: flex-start; }
.recent-list img { width: 62px; height: 62px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.recent-list h6 { font-size: 13px; font-weight: 600; color: #002b5c; line-height: 1.45; margin-bottom: 4px; transition: color 0.25s ease; }
.recent-list li a:hover h6 { color: var(--secondary-blue); }
.recent-list span { font-size: 11.5px; color: #8194a8; }

/* ---- Article page ---- */
.post-hero {
    background: linear-gradient(135deg, #eaf4ff 0%, #f7fbff 55%, #ffffff 100%);
    padding: 36px 0 40px; border-bottom: 1px solid #e2eefb;
}
.post-hero h1 {
    font-size: 36px; font-weight: 700; color: #002b5c; line-height: 1.25;
    max-width: 900px; margin-top: 14px;
}
.post-layout { display: flex; gap: 34px; align-items: flex-start; margin: 34px 0 50px; }
.post-main { flex: 1; min-width: 0; }
.post-cover { border-radius: 16px; overflow: hidden; height: 420px; margin-bottom: 30px; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.post-body { font-size: 15px; color: #4a5b6d; line-height: 1.85; max-width: 860px; }
.post-lead {
    font-size: 17px; color: #33475b; font-weight: 500; line-height: 1.75;
    padding-left: 20px; border-left: 4px solid var(--secondary-blue); margin-bottom: 26px;
}
.post-body p { margin-bottom: 18px; }
.post-body h3 { font-size: 21px; font-weight: 700; color: #002b5c; margin: 32px 0 14px; }
.post-body ul { margin: 6px 0 22px; }
.post-body ul li { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 11px; color: #44586b; }
.post-body ul li i { color: var(--green); font-size: 13px; margin-top: 6px; flex-shrink: 0; }
.post-body blockquote {
    background: linear-gradient(135deg, #f4f9ff, #eef7f0);
    border-left: 4px solid var(--green); border-radius: 0 12px 12px 0;
    padding: 20px 24px; margin: 26px 0; font-size: 15.5px; font-style: italic; color: #33475b;
}

.post-share {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
    margin-top: 36px; padding: 18px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
}
.post-share > span { font-size: 14px; font-weight: 600; color: #002b5c; }
.post-share-links { display: flex; gap: 10px; }
.post-share-links a {
    width: 38px; height: 38px; border-radius: 50%; background: #f1f6fc; color: var(--primary-blue);
    display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all 0.3s ease;
}
.post-share-links a:hover { background: linear-gradient(135deg, var(--secondary-blue), var(--green)); color: #fff; transform: translateY(-3px); }

.post-nav { display: flex; justify-content: space-between; gap: 18px; margin-top: 30px; }
.post-nav-item {
    flex: 1; max-width: 48%; border: 1px solid var(--border-color); border-radius: 12px; padding: 16px 20px;
    transition: all 0.3s ease;
}
.post-nav-item:hover { border-color: var(--secondary-blue); box-shadow: 0 10px 24px rgba(0,86,179,0.09); }
.post-nav-item.next { text-align: right; }
.post-nav-item span { font-size: 12px; font-weight: 600; color: var(--secondary-blue); text-transform: uppercase; letter-spacing: 0.4px; }
.post-nav-item h6 { font-size: 13.5px; font-weight: 600; color: #002b5c; line-height: 1.5; margin-top: 6px; }

@media(max-width: 1200px) {
    .blog-featured { min-height: 350px; }
    .blog-featured-body { padding: 32px 34px; }
    .blog-featured-body h3 { font-size: 24px; }
}
@media(max-width: 992px) {
    .blog-layout, .post-layout { flex-direction: column; }
    .blog-sidebar { flex: 1; width: 100%; }
    .blog-grid.home-blogs { grid-template-columns: repeat(2, 1fr); }
    /* Stacked: the image needs its own definite height once it is no longer
       stretching beside the text column. */
    .blog-featured { flex-direction: column; min-height: 0; }
    .blog-featured-img { flex: none; width: 100%; height: 280px; }
    .blog-featured-body { padding: 28px 26px; }
    .blog-featured-body h3 { font-size: 22px; }
    .post-cover { height: 340px; }
    .post-hero h1 { font-size: 27px; }
}
@media(max-width: 768px) {
    .blog-grid.home-blogs { grid-template-columns: 1fr; }
    .blog-featured-img { height: 220px; }
    .blog-featured-body { padding: 24px 22px; }
    .blog-featured-body h3 { font-size: 20px; }
    .post-cover { height: 240px; }
    .post-nav { flex-direction: column; }
    .post-nav-item { max-width: 100%; }
    .post-nav-item.next { text-align: left; }
    .post-body { font-size: 14.5px; }
    .post-lead { font-size: 15.5px; }
}

/* ==========================================================================
   7. PAGE 4: CONTACT US PAGE
   ========================================================================== */
.contact-layout { display: flex; gap: 40px; margin: 50px 0 60px 0; flex-wrap: wrap; }
.contact-info-col { flex: 1; min-width: 300px; }
.contact-form-col { flex: 1.3; min-width: 320px; }

.contact-intro h3 { font-size: 24px; color: #002b5c; font-weight: 700; margin-bottom: 12px; }
.contact-intro p { font-size: 14px; color: var(--text-muted); margin-bottom: 30px; }

.info-card { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--border-color); border-radius: 10px; padding: 20px; margin-bottom: 18px; transition: all 0.3s ease; }
.info-card:hover { border-color: var(--secondary-blue); box-shadow: 0 8px 25px rgba(0,0,0,0.05); }
.info-icon { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 50%; background: #e2f0fd; color: var(--secondary-blue); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.info-card.green .info-icon { background: #e8f5e9; color: var(--green); }
.info-card h5 { font-size: 15px; font-weight: 600; color: #111; margin-bottom: 4px; }
.info-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.info-card a { color: var(--text-muted); }
.info-card a:hover { color: var(--secondary-blue); }

.contact-form-wrapper { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 35px; box-shadow: 0 8px 30px rgba(0,0,0,0.03); }
.contact-form-wrapper h3 { font-size: 22px; color: #002b5c; font-weight: 700; margin-bottom: 6px; }
.contact-form-wrapper .form-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 25px; }

.form-row { display: flex; gap: 20px; flex-wrap: wrap; }
.form-group { margin-bottom: 20px; flex: 1; min-width: 200px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 8px; }
.form-group label .req { color: #dc3545; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; background: #fdfdfd; }
.form-control:focus { border-color: var(--secondary-blue); box-shadow: 0 0 0 3px rgba(0,123,255,0.1); background: #fff; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-control.error { border-color: #dc3545; }
.error-text { color: #dc3545; font-size: 12px; margin-top: 5px; display: none; }
.error-text.show { display: block; }

.form-submit-btn { width: 100%; justify-content: center; font-size: 15px; padding: 14px; border-radius: 6px; }
.form-status { display: none; padding: 14px 18px; border-radius: 6px; font-size: 14px; margin-bottom: 20px; }
.form-status.success { display: block; background: #e8f5e9; color: var(--dark-green); border: 1px solid #b7e0bd; }
.form-status.error { display: block; background: #fdecea; color: #c0392b; border: 1px solid #f5c6cb; }

.map-wrapper { margin-bottom: 60px; }
.map-wrapper iframe { width: 100%; height: 420px; border: 0; border-radius: 12px; display: block; }

@media(max-width: 992px) {
    .contact-layout { flex-direction: column; }
}
@media(max-width: 768px) {
    .contact-form-wrapper { padding: 25px; }
    .map-wrapper iframe { height: 320px; }
}
