/*
Theme Name: Kinglab Medika Theme
Theme URI: #
Author: Copytema
Author URI: https://copytema.com/
Description: A professional corporate WordPress theme for PT Kinglab Medika Lestari. Features a deep teal/forest green color scheme inspired by the company logo, hero slider, services grid, partners section, and full corporate layout.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kinglab-theme
Tags: corporate, business, laboratory, medical, custom-header, custom-menu, featured-images, translation-ready
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors — PT Kinglab Medika Lestari Brand Identity */
    --primary-blue: #1B6B5A;
    --primary-blue-hover: #134E40;
    --dark-corporate: #0D3D30;
    --dark-corporate-light: #1A5244;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-grey: #f8f9fa;
    --medium-grey: #e9ecef;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --border-color: #dee2e6;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;
    --container-padding: 0 15px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.2);

    /* Header Height — diupdate otomatis lewat JS agar akurat di semua device */
    --header-height: 118px;
}

/* ============================================
   TYPOGRAPHY - Google Fonts imported in header.php
   ============================================ */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-corporate);
    margin-bottom: 15px;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 15px;
    color: var(--text-medium);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-blue-hover);
}

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-padding {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-corporate);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.section-title p {
    margin-top: 15px;
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    text-align: center;
    width: auto !important;
    min-width: 160px;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--primary-blue-hover);
    border-color: var(--primary-blue-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header-top-bar {
    background: var(--dark-corporate);
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
}

.header-top-bar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-fast);
}

.header-top-bar a:hover {
    color: var(--white);
}

.header-top-bar i {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.9;
}

.header-main {
    padding: 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark-corporate);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.site-logo .logo-text span {
    color: var(--primary-blue);
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 0;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    display: block;
    padding: 28px 18px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-blue);
    transition: width var(--transition-normal);
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a {
    color: var(--primary-blue);
}

.main-navigation ul li a:hover::after,
.main-navigation ul li.current-menu-item > a::after,
.main-navigation ul li.current_page_item > a::after {
    width: 100%;
}

/* Dropdown */
.main-navigation ul li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary-blue);
    display: none;
    flex-direction: column;
    z-index: 100;
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-navigation ul li:hover > ul.sub-menu {
    display: flex;
}

.main-navigation ul li ul.sub-menu li a {
    padding: 12px 20px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--medium-grey);
    text-transform: none;
}

.main-navigation ul li ul.sub-menu li:last-child a {
    border-bottom: none;
}

.main-navigation ul li ul.sub-menu li a::after {
    display: none;
}

/* Mega Menu */
.main-navigation ul li.has-mega-menu .mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary-blue);
    display: none;
    z-index: 9999;
    cursor: default;
    animation: dropdownFade 0.3s ease;
    border-radius: 0 0 8px 8px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.main-navigation ul li.has-mega-menu:hover .mega-menu-wrapper {
    display: block;
}

.mega-menu-container {
    display: flex;
    justify-content: space-between;
    padding: 30px;
}

.mega-menu-col {
    flex: 1;
}

.mega-menu-col:first-child {
    border-right: 1px solid var(--medium-grey);
    padding-right: 30px;
    margin-right: 30px;
}

.mega-menu-title {
    font-size: 1.05rem;
    color: var(--dark-corporate);
    margin-bottom: 20px;
    font-weight: 700;
}

.main-navigation ul li.has-mega-menu .mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.main-navigation ul li.has-mega-menu .mega-menu-list li {
    padding: 0;
    width: 100%;
}

.main-navigation ul li.has-mega-menu .mega-menu-list li a {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-medium);
    text-transform: none;
    font-weight: 500;
    border: none;
    display: block;
    transition: all var(--transition-fast);
}

.main-navigation ul li.has-mega-menu .mega-menu-list li a::after {
    display: none;
}

.main-navigation ul li.has-mega-menu .mega-menu-list li a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark-corporate);
    transition: all var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HEADER — RESPONSIVE
   ============================================ */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
    .main-navigation ul li a {
        padding: 28px 12px;
        font-size: 0.82rem;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .header-top-bar {
        display: none; /* Sembunyikan top bar di mobile */
    }

    .header-main .container {
        height: 68px;
    }

    .site-logo img {
        height: 40px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 68px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        z-index: 999;
    }

    .main-navigation.active {
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .main-navigation ul li a {
        padding: 14px 24px;
        font-size: 0.95rem;
        border-bottom: 1px solid var(--medium-grey);
    }

    .main-navigation ul li a::after {
        display: none;
    }

    /* Sembunyikan mega menu di mobile */
    .main-navigation ul li.has-mega-menu .mega-menu-wrapper {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        border-top: none;
        border-bottom: 1px solid var(--medium-grey);
        display: none;
        border-radius: 0;
    }

    .main-navigation ul li.has-mega-menu:hover .mega-menu-wrapper {
        display: none;
    }

    .mega-menu-container {
        flex-direction: column;
        padding: 15px 24px;
        gap: 15px;
    }

    .mega-menu-col:first-child {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        border-bottom: 1px solid var(--medium-grey);
        padding-bottom: 15px;
    }
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden; /* kompatibel semua browser */
    margin-top: var(--header-height, 118px); /* diupdate otomatis via JS */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--dark-corporate); /* fallback jika gambar belum load */
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 61, 48, 0.75) 0%, rgba(27, 107, 90, 0.45) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 60px;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

.hero-slide-content h1 {
    color: var(--white);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    animation: slideUp 0.8s ease;
    max-width: 700px;
}

.hero-slide-content p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
    margin-bottom: 35px;
    max-width: 580px;
    line-height: 1.8;
    animation: slideUp 0.8s ease 0.2s both;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero-slide-content .btn {
    animation: slideUp 0.8s ease 0.4s both;
    width: auto !important;
    align-self: flex-start;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-normal);
    color: var(--white);
    font-size: 1.2rem;
}

.slider-arrow:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all var(--transition-normal);
    padding: 0;
}

.slider-dot.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

/* ============================================
   HERO SLIDER — RESPONSIVE
   ============================================ */

/* Tablet landscape (≤1024px) */
@media (max-width: 1024px) {
    .hero-slider {
        height: 520px;
    }

    .hero-slide-content {
        padding: 0 40px;
    }

    .hero-slide-content h1 {
        font-size: 2.6rem;
    }
}

/* Tablet portrait (≤768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 68px; /* top bar tersembunyi di mobile, hanya header main 68px */
    }

    .hero-slider {
        height: 460px;
        margin-top: var(--header-height, 68px);
    }

    .hero-slide-content {
        padding: 0 24px;
        align-items: center;
        text-align: center;
    }

    .hero-slide-content h1 {
        font-size: 2rem;
        max-width: 100%;
    }

    .hero-slide-content p {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 25px;
    }

    .hero-slide-content .btn {
        align-self: center;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-arrow.prev { left: 15px; }
    .slider-arrow.next { right: 15px; }

    .slider-dots {
        bottom: 18px;
    }
}

/* Mobile kecil (≤480px) */
@media (max-width: 480px) {
    .hero-slider {
        height: 380px;
    }

    .hero-slide-content h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .hero-slide-content p {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .hero-slide-content .btn {
        padding: 10px 22px;
        font-size: 0.82rem;
        min-width: unset;
    }

    .slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .slider-arrow.prev { left: 10px; }
    .slider-arrow.next { right: 10px; }

    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* ============================================
   LATEST POSTS / BLOG SECTION
   ============================================ */
.latest-posts {
    padding: var(--section-padding);
    background: var(--white);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.post-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-image .post-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    font-family: var(--font-heading);
}

.post-card-content {
    padding: 25px;
}

.post-card-content .post-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.post-card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.post-card-content h3 a {
    color: var(--dark-corporate);
    text-decoration: none;
}

.post-card-content h3 a:hover {
    color: var(--primary-blue);
}

.post-card-content .excerpt {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 15px;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--medium-grey);
    font-size: 0.8rem;
    color: var(--text-light);
}

.post-card-meta a {
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: var(--section-padding);
    background: var(--light-grey);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.about-quote-box {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--dark-corporate);
    color: var(--white);
    padding: 30px;
    max-width: 320px;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
}

.about-quote-box p {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.about-quote-box .quote-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    opacity: 0.8;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content .subtitle {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-top: 5px;
}

/* ============================================
   SERVICES / CATEGORIES SECTION
   ============================================ */
.services-section {
    padding: var(--section-padding);
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--medium-grey);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 107, 90, 0.09);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.service-card:hover .service-card-icon {
    background: var(--primary-blue);
}

.service-card-icon i,
.service-card-icon svg {
    font-size: 2rem;
    color: var(--primary-blue);
    transition: color var(--transition-normal);
}

.service-card:hover .service-card-icon i,
.service-card:hover .service-card-icon svg {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: var(--dark-corporate);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card .btn {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--dark-corporate) 0%, var(--primary-blue) 100%);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    animation: ctaPulse 15s infinite;
}

@keyframes ctaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   GALLERY / INSTAGRAM GRID
   ============================================ */
.gallery-section {
    padding: var(--section-padding);
    background: var(--light-grey);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(27, 107, 90, 0);
    transition: background var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::after {
    background: rgba(27, 107, 90, 0.4);
}

.gallery-cta {
    text-align: center;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
    padding: var(--section-padding);
    background: var(--white);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.partner-item {
    flex: 0 0 auto;
    padding: 15px 25px;
    transition: all var(--transition-normal);
}

.partner-item img {
    max-height: 60px;
    width: auto;
}

.partner-placeholder {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 60px;
    background-color: var(--light-grey);
    border: 2px dashed var(--border-color);
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark-corporate);
    color: rgba(255, 255, 255, 0.75);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-blue);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

.footer-col .footer-logo {
    margin-bottom: 20px;
}

.footer-col .footer-logo img {
    height: 45px;
    width: auto;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact-list li i {
    color: var(--white);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a::before {
    content: '›';
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.5;
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 1rem;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

/* Social Media Brand Colors (Option A) */
.footer-social a:hover .fa-facebook-f {
    color: #1877F2;
}
.footer-social a:hover .fa-youtube {
    color: #FF0000;
}
.footer-social a:hover .fa-instagram {
    color: #E4405F;
}
.footer-social a:hover .fa-whatsapp {
    color: #25D366;
}
.footer-social a:hover .fa-linkedin-in {
    color: #0A66C2;
}
.footer-social a:hover .fa-twitter,
.footer-social a:hover .fa-x-twitter {
    color: #1DA1F2;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ============================================
   FLOATING BUTTON (WhatsApp)
   ============================================ */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-normal);
    text-decoration: none;
    animation: floatPulse 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--dark-corporate);
    transform: translateY(-3px);
}

/* ============================================
   PAGE TEMPLATES
   ============================================ */

/* Page Header / Banner */
.page-header-banner {
    background: linear-gradient(135deg, var(--dark-corporate) 0%, var(--primary-blue) 100%);
    padding: 120px 0 60px;
    margin-top: 118px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/pattern.png') center/cover no-repeat;
    opacity: 0.05;
}

.page-header-banner h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
}

.breadcrumbs {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs span.separator {
    margin: 0 10px;
    opacity: 0.5;
}

/* Single Post / Page Content */
.content-area {
    padding: var(--section-padding);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.content-wrapper.full-width {
    grid-template-columns: 1fr;
}

/* Sidebar */
.sidebar .widget {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.sidebar .widget h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-blue);
}

.sidebar .widget ul {
    list-style: none;
}

.sidebar .widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--medium-grey);
}

.sidebar .widget ul li:last-child {
    border-bottom: none;
}

.sidebar .widget ul li a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.sidebar .widget ul li a:hover {
    color: var(--primary-blue);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pagination a:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.pagination span.current {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 0 auto 20px; }

.wp-caption {
    max-width: 100%;
    background: var(--light-grey);
    padding: 5px;
    border-radius: 4px;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    padding: 5px;
}

.sticky .post-card { border-left: 4px solid var(--primary-blue); }

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Comments */
.comments-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--medium-grey);
}

.comment-list {
    list-style: none;
}

.comment-list .comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--medium-grey);
}

.comment-author img {
    border-radius: 50%;
    margin-right: 12px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
    margin-bottom: 15px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.comment-form .submit {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.comment-form .submit:hover {
    background: var(--primary-blue-hover);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-quote-box {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -50px;
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.25rem; }
    
    .header-top-bar {
        display: none;
    }
    
    .hero-slider {
        margin-top: 80px;
        height: 450px;
    }
    
    .hero-slide-content {
        padding: 0 30px;
    }
    
    .hero-slide-content h1 {
        font-size: 2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 20px;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
    }
    
    .main-navigation.active {
        transform: translateX(0);
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation ul li a {
        padding: 15px 0;
        border-bottom: 1px solid var(--medium-grey);
    }
    
    .main-navigation ul li a::after {
        display: none;
    }
    
    .main-navigation ul li ul.sub-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        padding-left: 20px;
        display: none;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-arrow.prev { left: 15px; }
    .slider-arrow.next { right: 15px; }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 380px;
    }
    
    .hero-slide-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-slide-content p {
        font-size: 0.95rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   ABOUT US PAGE — page-about.php
   ============================================ */

/* ── Section 1: Our Company ── */
.about-company-section {
    padding: 120px 0 80px; /* Account for fixed header */
    background: var(--white);
}

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

.about-company-image .team-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.about-company-content h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--dark-corporate);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 18px;
}

.about-company-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.about-company-content p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-medium);
    margin-bottom: 18px;
}

/* ── Section 2: Advantages ── */
.about-advantages-section {
    background: var(--dark-corporate);
    overflow: hidden;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 460px;
}

.advantages-text {
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advantages-text h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.advantages-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.advantages-text p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.97rem;
    line-height: 1.85;
    margin-bottom: 18px;
}

.advantages-image {
    overflow: hidden;
    position: relative;
}

.advantages-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.advantages-image:hover img {
    transform: scale(1.04);
}

/* ── Section 3: Vision & Mission ── */
.about-vision-section {
    background: var(--light-grey);
}

.about-vision-section h2 {
    font-size: 2.2rem;
    color: var(--dark-corporate);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 16px;
}

.about-vision-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.vision-content > p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-medium);
    margin-bottom: 35px;
    max-width: 800px;
}

.vision-closing {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-medium);
    margin-top: 30px;
    font-style: italic;
}

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

.vision-card,
.mission-card {
    background: var(--white);
    border-radius: 10px;
    padding: 40px 35px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-blue);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.vm-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.vm-icon i {
    color: var(--white);
    font-size: 1.4rem;
}

.vision-card h3,
.mission-card h3 {
    font-size: 1.2rem;
    color: var(--dark-corporate);
    margin-bottom: 14px;
}

.vision-card p,
.mission-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 0;
}

/* ── Section 4: Our Team ── */
.about-team-section {
    background: var(--white);
}

.team-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 50px;
}

.team-photo-col .team-photo-large {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.team-desc-col h2 {
    font-size: 2rem;
    color: var(--dark-corporate);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 14px;
}

.team-desc-col h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.team-item,
.team-extra-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--medium-grey);
}

.team-item:last-child,
.team-extra-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.team-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-item-icon i {
    color: var(--white);
    font-size: 1.1rem;
}

.team-item-body h4 {
    font-size: 1.05rem;
    color: var(--dark-corporate);
    margin-bottom: 8px;
}

.team-item-body p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 0;
}

.team-extra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    border-top: 1px solid var(--medium-grey);
    padding-top: 40px;
}

.team-extra-item {
    border-bottom: none;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0;
    margin-bottom: 0;
}

.team-extra-item .team-item-icon {
    margin-bottom: 14px;
}

/* ── Responsive: About Page ── */
@media (max-width: 992px) {
    .about-company-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-company-image .team-photo {
        height: 300px;
    }

    .about-company-section {
        padding-top: 140px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantages-image {
        height: 280px;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .team-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-photo-col .team-photo-large {
        height: 280px;
    }

    .team-extra-grid {
        grid-template-columns: 1fr;
    }

    .team-extra-item {
        flex-direction: row;
        align-items: flex-start;
    }
}


/* ============================================
   PRODUCT PAGE
   ============================================ */
.page-header {
    margin-top: 118px;
    background: var(--light-grey);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-medium);
}

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

.products-section {
    padding: 60px 0;
    background: #fff;
}

.product-nav-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 40px;
    min-height: 500px;
}

.product-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.nav-vertical-divider {
    border-right: 1px solid var(--border-color);
    padding-right: 20px;
}

.nav-group-title {
    color: var(--dark-corporate);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-list {
    list-style: none;
    display: block !important;
}

.nav-list li {
    margin-bottom: 15px;
    border: none !important;
}

.nav-list li a {
    color: var(--text-medium);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    display: block;
    padding: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.nav-list li a:hover {
    color: var(--primary-blue);
    padding-left: 8px !important;
}

/* Responsive Product Page */
@media (max-width: 991px) {
    .product-nav-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-header {
        margin-top: 80px;
        padding: 40px 0;
    }
    
    .product-nav-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-vertical-divider {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 40px;
        margin-bottom: 10px;
    }

    .product-nav-card {
        padding: 30px 20px;
    }
}


/* ============================================
   PRODUCT ARCHIVE PAGE (TAXONOMY)
   ============================================ */
.brand-page-wrapper,
.industry-page-wrapper {
    margin-top: calc(var(--header-height, 118px) + 20px);
}

.category-archive .archive-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

.archive-sidebar {
    position: sticky;
    top: 140px;
}

.sidebar-widget {
    margin-bottom: 40px;
    padding: 25px;
    background: var(--light-grey);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.sidebar-widget .widget-title {
    font-size: 1.15rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-nav li {
    border: none;
    margin: 0;
}

.sidebar-nav li a {
    font-size: 0.95rem;
    color: var(--text-medium);
    font-weight: 500;
}

.sidebar-nav li.active a {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    text-align: center;
    padding: 20px;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.product-thumb {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
    background: #fff;
}

.product-thumb img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.product-title {
    font-size: 1rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin: 0;
}

.product-card a {
    text-decoration: none;
}

.archive-content .pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

@media (max-width: 991px) {
    .category-archive .archive-layout {
        grid-template-columns: 1fr;
    }
    
    .archive-sidebar {
        position: static;
        margin-bottom: 40px;
    }
}


/* ============================================
   SINGLE PRODUCT PAGE
   ============================================ */
.single-product-page-wrapper {
    padding: 80px 0;
    margin-top: calc(var(--header-height, 118px) + 20px); /* Space for fixed header */
}

.product-main-content .product-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.product-featured-image {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-featured-image img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.product-main-title {
    font-size: 2.4rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.product-excerpt {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 30px;
}

.product-meta-data {
    margin-bottom: 30px;
}

/* Details divider */
.product-details-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.product-details-divider span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
    white-space: nowrap;
}

.product-details-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--primary-blue);
}

.meta-row {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.meta-label {
    font-weight: 700;
    color: var(--dark-corporate);
    text-transform: uppercase;
    margin-right: 10px;
    letter-spacing: 0.5px;
}

.meta-value a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.btn-send-inquiry {
    display: inline-block;
    background: var(--primary-blue);
    color: #fff;
    padding: 16px 40px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.btn-send-inquiry:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-3px);
    color: #fff;
}

/* Technical Accordions */
.product-technical-tabs {
    margin-top: 40px;
    max-width: 900px;
}

.technical-accordion-item {
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    background: var(--light-grey);
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--dark-corporate);
    font-weight: 600;
}

.accordion-header i {
    color: var(--primary-blue);
    font-size: 0.9rem;
    transition: transform var(--transition-normal);
}

.accordion-header.active {
    background: var(--primary-blue);
}

.accordion-header.active h3, 
.accordion-header.active i {
    color: #fff;
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: all 0.4s ease-out;
}

.accordion-panel.active {
    max-height: 1000px;
    padding: 30px 25px;
    border-top: 1px solid var(--border-color);
}

.accordion-panel ul {
    padding-left: 20px;
}

.accordion-panel ul li {
    margin-bottom: 10px;
}

/* Responsive Single Product */
@media (max-width: 991px) {
    .product-main-content .product-top-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-featured-image {
        height: 400px;
    }
    
    .product-main-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .single-product-page-wrapper {
        padding: 40px 0;
        margin-top: 80px;
    }
    
    .product-featured-image {
        height: 300px;
    }

    .btn-send-inquiry {
        width: 100%;
        text-align: center;
    }
}

