/*
Theme Name: SVI Global Theme
Theme URI: https://www.svigloballtd.com
Author: SVI Global
Author URI: https://www.svigloballtd.com
Description: A professional supply chain & sourcing company theme, pixel-perfect replica of SVI Global.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: svi-global
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
    --primary:    #e87722;
    --primary-dk: #c9631a;
    --navy:       #0d1b2e;
    --navy-mid:   #132238;
    --navy-light: #1c3050;
    --white:      #ffffff;
    --off-white:  #f5f7fa;
    --gray:       #6b7280;
    --gray-light: #e5e7eb;
    --text:       #333333;
    --font-main:  'Open Sans', sans-serif;
    --font-head:  'Montserrat', sans-serif;
    --transition: .3s ease;
    --shadow:     0 4px 24px rgba(0,0,0,.10);
    --shadow-lg:  0 10px 40px rgba(0,0,0,.18);
    --radius:     6px;
    --max-w:      1280px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p  { margin-bottom: 1rem; }

.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 { color: var(--navy); margin-bottom: 16px; }
.section-title p   { color: var(--gray); max-width: 680px; margin: 0 auto; }

.orange-line {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .93rem;
    letter-spacing: .5px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-align: center;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dk);
    border-color: var(--primary-dk);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,119,34,.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}
.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-navy:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#masthead {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9000;
    background: var(--white);
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
    transition: all var(--transition);
}
#masthead.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,.14);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 20px;
}
/* Logo */
.site-logo img { height: 52px; width: auto; }

/* Main Nav */
#primary-navigation { display: flex; align-items: center; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    font-family: var(--font-head);
    font-size: .88rem;
    font-weight: 600;
    color: var(--navy);
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    color: var(--primary);
}
.nav-menu > li > a .nav-arrow {
    font-size: .7rem;
    transition: transform var(--transition);
}
.nav-menu > li:hover > a .nav-arrow { transform: rotate(180deg); }

/* Mega dropdown */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 520px;
    padding: 24px;
    border-top: 3px solid var(--primary);
    z-index: 9999;
}
.mega-menu-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.mega-menu-cols.cols-2 { grid-template-columns: repeat(2, 1fr); }
.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    transition: background var(--transition);
}
.mega-menu-item:hover { background: var(--off-white); }
.mega-menu-item img { width: 36px; height: 36px; object-fit: contain; }
.mega-menu-item span {
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy);
}
.nav-menu > li:hover .mega-menu { display: block; }

/* Simple dropdown */
.simple-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 10px 0;
    border-top: 3px solid var(--primary);
    z-index: 9999;
}
.simple-dropdown a {
    display: block;
    padding: 9px 20px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--navy);
    transition: all var(--transition);
}
.simple-dropdown a:hover {
    background: var(--off-white);
    color: var(--primary);
    padding-left: 28px;
}
.nav-menu > li:hover .simple-dropdown { display: block; }

/* Header CTA */
.header-cta .btn { padding: 10px 22px; font-size: .85rem; }

/* Language switcher */
.lang-switcher {
    position: relative;
    cursor: pointer;
}
.lang-switcher > span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy);
    padding: 8px 12px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.lang-switcher:hover > span { border-color: var(--primary); color: var(--primary); }
.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 120px;
    z-index: 9999;
}
.lang-dropdown a {
    display: block;
    padding: 8px 16px;
    font-size: .85rem;
    color: var(--navy);
    transition: all var(--transition);
}
.lang-dropdown a:hover { background: var(--off-white); color: var(--primary); }
.lang-switcher:hover .lang-dropdown { display: block; }

/* Mobile hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
    margin-top: 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: .35;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: var(--white);
}
.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    margin-bottom: 28px;
    line-height: 1.2;
}
.hero-content h1 span { color: var(--primary); }
.hero-service-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}
.hero-service-link {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 500;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}
.hero-service-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   SERVICES TABS SECTION
   ============================================================ */
.services-section { background: var(--white); }
.services-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--gray-light);
    margin-bottom: 50px;
    overflow-x: auto;
}
.services-tab {
    padding: 16px 28px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .9rem;
    color: var(--gray);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
    white-space: nowrap;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}
.services-tab.active,
.services-tab:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.service-panel { display: none; }
.service-panel.active { display: block; }
.service-panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.service-panel-text h2 { color: var(--navy); margin-bottom: 18px; }
.service-panel-text p { color: var(--gray); margin-bottom: 24px; }
.service-panel-img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.service-panel-img img { width: 100%; height: 360px; object-fit: cover; }

/* ============================================================
   WHY SVI SECTION
   ============================================================ */
.why-svi-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
}
.why-svi-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.why-svi-text h2 { color: var(--white); margin-bottom: 20px; }
.why-svi-text p { color: rgba(255,255,255,.8); margin-bottom: 30px; }
.why-svi-img { border-radius: 12px; overflow: hidden; position: relative; }
.why-svi-img img { width: 100%; height: 400px; object-fit: cover; }

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    background: var(--white);
    border-radius: 12px;
    padding: 32px 24px;
    margin-top: 50px;
    box-shadow: var(--shadow-lg);
}
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.stat-number sup { font-size: 1rem; }
.stat-label {
    font-size: .8rem;
    color: var(--gray);
    margin-top: 6px;
    font-weight: 500;
}

/* ============================================================
   LOGOS MARQUEE
   ============================================================ */
.logos-section { background: var(--off-white); overflow: hidden; }
.logos-section .section-title h2 { color: var(--navy); }
.marquee-track {
    display: flex;
    gap: 40px;
    animation: marquee 30s linear infinite;
    width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-wrap { overflow: hidden; }
.logo-item {
    flex: 0 0 auto;
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px;
    filter: grayscale(1) opacity(.6);
    transition: filter var(--transition);
}
.logo-item:hover { filter: grayscale(0) opacity(1); }
.logo-item img { max-width: 130px; max-height: 56px; object-fit: contain; }
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case-studies-section { background: var(--white); }
.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.case-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    background: var(--white);
}
.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.case-card-img { overflow: hidden; height: 220px; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .case-card-img img { transform: scale(1.06); }
.case-card-body { padding: 22px; }
.case-card-body h3 { font-size: 1rem; color: var(--navy); margin-bottom: 12px; }
.case-card-quote {
    font-size: .85rem;
    color: var(--gray);
    line-height: 1.65;
    font-style: italic;
    border-left: 3px solid var(--primary);
    padding-left: 14px;
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section { background: var(--off-white); }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 22px; }
.blog-meta { font-size: .78rem; color: var(--gray); margin-bottom: 10px; }
.blog-card-body h3 { font-size: 1rem; color: var(--navy); margin-bottom: 10px; line-height: 1.5; }
.blog-card-body p { font-size: .88rem; color: var(--gray); }
.blog-card-body a:hover h3 { color: var(--primary); }

/* ============================================================
   CONTACT CTA SECTION
   ============================================================ */
.contact-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
    padding: 70px 0;
    text-align: center;
    color: var(--white);
}
.contact-cta-section h2 { color: var(--white); margin-bottom: 12px; }
.contact-cta-section p { color: rgba(255,255,255,.85); margin-bottom: 30px; font-size: 1.1rem; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-section { background: var(--off-white); }
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-form { background: var(--white); padding: 40px; border-radius: 12px; box-shadow: var(--shadow); }
.contact-form h2 { color: var(--navy); margin-bottom: 6px; }
.contact-form > p { color: var(--gray); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: .9rem;
    color: var(--text);
    transition: border var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232,119,34,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-info-card { background: var(--navy); color: var(--white); border-radius: 12px; padding: 36px; }
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info-item .icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.contact-info-item .info h4 { font-size: .9rem; color: rgba(255,255,255,.6); font-weight: 400; margin-bottom: 4px; }
.contact-info-item .info p { font-size: .9rem; color: var(--white); margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
    background: var(--navy);
    color: rgba(255,255,255,.75);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .site-logo img { height: 48px; margin-bottom: 18px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: .9rem;
    transition: all var(--transition);
}
.social-btn:hover { background: var(--primary); color: var(--white); }
.footer-col h4 {
    font-family: var(--font-head);
    font-size: .9rem;
    color: var(--white);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: .85rem;
    color: rgba(255,255,255,.65);
    transition: all var(--transition);
}
.footer-col ul li a:hover { color: var(--primary); padding-left: 4px; }
.footer-offices {
    background: var(--navy-mid);
    padding: 20px 0;
    text-align: center;
}
.footer-offices-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 30px;
    justify-content: center;
    font-size: .82rem;
    color: rgba(255,255,255,.55);
}
.footer-offices-inner span { display: flex; align-items: center; gap: 5px; }
.footer-bottom {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
    color: rgba(255,255,255,.45);
}
.footer-bottom-inner a { color: rgba(255,255,255,.45); }
.footer-bottom-inner a:hover { color: var(--primary); }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-btns {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 8000;
}
.float-btn {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    transition: all var(--transition);
    border: none;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn-msg { background: var(--primary); color: var(--white); font-size: 1.4rem; }
.float-btn-top { background: var(--navy); color: var(--white); font-size: 1.1rem; display: none; }
.float-btn-top.show { display: flex; }

/* ============================================================
   POPUP MODAL
   ============================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: var(--white);
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: modalIn .3s ease;
}
@keyframes modalIn {
    from { transform: scale(.9); opacity: 0; }
    to   { transform: scale(1);  opacity: 1; }
}
.modal-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 28px 32px;
    color: var(--white);
    position: relative;
}
.modal-header h3 { color: var(--white); margin-bottom: 4px; }
.modal-header p  { color: rgba(255,255,255,.75); font-size: .9rem; margin: 0; }
.modal-close {
    position: absolute;
    top: 16px; right: 18px;
    background: none; border: none;
    color: rgba(255,255,255,.7);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color var(--transition);
}
.modal-close:hover { color: var(--white); }
.modal-body { padding: 28px 32px; }

/* ============================================================
   PAGE-SPECIFIC: ABOUT
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 130px 0 70px;
    color: var(--white);
    text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero .breadcrumb { color: rgba(255,255,255,.6); font-size: .88rem; margin-top: 12px; }
.page-hero .breadcrumb a { color: var(--primary); }

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.about-intro img { border-radius: 12px; box-shadow: var(--shadow-lg); }
.about-intro h2 { color: var(--navy); margin-bottom: 18px; }
.about-intro p  { color: var(--gray); margin-bottom: 18px; }

.team-section { background: var(--off-white); }
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card img { width: 100%; height: 240px; object-fit: cover; }
.team-card-body { padding: 20px; }
.team-card-body h3 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.team-card-body .role { font-size: .83rem; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.team-card-body p { font-size: .82rem; color: var(--gray); line-height: 1.6; margin: 0; }

/* ============================================================
   PAGE-SPECIFIC: SERVICE PAGES
   ============================================================ */
.service-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 140px 0 80px;
    color: var(--white);
}
.service-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.service-hero h1 { color: var(--white); margin-bottom: 18px; }
.service-hero p  { color: rgba(255,255,255,.8); margin-bottom: 28px; }
.service-hero-img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.service-hero-img img { width: 100%; height: 360px; object-fit: cover; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 2.2rem; margin-bottom: 16px; }
.feature-card h3 { color: var(--navy); margin-bottom: 12px; }
.feature-card p { color: var(--gray); font-size: .9rem; margin: 0; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: steps;
}
.process-step {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
    position: relative;
    counter-increment: steps;
}
.process-step::before {
    content: counter(steps, decimal-leading-zero);
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px; height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: .75rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head);
}
.process-step h3 { color: var(--navy); font-size: .95rem; margin-bottom: 10px; }
.process-step p  { font-size: .85rem; color: var(--gray); margin: 0; }

/* ============================================================
   PAGE-SPECIFIC: BLOG
   ============================================================ */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}
.blog-list .blog-list-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
    transition: all var(--transition);
}
.blog-list-item:hover { box-shadow: var(--shadow-lg); }
.blog-list-img { height: 200px; overflow: hidden; }
.blog-list-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-list-body { padding: 24px 24px 24px 0; }
.blog-list-body .category-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: .75rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.blog-list-body h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 10px; }
.blog-list-body h3 a:hover { color: var(--primary); }
.blog-list-body p { color: var(--gray); font-size: .88rem; margin-bottom: 14px; }

.blog-sidebar { position: sticky; top: 100px; }
.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}
.sidebar-widget h4 {
    color: var(--navy);
    font-size: .95rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}
.sidebar-search { display: flex; gap: 8px; }
.sidebar-search input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: .88rem;
}
.sidebar-search button {
    padding: 10px 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
}
.sidebar-categories li { margin-bottom: 8px; }
.sidebar-categories li a {
    display: flex;
    justify-content: space-between;
    font-size: .88rem;
    color: var(--gray);
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-light);
    transition: all var(--transition);
}
.sidebar-categories li a:hover { color: var(--primary); }
.sidebar-recent-item { display: flex; gap: 14px; margin-bottom: 16px; }
.sidebar-recent-item img { width: 72px; height: 60px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.sidebar-recent-item h5 { font-size: .83rem; color: var(--navy); margin-bottom: 4px; line-height: 1.4; }
.sidebar-recent-item h5 a:hover { color: var(--primary); }
.sidebar-recent-item span { font-size: .75rem; color: var(--gray); }

/* ============================================================
   PAGE-SPECIFIC: PRODUCT CATEGORIES
   ============================================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.category-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-align: center;
    padding-bottom: 20px;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.category-card img { width: 100%; height: 200px; object-fit: cover; margin-bottom: 16px; }
.category-card h3 { font-size: .95rem; color: var(--navy); padding: 0 16px; margin-bottom: 10px; }
.category-card .btn { font-size: .8rem; padding: 8px 18px; }

/* ============================================================
   PAGE-SPECIFIC: CONTACT PAGE
   ============================================================ */
.contact-page-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: start;
}
.map-embed { border-radius: 12px; overflow: hidden; height: 380px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   PAGE-SPECIFIC: SUSTAINABILITY
   ============================================================ */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.cert-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow);
    text-align: center;
}
.cert-card img { height: 80px; object-fit: contain; margin: 0 auto 16px; }
.cert-card h3 { font-size: .95rem; color: var(--navy); margin-bottom: 10px; }
.cert-card p  { font-size: .85rem; color: var(--gray); margin: 0; }

/* ============================================================
   SINGLE BLOG POST
   ============================================================ */
.single-post-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}
.single-post-content { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.single-post-hero img { width: 100%; height: 420px; object-fit: cover; }
.single-post-body { padding: 40px; }
.single-post-body h1 { font-size: 1.8rem; color: var(--navy); margin-bottom: 16px; }
.post-meta { font-size: .83rem; color: var(--gray); margin-bottom: 24px; }
.post-meta span { margin-right: 16px; }
.single-post-body p { color: var(--gray); line-height: 1.8; margin-bottom: 18px; }
.single-post-body h2 { color: var(--navy); font-size: 1.4rem; margin: 32px 0 16px; }
.single-post-body h3 { color: var(--navy); font-size: 1.15rem; margin: 24px 0 12px; }
.single-post-body ul { margin: 0 0 18px 20px; }
.single-post-body ul li { color: var(--gray); margin-bottom: 6px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .case-grid  { grid-template-columns: repeat(2, 1fr); }
    .team-grid  { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .service-panel-inner { grid-template-columns: 1fr; }
    .why-svi-inner { grid-template-columns: 1fr; gap: 40px; }
    .about-intro { grid-template-columns: 1fr; }
    .service-hero-inner { grid-template-columns: 1fr; }
    .blog-layout { grid-template-columns: 1fr; }
    .single-post-layout { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-page-grid { grid-template-columns: 1fr; }
    .blog-list .blog-list-item { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    #primary-navigation { display: none; }
    .menu-toggle { display: flex; }
    .header-inner { height: 70px; }
    .hero-section { margin-top: 70px; min-height: 80vh; }
    .case-grid { grid-template-columns: 1fr; }
    .blog-grid  { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .certs-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
    .stat-number { font-size: 1.8rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr; }
    /* Mobile nav */
    #primary-navigation.open {
        display: block;
        position: fixed;
        top: 70px; left: 0; right: 0; bottom: 0;
        background: var(--white);
        overflow-y: auto;
        z-index: 8000;
        padding: 20px;
    }
    .nav-menu { flex-direction: column; gap: 0; }
    .nav-menu > li { width: 100%; border-bottom: 1px solid var(--gray-light); }
    .nav-menu > li > a { padding: 14px 8px; font-size: 1rem; }
    .mega-menu, .simple-dropdown { position: static; transform: none; box-shadow: none; border-top: none; min-width: unset; display: none; }
    .mega-menu-cols { grid-template-columns: 1fr 1fr; }
    .nav-menu > li.open .mega-menu,
    .nav-menu > li.open .simple-dropdown { display: block; }
}
