/*
Theme Name: Do Sender Chem Theme
Theme URI: https://www.dosenderchem.com/
Description: Corporate website theme for Do Sender Chem - based on Nouryon design with mega menu navigation, hero slider, and #22467D navy blue brand color.
Author: WorkBuddy
Author URI: https://workbuddy.ai/
Version: 2.1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dosenderchem-theme
Tags: corporate, responsive, mega-menu, clean-design, hero-slider
*/

/* ==========================================
   CSS VARIABLES - DO SENDER CHEM DESIGN SYSTEM (#22467D Navy Blue)
   ========================================== */

:root {
    /* Primary Colors - #22467D Navy Blue */
    --primary-color: #22467D;
    --primary-dark: #1a3660;
    --primary-light: #e8edf5;
    --secondary-color: #e74c3c;
    --secondary-light: #fdf2f0;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --text-color: #333333;
    --text-light: #666666;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-xxl: 32px;
    --font-size-hero: 48px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    --max-width: 1400px;
    --nav-height: 80px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-full: 9999px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: var(--font-size-base); scroll-behavior: smooth; }
body { font-family: var(--font-primary); color: var(--text-color); line-height: 1.6; background: var(--white); }
a { color: var(--primary-color); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-primary); border: none; background: none; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; margin-bottom: var(--spacing-sm); }
h1 { font-size: var(--font-size-hero); }
h2 { font-size: var(--font-size-xxl); }
h3 { font-size: var(--font-size-xl); }
p { margin-bottom: var(--spacing-sm); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--spacing-md); }
.section { padding: var(--spacing-xxl) 0; }
.section-light { background-color: var(--light-gray); }

/* ==========================================
   BUTTONS
   ========================================== */

.btn { display: inline-block; padding: 12px 32px; font-size: var(--font-size-base); font-weight: 600; text-align: center; border-radius: var(--border-radius-full); transition: all var(--transition-base); cursor: pointer; border: 2px solid transparent; }
.btn-primary { background-color: var(--primary-color); color: var(--white); border-color: var(--primary-color); }
.btn-primary:hover { background-color: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background-color: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--white); }
.btn-white { background-color: var(--white); color: var(--primary-color); border-color: var(--white); }
.btn-white:hover { background-color: transparent; color: var(--white); }

/* ==========================================
   HEADER / NAVIGATION / MEGA MENUS
   ========================================== */

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); box-shadow: var(--shadow-sm); overflow: visible; }
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-main-bar { display: flex; align-items: center; justify-content: flex-start; height: var(--nav-height); gap: var(--spacing-md); padding: 0 var(--spacing-md); max-width: none; margin: 0; width: 100%; }
.header-branding { display: flex; align-items: center; gap: var(--spacing-sm); flex-shrink: 0; }
.site-logo img { height: 42px; width: auto; }
.site-company-name { font-size: var(--font-size-xl); font-weight: 700; color: var(--text-color); white-space: nowrap; letter-spacing: -0.3px; }

.main-navigation { flex: 1; display: flex; justify-content: center; margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: var(--spacing-sm); }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: flex; align-items: center; gap: 4px; padding: var(--spacing-sm); color: var(--text-color); font-weight: 500; font-size: var(--font-size-sm); white-space: nowrap; }
.nav-menu > li > a:hover { color: var(--primary-color); }
.nav-menu > li > a .dropdown-arrow { font-size: 10px; transition: transform var(--transition-fast); }
.nav-menu > li:hover > a .dropdown-arrow { transform: rotate(180deg); }

.mega-menu { max-width: var(--max-width); margin: 0 auto; padding: var(--spacing-lg) var(--spacing-md); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-lg); }
.mega-menu-column h3 { font-size: var(--font-size-sm); font-weight: 700; color: var(--primary-color); margin-bottom: var(--spacing-sm); text-transform: uppercase; letter-spacing: 0.5px; }
.mega-menu-column ul li { margin-bottom: var(--spacing-xs); }
.mega-menu-column ul li a { color: var(--text-color); font-size: var(--font-size-sm); padding: 6px 0; display: block; transition: all var(--transition-fast); }
.mega-menu-column ul li a:hover { color: var(--primary-color); }

/* ===== PRODUCTS MEGA MENU ===== */
.mega-menu-products { display: flex; gap: var(--spacing-xl); max-width: var(--max-width); margin: 0 auto; padding: var(--spacing-lg) var(--spacing-md); }
.mega-menu-products .mega-sidebar { flex: 0 0 280px; display: flex; flex-direction: column; gap: var(--spacing-lg); }
.mega-menu-products .mega-sidebar-top { display: flex; flex-direction: column; gap: var(--spacing-md); }
.mega-menu-products .mega-sidebar-top h2 { font-size: 36px; font-weight: 700; line-height: 1.2; margin-bottom: 0; color: var(--text-color); }
.mega-menu-products .mega-sidebar-top h2 span { font-weight: 300; }
.mega-menu-products .mega-sidebar-top .markets-title { font-size: 28px; font-weight: 300; line-height: 1.3; color: var(--text-color); }
.mega-menu-products .mega-sidebar-top .markets-title strong { font-weight: 700; }
.mega-menu-products .mega-sidebar-top .markets-essential { font-size: 36px; font-weight: 700; line-height: 1.2; color: var(--text-color); margin-top: 4px; }
.mega-menu-products .btn-product-search { display: inline-block; padding: 10px 20px; background-color: #22467D; color: var(--white); font-size: var(--font-size-base); font-weight: 600; border-radius: var(--border-radius-sm); text-decoration: none; transition: all var(--transition-base); text-align: center; }
.mega-menu-products .btn-product-search:hover { background-color: #1a3660; color: var(--white); }
.mega-menu-products .mega-nouryon-img { width: 100%; border-radius: var(--border-radius-md); overflow: hidden; }
.mega-menu-products .mega-nouryon-img img { width: 100%; height: auto; display: block; }
.mega-menu-products .mega-downloads { padding: var(--spacing-md); background: var(--light-gray); border-radius: var(--border-radius-md); }
.mega-menu-products .mega-downloads h4 { font-size: var(--font-size-lg); font-weight: 700; margin-bottom: var(--spacing-sm); color: var(--text-color); }
.mega-menu-products .mega-downloads ul { list-style: none; }
.mega-menu-products .mega-downloads ul li { margin-bottom: var(--spacing-xs); }
.mega-menu-products .mega-downloads ul li a { color: var(--text-light); font-size: var(--font-size-base); transition: color var(--transition-fast); }
.mega-menu-products .mega-downloads ul li a:hover { color: var(--primary-color); }
.mega-menu-products .mega-content { flex: 1; display: flex; flex-direction: column; gap: var(--spacing-lg); }
.mega-menu-products .mega-content-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
.mega-menu-products .mega-content-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
.mega-menu-products .product-category { display: flex; flex-direction: column; }
.mega-menu-products .product-category h4 { font-size: var(--font-size-base); font-weight: 700; margin-bottom: var(--spacing-sm); color: var(--text-color); line-height: 1.3; }
.mega-menu-products .product-category ul { list-style: none; }
.mega-menu-products .product-category ul li { margin-bottom: 6px; }
.mega-menu-products .product-category ul li a { color: var(--text-light); font-size: var(--font-size-sm); line-height: 1.5; transition: color var(--transition-fast); }
.mega-menu-products .product-category ul li a:hover { color: var(--primary-color); }
.mega-menu-products .product-category-full { grid-column: span 3; }
.mega-menu-products .product-category-full h4 { font-size: var(--font-size-base); font-weight: 700; margin-bottom: var(--spacing-sm); color: var(--text-color); }
.mega-menu-products .product-category-full ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px var(--spacing-lg); list-style: none; }
.mega-menu-products .product-category-full ul li a { color: var(--text-light); font-size: var(--font-size-sm); line-height: 1.5; transition: color var(--transition-fast); }
.mega-menu-products .product-category-full ul li a:hover { color: var(--primary-color); }

/* Markets vertical list */
.mega-content.markets-vertical { display: flex; flex-direction: row; gap: var(--spacing-xl); align-items: flex-start; }
.mega-content.markets-vertical .markets-col { display: flex; flex-direction: column; flex: 1; gap: var(--spacing-lg); }
.mega-content.markets-vertical h4 { font-size: var(--font-size-base); font-weight: 700; color: var(--text-color); margin-bottom: 8px; }
.mega-content.markets-vertical ul { display: flex; flex-direction: column; }
.mega-content.markets-vertical ul li { margin-bottom: 0; }
.mega-content.markets-vertical ul li a { display: block; padding: 5px 0; color: var(--text-light); font-size: var(--font-size-sm); transition: color var(--transition-fast); }
.mega-content.markets-vertical ul li a:hover { color: var(--primary-color); }

/* Polymer list single column */
.mega-menu-products .polymer-list { display: flex; flex-direction: column; gap: 0; }
.mega-menu-products .polymer-list li { margin-bottom: 0; }
.mega-menu-products .polymer-list li a { display: block; padding: 6px 0; }
.mega-menu-products .polymer-list li::before { content: ""; }

/* ===== CAREERS MEGA MENU ===== */
.mega-menu-careers { display: flex; gap: var(--spacing-xl); max-width: var(--max-width); margin: 0 auto; padding: var(--spacing-lg) var(--spacing-md); align-items: flex-start; }
.careers-sidebar { flex: 0 0 220px; display: flex; flex-direction: column; gap: var(--spacing-md); }
.careers-sidebar h2 { font-size: 32px; font-weight: 700; line-height: 1.2; color: var(--text-color); margin-bottom: 0; }
.careers-sidebar h2 .careers-light { font-weight: 300; color: var(--text-light); }
.btn-search-jobs { display: inline-block; padding: 12px 28px; background-color: #22467D; color: var(--white); font-size: var(--font-size-base); font-weight: 600; border-radius: var(--border-radius-sm); text-decoration: none; text-align: center; transition: all var(--transition-base); white-space: nowrap; }
.btn-search-jobs:hover { background-color: #1a3660; color: var(--white); }
.careers-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--spacing-xs); }
.careers-col h4 { font-size: var(--font-size-base); font-weight: 700; color: var(--text-color); margin-bottom: var(--spacing-xs); }
.careers-col ul { list-style: none; }
.careers-col ul li { margin-bottom: 6px; }
.careers-col ul li a { color: var(--text-light); font-size: var(--font-size-sm); line-height: 1.5; transition: color var(--transition-fast); display: block; padding: 3px 0; }
.careers-col ul li a:hover { color: var(--primary-color); }
.careers-image-card { flex: 0 0 280px; position: relative; border-radius: var(--border-radius-md); overflow: hidden; }
.careers-image-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.careers-image-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,30,60,0.85)); padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm); }
.careers-image-overlay p { color: var(--white); font-size: 14px; line-height: 1.4; font-weight: 600; margin: 0; }

/* ===== NEWS MEGA MENU ===== */
.mega-menu-news { display: flex; gap: var(--spacing-xl); max-width: var(--max-width); margin: 0 auto; padding: var(--spacing-lg) var(--spacing-md); align-items: flex-start; }
.news-sidebar { flex: 0 0 220px; display: flex; flex-direction: column; gap: var(--spacing-md); }
.news-sidebar h2 { font-size: 28px; font-weight: 300; line-height: 1.3; color: var(--text-light); margin-bottom: 0; }
.news-sidebar h2 .news-bold { font-weight: 700; color: var(--text-color); }
.btn-subscribe { display: inline-block; padding: 12px 28px; background-color: #22467D; color: var(--white); font-size: var(--font-size-base); font-weight: 600; border-radius: var(--border-radius-sm); text-decoration: none; text-align: center; transition: all var(--transition-base); white-space: nowrap; }
.btn-subscribe:hover { background-color: #1a3660; color: var(--white); }
.news-col-group { flex: 2; display: flex; gap: var(--spacing-xl); }
.news-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--spacing-xs); }
.news-col h4 { font-size: var(--font-size-base); font-weight: 700; color: var(--text-color); margin-bottom: var(--spacing-xs); }
.news-col ul { list-style: none; }
.news-col ul li { margin-bottom: 6px; }
.news-col ul li a { color: var(--text-light); font-size: var(--font-size-sm); line-height: 1.5; transition: color var(--transition-fast); display: block; padding: 3px 0; }
.news-col ul li a:hover { color: var(--primary-color); }

/* ===== COMPANY MEGA MENU ===== */
.mega-menu-company { display: flex; gap: var(--spacing-xl); max-width: var(--max-width); margin: 0 auto; padding: var(--spacing-lg) var(--spacing-md); align-items: flex-start; }
.company-sidebar { flex: 0 0 220px; display: flex; flex-direction: column; gap: var(--spacing-md); }
.company-sidebar h2 { font-size: 28px; font-weight: 300; line-height: 1.25; color: var(--text-light); margin-bottom: 0; }
.company-sidebar h2 .company-bold { font-weight: 700; color: var(--text-color); display: inline-block; margin-top: 6px; }
.company-sidebar-img { width: 100%; border-radius: var(--border-radius-md); overflow: hidden; position: relative; }
.company-sidebar-img img { width: 100%; height: auto; display: block; }
.company-img-link { display: block; text-decoration: none; position: relative; overflow: hidden; border-radius: var(--border-radius-md); }
.company-img-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,30,60,0.85)); padding: 10px var(--spacing-sm); }
.company-img-overlay span { color: var(--white); font-size: 12px; line-height: 1.3; font-weight: 600; display: block; }
.company-col { flex: 1; min-width: 140px; display: flex; flex-direction: column; gap: var(--spacing-xs); }
.company-col h4 { font-size: var(--font-size-base); font-weight: 700; color: var(--text-color); margin-bottom: var(--spacing-xs); }
.company-col ul { list-style: none; }
.company-col ul li { margin-bottom: 5px; }
.company-col ul li a { color: var(--text-light); font-size: var(--font-size-sm); line-height: 1.5; transition: color var(--transition-fast); display: block; padding: 2px 0; }
.company-col ul li a:hover { color: var(--primary-color); }

/* ===== MENU WRAPPERS - ROBUST v4 (default HIDDEN, only .active shows) ===== */
.mega-menu-wrapper { position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--white); box-shadow: var(--shadow-lg); opacity: 0 !important; visibility: hidden !important; pointer-events: none; display: none !important; transition: opacity 0.25s ease, visibility 0.25s ease; z-index: 999; border-top: 3px solid var(--primary-color); }
.mega-menu-wrapper.active,
.mega-menu-wrapper[aria-expanded="true"] { opacity: 1 !important; visibility: visible !important; pointer-events: auto; display: block !important; }

.header-actions { display: flex; align-items: center; gap: var(--spacing-sm); }
.header-actions button { background: none; border: none; color: var(--text-color); font-size: var(--font-size-sm); padding: var(--spacing-xs); cursor: pointer; transition: color var(--transition-fast); }
.header-actions button:hover { color: var(--primary-color); }
.contact-btn { padding: 8px 24px; background-color: var(--primary-color); color: var(--white); border-radius: var(--border-radius-full); font-size: var(--font-size-sm); font-weight: 600; transition: all var(--transition-base); }
.contact-btn:hover { background-color: var(--primary-dark); color: var(--white); }

.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; padding: var(--spacing-xs); }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background-color: var(--text-color); transition: all var(--transition-base); }

/* ==========================================
   HERO SLIDER
   ========================================== */

.hero-slider { position: relative; width: 100%; min-height: 85vh; overflow: hidden; }
.slider-container { position: relative; width: 100%; height: 85vh; }
.slider-track { position: relative; width: 100%; height: 100%; }
.slider-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0; transition: opacity 0.8s ease-in-out; display: flex; align-items: center; z-index: 1; }
.slider-slide.active { opacity: 1; z-index: 2; }
.slide-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(26,54,96,0.75) 0%, rgba(34,70,125,0.5) 50%, rgba(34,70,125,0.3) 100%); z-index: 1; }
.slide-content { position: relative; z-index: 2; padding-top: calc(var(--nav-height) + var(--spacing-xxl)); display: flex; flex-direction: column; justify-content: flex-start; }
.slide-title { font-size: var(--font-size-hero); font-weight: 700; line-height: 1.15; color: var(--white); margin-bottom: var(--spacing-md); max-width: 700px; min-height: 2.4em; }
.slide-highlight { color: var(--white); }
.slide-subtitle { font-size: var(--font-size-lg); color: rgba(255,255,255,0.9); margin-bottom: var(--spacing-xl); line-height: 1.6; max-width: 600px; min-height: 3.2em; }
.slide-actions { display: flex; gap: var(--spacing-md); }
.btn-slide { display: inline-block; padding: 14px 36px; background-color: #1a3660; color: var(--white); border: none; border-radius: var(--border-radius-sm); font-size: var(--font-size-base); font-weight: 600; text-decoration: none; transition: all var(--transition-fast); }
.btn-slide:hover { background-color: #152a50; color: var(--white); }

/* Slider Arrows */
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.3); color: var(--white); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); }
.slider-arrow:hover { background: rgba(255,255,255,0.4); border-color: rgba(255,255,255,0.5); }
.slider-arrow-prev { left: 32px; }
.slider-arrow-next { right: 32px; }

/* Slider Dots */
.slider-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 16px; z-index: 10; }
.slider-dot { width: 36px; height: 3px; border: none; background: rgba(255,255,255,0.35); cursor: pointer; transition: all var(--transition-fast); padding: 0; border-radius: 0; }
.slider-dot.active { background: var(--white); width: 48px; }
.slider-dot:hover { background: rgba(255,255,255,0.7); }

/* ==========================================
   SEGMENTS / AT A GLANCE
   ========================================== */

.segments-section { background: var(--white); padding: var(--spacing-xxl) 0; }
.segments-header { text-align: center; margin-bottom: var(--spacing-xl); }
.segments-heading { font-size: 28px; font-weight: 300; color: var(--text-color); letter-spacing: -0.3px; }
.heading-bold { font-weight: 700; }
.heading-dash { font-weight: 300; }

.segments-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--spacing-md); }
.segment-card { display: grid; grid-template-rows: 90px 420px; border-radius: var(--border-radius-sm); overflow: hidden; text-decoration: none; transition: transform var(--transition-base), box-shadow var(--transition-base); box-shadow: 0 1px 4px rgba(0,0,0,0.12); }
.segment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.segment-card-header { padding: 0 20px; height: 90px; display: flex; align-items: center; background-color: #22467D; box-sizing: border-box; }
.segment-card-header span { color: #ffffff; font-size: 17px; font-weight: 700; line-height: 1.35; }
.segment-card-body { height: 420px; background-size: cover; background-position: center; display: flex; align-items: flex-end; position: relative; }
.segment-card-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 55%); transition: background var(--transition-fast); }
.segment-card:hover .segment-card-overlay { background: linear-gradient(to top, rgba(0,0,0,0.58) 0%, transparent 60%); }
.segment-card-text { position: relative; z-index: 2; padding: 22px 16px 24px; }
.segment-card-text p { color: var(--white); font-size: 15px; line-height: 1.5; margin: 0; font-weight: 400; }

/* ==========================================
   NEWS & UPDATES
   ========================================== */

.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-lg); }
.news-grid .news-card:first-child { grid-column: span 2; grid-row: span 2; }
.news-card { background: var(--white); border-radius: var(--border-radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition-base); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card-image { width: 100%; height: 200px; overflow: hidden; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-card-image img { transform: scale(1.05); }
.news-card-content { padding: var(--spacing-md); }
.news-card-meta { display: flex; align-items: center; gap: var(--spacing-sm); margin-bottom: var(--spacing-sm); }
.news-card-date { color: var(--text-light); font-size: var(--font-size-sm); }
.news-card-category { padding: 2px 10px; background-color: var(--primary-light); color: var(--primary-color); font-size: 11px; font-weight: 600; border-radius: var(--border-radius-sm); }
.news-card-title { font-size: var(--font-size-lg); font-weight: 600; margin-bottom: var(--spacing-sm); line-height: 1.3; }
.news-card-excerpt { color: var(--text-light); font-size: var(--font-size-sm); line-height: 1.5; }

/* Section Header (for News, etc.) */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--spacing-xl); gap: var(--spacing-md); flex-wrap: wrap; }
.section-header .section-title { margin-bottom: 0; }
.section-header .section-subtitle { margin-top: var(--spacing-xs); }

/* ==========================================
   SUSTAINABILITY
   ========================================== */

.sustainability-section { padding: 0; }
.sustainability-bg { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); padding: var(--spacing-xxl) 0; }
.sustainability-content { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); align-items: center; }
.sustainability-text { color: var(--white); }
.sustainability-text .section-badge { background-color: rgba(255, 255, 255, 0.2); color: var(--white); }
.sustainability-text h2 { font-size: var(--font-size-xxl); margin-bottom: var(--spacing-md); color: var(--white); }
.sustainability-text p { color: rgba(255, 255, 255, 0.9); font-size: var(--font-size-base); margin-bottom: var(--spacing-lg); }
.sustainability-stats { display: flex; flex-direction: column; gap: var(--spacing-lg); }
.stat-item { background-color: rgba(255, 255, 255, 0.1); padding: var(--spacing-lg); border-radius: var(--border-radius-md); text-align: center; border: 1px solid rgba(255, 255, 255, 0.2); }
.stat-value { display: block; font-size: 36px; font-weight: 700; color: var(--white); margin-bottom: var(--spacing-xs); }
.stat-label { display: block; color: rgba(255, 255, 255, 0.8); font-size: var(--font-size-sm); }

/* ==========================================
   FEATURES / WHY CHOOSE US
   ========================================== */

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
.feature-card { text-align: center; padding: var(--spacing-lg); background: var(--white); border-radius: var(--border-radius-md); box-shadow: var(--shadow-sm); transition: all var(--transition-base); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { width: 64px; height: 64px; margin: 0 auto var(--spacing-md); background-color: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-color); transition: all var(--transition-base); }
.feature-card:hover .feature-icon { background-color: var(--primary-color); color: var(--white); }
.feature-card h3 { font-size: var(--font-size-lg); margin-bottom: var(--spacing-sm); color: var(--text-color); }
.feature-card p { color: var(--text-light); font-size: var(--font-size-sm); margin-bottom: 0; }

/* ==========================================
   CAREERS
   ========================================== */

.careers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
.career-card { background: var(--white); padding: var(--spacing-lg); border-radius: var(--border-radius-md); box-shadow: var(--shadow-sm); transition: all var(--transition-base); }
.career-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.career-card h3 { color: var(--primary-color); margin-bottom: var(--spacing-sm); }
.career-meta { display: flex; flex-wrap: wrap; gap: var(--spacing-sm); margin-bottom: var(--spacing-sm); }
.career-location, .career-deadline { font-size: var(--font-size-sm); color: var(--text-light); }
.career-excerpt { color: var(--text-light); font-size: var(--font-size-sm); margin-bottom: var(--spacing-md); }
.btn-sm { padding: 8px 20px; font-size: var(--font-size-sm); }

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-box { background-color: #29467C; border-radius: var(--border-radius-lg); padding: var(--spacing-xl); display: flex; justify-content: space-between; align-items: center; gap: var(--spacing-xl); }
.cta-content h2 { font-size: var(--font-size-xl); margin-bottom: var(--spacing-sm); color: var(--white); }
.cta-content p { color: rgba(255, 255, 255, 0.7); font-size: var(--font-size-base); margin-bottom: 0; }
.cta-actions { display: flex; gap: var(--spacing-md); flex-shrink: 0; }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid var(--white); padding: 12px 32px; font-size: var(--font-size-base); font-weight: 600; border-radius: var(--border-radius-full); transition: all var(--transition-base); text-decoration: none; }
.btn-outline-white:hover { background: var(--white); color: #1a1a1a; }

/* ==========================================
   FOOTER
   ========================================== */

.site-footer { background-color: #29467C; color: var(--white); padding: var(--spacing-xxl) 0 calc(var(--spacing-xl) * 3); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--spacing-xl); margin-bottom: var(--spacing-xl); align-items: start; }
.footer-brand img { height: auto; max-width: 240px; margin-bottom: var(--spacing-md); }
.footer-brand-name { color: #ffffff !important; font-weight: 700 !important; font-size: 24px !important; display: inline-block; margin-bottom: var(--spacing-md); letter-spacing: -0.3px; transition: opacity var(--transition-fast); }
.footer-brand-name:hover { opacity: 0.8; }
.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: var(--font-size-sm); line-height: 1.6; margin-bottom: var(--spacing-sm); }
.footer-column ul { display: flex; flex-direction: column; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column ul li a { color: #ffffff !important; font-weight: 700 !important; font-size: var(--font-size-base) !important; transition: opacity var(--transition-fast); }
.footer-column ul li a:hover { opacity: 0.8; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: var(--spacing-lg); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--spacing-md); }
.footer-social { display: flex; gap: var(--spacing-md); }
.footer-social a { color: rgba(255, 255, 255, 0.7); font-size: var(--font-size-sm); transition: color var(--transition-fast); }
.footer-social a:hover { color: var(--white); }
.footer-legal { display: flex; gap: var(--spacing-md); flex-wrap: wrap; }
.footer-legal a { color: rgba(255, 255, 255, 0.5); font-size: var(--font-size-sm); transition: color var(--transition-fast); }
.footer-legal a:hover { color: var(--white); }
.footer-copyright { color: rgba(255, 255, 255, 0.5); font-size: var(--font-size-sm); }

/* ==========================================
   BACK TO TOP
   ========================================== */

.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background-color: var(--primary-color); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: all var(--transition-base); z-index: 999; box-shadow: var(--shadow-md); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background-color: var(--primary-dark); transform: translateY(-4px); }

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1200px) {
    .segments-grid { grid-template-columns: repeat(3, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid .news-card:first-child { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 992px) {
    .mobile-menu-toggle { display: flex; }
    .main-navigation { display: none; }
    .header-main-bar { height: auto; padding: var(--spacing-sm) var(--spacing-md); }
    .header-branding { flex-wrap: wrap; }
    .site-company-name { font-size: var(--font-size-lg); }
    .hero-slider .slider-container { height: 60vh; }
    .slide-title { font-size: var(--font-size-xxl); max-width: 100%; }
    .slide-subtitle { font-size: var(--font-size-base); max-width: 100%; }
    .slider-arrow { width: 40px; height: 40px; font-size: 14px; }
    .slider-arrow-prev { left: 12px; }
    .slider-arrow-next { right: 12px; }
    .segments-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .careers-grid { grid-template-columns: repeat(2, 1fr); }
    .sustainability-content { grid-template-columns: 1fr; text-align: center; }
    .sustainability-stats { flex-direction: row; justify-content: center; flex-wrap: wrap; }
    .stat-item { flex: 1; min-width: 150px; }
    .cta-box { flex-direction: column; text-align: center; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { width: 100%; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    /* Products mega menu responsive */
    .mega-menu-products { flex-direction: column; }
    .mega-menu-products .mega-sidebar { flex: 1; flex-direction: row; flex-wrap: wrap; }
    .mega-menu-products .mega-sidebar-top { flex: 1; min-width: 200px; }
    .mega-menu-products .mega-nouryon-img { display: none; }
    .mega-menu-products .mega-downloads { flex: 1; min-width: 200px; }
    .mega-menu-products .mega-content-top { grid-template-columns: repeat(2, 1fr); }
    .mega-menu-products .mega-content-bottom { grid-template-columns: 1fr; }
    .mega-menu-products .product-category-full { grid-column: span 1; }
    .mega-menu-products .product-category-full ul { grid-template-columns: repeat(2, 1fr); }
    .mega-menu { grid-template-columns: repeat(2, 1fr); }
    /* Careers mega menu responsive */
    .mega-menu-careers { flex-wrap: wrap; }
    .careers-sidebar { flex: 1 0 100%; flex-direction: row; align-items: center; gap: var(--spacing-lg); }
    .careers-image-card { display: none; }
    /* News mega menu responsive */
    .mega-menu-news { flex-wrap: wrap; }
    .news-sidebar { flex: 1 0 100%; flex-direction: row; align-items: center; gap: var(--spacing-lg); }
    .news-col-group { flex: 1 0 100%; }
    /* Company mega menu responsive */
    .mega-menu-company { flex-wrap: wrap; }
    .company-sidebar { flex: 1 0 100%; flex-direction: row; align-items: center; gap: var(--spacing-lg); }
    .company-sidebar-img { display: none; }
}

@media (max-width: 768px) {
    :root { --font-size-hero: 32px; --font-size-xxl: 24px; }
    .header-actions button, .header-actions .contact-btn { font-size: 12px; }
    .header-actions .contact-btn { padding: 6px 14px; }
    .site-company-name { font-size: var(--font-size-base); }
    .segments-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .news-grid .news-card:first-child { grid-column: span 1; }
    .features-grid { grid-template-columns: 1fr; }
    .careers-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    /* Products mega menu mobile */
    .mega-menu-products .mega-content-top { grid-template-columns: 1fr; }
    .mega-menu-products .mega-content-bottom { grid-template-columns: 1fr; }
    .mega-menu-products .product-category-full ul { grid-template-columns: 1fr; }
    .mega-menu { grid-template-columns: 1fr; }
    .mega-menu-products .mega-sidebar { flex-direction: column; }
    .section-header { flex-direction: column; align-items: flex-start; gap: var(--spacing-md); }
    .section-header .btn { align-self: flex-start; }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

@media (prefers-contrast: high) {
    :root { --primary-color: #1a3660; --text-color: #000000; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto; }
}

/* Dark Mode Support */
body.dark-mode { --white: #1a1a1a; --light-gray: #2a2a2a; --medium-gray: #3a3a3a; --text-color: #ffffff; --text-light: #aaaaaa; }
body.dark-mode .site-header { background-color: #1a1a1a; }
body.dark-mode .site-header.scrolled { box-shadow: 0 2px 4px rgba(255,255,255,0.05); }
body.dark-mode .nav-menu > li > a { color: #ffffff; }
body.dark-mode .mega-menu-wrapper,
body.dark-mode .mega-menu-products,
body.dark-mode .mega-menu-careers,
body.dark-mode .mega-menu-news,
body.dark-mode .mega-menu-company { background-color: #2a2a2a; }

@media print {
    .site-header, .site-footer, .mobile-menu-toggle, .back-to-top, .slider-arrow, .slider-dots { display: none !important; }
    .site-main { margin: 0; padding: 0; }
    a { color: #000 !important; text-decoration: underline; }
    body { background: #fff; color: #000; }
}

/* ==========================================
   WORDPRESS-SPECIFIC STYLES
   ========================================== */

.alignleft { float: left; margin-right: var(--spacing-md); margin-bottom: var(--spacing-sm); }
.alignright { float: right; margin-left: var(--spacing-md); margin-bottom: var(--spacing-sm); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: var(--spacing-sm); }
.wp-caption { max-width: 100%; margin-bottom: var(--spacing-sm); }
.wp-caption-text { font-size: var(--font-size-sm); color: var(--text-light); text-align: center; padding: var(--spacing-xs); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--spacing-sm); }
.gallery-item { margin: 0; }
.gallery-icon img { width: 100%; height: auto; }
.sticky { background-color: var(--primary-light); padding: var(--spacing-md); border-radius: var(--border-radius-md); }
.comment-list { margin: var(--spacing-lg) 0; }
.comment { padding: var(--spacing-md); border-bottom: 1px solid var(--medium-gray); }
.comment-author { font-weight: 600; }
.comment-meta { font-size: var(--font-size-sm); color: var(--text-light); margin-bottom: var(--spacing-sm); }
.pagination { display: flex; justify-content: center; gap: var(--spacing-xs); margin: var(--spacing-lg) 0; }
.page-numbers { padding: var(--spacing-xs) var(--spacing-sm); background-color: var(--light-gray); border-radius: var(--border-radius-sm); transition: all var(--transition-fast); }
.page-numbers.current,
.page-numbers:hover { background-color: var(--primary-color); color: var(--white); }

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.pt-sm { padding-top: var(--spacing-sm); }
.pt-md { padding-top: var(--spacing-md); }
.pt-lg { padding-top: var(--spacing-lg); }
.pt-xl { padding-top: var(--spacing-xl); }
.pb-sm { padding-bottom: var(--spacing-sm); }
.pb-md { padding-bottom: var(--spacing-md); }
.pb-lg { padding-bottom: var(--spacing-lg); }
.pb-xl { padding-bottom: var(--spacing-xl); }

/* Screen reader text */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; clip-path: none; color: #21759b; display: block; font-size: 14px; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; }
