/* ==========================================================================
   CORONA WEBSITE - MAIN STYLESHEET
   Table of Contents:
   1. Google Fonts
   2. Design Tokens (:root CSS Variables)
   3. Base Reset & Defaults
   4. Global Container & Utilities
   5. Typography
   6. Global Buttons
   7. Navigation Bar (Desktop & Mobile)
   8. Hero Section (Home Page)
   9. Brand Introduction (Home Page)
   10. Product Showcase (Home Page - 4x2 Grid)
   11. Product Detail Page (product.php)
   12. Products Catalog Page (products.php)
   13. Technical Guide Layout Components
   14. About Us Section 
   15. Scroll Reveal Animations
   16. GLOBAL RESPONSIVE BREAKPOINT UTILITIES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GOOGLE FONTS
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* --------------------------------------------------------------------------
   2. DESIGN TOKENS (:root CSS Variables)
   -------------------------------------------------------------------------- */
:root {
    /* Brand Theme Colors */
    --color-green: #173831;               /* Primary dark green (Matches Navbar) */
    --color-green-dark: #0f2924;          /* Deeper dark green for cards and hover */
    --color-sage: #78917C;                /* Botanical muted accent */
    --color-lime: #C5D52A;                /* Bright highlight accent */
    --color-orange: #F97316;              /* Primary CTA orange / accent */
    --color-orange-hover: #EA580C;        /* Orange button hover state */

    /* Neutral Colors */
    --color-ivory: #F8FAFC;               /* Clean light background */
    --color-gray: #E2E8F0;                /* Clean border color */
    --color-charcoal: #0F172A;            /* Main dark text */
    --color-text-muted: #64748B;          /* Muted paragraph text */
    --color-white: #FFFFFF;

    /* Typography */
    --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: "Playfair Display", serif;

    /* Layout & Sizing */
    --container-width: 1280px;
    --section-padding: 100px;

    /* Animation Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.7s ease;
}

/* --------------------------------------------------------------------------
   3. BASE RESET & DEFAULTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--color-white);
    color: var(--color-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button, input, textarea, select {
    font-family: inherit;
}

/* --------------------------------------------------------------------------
   4. GLOBAL CONTAINER & UTILITIES
   -------------------------------------------------------------------------- */
.container {
    width: min(calc(100% - 48px), var(--container-width));
    margin-inline: auto;
}

.section {
    padding-block: var(--section-padding);
}

.text-center { text-align: center; }
.text-green  { color: var(--color-green); }
.text-orange { color: var(--color-orange); }
.text-white  { color: var(--color-white); }
.bg-white    { background-color: var(--color-white); }
.bg-ivory    { background-color: var(--color-ivory); }
.bg-green    { background-color: var(--color-green); }
.bg-dark     { background-color: var(--color-green-dark); }

/* Common Section Headers */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 45px;
}

.section-tag {
    color: var(--color-orange);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-green);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.display-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3.5rem, 8vw, 8rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-orange);
}

/* --------------------------------------------------------------------------
   6. GLOBAL BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 100px;
    border: 1px solid transparent;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform var(--transition-fast),
        background var(--transition-fast),
        color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover {
    background-color: var(--color-orange-hover);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
}

.btn-dark {
    background-color: var(--color-green);
    color: var(--color-white);
}

.btn-dark:hover {
    background-color: var(--color-green-dark);
}

.btn-outline {
    background: transparent;
    border-color: currentColor;
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    .container {
        width: min(calc(100% - 32px), var(--container-width));
    }
    .display-title {
        font-size: clamp(3rem, 15vw, 5rem);
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 64px;
    }
    .container {
        width: calc(100% - 28px);
    }
    .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   7. NAVIGATION BAR (Desktop & Mobile)
   -------------------------------------------------------------------------- */
.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; /* Transparent initial background to blend with hero */
    color: var(--color-white);
    transition:
        background var(--transition-normal),
        box-shadow var(--transition-normal);
}

/* Background only appears when the user starts scrolling down */
.site-navbar.scrolled {
    background: rgba(6, 44, 40, 0.96); /* Matches exact dark green hero tint */
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.nav-container {
    width: min(calc(100% - 48px), var(--container-width));
    min-height: 86px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 35px;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    flex-shrink: 0;
}

.brand-main {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.07em;
    color: var(--color-white);
}

.brand-sub {
    margin-top: 5px;
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    opacity: 0.75;
}

.desktop-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 26px;
}

.desktop-nav > a {
    font-size: 0.8rem;
    font-weight: 600;
    color: inherit;
    opacity: 0.9;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}

.desktop-nav > a:hover {
    opacity: 1;
    color: var(--color-lime);
}

.nav-quote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 100px;
    background-color: var(--color-orange);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.nav-quote:hover {
    background-color: var(--color-orange-hover);
    transform: translateY(-2px);
}

.mobile-menu-button {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--color-white);
}

.mobile-menu-button span {
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease-in-out, opacity 0.3s ease-in-out;
}
.mobile-nav-inner {
    padding: 25px 24px 35px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-inner > a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-quote {
    margin-top: 15px;
    padding: 15px 20px !important;
    border: 0 !important;
    border-radius: 100px;
    background-color: var(--color-orange);
    text-align: center;
}

@media (max-width: 1000px) {
    .desktop-nav { gap: 18px; }
}

@media (max-width: 850px) {
    .desktop-nav,
    .nav-quote {
        display: none;
    }
    .mobile-menu-button {
        display: flex;
    }
    .site-navbar.menu-open {
        background-color: var(--color-green-dark);
    }
    .site-navbar.menu-open .mobile-nav {
    max-height: 400px;
    opacity: 1;
    }
}

@media (max-width: 480px) {
    .nav-container {
        width: calc(100% - 32px);
        min-height: 7s6px;
    }
    .brand-main { font-size: 1.55rem; }
    .brand-sub { font-size: 0.42rem; }
}

/* --------------------------------------------------------------------------
   8. HERO SECTION (Home Page)
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: calc(100vh - 86px); /* Adjusts dynamically based on navbar height */
    height: auto;
    padding-top: 40px;
    padding-bottom: 50px;
    background-color: var(--color-green-dark);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15, 41, 36, 0.92) 0%,
        rgba(15, 41, 36, 0.72) 35%,
        rgba(15, 41, 36, 0.20) 75%,
        rgba(15, 41, 36, 0.10) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 48px), var(--container-width));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    max-width: 720px;
}

.hero-eyebrow {
    margin-bottom: 22px;
    color: var(--color-lime);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 9vw, 9rem);
    font-weight: 400;
    line-height: 0.86;
    letter-spacing: -0.055em;
}

.hero-title span {
    color: var(--color-lime);
    font-style: italic;
}

.hero-description {
    max-width: 470px;
    margin-top: 30px;
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 35px;
}

.hero-actions .btn {
    padding: 15px 24px;
}

.hero-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-text-link span {
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.hero-text-link:hover span {
    transform: translateX(5px);
}

.hero-scroll {
    position: absolute;
    z-index: 3;
    bottom: 24px; /* Perfectly centered position from the bottom edge */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.scroll-line {
    width: 50px;
    height: 1px;
    background: rgba(255,255,255,0.6);
}

@keyframes heroImageIn {
    from { transform: scale(1.12); }
    to { transform: scale(1.03); }
}

@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .hero-section {
        min-height: auto;
        height: 100vh;
        justify-content: flex-start;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    .hero-container {
        align-items: flex-end;
        padding-bottom: 100px;
    }
    .hero-side {
        display: none;
    }
    .hero-overlay {
        background: linear-gradient(90deg, rgba(15, 41, 36, 0.88), rgba(15, 41, 36, 0.38));
    }
}

@media (max-width: 600px) {
    .hero-section {
        min-height: auto;
        height: 100vh;
        justify-content: flex-start;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    .hero-container {
        width: calc(100% - 32px);
        padding-top: 0px;
        padding-bottom: 80px;
    }
    .hero-title {
        font-size: clamp(4rem, 19vw, 6rem);
    }
    .hero-description {
        max-width: 320px;
        font-size: 0.95rem;
        margin-top: 22px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: 28px;
    }
    .hero-actions .btn {
        width: auto;
    }
    .hero-scroll {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   9. BRAND INTRODUCTION (Home Page)
   -------------------------------------------------------------------------- */
.brand-intro {
    padding-block: 150px;
    background: var(--color-ivory);
    color: var(--color-green-dark);
}

.brand-intro-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 70px;
}

.brand-intro-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-sage);
    letter-spacing: 0.12em;
}

.brand-intro-main {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 100px;
    align-items: start;
}

.brand-intro-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: -0.055em;
}

.brand-intro-title em {
    color: var(--color-orange);
    font-style: italic;
}

.brand-intro-content {
    padding-top: 10px;
}

.brand-intro-lead {
    max-width: 440px;
    font-size: 1.3rem;
    line-height: 1.5;
    font-weight: 500;
}

.brand-intro-text {
    max-width: 450px;
    margin-top: 25px;
    color: #65716d;
    font-size: 0.92rem;
    line-height: 1.8;
}

.brand-intro-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--color-green);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.brand-intro-link span {
    font-size: 1.1rem;
    transition: transform var(--transition-fast);
}

.brand-intro-link:hover span {
    transform: translate(4px, -4px);
}

.brand-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 130px;
    border-top: 1px solid #d9ddd8;
    border-bottom: 1px solid #d9ddd8;
}

.brand-value {
    padding: 30px 25px 35px;
    border-right: 1px solid #d9ddd8;
}

.brand-value:last-child {
    border-right: 0;
}

.brand-value-number {
    display: block;
    margin-bottom: 55px;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-orange);
}

.brand-value h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.brand-value p {
    max-width: 210px;
    color: #6b7571;
    font-size: 0.78rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .brand-intro {
        padding-block: 100px;
    }
    .brand-intro-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .brand-values {
        grid-template-columns: repeat(2, 1fr);
    }
    .brand-value:nth-child(2) {
        border-right: 0;
    }
    .brand-value:nth-child(3),
    .brand-value:nth-child(4) {
        border-top: 1px solid #d9ddd8;
    }
}

@media (max-width: 600px) {
    .brand-intro {
        padding-block: 80px;
    }
    .brand-intro-top {
        margin-bottom: 45px;
    }
    .brand-intro-main {
        gap: 35px;
    }
    .brand-intro-title {
        font-size: clamp(3.5rem, 18vw, 5.5rem);
    }
    .brand-intro-lead {
        font-size: 1.1rem;
    }
    .brand-values {
        grid-template-columns: 1fr;
        margin-top: 80px;
    }
    .brand-value,
    .brand-value:nth-child(2),
    .brand-value:nth-child(3) {
        border-right: 0;
        border-top: 1px solid #d9ddd8;
    }
    .brand-value:first-child {
        border-top: 0;
    }
}

/* --------------------------------------------------------------------------
   10. PRODUCT SHOWCASE (Home Page - 4x2 Grid & Legacy 2-Col Support)
   -------------------------------------------------------------------------- */
.home-products-section {
    max-width: 1320px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.product-grid-4x2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 35px;
}

.product-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-gray);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(23, 56, 49, 0.04);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(23, 56, 49, 0.12);
}

.product-image-box {
    width: 100%;
    height: 140px;
    background: var(--color-ivory);
    overflow: hidden;
    display: flex;              
    align-items: center;        
    justify-content: center;   
    padding: 10px;
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image-box img {
    transform: scale(1.05);
}

.product-info-box {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--color-gray);
}

.product-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-green);
    margin: 0;
}

.btn-product-detail {
    background-color: var(--color-green);
    color: var(--color-white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background-color var(--transition-fast);
}

.btn-product-detail:hover {
    background-color: var(--color-orange);
}

.view-all-wrapper {
    text-align: center;
}

.btn-view-all {
    display: inline-block;
    background-color: var(--color-orange);
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
    transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-view-all:hover {
    background-color: var(--color-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
}

@media (max-width: 1024px) {
    .product-grid-4x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid-4x2 {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* --------------------------------------------------------------------------
   11. PRODUCT DETAIL PAGE (product.php)
   -------------------------------------------------------------------------- */
.product-detail {
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 120px;
    background: var(--color-ivory);
    color: var(--color-green-dark);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 90px;
    align-items: center;
}

.product-detail-image {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    max-height: 650px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform var(--transition-slow);
}

.product-detail-image:hover img {
    transform: scale(1.03);
}

.product-detail-info {
    max-width: 560px;
}

.product-detail-title {
    margin-top: 18px;
    font-family: var(--font-display);
    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.055em;
}

.product-code {
    margin-top: 18px;
    color: var(--color-sage);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-detail-lead {
    max-width: 480px;
    margin-top: 30px;
    font-size: 1.15rem;
    line-height: 1.65;
    font-weight: 500;
}

.product-detail-description {
    max-width: 500px;
    margin-top: 22px;
    color: #68736f;
    font-size: 0.88rem;
    line-height: 1.8;
}

.product-specifications {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
    border-top: 1px solid #d7dbd7;
    border-left: 1px solid #d7dbd7;
}

.specification {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 18px;
    border-right: 1px solid #d7dbd7;
    border-bottom: 1px solid #d7dbd7;
}

.specification span {
    color: #7a8580;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.specification strong {
    font-size: 0.85rem;
    font-weight: 700;
}

.product-detail-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.product-back-link {
    color: var(--color-green-dark);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 900px) {
    .product-detail {
        padding-top: 120px;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .product-detail-image {
        min-height: 500px;
    }
    .product-detail-info {
        max-width: none;
    }
}

@media (max-width: 600px) {
    .product-detail {
        padding-top: 100px;
        padding-bottom: 80px;
    }
    .product-detail-grid {
        gap: 40px;
    }
    .product-detail-image {
        min-height: 350px;
    }
    .product-detail-title {
        font-size: clamp(3.5rem, 18vw, 5rem);
    }
    .product-detail-lead {
        font-size: 1rem;
    }
    .product-specifications {
        grid-template-columns: 1fr;
    }
    .product-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .product-detail-actions .btn {
        width: 100%;
    }
    .product-back-link {
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   12. PRODUCTS CATALOG PAGE (products.php)
   -------------------------------------------------------------------------- */
.products-page {
    background: var(--color-white);
    color: var(--color-green-dark);
}

.products-header {
    padding-top: 180px;
    padding-bottom: 100px;
    background: var(--color-green-dark);
    color: var(--color-white);
}

.products-page-title {
    max-width: 900px;
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 8rem);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: -0.055em;
}

.products-page-title em {
    color: var(--color-lime);
    font-style: italic;
}

.products-page-intro {
    max-width: 520px;
    margin-top: 30px;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    line-height: 1.8;
}

.products-content {
    padding-block: 90px 140px;
}

.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 35px;
    border-bottom: 1px solid #dfe2de;
}

.product-search {
    display: flex;
    width: 300px;
    border-bottom: 1px solid var(--color-green-dark);
}

.product-search input {
    width: 100%;
    padding: 12px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--color-green-dark);
    font-size: 0.85rem;
}

.product-search input::placeholder {
    color: #8a9490;
}

.product-search button {
    width: 40px;
    border: 0;
    background: transparent;
    color: var(--color-green-dark);
    cursor: pointer;
    font-size: 1rem;
}

.product-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.product-filters a {
    padding: 9px 15px;
    border-radius: 100px;
    color: #6c7772;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.product-filters a:hover,
.product-filters a.active {
    background: var(--color-green-dark);
    color: var(--color-white);
}

.products-result-info {
    display: flex;
    justify-content: space-between;
    padding-block: 25px;
    color: #7a8580;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.products-result-info strong {
    color: var(--color-green-dark);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 24px;
}

.collection-card {
    min-width: 0;
}

.collection-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 0.88;
    background: var(--color-ivory);
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform var(--transition-slow);
}

.collection-card:hover .collection-image img {
    transform: scale(1.05);
}

.collection-card-number {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--color-orange);
    font-size: 0.7rem;
    font-weight: 800;
}

.collection-card-arrow {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-green-dark);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.collection-card:hover .collection-card-arrow {
    opacity: 1;
    transform: translateY(0);
}

.collection-card-info {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding-top: 20px;
}

.collection-card-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
}

.collection-card-info p {
    margin-top: 7px;
    color: #7a8580;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.collection-card-info > span {
    padding-bottom: 4px;
    border-bottom: 1px solid var(--color-green-dark);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.no-products {
    padding: 100px 20px;
    text-align: center;
}

.no-products h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
}

.no-products p {
    margin-top: 15px;
    color: #74807b;
}

.no-products .btn {
    margin-top: 30px;
    width: auto;
}

@media (max-width: 900px) {
    .products-header {
        padding-top: 140px;
        padding-bottom: 80px;
    }
    .products-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
    .product-search {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 600px) {
    .products-header {
        padding-top: 120px;
        padding-bottom: 65px;
    }
    .products-content {
        padding-block: 60px 90px;
    }
    .products-page-title {
        font-size: clamp(3.5rem, 18vw, 5.5rem);
    }
    .collection-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .collection-card-arrow {
        opacity: 1;
        transform: none;
    }
    .products-result-info {
        flex-direction: column;
        gap: 8px;
    }
}

/* --------------------------------------------------------------------------
   13. TECHNICAL GUIDE LAYOUT COMPONENTS
   -------------------------------------------------------------------------- */
.product-tech-page {
    background-color: var(--color-white);
    padding-bottom: 80px;
}

.tech-hero-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px 0;
}

.tech-placed-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    background: #f0f0eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.tech-placed-img {
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: cover;
    display: block;
}

.tech-accent-strip-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    background: var(--color-white);
}

.tech-accent-strip {
    width: 60%;
    height: 12px;
    background-color: #F8D10E;
}

.tech-content-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 0;
}

.tech-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

.tech-left-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 10px;
}

.tech-guide-header {
    display: inline-block;
    align-self: flex-start;
    border-bottom: 3px solid #5A6268;
    padding-bottom: 6px;
    margin-bottom: 40px;
}

.tech-guide-title {
    font-family: var(--font-primary);
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #5A6268;
    text-transform: uppercase;
    line-height: 1;
}

.tech-product-name {
    font-family: var(--font-primary);
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 900;
    letter-spacing: 0.03em;
    color: #4A5158;
    text-transform: uppercase;
    line-height: 0.95;
    margin-top: 20px;
    margin-bottom: 30px;
}

.tech-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
}

.tech-back-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6C757D;
    transition: color var(--transition-fast);
}

.tech-back-link:hover {
    color: var(--color-charcoal);
}

.tech-right-col {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.tech-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    padding-bottom: 10px;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #5A6268;
}

.legend-icon-top {
    width: 16px;
    height: 16px;
    border: 2px solid #5A6268;
    border-radius: 50%;
    display: inline-block;
}

.legend-icon-bottom {
    width: 16px;
    height: 16px;
    background-color: #5A6268;
    border-radius: 50%;
    display: inline-block;
}

.legend-icon-height {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.tech-sizes-row {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.tech-size-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 100px;
}

.tech-size-diagram-circle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-size-diagram-height {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-cutout-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.tech-cutout-img {
    max-width: 440px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.12));
}

@media (max-width: 991px) {
    .tech-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .tech-accent-strip {
        width: 100%;
    }
    .tech-legend,
    .tech-sizes-row,
    .tech-cutout-wrap {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .tech-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .tech-sizes-row {
        gap: 20px;
    }
}

/* --------------------------------------------------------------------------
   14. ABOUT US SECTION (Home Page Scroll - PDF Pages 1–5)
   -------------------------------------------------------------------------- */
.about-section {
    padding: 80px 20px;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-gray);
    scroll-margin-top: 30px;
}

.about-container {
    max-width: 1240px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 45px;
}

.about-tag {
    color: var(--color-orange);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 8px;
}

.about-main-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-green);
    margin-bottom: 14px;
}

.about-lead {
    font-size: 15px;
    color: #6b7571;
    line-height: 1.7;
}

.about-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 45px;
}

.about-card {
    background: var(--color-ivory);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--color-gray);
}

.card-badge {
    display: inline-block;
    background-color: var(--color-green);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.about-card h3 {
    font-size: 19px;
    color: var(--color-green);
    margin-bottom: 10px;
}

.about-card p {
    font-size: 14px;
    color: #6b7571;
    line-height: 1.6;
    margin-bottom: 10px;
}

.about-values-section {
    margin-bottom: 45px;
}

.sub-heading {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 25px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.value-item {
    background: var(--color-ivory);
    padding: 22px 18px;
    border-radius: 10px;
    border: 1px solid var(--color-gray);
    text-align: center;
}

.value-icon {
    font-size: 26px;
    color: var(--color-orange);
    margin-bottom: 8px;
}

.value-item h4 {
    font-size: 15px;
    color: var(--color-green);
    margin-bottom: 6px;
}

.value-item p {
    font-size: 12.5px;
    color: #6b7571;
    line-height: 1.5;
    margin: 0;
}

.vision-mission-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.vm-card {
    padding: 26px;
    border-radius: 12px;
    color: var(--color-white);
}

.vision-card {
    background-color: var(--color-green);
    border-left: 5px solid var(--color-orange);
}

.mission-card {
    background-color: var(--color-green);
    border-left: 5px solid var(--color-orange);
}

.vm-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-orange);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.vm-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.about-contact-bar {
    background: var(--color-ivory);
    border: 1px solid var(--color-gray);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--color-green);
}

@media (max-width: 768px) {
    .about-grid-two,
    .vision-mission-wrapper {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 540px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    .about-contact-bar {
        flex-direction: column;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   15. SCROLL REVEAL ANIMATIONS (Enhanced Bi-Directional)
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* Active state when element enters screen */
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered entry for grouped cards */
.product-grid-4x2 .product-card:nth-child(1) { transition-delay: 0.05s; }
.product-grid-4x2 .product-card:nth-child(2) { transition-delay: 0.12s; }
.product-grid-4x2 .product-card:nth-child(3) { transition-delay: 0.19s; }
.product-grid-4x2 .product-card:nth-child(4) { transition-delay: 0.26s; }
.product-grid-4x2 .product-card:nth-child(5) { transition-delay: 0.05s; }
.product-grid-4x2 .product-card:nth-child(6) { transition-delay: 0.12s; }
.product-grid-4x2 .product-card:nth-child(7) { transition-delay: 0.19s; }
.product-grid-4x2 .product-card:nth-child(8) { transition-delay: 0.26s; }

.values-grid .value-item:nth-child(1) { transition-delay: 0.06s; }
.values-grid .value-item:nth-child(2) { transition-delay: 0.12s; }
.values-grid .value-item:nth-child(3) { transition-delay: 0.18s; }
.values-grid .value-item:nth-child(4) { transition-delay: 0.24s; }




/* ==========================================================================
   16. GLOBAL RESPONSIVE BREAKPOINT UTILITIES
   ========================================================================== */

/* Tablets & Smaller Desktops (< 1024px) */
@media (max-width: 1024px) {
    .tech-sheet-container,
    .admin-container,
    .nav-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .tech-bottom-row,
    .tech-top-row {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* Mobile Phones (< 768px) */
@media (max-width: 768px) {
    body {
        overflow-x: hidden; /* Prevents side-scrolling bugs */
    }

    .tech-big-title {
        font-size: 2rem !important;
    }

    .tech-guide-title {
        font-size: 1.5rem !important;
    }

    .tech-sizes-grid {
        gap: 20px !important;
        justify-content: space-around;
    }

    /* Make tables horizontally scrollable on mobile dashboards */
    .table-wrap {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
