/*
Theme Name: NarmotCompanyv1
Theme URI: https://www.startpointenergy.com
Author: Startpoint Energy FZ-LLC
Author URI: https://www.startpointenergy.com
Description: Premium corporate WordPress theme for Startpoint Energy FZ-LLC – an integrated energy and commodities facilitation firm. Fully customizable via WordPress Customizer and Page Editor.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: narmot-company
Tags: corporate, energy, full-width, custom-menu, custom-logo, theme-options, translation-ready
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ========================================
   CSS VARIABLES & RESET
   ======================================== */
:root {
    --primary: #0d2b3e;
    --primary-light: #143a52;
    --primary-dark: #081c2b;
    --accent: #c9932a;
    --accent-hover: #b07f1f;
    --accent-light: rgba(201, 147, 42, 0.12);
    --teal: #2a93b4;
    --teal-light: #5ec0d8;
    --teal-dark: #1e7a96;
    --white: #ffffff;
    --light-bg: #f5f6f8;
    --border: #e4e7eb;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

ul { list-style: none; }

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

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--white);
}

.btn-primary:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 147, 42, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
}

.btn-teal {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: var(--white);
}

.btn-teal:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 147, 180, 0.4);
}

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

.btn-white:hover {
    background: var(--light-bg);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--primary-dark);
    color: #aab;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-bar-left a {
    color: #aab;
    font-size: 0.85rem;
}

.top-bar-left a:hover { color: var(--accent); }

.top-bar-left i {
    margin-right: 6px;
    color: var(--teal);
}

.top-bar-right {
    display: flex;
    gap: 10px;
}

.top-bar-right a {
    color: #aab;
    font-size: 0.85rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.top-bar-right a:hover {
    color: var(--white);
    background: var(--teal);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* === Transparent over Hero mode === */
.site-header.header-over-hero {
    background: transparent;
    box-shadow: none;
    background: linear-gradient(to bottom, rgba(8, 28, 43, 0.55) 0%, rgba(8, 28, 43, 0) 100%);
}

.site-header.header-over-hero.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* When transparent header becomes solid white on scroll, recolor nav text to dark */
.site-header.header-over-hero.scrolled .main-nav ul li > a,
.site-header.header-style-transparent:not(.header-over-hero) .main-nav ul li > a {
    color: var(--primary);
}

.site-header.header-over-hero.scrolled .menu-toggle span,
.site-header.header-style-transparent:not(.header-over-hero) .menu-toggle span {
    background: var(--primary);
}

/* Inner pages with transparent style → solid light header */
.site-header.header-style-transparent:not(.header-over-hero) {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* When transparent-over-hero is active, pull the hero up under the header */
body.has-transparent-header #main-content > .hero-slider:first-child,
body.has-transparent-header #main-content > .hero-section:first-child {
    margin-top: -80px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    height: 80px;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 0;
}

.site-logo img,
.site-logo .logo-img {
    max-height: 60px;
    width: auto;
    transition: opacity 0.3s ease;
}

/* Two-logo system: render both, show one based on header background */
.site-logo .logo-img-normal,
.site-logo .logo-img-white {
    display: none;
}

/* Default (Solid Dark header): show WHITE logo */
.site-header.header-style-solid .site-logo .logo-img-white {
    display: inline-block;
}

/* Transparent-over-Hero mode: white logo at top, normal logo when scrolled */
.site-header.header-over-hero .site-logo .logo-img-white {
    display: inline-block;
}
.site-header.header-over-hero.scrolled .site-logo .logo-img-white {
    display: none;
}
.site-header.header-over-hero.scrolled .site-logo .logo-img-normal {
    display: inline-block;
}

/* Transparent style not over hero (inner pages): solid light header, normal logo */
.site-header.header-style-transparent:not(.header-over-hero) .site-logo .logo-img-normal {
    display: inline-block;
}

.site-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1.2;
}

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

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 3px;
    align-items: center;
}

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

.main-nav ul li a {
    color: #bcc;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 28px 15px;
    display: block;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a,
.main-nav ul li.current_page_item a {
    color: var(--teal-light);
}

/* Dropdown */
.main-nav ul li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-light);
    min-width: 240px;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    display: block;
    border-top: 3px solid var(--teal);
}

.main-nav ul li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul li ul.sub-menu li a {
    padding: 10px 20px;
    font-size: 0.85rem;
    text-transform: none;
}

.main-nav ul li ul.sub-menu li a:hover {
    background: rgba(42, 147, 180, 0.15);
    color: var(--teal-light);
}

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

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 600px;
    max-height: 850px;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(160deg, #081c2b 0%, #0d2b3e 30%, #143a52 60%, #1e7a96 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 70% 40%, rgba(42, 147, 180, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 30% 80%, rgba(201, 147, 42, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--teal-light);
}

.hero-content .hero-accent {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 100%; height: 80px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 2;
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
    position: relative;
    display: block;
    width: 100%;
    min-height: 600px;
    max-height: 850px;
    height: 85vh;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(160deg, #081c2b 0%, #0d2b3e 30%, #143a52 60%, #1e7a96 100%);
    isolation: isolate;
}

.hero-slider * { box-sizing: border-box; }

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.06);
    transition: opacity 1.1s ease, transform 7s ease, visibility 0s linear 1.1s;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 1.1s ease, transform 7s ease, visibility 0s linear 0s;
    z-index: 2;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(8, 28, 43, 0.82) 0%, rgba(13, 43, 62, 0.7) 40%, rgba(30, 122, 150, 0.55) 100%);
    z-index: 1;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 0 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease 0.25s, transform 0.9s ease 0.25s;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide .hero-content h1 {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-slide .hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 35px;
    line-height: 1.8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-slider::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 100%; height: 80px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 5;
    pointer-events: none;
}

/* Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(13, 43, 62, 0.35);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: var(--transition);
}

.hero-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-50%) scale(1.05);
}

.hero-arrow-prev { left: 28px; }
.hero-arrow-next { right: 28px; }

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 6;
}

.hero-dot {
    width: 38px;
    height: 4px;
    border-radius: 2px;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, width 0.3s ease;
}

.hero-dot:hover { background: rgba(255, 255, 255, 0.6); }
.hero-dot.active { background: var(--accent); width: 56px; }

/* Progress bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 6;
}

.hero-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--teal-light));
    transition: width 0.1s linear;
}

@media (max-width: 768px) {
    .hero-slider { min-height: 500px; max-height: 700px; }
    .hero-slide .hero-content h1 { font-size: 2.2rem; }
    .hero-slide .hero-content p { font-size: 1rem; }
    .hero-arrow { width: 42px; height: 42px; }
    .hero-arrow-prev { left: 12px; }
    .hero-arrow-next { right: 12px; }
    .hero-dot { width: 28px; }
    .hero-dot.active { width: 42px; }
}

@media (max-width: 480px) {
    .hero-slider { min-height: 450px; }
    .hero-slide .hero-content h1 { font-size: 1.8rem; }
    .hero-arrow { display: none; }
    .hero-dots { bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide .hero-content { transition: opacity 0.3s ease; transform: none; }
    .hero-slide.active { transform: none; }
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section {
    padding: 90px 0;
}

.section-dark {
    background: linear-gradient(160deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }

.section-dark p { color: rgba(255, 255, 255, 0.7); }

.section-gray { background: var(--light-bg); }

.section-teal {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: var(--white);
}

.section-teal h2, .section-teal p { color: var(--white); }
.section-teal p { opacity: 0.9; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--teal), var(--accent));
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SERVICES PREVIEW (HOME)
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(to right, var(--teal), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.service-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(42, 147, 180, 0.1), rgba(201, 147, 42, 0.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--teal);
    transition: var(--transition);
}

.service-card:hover .icon {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-card p {
    font-size: 0.95rem;
}

.service-card .read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--teal);
}

.service-card .read-more i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.service-card:hover .read-more i { margin-left: 10px; }

/* ========================================
   ABOUT PREVIEW (HOME)
   ======================================== */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-preview-text h2 { margin-bottom: 20px; }

.about-preview-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--teal), var(--accent));
    margin-top: 15px;
    border-radius: 2px;
}

.about-preview-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-preview-text .btn { margin-top: 10px; }

.about-preview-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-preview-image img {
    width: 100%;
    border-radius: var(--radius);
}

.about-preview-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(13, 43, 62, 0.3), transparent);
    pointer-events: none;
}

/* Reverse the order on desktop: image left, text right */
.about-preview.about-preview-reverse .about-preview-text { order: 2; }
.about-preview.about-preview-reverse .about-preview-image { order: 1; }

/* Image variants */
.about-preview-image.about-image-icon {
    box-shadow: none;
    background: transparent;
    text-align: center;
}
.about-preview-image.about-image-icon::after { display: none; }
.about-preview-image.about-image-icon img {
    max-width: 320px;
    margin: 0 auto;
}

/* Stacked images (logo + photo) */
.about-image-stack {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 20px;
    box-shadow: none;
    background: transparent;
    overflow: visible;
}
.about-image-stack::after { display: none; }
.about-image-stack img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    background: var(--white);
}
.about-image-stack img.rakez-logo {
    max-width: 220px;
    padding: 18px;
    background: var(--white);
    margin: 0 auto;
}

/* Eyebrow tag above headings */
.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

/* Check list */
.check-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}
.check-list li {
    position: relative;
    padding: 10px 0 10px 0;
    line-height: 1.7;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li i {
    color: var(--teal);
    margin-right: 10px;
    font-size: 1rem;
}
.check-list li strong { color: var(--primary); }

/* Callout box */
.callout-box {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--accent-light), rgba(42, 147, 180, 0.08));
    border-left: 4px solid var(--accent);
    padding: 22px 26px;
    border-radius: var(--radius);
}
.callout-box i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}
.callout-box p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--primary);
}

/* Region tags */
.region-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.region-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.region-tag:hover {
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
}
.region-tag i {
    color: var(--accent);
    font-size: 0.85rem;
}

/* Spacing utility for nested sections */
.section.pt-0 { padding-top: 0; }

/* Mobile: reverse layout collapses naturally; image-stack stacks */
@media (max-width: 768px) {
    .about-preview.about-preview-reverse .about-preview-text { order: 0; }
    .about-preview.about-preview-reverse .about-preview-image { order: 0; }
    .callout-box { flex-direction: column; gap: 10px; }
}

/* ========================================
   STATS / COUNTER
   ======================================== */
.stats-section {
    background: linear-gradient(160deg, var(--primary-dark), var(--primary), var(--primary-light));
    padding: 80px 0;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 50% 50%, rgba(42, 147, 180, 0.08) 0%, transparent 70%);
}

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

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--teal-light);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
}

.why-item .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

.why-item h4 { margin-bottom: 10px; }

.why-item p {
    font-size: 0.9rem;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-item.active {
    border-color: var(--teal);
    box-shadow: 0 3px 15px rgba(42, 147, 180, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background: var(--white);
    transition: background 0.3s ease;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
}

.faq-item.active .faq-question {
    background: rgba(42, 147, 180, 0.05);
    color: var(--teal);
}

.faq-question i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
    color: var(--teal);
}

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer { max-height: 300px; }

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    padding: 70px 0;
    text-align: center;
}

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

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

.partner-logo {
    opacity: 0.45;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

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

/* ========================================
   PAGE BANNER (INNER PAGES)
   ======================================== */
.page-banner {
    background: linear-gradient(160deg, var(--primary-dark), var(--primary), var(--primary-light));
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 60% 30%, rgba(42, 147, 180, 0.1) 0%, transparent 60%);
}

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

.page-banner h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb a { color: rgba(255, 255, 255, 0.6); }
.breadcrumb a:hover { color: var(--teal-light); }
.breadcrumb span { color: var(--teal-light); }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.3); }

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-text h2 { margin-bottom: 20px; }

.about-intro-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--teal), var(--accent));
    margin-top: 15px;
    border-radius: 2px;
}

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

.vm-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius);
}

.vm-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
}

.section-dark .vm-card .icon {
    background: rgba(42, 147, 180, 0.15);
    color: var(--teal-light);
}

.vm-card h3 { margin-bottom: 15px; }
.vm-card p { font-size: 0.95rem; }

/* Timeline */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 3px; height: 100%;
    background: linear-gradient(to bottom, var(--teal), var(--accent));
}

.timeline-item {
    position: relative;
    padding: 20px 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) { flex-direction: row-reverse; }

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px; height: 16px;
    background: var(--teal);
    border-radius: 50%;
    border: 3px solid var(--white);
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(42, 147, 180, 0.2);
}

.timeline-content {
    width: 42%;
    background: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.timeline-content h4 {
    color: var(--teal);
    font-size: 1rem;
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

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

.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-card:hover { transform: translateY(-5px); }

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-card-info { padding: 25px 20px; }
.team-card-info h4 { margin-bottom: 5px; }

.team-card-info .position {
    color: var(--teal);
    font-size: 0.9rem;
    font-weight: 600;
}

.team-card-info p {
    font-size: 0.9rem;
    margin-top: 10px;
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-page-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.service-page-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-page-card-img {
    height: 200px;
    overflow: hidden;
}

.service-page-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-page-card:hover .service-page-card-img img { transform: scale(1.05); }

.service-page-card-content { padding: 30px; }
.service-page-card-content h3 { margin-bottom: 15px; }
.service-page-card-content p { font-size: 0.95rem; margin-bottom: 15px; }
.service-page-card-content ul { margin-bottom: 20px; }

.service-page-card-content ul li {
    padding: 5px 0 5px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    position: relative;
}

.service-page-card-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--teal);
    font-size: 0.8rem;
}

/* ========================================
   PRODUCTS PAGE
   ======================================== */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--border);
    border-radius: 30px;
    background: var(--white);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--teal);
    background: var(--teal);
    color: var(--white);
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.product-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.product-card-img .category-badge {
    position: absolute;
    top: 15px; left: 15px;
    background: var(--teal);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-card-content { padding: 25px; }
.product-card-content h3 { font-size: 1.15rem; margin-bottom: 10px; }
.product-card-content p { font-size: 0.9rem; margin-bottom: 15px; }
.product-card-content .btn { padding: 10px 20px; font-size: 0.8rem; }

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-card {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-info-card .icon {
    width: 50px; height: 50px;
    min-width: 50px;
    background: rgba(42, 147, 180, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--teal);
}

.contact-info-card h4 { margin-bottom: 5px; font-size: 1rem; }
.contact-info-card p { font-size: 0.9rem; margin-bottom: 0; }
.contact-info-card a { color: var(--text-light); }
.contact-info-card a:hover { color: var(--teal); }

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.contact-form h3 { margin-bottom: 25px; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(42, 147, 180, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-map {
    margin-top: 60px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--primary-dark);
    color: #99a;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-col h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--teal), var(--accent));
    margin-top: 10px;
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-about .footer-logo img {
    max-height: 50px;
    width: auto;
}

.footer-about .footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.footer-about .footer-logo-text span { color: var(--teal-light); }

.footer-about p {
    font-size: 0.9rem;
    color: #889;
    line-height: 1.8;
}

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

.footer-col ul li a {
    color: #889;
    font-size: 0.9rem;
    transition: var(--transition);
    padding-left: 0;
}

.footer-col ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--teal);
    font-size: 0.8rem;
}

.footer-col ul li a:hover {
    color: var(--teal-light);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--teal);
    margin-top: 4px;
    width: 16px;
    text-align: center;
}

.footer-contact-item p { font-size: 0.9rem; color: #889; margin-bottom: 0; }
.footer-contact-item a { color: #889; }
.footer-contact-item a:hover { color: var(--teal-light); }

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #889;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--teal);
    color: var(--white);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #667;
    margin-bottom: 0;
}

/* ========================================
   404
   ======================================== */
.error-404 {
    text-align: center;
    padding: 100px 0;
}

.error-404 h1 {
    font-size: 8rem;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 15px;
}

.error-404 h2 { margin-bottom: 20px; }

.error-404 p {
    max-width: 500px;
    margin: 0 auto 30px;
}

/* ========================================
   SIDEBAR / WIDGETS
   ======================================== */
.content-sidebar-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

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

.sidebar .widget h4 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--teal);
}

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

.sidebar .widget ul li:last-child { border-bottom: none; }
.sidebar .widget ul li a { color: var(--text-light); font-size: 0.9rem; }
.sidebar .widget ul li a:hover { color: var(--teal); }

/* ========================================
   BLOG / POST
   ======================================== */
.post-card {
    margin-bottom: 30px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.post-card-content { padding: 25px; }
.post-card-content h2 { font-size: 1.4rem; margin-bottom: 10px; }
.post-card-content h2 a { color: var(--primary); }
.post-card-content h2 a:hover { color: var(--teal); }

.post-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.post-meta span { margin-right: 15px; }
.post-meta i { margin-right: 5px; color: var(--teal); }

.single-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.single-post-content h1 { font-size: 2.2rem; margin-bottom: 15px; }

/* ========================================
   PAGE CONTENT (WP Editor Content)
   ======================================== */
.page-content {
    padding: 60px 0;
}

.page-content .entry-content h2 { margin: 30px 0 15px; }
.page-content .entry-content h3 { margin: 25px 0 12px; }
.page-content .entry-content p { margin-bottom: 20px; line-height: 1.8; }

.page-content .entry-content ul,
.page-content .entry-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.page-content .entry-content ul { list-style: disc; }
.page-content .entry-content ol { list-style: decimal; }

.page-content .entry-content li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.page-content .entry-content img {
    border-radius: var(--radius);
    margin: 20px 0;
}

/* WordPress editor alignment classes */
.aligncenter { text-align: center; margin: 20px auto; display: block; }
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.wp-block-image { margin: 20px 0; }
.wp-block-columns { gap: 30px; }

/* Form messages */
.form-message-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

/* ========================================
   RESPONSIVE - TABLET (768px)
   ======================================== */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }

    .top-bar .container { flex-direction: column; gap: 8px; }
    .top-bar-left { flex-wrap: wrap; justify-content: center; }

    .menu-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: 80px; left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

    .main-nav.active { transform: translateX(0); }

    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .main-nav ul li a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-nav ul li ul.sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding-left: 20px;
        background: transparent;
    }

    .hero-section { min-height: 500px; max-height: 700px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }

    .services-grid,
    .vision-mission-grid,
    .team-grid,
    .products-grid { grid-template-columns: 1fr 1fr; }

    .stats-grid,
    .why-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

    .about-preview,
    .about-intro,
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }

    .services-page-grid { grid-template-columns: 1fr; }

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

    .content-sidebar-wrap { grid-template-columns: 1fr; }

    .page-banner h1 { font-size: 2rem; }

    .section { padding: 60px 0; }

    .timeline::before { left: 20px; }
    .timeline-item,
    .timeline-item:nth-child(odd) { flex-direction: row; padding-left: 50px; }
    .timeline-dot { left: 20px; }
    .timeline-content { width: 100%; }

    .form-row { grid-template-columns: 1fr; }
}

/* ========================================
   RESPONSIVE - MOBILE (480px)
   ======================================== */
@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.15rem; }

    .container { padding: 0 15px; }

    .hero-section { min-height: 450px; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; align-items: center; }

    .services-grid,
    .vision-mission-grid,
    .team-grid,
    .stats-grid,
    .why-grid,
    .products-grid { grid-template-columns: 1fr; }

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

    .stat-item .stat-number { font-size: 2.2rem; }
    .cta-banner h2 { font-size: 1.6rem; }

    .contact-form { padding: 25px; }

    .page-banner { padding: 80px 0 40px; }
    .page-banner h1 { font-size: 1.7rem; }

    .section { padding: 50px 0; }
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-accent { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }

/* Animations */
.stat-number {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-number.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
