/*
Theme Name: New Elsisan Theme
Theme URI: https://example.com
Author: Elsisan
Author URI: https://example.com
Description: A clean and simple WordPress starter theme
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newelsisantheme
Tags: clean, simple, minimal, starter
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f6f6f6;
}

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

a {
    color: #0073aa;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background-color: #fafafa;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.custom-logo-link {
    display: inline-block;
    max-width: 250px;
}

.custom-logo {
    height: auto;
    max-height: 60px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.site-title a {
    color: #333;
}

.site-title a:hover {
    text-decoration: none;
    color: #0073aa;
}

.site-description {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* ==========================================================================
   Secondary Navigation
   ========================================================================== */

.secondary-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.secondary-navigation li {
    display: inline-block;
}

.secondary-navigation a {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 8px;
    display: block;
    transition: color 0.3s ease;
}

.secondary-navigation a:hover {
    color: #0073aa;
    text-decoration: none;
}

/* Secondary Navigation Dropdowns */
.secondary-navigation li {
    position: relative;
}

/* Add down arrow to menu items with submenus */
.secondary-navigation .menu-item-has-children > a::after {
    content: " ▼";
    font-size: 10px;
    margin-left: 5px;
}

.secondary-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    padding: 0;
    margin: 0;
    list-style: none;
}

.secondary-navigation li:hover > .sub-menu {
    display: block;
}

.secondary-navigation .sub-menu li {
    display: block;
    border-bottom: 1px solid #f0f0f0;
}

.secondary-navigation .sub-menu li:last-child {
    border-bottom: none;
}

.secondary-navigation .sub-menu a {
    padding: 10px 15px;
    color: #333;
    font-size: 13px;
    white-space: nowrap;
}

.secondary-navigation .sub-menu a:hover {
    background: #f5f5f5;
    color: #0073aa;
}

/* ==========================================================================
   Language Switcher
   ========================================================================== */

.language-switcher {
    display: flex;
    align-items: center;
}

.language-switcher ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.language-switcher li {
    display: inline-block;
}

.language-switcher a {
    color: #666;
    font-size: 14px;
    font-weight: 600;
    padding: 5px 10px;
    display: block;
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.language-switcher a:hover {
    color: #0073aa;
    border-color: #0073aa;
    text-decoration: none;
}

.language-switcher .current-lang a,
.language-switcher .current-language a {
    background-color: #0073aa;
    color: #ffffff;
    border-color: #0073aa;
}

.language-switcher img {
    max-height: 16px;
    width: auto;
    margin-right: 5px;
    vertical-align: middle;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.main-navigation {
    background-color: #333;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    position: relative;
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.main-navigation li {
    position: relative;
    flex: 1;
    text-align: center;
}

.main-navigation li::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.main-navigation li:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.main-navigation a {
    display: block;
    color: #ffffff;
    font-weight: 500;
    padding: 15px 10px;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
    width: 100%;
    text-align: center;
    border-bottom: 2px solid transparent;
}

.main-navigation a:hover,
.main-navigation a:focus {
    background-color: #2a2a2a;
    text-decoration: none;
    border-bottom: 2px solid rgba(198,40,51,0.4);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    background-color: #2a2a2a;
    border-bottom: 2px solid #c62833;
}

/* Dropdown Menu Styles */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 99999;
    background-color: #3d3d3d;
    min-width: 300px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    display: block;
}

.main-navigation ul ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

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

.main-navigation ul ul a {
    padding: 10px 18px;
    white-space: nowrap;
    text-align: left;
    transition: all 0.2s ease;
    font-weight: 400;
    font-size: 14px;
}

.main-navigation ul ul a:hover {
    background-color: #4a4a4a;
    color: #ffffff;
    padding-left: 22px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px 0;
}

.menu-toggle:hover {
    background-color: rgba(255,255,255,0.1);
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs-container {
    background-color: #eaeaea;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #005a87;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #999;
    margin: 0 5px;
}

.breadcrumb-current {
    color: #666;
    font-weight: 500;
}

/* ==========================================================================
   Category Hero Section
   ========================================================================== */

.category-hero {
    background: linear-gradient(135deg, #1e5a7a 0%, #2d7a9f 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 0 0 80px 0;
    margin-bottom: 20px;
    position: relative;
    min-height: 250px;
}

.category-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.category-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.category-hero .site-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    z-index: 2;
    padding-top: 60px;
}

.category-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    line-height: 1.2;
    flex: 0 1 40%;
    max-width: 500px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.category-hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    flex: 1;
    text-align: justify;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.category-hero-description p {
    margin: 0 0 15px 0;
}

.category-hero-description p:last-child {
    margin-bottom: 0;
}

/* Hero Breadcrumbs (inside hero sections) */
.hero-breadcrumbs {
    position: absolute;
    top: 5px;
    left: 20px;
    z-index: 3;
    padding: 0;
    margin: 0;
}

.hero-breadcrumbs .breadcrumbs {
    padding: 0;
    margin: 0;
}

.hero-breadcrumbs .breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.hero-breadcrumbs .breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.hero-breadcrumbs .breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-breadcrumbs .breadcrumbs a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.hero-breadcrumbs .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-breadcrumbs .breadcrumb-current {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Product Hero (Single Product)
   ========================================================================== */

.product-hero {
    background: linear-gradient(135deg, #1e5a7a 0%, #2d7a9f 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    position: relative;
    padding: 0 0 40px 0;
    margin-bottom: 0;
    min-height: 120px;
}

/* Page Hero (for regular pages) */
.page-hero {
    padding-bottom: 20px;
    margin-bottom: 0;
}

.product-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.product-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.product-hero .site-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding-top: 40px;
}

.product-hero-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 100%;
}

.product-hero-description {
    font-size: 18px;
    font-weight: 400;
    margin: 20px auto 0;
    color: #ffffff;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 800px;
    opacity: 0.95;
}

/* ==========================================================================
   Product Archive Spacing
   ========================================================================== */

/* Add spacing below breadcrumbs on product archive page */
.post-type-archive-product .breadcrumbs-container {
    margin-bottom: 40px;
}

/* Align sidebar top with product grid top on archive page */
.post-type-archive-product .product-sidebar {
    margin-top: -40px; /* Match the products-grid negative margin */
    padding-top: 0;
}

.post-type-archive-product .product-sidebar .widget {
    padding-top: 0;
    margin-top: 0;
}

.post-type-archive-product .widget-product-list {
    margin-top: 0;
    padding-top: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .post-type-archive-product .breadcrumbs-container {
        margin-bottom: 30px;
    }
}

/* ==========================================================================
   Slideshow
   ========================================================================== */

/* ==========================================================================
   Hero Slider with Video Background
   ========================================================================== */

:root {
    --brand-red: #c62833;
    --brand-red-2: #8b1e25;
    --hero-ease: cubic-bezier(.22,.8,.18,1);
    --hero-dur: 850ms;
    --hero-radius: 0px;
}

/* Hero slider wrapper */
.hero-slider {
    position: relative;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    border-radius: 0;
    overflow: hidden;
    background: rgba(255,255,255,.03);
    isolation: isolate;
}

.hero-track {
    position: relative;
    height: min(72vh, 620px);
    min-height: 440px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.015);
    transition: opacity var(--hero-dur) var(--hero-ease), transform var(--hero-dur) var(--hero-ease);
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* Video background */
.hero-bgVideo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
    transform: translateZ(0);
}

/* Overlays to keep text readable + brand tone */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 560px at 20% 50%, rgba(0,0,0,.40), transparent 58%),
        radial-gradient(900px 560px at 80% 50%, rgba(0,0,0,.22), transparent 60%),
        linear-gradient(90deg, rgba(11,13,16,.68), rgba(11,13,16,.30) 55%, rgba(11,13,16,.08)),
        linear-gradient(180deg, rgba(11,13,16,.38), rgba(11,13,16,.15) 55%, rgba(11,13,16,.45));
    z-index: 1;
    transition: opacity 200ms var(--hero-ease);
}

.hero-brandTint {
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(closest-side at 30% 45%, rgba(198,40,51,.22), transparent 60%),
        radial-gradient(closest-side at 70% 55%, rgba(198,40,51,.12), transparent 65%);
    opacity: .8;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: screen;
    transition: opacity 200ms var(--hero-ease);
}

/* Content */
.hero-content {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: clamp(22px, 3.2vw, 44px) 18px;
    padding-bottom: clamp(22px, 3.2vw, 44px);
}

.hero-contentInner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.hero-copy {
    max-width: 64ch;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.88);
    user-select: none;
    font-weight: 600;
}

.hero-kicker::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--brand-red), var(--brand-red-2));
    box-shadow: 0 14px 30px rgba(198,40,51,.28);
}

.hero-title {
    margin: 12px 0 10px;
    font-size: clamp(30px, 4.2vw, 54px);
    line-height: 1.04;
    letter-spacing: -.02em;
    max-width: 22ch;
    color: #ffffff;
}

.hero-description {
    margin: 0;
    color: rgba(255,255,255,.78);
    line-height: 1.55;
    font-size: 14.5px;
}

.hero-ctaRow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

/* Hero buttons */
.hero-btn {
    appearance: none;
    border: none;
    color: rgba(255,255,255,.92);
    background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.12);
    padding: 10px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 140ms var(--hero-ease), background 140ms var(--hero-ease), border-color 140ms var(--hero-ease);
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    text-decoration: none;
    font-size: 14px;
}

.hero-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(198,40,51,.42);
    text-decoration: none;
}

.hero-btn:active {
    transform: translateY(0px) scale(.98);
}

.hero-btn svg {
    width: 18px;
    height: 18px;
}

.hero-btnPrimary {
    border-color: rgba(198,40,51,.55);
    background: linear-gradient(180deg, rgba(198,40,51,.42), rgba(139,30,37,.26));
    box-shadow: 0 18px 40px rgba(198,40,51,.16);
}

/* Controls */
.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 6;
    pointer-events: none;
    padding: 0 18px;
}

.hero-controlsInner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.hero-btnRow {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.hero-progress {
    pointer-events: auto;
    width: min(320px, 45vw);
    height: 3px;
    border-radius: 999px;
    background: rgba(255,255,255,.20);
    overflow: hidden;
}

.hero-progress > span {
    display: block;
    height: 100%;
    width: 33.333%;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-red-2));
    box-shadow: 0 10px 22px rgba(198,40,51,.25);
    transition: transform var(--hero-dur) var(--hero-ease);
    transform: translateX(0%);
}

/* Branded transition wipe */
.hero-wipe {
    position: absolute;
    inset: -30%;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-28%) rotate(-12deg);
    z-index: 5;
    background:
        radial-gradient(closest-side at 25% 50%, rgba(255,255,255,.10), transparent 60%),
        linear-gradient(90deg,
            rgba(198,40,51,0) 0%,
            rgba(198,40,51,.50) 36%,
            rgba(139,30,37,.82) 52%,
            rgba(198,40,51,.50) 68%,
            rgba(198,40,51,0) 100%
        );
    mix-blend-mode: screen;
    filter: blur(.6px) saturate(1.06);
}

.hero-wipe::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 25%, rgba(255,255,255,.08) 0 1px, transparent 2px),
        radial-gradient(circle at 70% 55%, rgba(255,255,255,.06) 0 1px, transparent 2px);
    background-size: 18px 18px;
    opacity: .10;
    mix-blend-mode: overlay;
}

.hero-slider.is-animating .hero-wipe {
    animation: heroWipeMove var(--hero-dur) var(--hero-ease) both;
}

@keyframes heroWipeMove {
    0% {
        opacity: 0;
        transform: translateX(-38%) rotate(-12deg);
    }
    18% {
        opacity: 1;
    }
    55% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(38%) rotate(-12deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-controls {
        padding: 0 12px;
        bottom: 12px;
    }
    
    .hero-progress {
        width: min(200px, 40vw);
    }
    
    .hero-btn {
        padding: 8px 12px;
    }
    
    .hero-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    :root {
        --hero-dur: 1ms;
    }
    .hero-slider.is-animating .hero-wipe {
        animation: none;
    }
}

/* ==========================================================================
   Product Categories Section (Homepage)
   ========================================================================== */

/* ==========================================================================
   Elsisan Services Section
   ========================================================================== */

.els-services-section {
    background: #ffffff;
    padding: 70px 0;
    position: relative;
}

.els-services-section .site-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.els-services-header {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.els-services-header-left {
    text-align: left;
}

.els-services-header-right {
    text-align: left;
}

.els-services-title {
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.2;
    margin: 0;
    color: #1f2430;
    font-weight: 700;
}

.els-services-title span {
    color: #c62833;
}

.els-services-lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #5a6270;
}

.els-services-grid-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.els-service-card {
    background: #ffffff;
    border: 1px solid rgba(198, 40, 51, 0.1);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.els-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(198, 40, 51, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.els-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(198, 40, 51, 0.12);
    border-color: rgba(198, 40, 51, 0.25);
}

.els-service-card:hover::before {
    opacity: 1;
}

.els-service-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #dc3545 0%, #c62833 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(198, 40, 51, 0.25);
    transition: all 0.3s ease;
}

.els-service-card:hover .els-service-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(198, 40, 51, 0.35);
}

.els-service-icon-text {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.els-service-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2430;
    margin: 0 0 12px;
    line-height: 1.3;
}

.els-service-card-description {
    font-size: 14px;
    line-height: 1.6;
    color: #5a6270;
    margin: 0;
}

@media (max-width: 1024px) {
    .els-services-grid-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .els-services-section {
        padding: 50px 0;
    }
    
    .els-services-grid-main {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .els-service-card {
        padding: 28px 20px;
    }
}

/* ==========================================================================
   Elsisan Products Section
   ========================================================================== */

.els-products-section {
    background: #f8f9fa;
    padding: 70px 0;
    position: relative;
}

.els-products-section .site-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.els-products-header {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.els-products-header-left {
    text-align: left;
}

.els-products-header-right {
    text-align: left;
}

.els-products-title {
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.2;
    margin: 0;
    color: #1f2430;
    font-weight: 700;
}

.els-products-title span {
    color: #c62833;
}

.els-products-lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #5a6270;
}

/* Shared Kicker Styles */
.els-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fbecee;
    color: #c62833;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.els-kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c62833;
}

/* ==========================================================================
   Elsisan Products Section - Connected Tabs Design
   ========================================================================== */

.els-products-body {
    position: relative;
    z-index: 1;
    margin-top: 50px;
    display: grid;
    grid-template-columns: 260px 1fr; /* Fixed width for nav */
    align-items: stretch; /* Stretch to match heights if needed */
    gap: 0; /* No gap for connection */
}

.els-products-nav {
    display: flex;
    flex-direction: column;
    gap: 0; /* Stack tabs vertically */
    position: relative;
    z-index: 2; /* Above panel border */
    height: 100%; /* Fill the grid column height */
}

/* Tab Items */
.els-nav-item {
    flex: 1; /* Stretch items to fill available height */
    border-radius: 0; /* Square corners for joined look */
    padding: 14px 24px; /* Reduced padding */
    border: 1px solid rgba(198, 40, 51, 0.1);
    border-right: none; /* Handled by container border or active state */
    border-bottom: none; /* Collapse borders */
    background: #f8f9fa; /* Inactive background */
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: left;
    position: relative;
    margin-right: -1px; /* Push against panel border */
}

/* First item rounded top-left */
.els-nav-item:first-child {
    border-radius: 12px 0 0 0;
}

/* Last item rounded bottom-left and add bottom border */
.els-nav-item:last-child {
    border-radius: 0 0 0 12px;
    border-bottom: 1px solid rgba(198, 40, 51, 0.1);
}

/* Hover State */
.els-nav-item:hover {
    background: #ffffff;
    color: #c62833;
    padding-left: 28px; /* Slight movement */
}

/* Active Tab - The Connection */
.els-nav-item.els-is-active {
    background: #ffffff;
    border-color: rgba(198, 40, 51, 0.15);
    border-right: 1px solid transparent; /* Remove dividing line */
    color: #c62833;
    font-weight: 700;
    z-index: 10;
    width: calc(100% + 1px); /* Overlap panel border */
    box-shadow: -4px 4px 12px rgba(0,0,0,0.02);
}

/* Active Tab Red Accent Line */
.els-nav-item.els-is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #c62833;
    border-radius: 4px 0 0 4px;
}

.els-nav-item:first-child.els-is-active::before {
    border-radius: 12px 0 0 0;
}
.els-nav-item:last-child.els-is-active::before {
    border-radius: 0 0 0 12px;
}

/* Labels & Icons */
.els-nav-label {
    font-size: 15px;
    font-weight: 600;
    color: inherit;
    flex: 1;
}

.els-nav-chevron {
    display: none; /* Clean look */
}

/* Content Panel Container */
.els-products-detail {
    position: relative;
    min-height: 340px;
    background: #ffffff;
    border: 1px solid rgba(198, 40, 51, 0.15);
    border-radius: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
}

/* Detail Panel Content */
.els-detail-panel {
    display: none;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    align-items: stretch;
    opacity: 0;
    padding: 0;
    height: 100%;
    flex: 1;
    border-radius: 0 20px 20px 20px;
    overflow: hidden;
}

.els-detail-panel.els-is-active {
    display: grid;
    animation: fadeIn 0.4s ease forwards;
}

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

.els-detail-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 30px;
    justify-content: center;
}

.els-detail-kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #c62833;
    font-weight: 600;
}

.els-detail-title {
    margin: 0;
    font-size: 22px;
    color: #1f2430;
    font-weight: 700;
    line-height: 1.3;
}

.els-detail-subtitle {
    margin: 0;
    font-size: 14px;
    color: #5a6270;
    line-height: 1.5;
}

.els-detail-list {
    list-style: none;
    padding: 0;
    margin: 10px 0; /* Reduced margin */
    display: flex;
    flex-direction: column;
    gap: 4px; /* Reduced gap */
}

.els-detail-list li {
    font-size: 13px;
    color: #1f2430;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.els-detail-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #c62833;
    font-weight: 700;
    margin-right: 8px;
}

.els-detail-link-row {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    padding-top: 10px;
}

.els-detail-tag {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(198, 40, 51, 0.08);
    color: #c62833;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 500;
}

.els-detail-link {
    margin-left: auto;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    color: #c62833;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.els-detail-link:hover {
    color: #a71d2a;
    gap: 7px;
}

.els-detail-link svg {
    width: 14px;
    height: 14px;
}

.els-detail-media {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 100%;
    min-height: 100%;
}

.els-detail-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 20px 20px 0;
    box-shadow: none;
}

.els-media-placeholder {
    border-radius: 20px;
    border: 2px dashed rgba(198, 40, 51, 0.3);
    background: rgba(255, 245, 246, 0.6);
    backdrop-filter: blur(10px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 240px;
}

.els-media-tag {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(198, 40, 51, 0.1);
    color: #c62833;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.els-media-main {
    margin-top: 14px;
    font-size: 12px;
    color: #7b8495;
    line-height: 1.5;
}

.els-media-aspect {
    margin-top: 12px;
    border-radius: 14px;
    border: 1px dashed rgba(31, 36, 48, 0.2);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #7b8495;
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .els-products-body {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .els-services-section {
        padding: 50px 0;
    }
    
    .els-services-header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .els-products-section {
        padding: 50px 0;
    }
    
    .els-products-header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .els-products-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    
    .els-products-detail {
        margin-left: 0;
    }
    
    .els-nav-item {
        border-radius: 12px;
        border: 1px solid rgba(198, 40, 51, 0.08);
    }
    
    .els-nav-item.els-is-active::after {
        display: none;
    }
    
    .els-products-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 4px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
    }
    
    .els-nav-item {
        flex: 0 0 auto;
        min-width: 160px;
    }
    
    .els-nav-item:hover {
        transform: translateX(0);
    }
    
    .els-nav-item.els-is-active {
        transform: translateX(0);
    }
    
    .els-nav-item::before {
        display: none;
    }
    
    .els-products-detail {
        min-height: 0;
    }
    
    .els-detail-panel {
        grid-template-columns: 1fr;
        padding: 0;
        align-items: flex-start;
        border-radius: 0 0 20px 20px;
    }
    
    .els-detail-text {
        padding: 30px 30px 0 30px;
    }
    
    .els-detail-media {
        height: 300px; /* Fixed height for video on mobile */
        border-radius: 0 0 20px 20px;
    }
    
    .els-detail-video {
        border-radius: 0 0 20px 20px;
    }
    
    .els-detail-panel.els-is-active {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .els-products-title,
    .els-services-title {
        font-size: 28px;
    }
    
    .els-detail-panel {
        padding: 20px;
    }
    
    .els-detail-title {
        font-size: 19px;
    }
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats-section {
    background: linear-gradient(135deg, #dc3545 0%, #a71d2a 50%, #8b1623 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Animated dotted world map pattern - multiple particle layers */
.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background-image: 
        radial-gradient(circle, rgba(255, 200, 100, 0.9) 4px, transparent 4px),
        radial-gradient(circle, rgba(255, 220, 150, 0.7) 3px, transparent 3px),
        radial-gradient(circle, rgba(255, 180, 100, 0.6) 2.5px, transparent 2.5px),
        radial-gradient(circle, rgba(255, 240, 180, 0.5) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 200, 120, 0.4) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(255, 210, 130, 0.3) 1px, transparent 1px);
    background-size: 120px 120px, 80px 80px, 60px 60px, 50px 50px, 35px 35px, 25px 25px;
    background-position: 0 0, 40px 40px, 20px 20px, 10px 10px, 30px 15px, 5px 25px;
    opacity: 0.5;
    animation: drift-particles 20s linear infinite;
}

@keyframes drift-particles {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(120px, 80px);
    }
}

/* Glowing location markers with pulse effect */
.stats-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 15% 35%, rgba(255, 220, 150, 0.6) 0%, transparent 20%),
        radial-gradient(ellipse at 85% 55%, rgba(255, 200, 120, 0.5) 0%, transparent 18%),
        radial-gradient(ellipse at 45% 25%, rgba(255, 240, 180, 0.6) 0%, transparent 22%),
        radial-gradient(ellipse at 75% 75%, rgba(255, 190, 110, 0.5) 0%, transparent 16%),
        radial-gradient(ellipse at 25% 65%, rgba(255, 210, 130, 0.5) 0%, transparent 19%),
        radial-gradient(ellipse at 60% 80%, rgba(255, 230, 160, 0.4) 0%, transparent 15%),
        radial-gradient(ellipse at 35% 45%, rgba(255, 200, 120, 0.4) 0%, transparent 17%);
    opacity: 1;
    animation: pulse-glow 3s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.6;
        transform: scale(1.08);
    }
}

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

/* Second particle layer - moves independently */
.stats-grid::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    right: -100%;
    bottom: -100%;
    background-image: 
        radial-gradient(circle, rgba(255, 230, 160, 0.6) 3.5px, transparent 3.5px),
        radial-gradient(circle, rgba(255, 210, 140, 0.5) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 190, 120, 0.4) 1.2px, transparent 1.2px);
    background-size: 90px 90px, 55px 55px, 40px 40px;
    background-position: 15px 25px, 35px 5px, 45px 45px;
    opacity: 0.4;
    animation: drift-particles-2 30s linear infinite reverse;
    z-index: -1;
    pointer-events: none;
}

/* Third particle layer */
.stats-grid::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    right: -100%;
    bottom: -100%;
    background-image: 
        radial-gradient(circle, rgba(255, 240, 180, 0.5) 2.8px, transparent 2.8px),
        radial-gradient(circle, rgba(255, 220, 160, 0.4) 1.8px, transparent 1.8px),
        radial-gradient(circle, rgba(255, 200, 140, 0.3) 0.8px, transparent 0.8px);
    background-size: 70px 70px, 45px 45px, 30px 30px;
    background-position: 25px 10px, 5px 30px, 20px 40px;
    opacity: 0.3;
    animation: drift-particles-3 15s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes drift-particles-2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(90px, 110px);
    }
}

@keyframes drift-particles-3 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-70px, 85px);
    }
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    transition: all 0.3s ease;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: stat-glow 2.5s ease-in-out infinite alternate;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.3),
        0 0 20px rgba(255, 220, 150, 0.4),
        0 0 30px rgba(255, 200, 120, 0.2);
    animation: number-glow 2s ease-in-out infinite alternate;
}

.stat-label {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

@keyframes stat-glow {
    0% {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1.15);
    }
}

@keyframes number-glow {
    0% {
        text-shadow: 
            2px 2px 4px rgba(0,0,0,0.3),
            0 0 20px rgba(255, 220, 150, 0.4),
            0 0 30px rgba(255, 200, 120, 0.2);
    }
    100% {
        text-shadow: 
            2px 2px 4px rgba(0,0,0,0.3),
            0 0 25px rgba(255, 220, 150, 0.6),
            0 0 40px rgba(255, 200, 120, 0.4),
            0 0 50px rgba(255, 180, 100, 0.2);
    }
}

/* ==========================================================================
   Industries Section
   ========================================================================== */

.industries-section {
    background-color: #2a2a2a;
    padding: 50px 0;
    margin: 0;
}

.industries-section .site-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.industries-header {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 35px;
}

.industries-header-left {
    text-align: left;
}

.industries-header-right {
    text-align: left;
}

.industries-title {
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.2;
    margin: 0;
    color: #ffffff;
    font-weight: 700;
}

.industries-title span {
    color: #ff6b6b;
}

.industries-lead {
    margin: 0 0 20px 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.industries-section .els-kicker {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.industries-section .els-kicker-dot {
    background: #ff6b6b;
}

.industries-section .industries-title {
    color: #ffffff;
}

.industries-section .industries-title span {
    color: #ff6b6b;
}

.industries-section .industries-lead {
    color: rgba(255, 255, 255, 0.85);
}

.industries-section .industries-header-right {
    color: rgba(255, 255, 255, 0.85);
}

.industries-header-link {
    margin-top: 0;
}

.industries-grid-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
}

.industry-item {
    position: relative;
    height: 220px;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.industry-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(198, 40, 51, 0.15);
    border-color: rgba(198, 40, 51, 0.3);
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    transition: all 0.3s ease;
    border-radius: 12px;
}

.industry-item:hover .industry-overlay {
    background: linear-gradient(to bottom, rgba(198, 40, 51, 0.7), rgba(198, 40, 51, 0.9));
}

.industry-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.industry-icon {
    font-size: 60px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: none;
}

.industry-item:hover .industry-icon {
    transform: scale(1.1);
}

.industry-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-transform: capitalize;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.industries-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 10px 20px;
    border: 2px solid #c62833;
    border-radius: 8px;
    background: #c62833;
    box-shadow: 0 2px 8px rgba(198, 40, 51, 0.25);
}

.industries-view-all:hover {
    background: #a71d2a;
    border-color: #a71d2a;
    color: #ffffff;
    text-decoration: none;
    gap: 12px;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 40, 51, 0.35);
}

.industries-view-all svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.industries-view-all:hover svg {
    transform: translateX(2px);
}

/* ==========================================================================
   Floating Contact Button
   ========================================================================== */

a.contact-us-float {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    color: white;
    font-weight: bold;
    width: 50px;
}

.contact-us-float .icon-section {
    background-color: #8e0000;
    padding: 15px 0;
    transition: background-color 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-us-float .icon-section i {
    font-size: 24px;
}

.contact-us-float .text-section {
    background-color: #c50000;
    padding: 15px 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 16px;
    transition: background-color 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

a.contact-us-float:hover .icon-section {
    background-color: #6a0000;
}

a.contact-us-float:hover .text-section {
    background-color: #a30000;
}

/* ==========================================================================
   Content
   ========================================================================== */

.content-sidebar-wrap {
    display: flex;
    gap: 40px;
    padding: 40px 0;
}

.site-main {
    flex: 1;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* Single column layout (no sidebar) */
.site-main:not(.product-archive):not(.single-product):not(.single-industry):not(.references-page):not(.references-archive) {
    padding: 40px 0;
}

/* ==========================================================================
   Single Product
   ========================================================================== */

.single-product {
    max-width: 100%;
    overflow-x: hidden;
}

.single-product article {
    max-width: 100%;
    overflow-x: hidden;
}

.single-product .entry-content {
    margin-top: 0;
    margin-bottom: 40px;
    line-height: 1.8;
}

.single-product .entry-meta {
    font-size: 14px;
    color: #666;
}

.single-product .product-category a {
    color: #0073aa;
    text-decoration: none;
}

.single-product .product-category a:hover {
    text-decoration: underline;
}

.product-featured-image {
    margin-bottom: 30px;
    background-color: #f8f9fa;
    border-radius: 5px;
    overflow: hidden;
}

.product-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-product .entry-content p {
    margin-bottom: 1em;
}

.single-product .entry-content h2,
.single-product .entry-content h3,
.single-product .entry-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #333;
}

.product-gallery {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.product-gallery-main {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #ddd;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: zoom-in;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    box-sizing: border-box;
}

.product-gallery-main img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.gallery-zoom-icon {
    display: none;
}

.gallery-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.product-gallery-main:hover .gallery-nav-button {
    opacity: 1;
}

.gallery-nav-button:hover {
    background-color: rgba(220, 53, 69, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-prev {
    left: 15px;
}

.gallery-nav-next {
    right: 15px;
}

.product-gallery-thumbnails-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.product-gallery-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    flex: 1 1 0;
    padding: 5px 0;
    scrollbar-width: thin;
    scrollbar-color: #ddd #f8f9fa;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.product-gallery-thumbnails::-webkit-scrollbar {
    height: 8px;
}

.product-gallery-thumbnails::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
}

.product-gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.product-gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.product-gallery-thumbnail {
    background-color: #f8f9fa;
    border: 3px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 1;
    min-width: 100px;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.product-gallery-thumbnail:hover {
    border-color: #dc3545;
    transform: scale(1.05);
}

.product-gallery-thumbnail.active {
    border-color: #dc3545;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.product-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-nav-button {
    background-color: #fff;
    border: 2px solid #ddd;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 5;
    box-sizing: border-box;
}

.thumbnail-nav-button:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
    transform: scale(1.1);
}

.thumbnail-nav-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.thumbnail-nav-button:disabled:hover {
    background-color: #fff;
    border-color: #ddd;
    color: #333;
    transform: scale(1);
}

/* ==========================================================================
   Product Lightbox Modal
   ========================================================================== */

.product-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.product-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lightbox-close:hover {
    color: #dc3545;
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 60px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    line-height: 1;
    font-weight: 300;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(220, 53, 69, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    color: white;
    font-size: 16px;
    margin-top: 15px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
}

.product-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.product-navigation .nav-previous,
.product-navigation .nav-next {
    flex: 1;
}

.product-navigation .nav-next {
    text-align: right;
}

.product-navigation a {
    display: block;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-navigation a:hover {
    background-color: #0073aa;
    color: #ffffff;
}

.product-navigation .nav-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 5px;
}

.product-navigation a:hover .nav-label {
    color: rgba(255, 255, 255, 0.8);
}

.product-navigation .nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.product-navigation a:hover .nav-title {
    color: #ffffff;
}

/* Page Header */
.page-header {
    margin-bottom: 40px;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.category-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.post {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e9ecef;
}

.post:last-child {
    border-bottom: none;
}

.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.entry-title a {
    color: #333;
}

.entry-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* ==========================================================================
   Product Grid/Archive
   ========================================================================== */

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

.product-box {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.product-box:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.product-box-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-thumbnail {
    width: 100%;
    overflow: hidden;
    background-color: #f8f9fa;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-box:hover .product-thumbnail img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

.product-title a:hover {
    color: #0073aa;
}

.product-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-actions {
    margin-top: auto;
}

.product-view-button {
    display: inline-block;
    background-color: #dc3545;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.product-view-button:hover {
    background-color: #c82333;
    text-decoration: none;
}

.product-view-button .arrow {
    margin-left: 5px;
    font-weight: bold;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
}

.no-products h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.no-products p {
    color: #666;
    font-size: 16px;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar .widget {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

.sidebar .widget-product-list {
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.sidebar .widget-product-list .widget-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
}

.sidebar .widget-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
    color: #333;
}

.product-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-categories-list li {
    margin-bottom: 0;
    line-height: 1.4;
    border-bottom: 1px solid #f0f0f0;
}

.product-categories-list li:last-child {
    border-bottom: none;
}

.product-categories-list a {
    display: block;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
}

.product-categories-list a::before {
    content: '›';
    position: absolute;
    left: 8px;
    color: #ccc;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.product-categories-list a:hover {
    background-color: #f8f9fa;
    color: #dc3545;
    padding-left: 25px;
    text-decoration: none;
}

.product-categories-list a:hover::before {
    color: #dc3545;
    left: 12px;
}

.product-categories-list .current-cat a {
    background-color: #dc3545;
    color: #ffffff;
    font-weight: 600;
    padding-left: 25px;
}

.product-categories-list .current-cat a::before {
    color: #ffffff;
    left: 12px;
}

.product-categories-list .current-cat a:hover {
    background-color: #c82333;
    color: #ffffff;
    text-decoration: none;
}

.product-categories-list .count {
    font-size: 12px;
    color: #999;
    background-color: #f8f9fa;
    padding: 2px 8px;
    border-radius: 10px;
}

.product-categories-list .current-cat .count {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

/* Social Media Banner */
.footer-social-banner {
    background-color: #c50000;
    padding: 15px 0;
}

.social-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.social-banner-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #ffffff;
    font-size: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: #f0f0f0;
    transform: scale(1.1);
}

/* Main Footer */
.site-footer {
    background-color: #3a3a3a;
    color: #ffffff;
    padding: 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding: 50px 0 30px 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #c50000;
}

/* Contact Column */
.footer-contact-item {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 14px;
    color: #cccccc;
}

.footer-contact-item strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-contact-item a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #c50000;
    text-decoration: underline;
}

/* Footer Menus */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-menu a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: #c50000;
    padding-left: 5px;
    text-decoration: none;
}

/* Copyright Bar */
.footer-copyright {
    background-color: #2a2a2a;
    padding: 20px 0;
    text-align: right;
}

.footer-copyright p {
    margin: 0;
    color: #cccccc;
    font-size: 14px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .social-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0 20px 0;
    }
    
    .footer-copyright {
        text-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-contact {
        grid-column: 1 / -1;
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .slideshow-container {
        height: 400px;
    }
    
    .slideshow-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .slideshow-text {
        font-size: 16px;
        max-width: 100%;
    }
    
    .slideshow-prev,
    .slideshow-next {
        font-size: 32px;
        padding: 15px 10px;
    }
    
    .slideshow-prev {
        left: 10px;
    }
    
    .slideshow-next {
        right: 10px;
    }
    
    .slideshow-dots {
        bottom: 20px;
    }
    
    .stats-section {
        padding: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    
    .stat-item {
        padding: 30px 15px;
    }
    
    .stat-item:nth-child(2n)::after {
        display: none;
    }
    
    .stat-item:nth-child(1)::after,
    .stat-item:nth-child(2)::after {
        display: block;
    }
    
    .stat-item::after {
        height: 50px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .stat-label {
        font-size: 13px;
        letter-spacing: 0.5px;
    }
    
    .category-hero {
        padding: 0 0 40px 0;
        margin-bottom: 30px;
        min-height: 200px;
    }
    
    .category-hero .site-container {
        flex-direction: column;
        gap: 20px;
        padding-top: 40px;
    }
    
    .category-hero-title {
        font-size: 32px;
        max-width: 100%;
        margin-bottom: 0;
    }
    
    .category-hero-description {
        font-size: 16px;
    }
    
    .category-hero-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
    
    .product-hero {
        padding: 0 0 30px 0;
        min-height: 100px;
    }
    
    .product-hero-title {
        font-size: 28px;
    }
    
    .product-hero-description {
        font-size: 14px;
        margin: 15px auto 0;
        padding: 0 10px;
    }
    
    .hero-breadcrumbs {
        top: 5px;
        left: 20px;
    }
    
    .hero-breadcrumbs .breadcrumbs a,
    .hero-breadcrumbs .breadcrumb-current {
        font-size: 12px;
    }
    
    .product-hero .site-container {
        padding-top: 30px;
    }
    
    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-right {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
        margin-top: 15px;
    }
    
    .secondary-navigation {
        width: 100%;
    }
    
    .secondary-navigation ul {
        flex-direction: column;
        gap: 8px;
    }
    
    .language-switcher {
        margin-top: 10px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
    }
    
    .main-navigation.toggled ul {
        display: flex;
    }
    
    .main-navigation a {
        padding: 12px 20px;
    }
    
    .main-navigation ul ul {
        position: static;
        box-shadow: none;
        background-color: #3d3d3d;
        border-radius: 0;
    }
    
    .main-navigation ul ul a {
        padding-left: 40px;
    }
    
    .breadcrumbs {
        font-size: 13px;
    }
    
    .breadcrumbs ul {
        gap: 5px;
    }
    
    .content-sidebar-wrap {
        flex-direction: column;
        gap: 30px;
        padding: 30px 0;
    }
    
    .sidebar {
        width: 100%;
        order: -1;
    }
    
    .product-list a,
    .product-categories-list a {
        font-size: 13px;
        padding: 10px 15px;
    }
    
    .sidebar .widget-product-list {
        margin-bottom: 0;
    }
    
    .entry-title {
        font-size: 24px;
    }
    
    .single-product .entry-title {
        font-size: 26px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-gallery-main {
        aspect-ratio: 16 / 9;
    }
    
    .gallery-nav-button {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .gallery-nav-prev {
        left: 10px;
    }
    
    .gallery-nav-next {
        right: 10px;
    }
    
    .product-gallery-thumbnail {
        min-width: 80px;
        width: 80px;
        height: 80px;
    }
    
    .thumbnail-nav-button {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 40px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 40px;
        padding: 15px 10px;
    }
    
    .lightbox-prev {
        left: 5px;
    }
    
    .lightbox-next {
        right: 5px;
    }
    
    .product-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .product-navigation .nav-next {
        text-align: left;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .industries-section {
        padding: 40px 0;
    }
    
    .industries-header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .industries-header-right {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .industries-view-all {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .industry-item {
        height: 180px;
        border-radius: 10px;
    }
    
    .industry-overlay {
        border-radius: 10px;
    }
    
    .industry-icon {
        font-size: 40px;
        margin-bottom: 12px;
    }
    
    .industry-title {
        font-size: 14px;
    }
    
    a.contact-us-float {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar {
        width: 250px;
    }
    
    .content-sidebar-wrap {
        gap: 30px;
    }
}

/* ==========================================================================
   Blog Section
   ========================================================================== */

.blog-section {
    background-color: #333;
    padding: 40px 0;
    margin: 0;
}

.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-section .section-title {
    color: #ffffff;
}

.section-icon {
    font-size: 28px;
    margin-right: 10px;
}

.view-all-link {
    font-size: 16px;
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #c82333;
    text-decoration: none;
}

.blog-section .view-all-link {
    color: #ffffff;
}

.blog-section .view-all-link:hover {
    color: #f8f9fa;
}

.blog-slider-wrapper {
    position: relative;
    padding: 0 60px;
}

.blog-slider-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.blog-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.blog-card-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-icon {
    font-size: 14px;
}

.blog-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.blog-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #dc3545;
}

.blog-card-date {
    display: none; /* Hidden as per user request */
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.blog-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-link {
    display: inline-block;
    color: #dc3545;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.blog-card-link:hover {
    color: #c82333;
    text-decoration: none;
    padding-left: 5px;
}

/* Blog Slider Navigation */
.blog-slider-prev,
.blog-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(51, 51, 51, 0.8);
    color: #ffffff;
    border: none;
    font-size: 32px;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    border-radius: 4px;
}

.blog-slider-prev:hover,
.blog-slider-next:hover {
    background-color: #dc3545;
}

.blog-slider-prev {
    left: 10px;
}

.blog-slider-next {
    right: 10px;
}

.blog-slider-prev span,
.blog-slider-next span {
    display: block;
}

/* Blog Slider Dots */
.blog-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.blog-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.blog-slider-dot:hover,
.blog-slider-dot.active {
    background-color: #dc3545;
    transform: scale(1.2);
}

/* ==========================================================================
   News Section
   ========================================================================== */

.news-section {
    background-color: #ffffff;
    padding: 40px 0;
    margin: 0;
}

.news-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.news-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: #dc3545;
}

.news-card-image {
    width: 100%;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-image a {
    display: block;
    width: 100%;
    line-height: 0;
}

.news-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.news-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.news-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.news-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-title a:hover {
    color: #dc3545;
}

.news-card-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.news-card-excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    flex-grow: 1;
}

/* ==========================================================================
   Single News Page
   ========================================================================== */

/* Ensure full width for news pages - remove all padding and margins */
body.single-news {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

body.single-news #page,
body.single-news #content {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.news-hero {
    background: linear-gradient(135deg, #1e5a7a 0%, #2d7a9f 100%) !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    position: relative;
    padding: 0 0 10px 0;
    margin-bottom: 0;
    min-height: 120px;
    width: 100%;
    left: 0;
    right: 0;
}

.news-hero .site-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding-top: 40px;
}

.news-hero-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    text-align: right;
}

.product-hero-title {
    text-align: center;
}

.single-news {
    max-width: 100%;
    margin: 0;
    padding: 0 20px 0;
}

.single-news article {
    width: 100%;
    margin-top: 0;
}

/* Align gallery with sidebar top - use negative margin to pull gallery up to match sidebar */
.single-news .news-gallery {
    margin-top: -40px;
}

/* Remove default top padding on main content so gallery aligns with news sidebar */
.site-main.single-news {
    padding-top: 0;
}

/* Remove extra date section */
.single-news .entry-meta-date {
    display: none;
}

/* News Sidebar Styling */
.news-sidebar {
    background-color: #ffffff;
}

.news-sidebar .widget-product-list {
    background-color: #ffffff;
}

.news-sidebar .fa-newspaper {
    color: #dc3545;
}

.single-news .entry-meta-date {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.single-news .entry-meta-date .posted-on {
    font-size: 14px;
    color: #999;
}

.single-news .news-gallery {
    margin-bottom: 30px;
}

.single-news .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-news .entry-content p {
    margin-bottom: 20px;
}

.single-news .entry-content h2,
.single-news .entry-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.single-news .entry-content h2 {
    font-size: 24px;
}

.single-news .entry-content h3 {
    font-size: 20px;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0;
    border-top: 2px solid #e9ecef;
}

.news-navigation .nav-previous,
.news-navigation .nav-next {
    flex: 1;
    max-width: 48%;
}

.news-navigation .nav-next {
    text-align: right;
}

.news-navigation a {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-navigation a:hover {
    background: #dc3545;
    color: white;
}

.news-navigation .nav-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 5px;
}

.news-navigation a:hover .nav-label {
    color: rgba(255, 255, 255, 0.8);
}

.news-navigation .nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.news-navigation a:hover .nav-title {
    color: white;
}

/* ==========================================================================
   Single Blog Post Page
   ========================================================================== */

/* Ensure full width for blog pages - remove all padding and margins */
body.single-post {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

body.single-post #page,
body.single-post #content {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.blog-hero {
    background: linear-gradient(135deg, #1e5a7a 0%, #2d7a9f 100%) !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    position: relative;
    padding: 0 0 10px 0;
    margin-bottom: 0;
    min-height: 120px;
    width: 100%;
    left: 0;
    right: 0;
}

.blog-hero .site-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding-top: 40px;
}

.blog-hero-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    text-align: right;
}

.single-blog {
    max-width: 100%;
    margin: 0;
    padding: 0 20px 0;
}

.single-blog article {
    width: 100%;
    margin-top: 0;
}

/* Align gallery with sidebar top - use negative margin to pull gallery up to match sidebar */
.single-blog .blog-gallery {
    margin-top: -40px;
}

/* Remove default top padding on main content so gallery aligns with blog sidebar */
.site-main.single-blog {
    padding-top: 0;
}

/* Remove extra date section */
.single-blog .entry-meta-date {
    display: none;
}

/* Blog Sidebar Styling */
.blog-sidebar {
    background-color: #ffffff;
}

.blog-sidebar .widget-product-list {
    background-color: #ffffff;
}

.blog-sidebar .fa-file-text {
    color: #dc3545;
}

.single-blog .entry-meta-date {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.single-blog .entry-meta-date .posted-on {
    font-size: 14px;
    color: #999;
}

.single-blog .blog-gallery {
    margin-bottom: 30px;
}

.single-blog .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-blog .entry-content p {
    margin-bottom: 20px;
}

.single-blog .entry-content h2,
.single-blog .entry-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.single-blog .entry-content h2 {
    font-size: 24px;
}

.single-blog .entry-content h3 {
    font-size: 20px;
}

.blog-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0;
    border-top: 2px solid #e9ecef;
}

.blog-navigation .nav-previous,
.blog-navigation .nav-next {
    flex: 1;
    max-width: 48%;
}

.blog-navigation .nav-next {
    text-align: right;
}

.blog-navigation a {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-navigation a:hover {
    background: #dc3545;
    color: white;
}

.blog-navigation .nav-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 5px;
}

.blog-navigation a:hover .nav-label {
    color: rgba(255, 255, 255, 0.8);
}

.blog-navigation .nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.blog-navigation a:hover .nav-title {
    color: white;
}

/* ==========================================================================
   Responsive - Blog and News Sections
   ========================================================================== */

@media (max-width: 768px) {
    .blog-section,
    .news-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .blog-slider-wrapper {
        padding: 0 50px;
    }
    
    .blog-slider-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-slider-prev,
    .blog-slider-next {
        font-size: 24px;
        padding: 10px 8px;
    }
    
    .news-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .industry-item {
        height: 160px;
    }
    
    /* Single News Responsive */
    .news-hero {
        padding: 0 0 30px 0;
        min-height: 100px;
    }
    
    .news-hero .site-container {
        padding-top: 30px;
    }
    
    .single-news {
        padding-top: 20px;
    }
    
    .single-news .entry-content {
        font-size: 15px;
    }
    
    .news-navigation {
        flex-direction: column;
    }
    
    .news-navigation .nav-previous,
    .news-navigation .nav-next {
        max-width: 100%;
        text-align: left;
    }
    
    /* Single Blog Responsive */
    .blog-hero {
        padding: 0 0 30px 0;
        min-height: 100px;
    }
    
    .blog-hero .site-container {
        padding-top: 30px;
    }
    
    .single-blog {
        padding-top: 20px;
    }
    
    .single-blog .entry-content {
        font-size: 15px;
    }
    
    .blog-navigation {
        flex-direction: column;
    }
    
    .blog-navigation .nav-previous,
    .blog-navigation .nav-next {
        max-width: 100%;
        text-align: left;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .blog-slider-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .news-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    
    .industry-item {
        height: 200px;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .blog-slider-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .news-grid,
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    
    .industry-item {
        height: 200px;
    }
}

/* ==========================================================================
   Product Hierarchy - Parent/Child Products
   ========================================================================== */

/* Parent Product Notice (shown on child product pages) */
.parent-product-notice {
    background: #f0f7ff;
    border-left: 4px solid #0073aa;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 4px;
    font-size: 15px;
}

.parent-product-notice i {
    color: #0073aa;
    font-size: 18px;
}

.parent-product-notice span {
    color: #555;
}

.parent-product-notice .parent-product-link {
    color: #0073aa;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.parent-product-notice .parent-product-link:hover {
    color: #005177;
    text-decoration: underline;
}

/* Child Products Section (shown on parent product pages) */
/* Removed wrapper styling - now child products use direct .products-grid */
/* This makes them match archive layout exactly */

/* Product Archive & Single Product Alignment */

/* Remove top padding from both archive and single-product main areas */
.site-main.product-archive,
.site-main.single-product {
    padding-top: 0;
}

/* Pull up only the child products grid on single product pages to align with sidebar */
body.single-product .site-main .products-grid {
    margin-top: -40px;
}

/* Pull up the products grid on archive pages to align with sidebar */
body.post-type-archive-product .site-main .products-grid {
    margin-top: -40px;
}

/* Ensure products-grid aligns at top on archive pages */
.product-archive .products-grid {
    margin-top: 0;
}

/* On parent product pages, child products grid should align with sidebar */
.single-product .products-grid {
    margin-top: 0; /* No extra top margin */
}

/* Related industries section on product pages */
.single-product .related-industries {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    margin-top: 50px;
}

.single-product .related-industries-title {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    color: #333;
    display: block;
}

.single-product .related-industries .products-grid {
    margin-top: 30px !important;
    padding-top: 0;
    clear: both;
}

body.single-product .related-industries .products-grid {
    margin-top: 30px !important;
}

.single-product .related-industries .product-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.single-product .related-industries .product-box h3 a:hover {
    color: #0073aa;
}

/* Ensure sidebar widget-product-list aligns at top */
.product-sidebar .widget-product-list {
    margin-top: 0;
    padding-top: 0;
}

/* Remove any extra top margin/padding from product-list ul */
.product-sidebar .product-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Product list items */
.product-list .item {
    border-bottom: 1px solid #e9ecef;
}

.product-list .item:last-child {
    border-bottom: none;
}

.product-list .item a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.product-list .item a:hover {
    background: #f8f9fa;
    color: #0073aa;
    padding-left: 25px;
}

.product-list .item a.current-link {
    background: #0073aa;
    color: #fff;
    font-weight: 600;
}

.product-list .item a i {
    margin-right: 10px;
    color: #0073aa;
}

.product-list .item a.current-link i {
    color: #fff;
}

.child-products-title {
    font-size: 28px;
    color: #222;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #0073aa;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.child-products-title i {
    color: #0073aa;
    font-size: 26px;
}

/* Sidebar Product Hierarchy - Clean Style */
.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-list .item {
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.product-list .item:last-child {
    border-bottom: none;
}

.product-list .item .item-header {
    display: flex;
    align-items: stretch;
    position: relative;
}

.product-list .item a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    display: block;
    padding: 14px 20px;
    line-height: 1.5;
    transition: 0.3s ease;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.product-list .item a i.fa-box {
    margin-right: 12px;
    color: #0073aa;
    font-size: 14px;
}

.product-list .item a:hover {
    background: #f5f6f7;
    transition: 0.3s ease;
}

.product-list .item a.current-link {
    background: #0073aa;
    color: #fff;
    font-weight: 600;
}

.product-list .item a.current-link i.fa-box {
    color: #fff;
}

/* Dropdown Toggle Button */
.product-list .item .dropdown-toggle {
    width: 50px;
    flex-shrink: 0;
    background: #f0f7ff;
    border: none;
    border-left: 1px solid #d0e4f7;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0073aa;
    font-size: 20px;
}

.product-list .item .dropdown-toggle:hover {
    background: #e3f2fd;
    color: #005a87;
}

.product-list .item .dropdown-toggle.expanded {
    background: #0073aa;
    color: #fff;
}

.product-list .item .dropdown-toggle i {
    transition: transform 0.3s ease;
    font-weight: 900;
}

.product-list .item .dropdown-toggle i.rotate {
    transform: rotate(90deg);
}

/* Sub Menu */
.product-list .item .sub-menu {
    background: #f9fafb;
    display: none;
    border-left: 3px solid #0073aa;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-list .item .sub-menu li {
    border-bottom: 1px solid #e9ecef;
}

.product-list .item .sub-menu li:last-child {
    border-bottom: none;
}

.product-list .item .sub-menu a {
    padding: 12px 20px 12px 50px;
    font-size: 13px;
    line-height: 1.4;
}

.product-list .item .sub-menu a.sub-item:hover {
    background: #e8f4f8;
    color: #0073aa;
}

.product-list .item .sub-menu a.current-link {
    background: #0073aa;
    color: #fff;
    font-weight: 600;
}

/* Widget Title Styling */
.widget-product-list h3.widget-title {
    margin-bottom: 0;
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 3px solid #cbd5e0;
    padding-bottom: 12px;
    letter-spacing: 0.3px;
    padding: 20px 20px 12px 20px;
}

/* Responsive Styles for Parent/Child Products */
@media (max-width: 768px) {
    .child-products-section {
        padding: 20px;
        margin-top: 30px;
    }
    
    .child-products-title {
        font-size: 22px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .child-products-title i {
        font-size: 20px;
    }
    
    .parent-product-notice {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .product-list .item a {
        font-size: 13px;
        padding: 12px 16px;
        line-height: 1.4;
    }
    
    .product-list .item a i.fa-box {
        margin-right: 10px;
        font-size: 13px;
    }
    
    .product-list .item .sub-menu a {
        padding: 10px 16px 10px 40px;
        font-size: 12px;
        line-height: 1.3;
    }
    
    .product-list .item .dropdown-toggle {
        width: 45px;
        font-size: 18px;
        background: #f0f7ff;
        color: #0073aa;
    }
    
    .product-list .item .dropdown-toggle.expanded {
        background: #0073aa;
        color: #fff;
    }
}

/* ==========================================================================
   Industries Archive & Taxonomy Pages
   ========================================================================== */

/* Industries use the same product-box and products-grid styles */

.industry-categories-filter ul li a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Single Industry Page
   ========================================================================== */

/* Note: Industry hero and gallery use the same CSS classes as products (product-hero, product-gallery) */

/* Remove default top padding on main content so gallery aligns with industry sidebar */
.site-main.single-industry {
    padding-top: 0;
}

/* Remove all top spacing from industry article to align with sidebar */
.single-industry article {
    margin-top: 0 !important;
    margin-bottom: 0;
    padding-top: 0 !important;
    padding-bottom: 0;
}

.single-industry .product-gallery.industry-gallery {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0;
}

/* Ensure first element in article (gallery) aligns with sidebar top */
.single-industry article > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.single-industry .entry-content {
    max-width: 100%;
    margin-top: 30px;
}

/* Industry sidebar uses the same styles as product sidebar (widget and product-list classes) */

.single-industry .related-products {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    margin-top: 50px;
}

.single-industry .related-products-title {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    color: #333;
    display: block;
}

.single-industry .related-products .products-grid {
    margin-top: 30px !important;
    padding-top: 0;
    clear: both;
}

body.single-industry .related-products .products-grid {
    margin-top: 30px !important;
}

.single-industry .product-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.single-industry .product-box h3 a:hover {
    color: #0073aa;
}

.single-industry .post-navigation a:hover {
    text-decoration: underline;
}

/* Responsive styles for industries */
@media (max-width: 768px) {
    .industry-categories-filter ul {
        flex-direction: column;
        align-items: stretch;
    }
    
    .industry-categories-filter ul li {
        width: 100%;
    }
    
    .industry-categories-filter ul li a {
        display: block !important;
        text-align: center;
    }
    
    .single-industry .related-products {
        padding: 20px;
    }
    
    .single-product .related-industries {
        padding: 20px;
    }
    
    .single-industry .entry-footer > div {
        flex-direction: column !important;
        gap: 15px;
    }
}

/* ==========================================================================
   Katalog Archive Page Styles
   ========================================================================== */

.katalog-page {
    max-width: 1200px;
    margin: 0 auto;
}

.katalog-page .page-header {
    margin-bottom: 40px;
    text-align: center;
}

.katalog-page .page-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.katalog-page .page-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Katalog Grid */
.katalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.katalog-card {
    display: block;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.katalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.katalog-card:hover .katalog-card-overlay {
    opacity: 1;
}

.katalog-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.katalog-card-image {
    position: relative;
    width: 100%;
    padding-top: 141.4%; /* A4 paper aspect ratio (1:1.414) */
    background: #f5f5f5;
    overflow: hidden;
}

.katalog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.katalog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(200, 16, 46, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.katalog-card-overlay .dashicons {
    font-size: 64px;
    color: #fff;
    width: 64px;
    height: 64px;
}

.katalog-card-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.katalog-card-placeholder .dashicons {
    font-size: 64px;
    color: rgba(255, 255, 255, 0.8);
    width: 64px;
    height: 64px;
}

.katalog-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.katalog-card-title {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-weight: 600;
}

.katalog-card-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

/* No Katalogs Message */
.no-katalogs {
    text-align: center;
    padding: 60px 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.no-katalogs h2 {
    color: #1a1a1a;
    margin-bottom: 10px;
}

.no-katalogs p {
    color: #666;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .katalog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media screen and (max-width: 900px) {
    .katalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .katalog-page .page-title {
        font-size: 2rem;
    }
    
    .katalog-card-content {
        padding: 15px;
    }
    
    .katalog-card-title {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 600px) {
    .katalog-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   Referanslar (References) Styles
   ========================================================================== */

/* References grid - uses sidebar layout like products/industries */
.references-page {
    width: 100%;
    align-self: flex-start; /* Align to top */
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 30px;
    margin-bottom: 40px;
    margin-top: 0; /* Remove any top margin */
}

/* Reference box */
.reference-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.reference-box-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Reference logo - white background */
.reference-logo {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #ffffff; /* Changed to white */
    border-bottom: 1px solid #e9ecef;
}

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

.reference-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Reference info */
.reference-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.reference-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
    text-align: center;
}

.reference-title a {
    color: #333;
    text-decoration: none;
}

.reference-title a:hover {
    color: #0073aa;
    text-decoration: none;
}

.reference-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Reference categories */
.reference-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.reference-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e9ecef;
    color: #495057;
    font-size: 12px;
    font-weight: 500;
    border-radius: 15px;
    text-decoration: none;
}

.reference-category-badge:hover {
    background: #0073aa;
    color: #fff;
    text-decoration: none;
}

/* Single reference page */
.single-referanslar .reference-header {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.reference-logo-large {
    max-width: 400px;
    margin: 0 auto 30px;
    padding: 20px;
}

.reference-logo-large img {
    width: 100%;
    height: auto;
}

.reference-categories-large {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.reference-website {
    margin-top: 20px;
}

.reference-website-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: #0073aa;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.reference-website-link:hover {
    background: #005a87;
    text-decoration: none;
}

.reference-website-link i {
    font-size: 14px;
}

/* Related references */
.related-references {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.related-references .related-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

/* Responsive */
@media (max-width: 1024px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on small tablets */
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .references-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

/* ==========================================================================
   References Section on Homepage
   ========================================================================== */

.references-section {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin: 0;
}

.references-section .section-title {
    color: #333;
}

/* Homepage references grid - 5 columns */
.references-grid-homepage {
    grid-template-columns: repeat(5, 1fr); /* 5 columns for homepage */
    gap: 25px;
}

/* Responsive for homepage references */
@media (max-width: 1200px) {
    .references-grid-homepage {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on smaller screens */
    }
}

@media (max-width: 1024px) {
    .references-grid-homepage {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablets */
    }
}

@media (max-width: 768px) {
    .references-grid-homepage {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on small tablets */
    }
}

@media (max-width: 480px) {
    .references-grid-homepage {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

/* ==========================================================================
   Contact Form 7 Styling
   ========================================================================== */

.contact-form-wrapper {
    max-width: 550px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.contact-info-header p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.contact-info-header a {
    color: #c62833;
    text-decoration: none;
    font-weight: 500;
}

.contact-info-header a:hover {
    text-decoration: underline;
}

.form-intro {
    margin-bottom: 20px;
    font-size: 14px;
    color: #333;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 15px;
    width: 100%;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #c62833;
}

.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.product-type-section {
    margin-bottom: 20px;
}

.product-type-section .field-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.product-type-section .field-label::before {
    content: "🏷️";
    margin-right: 8px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.checkbox-grid .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: center;
}

.checkbox-grid input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-grid label {
    font-size: 14px;
    cursor: pointer;
    margin: 0;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 13px;
}

.terms-checkbox input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.terms-checkbox a {
    color: #c62833;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: #c62833;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #a71d2a;
}

.wpcf7-form input[type="submit"]:active {
    transform: translateY(1px);
}

/* Response Messages */
.wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.wpcf7-spinner {
    margin-left: 10px;
}

/* Validation Error Styling */
.wpcf7-not-valid-tip {
    color: #c62833;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

span.wpcf7-not-valid {
    border-color: #c62833 !important;
}

/* ======================= CONTACT MODAL ======================= */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 0;
}

.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 99998;
}

.contact-modal .contact-form-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 99999;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    background-color: transparent; /* Fix for white edge bleeding */
}

/* Modal Header */
.modal-header {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    position: relative;
    flex-shrink: 0;
}

.modal-header .header-column {
    padding: 20px 40px;
}

.modal-header .header-column.left {
    flex: 0 0 320px;
    background-color: #505050;
}

.modal-header .header-column.right {
    flex: 1;
    background-color: #c62833;
}

.modal-header h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
}

.modal-header h2 i {
    font-size: 24px;
    margin-right: 15px;
}

.contact-modal-close {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.2s;
}

.contact-modal-close:hover {
    color: #333;
}

/* Modal Content Wrapper */
.modal-content-wrapper {
    display: flex;
    width: 100%;
    flex-grow: 1;
    overflow-y: hidden;
}

/* Left Info Pane */
.modal-info-pane {
    flex: 0 0 320px;
    background-color: #f8f9fa;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
}

.company-image-container {
    height: 180px;
    width: 100%;
    margin-bottom: 25px;
    border-radius: 6px;
    overflow: hidden;
    position: relative; /* Ensure we can position the iframe absolute if needed */
}

.company-image-container iframe {
    width: 100%;
    height: 160%; /* Make it much taller to push elements out of view */
    margin-top: -35px; /* Shift up to hide the top 'View larger map' button */
    border: 0;
    pointer-events: none; /* Disable scrolling/interaction */
}

.company-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-address {
    margin-bottom: 25px;
}

.company-address p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
}

.direct-contact-info {
    font-size: 13px;
    line-height: 1.6;
}

.contact-info-item {
    margin: 18px 0;
    color: #666;
    display: flex;
    align-items: flex-start;
}

.direct-contact-info i {
    color: #999;
    margin-right: 12px;
    width: 18px;
    text-align: center;
    font-size: 15px;
    padding-top: 3px;
    flex-shrink: 0;
}

.direct-contact-info a {
    color: #c62833;
    font-weight: 600;
    text-decoration: none;
}

.direct-contact-info a:hover {
    text-decoration: underline;
    color: #a30000;
}

.contact-info-item span {
    line-height: 1.7;
}

.social-icons {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.social-icons a {
    color: #505050;
    font-size: 20px;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: #c62833;
}

/* Right Form Pane */
.modal-form-pane {
    flex: 1;
    padding: 25px 30px 30px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: #ffffff;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-columns-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.form-column {
    flex: 1;
    min-width: 0;
}

.form-column:first-child {
    flex: 1.2;
}

.form-column:last-child {
    flex: 0.8;
}

.form-input-group {
    display: flex;
    margin-bottom: 18px;
    align-items: center;
}

.form-input-group:has(textarea) {
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-input-group label {
    background-color: #f2f2f2;
    padding: 11px 12px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #666;
    display: flex;
    align-items: center;
    min-width: 45px;
    justify-content: center;
}

.form-input-group input,
.form-input-group select,
.form-input-group textarea {
    flex: 1;
    padding: 11px 15px;
    border: 1px solid #ddd;
    border-radius: 0 4px 4px 0;
    font-family: inherit;
    font-size: 14px;
    color: #555;
}

.form-input-group input::placeholder,
.form-input-group textarea::placeholder {
    color: #999;
}

.form-input-group textarea {
    height: 140px;
    resize: vertical;
    line-height: 1.5;
}

.form-fieldset-group {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px 20px 20px;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.form-fieldset-group legend {
    padding: 0 10px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

.product-options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    flex-grow: 1;
}

.product-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-option input[type="checkbox"] {
    margin: 0;
    accent-color: #c62833;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.product-option label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
    line-height: 1.4;
}

.form-footer {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-checkbox-group {
    display: flex;
    align-items: center;
}

.form-checkbox-group input {
    margin-right: 10px;
    accent-color: #c62833;
    cursor: pointer;
}

.form-checkbox-group label {
    font-size: 14px;
    color: #555;
}

.form-checkbox-group .terms-link {
    color: #c62833;
    text-decoration: none;
}

.form-checkbox-group .terms-link:hover {
    text-decoration: underline;
}

.submit-btn {
    background-color: #c62833;
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #a30000;
}

/* Custom Contact Form Styling */
.custom-contact-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* Input fields */
.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 0 4px 4px 0;
    font-family: inherit;
    font-size: 14px;
    color: #555;
    box-sizing: border-box;
    margin: 0;
}

.custom-contact-form input.invalid,
.custom-contact-form textarea.invalid {
    border-color: #d9232d;
    background-color: #fff8f8;
}

.custom-contact-form textarea {
    min-height: 80px;
    resize: vertical;
}

/* Modal form textarea - taller to fill empty space */
#custom-modal-form textarea {
    min-height: 300px;
    resize: vertical;
}

/* Checkbox Grid */
.custom-contact-form .product-options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 15px;
    margin-top: 10px;
}

.custom-contact-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    margin: 0;
}

.custom-contact-form .checkbox-label input[type="checkbox"] {
    margin: 0;
    accent-color: #d9232d;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    cursor: pointer;
}

/* Footer */
.custom-contact-form .form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
}

.custom-contact-form .submit-btn {
    background-color: #d9232d;
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.custom-contact-form .submit-btn:hover {
    background-color: #c50000;
}

.custom-contact-form .submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.custom-contact-form .form-columns-wrapper {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
}

.custom-contact-form .form-column {
    flex: 1;
    min-width: 0;
}

.custom-contact-form .form-input-group {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.custom-contact-form .form-input-group label {
    background-color: #f2f2f2;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.custom-contact-form .form-input-group label i {
    font-size: 16px;
}

.custom-contact-form .form-input-group:has(textarea) {
    align-items: flex-start;
}

.custom-contact-form .form-fieldset-group {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 15px 15px;
    margin: -8px 0 15px 0;
}

.custom-contact-form .form-fieldset-group legend {
    padding: 0 10px;
    font-size: 15px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-contact-form .form-checkbox-group {
    display: flex;
    align-items: center;
    margin: 0;
}

.custom-contact-form .form-checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #d9232d;
}

.custom-contact-form .form-checkbox-group .terms-link {
    color: #d9232d;
    pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-modal .contact-form-wrapper {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        flex-direction: column;
    }
    
    .modal-header .header-column.left,
    .modal-header .header-column.right {
        flex: 1;
    }
    
    .modal-content-wrapper {
        flex-direction: column;
    }
    
    .modal-info-pane {
        flex: 0 0 auto;
        max-height: 200px;
    }
    
    .form-columns-wrapper {
        flex-direction: column;
    }
    
    .product-options-container {
        grid-template-columns: 1fr;
    }
    
    .form-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* ==========================================================================
   Contact Form Section (Bottom of Homepage)
   ========================================================================== */

.contact-form-section {
    background: linear-gradient(135deg, #050505 0%, #434343 100%);
    padding: 60px 0;
    margin-top: 0;
    position: relative;
}


.contact-form-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.page-template-page-contact .contact-form-fullwidth-wrapper .site-container {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-template-page-contact .contact-form-fullwidth-wrapper .contact-form-header {
    text-align: center;
    margin: 0 auto 50px;
    max-width: 700px;
}

.contact-form-header .els-kicker {
    background: rgba(217, 76, 104, 0.15);
    color: #d94c68;
    border: 1px solid rgba(217, 76, 104, 0.3);
}

.contact-form-header .els-kicker-dot {
    background: #d94c68;
}

.contact-form-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 12px 0 15px;
    line-height: 1.1;
}

.contact-form-title span {
    color: #d94c68;
}

.contact-form-lead {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* Form Wrapper - Centered, No Background */
.contact-form-wrapper-page {
    max-width: 850px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
}

.page-template-page-contact .contact-form-fullwidth-wrapper .contact-form-wrapper-page {
    max-width: 850px;
    margin: 0 auto;
}

/* Homepage Contact Form - reuse modal styles */
#homepage-contact-form.custom-contact-form .form-columns-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 15px;
}

#homepage-contact-form.custom-contact-form .form-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#homepage-contact-form.custom-contact-form .form-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

#homepage-contact-form.custom-contact-form .form-input-group label {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d94c68 0%, #c43751 100%);
    border-radius: 6px;
    color: white;
    font-size: 0.95rem;
}

#homepage-contact-form.custom-contact-form .form-input-group input[type="text"],
#homepage-contact-form.custom-contact-form .form-input-group input[type="email"],
#homepage-contact-form.custom-contact-form .form-input-group textarea {
    flex: 1;
    padding: 11px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

#homepage-contact-form.custom-contact-form .form-input-group input::placeholder,
#homepage-contact-form.custom-contact-form .form-input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#homepage-contact-form.custom-contact-form .form-input-group input:focus,
#homepage-contact-form.custom-contact-form .form-input-group textarea:focus {
    outline: none;
    border-color: #d94c68;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(217, 76, 104, 0.2);
}

#homepage-contact-form.custom-contact-form .form-input-group input.invalid {
    border-color: #d94c68;
}

#homepage-contact-form.custom-contact-form .form-input-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Fieldset for Product Types */
#homepage-contact-form.custom-contact-form .form-fieldset-group {
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.05);
}

#homepage-contact-form.custom-contact-form .form-fieldset-group legend {
    padding: 0 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

#homepage-contact-form.custom-contact-form .form-fieldset-group legend i {
    margin-right: 8px;
    color: #d94c68;
}

#homepage-contact-form.custom-contact-form .product-options-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

#homepage-contact-form.custom-contact-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

#homepage-contact-form.custom-contact-form .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #d94c68;
}

/* Form Footer */
#homepage-contact-form.custom-contact-form .form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
}

#homepage-contact-form.custom-contact-form .form-checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

#homepage-contact-form.custom-contact-form .form-checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    cursor: pointer;
    accent-color: #d94c68;
}

#homepage-contact-form.custom-contact-form .terms-link {
    color: #d94c68;
    text-decoration: none;
}

#homepage-contact-form.custom-contact-form .terms-link:hover {
    text-decoration: underline;
    color: #e36d87;
}

#homepage-contact-form.custom-contact-form .submit-btn {
    background: linear-gradient(135deg, #d94c68 0%, #c43751 100%);
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(217, 76, 104, 0.4);
}

#homepage-contact-form.custom-contact-form .submit-btn:hover {
    background: linear-gradient(135deg, #e36d87 0%, #d94c68 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(217, 76, 104, 0.5);
}

#homepage-contact-form.custom-contact-form .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Status Messages */
#homepage-contact-form.custom-contact-form .form-status-message {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #d94c68;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-form-section {
        padding: 50px 0;
    }
    
    .contact-form-header {
        margin-bottom: 35px;
    }
    
    .contact-form-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 40px 0;
    }
    
    .contact-form-header {
        margin-bottom: 30px;
    }
    
    .contact-form-title {
        font-size: 1.6rem;
    }
    
    .contact-form-lead {
        font-size: 0.9rem;
    }
    
    #homepage-contact-form.custom-contact-form .form-columns-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    #homepage-contact-form.custom-contact-form .form-column {
        gap: 12px;
    }
    
    #homepage-contact-form.custom-contact-form .product-options-container {
        grid-template-columns: 1fr;
    }
    
    #homepage-contact-form.custom-contact-form .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 15px;
    }
    
    #homepage-contact-form.custom-contact-form .submit-btn {
        width: 100%;
        text-align: center;
        padding: 13px 30px;
    }
}

/* ===============================================
   Contact Page - Info Section (Above Form)
   =============================================== */

/* Contact Page - Remove Dark Background */
.page-template-page-contact .contact-form-section {
    background: transparent;
    padding: 0;
}


/* Contact Page - Dark Form Styling for Contact Form Section */
.page-template-page-contact .contact-form-fullwidth-wrapper .contact-form-title {
    color: #ffffff;
}

.page-template-page-contact .contact-form-fullwidth-wrapper .contact-form-lead {
    color: rgba(255, 255, 255, 0.7);
}

.page-template-page-contact .contact-form-fullwidth-wrapper .els-kicker {
    background: rgba(217, 76, 104, 0.15);
    color: #d94c68;
    border: 1px solid rgba(217, 76, 104, 0.3);
}

.page-template-page-contact .contact-form-fullwidth-wrapper .els-kicker-dot {
    background: #d94c68;
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-input-group label {
    background: linear-gradient(135deg, #d94c68 0%, #c43751 100%);
    color: white;
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-input-group input[type="text"],
.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-input-group input[type="email"],
.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-input-group textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-input-group input::placeholder,
.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-input-group input:focus,
.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-input-group textarea:focus {
    border-color: #d94c68;
    background: rgba(255, 255, 255, 0.12);
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-fieldset-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-fieldset-group legend {
    color: #ffffff;
    background: transparent;
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-fieldset-group legend i {
    color: #d94c68;
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .checkbox-label {
    color: rgba(255, 255, 255, 0.85);
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .checkbox-label input[type="checkbox"] {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .checkbox-label input[type="checkbox"]:checked {
    background: #d94c68;
    border-color: #d94c68;
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-checkbox-group label {
    color: rgba(255, 255, 255, 0.85);
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-checkbox-group input[type="checkbox"] {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-checkbox-group input[type="checkbox"]:checked {
    background: #d94c68;
    border-color: #d94c68;
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .terms-link {
    color: #d94c68;
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .submit-btn {
    background: linear-gradient(135deg, #d94c68 0%, #c43751 100%);
    color: white;
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .submit-btn:hover {
    background: linear-gradient(135deg, #c43751 0%, #b32642 100%);
}

.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-input-group input.invalid,
.page-template-page-contact .contact-form-fullwidth-wrapper #homepage-contact-form.custom-contact-form .form-input-group textarea.invalid {
    border-color: #dc3545;
}

.page-template-page-contact .contact-form-fullwidth-wrapper .form-status-message {
    color: #ffffff;
}

.contact-info-section {
    margin-bottom: 60px;
}

.page-template-page-contact .contact-info-section {
    margin-bottom: 60px;
    margin-top: 60px;
}

/* Full-width Contact Form Background Section */
.contact-form-fullwidth-wrapper {
    background: linear-gradient(135deg, #050505 0%, #434343 100%);
    padding: 0;
    margin-top: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Contact page: remove inherited vertical padding from main/container */
.page-template-page-contact #primary.site-main {
    padding-top: 0;
    padding-bottom: 0;
}

.contact-map-and-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    height: 100%;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.contact-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-detail-item > i {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d94c68 0%, #c43751 100%);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
}

.contact-detail-item .detail-content h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.contact-detail-item .detail-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.contact-detail-item .detail-content p + p {
    margin-top: 5px;
}

.contact-detail-item .detail-content a {
    color: #d94c68;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail-item .detail-content a:hover {
    color: #c43751;
    text-decoration: underline;
}

.social-icons-horizontal {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.social-icons-horizontal a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-icons-horizontal a:hover {
    background: linear-gradient(135deg, #d94c68 0%, #c43751 100%);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .contact-map-and-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-map {
        min-height: 400px;
    }
    
    .contact-map iframe {
        min-height: 400px;
    }
    
    .page-template-page-contact .contact-form-fullwidth-wrapper .site-container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .page-template-page-contact .contact-info-section {
        margin-bottom: 40px;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .contact-map {
        min-height: 300px;
    }
    
    .contact-map iframe {
        min-height: 300px;
    }
    
    .contact-detail-item {
        padding: 15px;
        gap: 12px;
    }
    
    .contact-detail-item > i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-details-sidebar {
        gap: 15px;
    }
    
    .page-template-page-contact .contact-form-fullwidth-wrapper .site-container {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .page-template-page-contact .contact-form-fullwidth-wrapper .contact-form-header {
        margin-bottom: 30px;
    }
    
    .page-template-page-contact .contact-info-section {
        margin-bottom: 30px;
        margin-top: 30px;
    }
}

