/*
Theme Name: Alfa Refractories Custom Theme
Theme URI: https://alfarefractories.com/
Author: Antigravity Team
Description: A premium, highly customizable, and responsive custom theme for Alfa Refractories.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alfa-refractories
Tags: industrial, clean, responsive, custom-logo, custom-menu, custom-background
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #F15A24; /* Lava Orange from Logo */
  --primary-hover: #D44210;
  --secondary: #E2E8F0;
  --dark: #121212;
  --dark-accent: #1C1E22;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --text-dark: #0F172A;
  --text-light: #F8FAFC;
  --text-muted: #64748B;
  --font-sans: 'Outfit', sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --max-width: 1200px;
  --header-height: 120px; /* overridden dynamically via PHP wp_add_inline_style */
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--light);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
  font-size: 1.15rem; /* Increased base font size for easy reading */
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Common Layout Elements */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-dark {
  background-color: var(--dark-accent);
  color: var(--text-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.85rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Typography & Accents */
.accent-title {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
  display: block;
}

.accent-title + h1,
.accent-title + h2,
.accent-title + h3 {
  margin-top: 18px !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(241, 90, 36, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(241, 90, 36, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--text-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.section-dark .btn-secondary {
  color: var(--white);
  border-color: var(--white);
}

.section-dark .btn-secondary:hover {
  background-color: var(--white);
  color: var(--dark);
}

.btn-white {
  background-color: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow);
}

.btn-group {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

/* Header & Navigation */
header {
  height: var(--header-height);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1350px;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: auto;
}

.logo .logo-scrolled {
  display: none;
}

header.scrolled .logo .logo-default {
  display: none;
}

header.scrolled .logo .logo-scrolled {
  display: block;
}

.nav-cta {
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Navigation Menu (Desktop) */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 20px;
  list-style: none;
  margin: 0 20px;
  padding: 0;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item-dropdown .dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 240px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 12px 0;
  list-style: none;
  margin: 0;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 24px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: #f8fafc;
  color: var(--primary);
  padding-left: 28px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1100;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

header.scrolled .mobile-nav-toggle span {
  background-color: var(--text-dark);
}

.mobile-nav-toggle span:nth-child(1) { top: 0; }
.mobile-nav-toggle span:nth-child(2) { top: 9px; }
.mobile-nav-toggle span:nth-child(3) { top: 18px; }

.mobile-nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* Page Hero Header */
.page-hero {
  min-height: 350px;
  height: auto;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 0%, rgba(28, 30, 34, 0.9) 100%), url('assets/images/hero.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: calc(var(--header-height) + 50px) 0 50px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.25rem;
  color: #94A3B8;
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Slider (Homepage) */
.hero-slider-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--dark);
}

.slider-container {
  height: 100%;
  width: 100%;
  position: relative;
}

/* --- Base Slide --- */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
  padding-top: var(--header-height);
  overflow: hidden;
}

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

/* --- Image overlay (for image slides) --- */
.slide-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 10, 20, 0.65) 0%, rgba(10, 10, 20, 0.4) 60%, rgba(10, 10, 20, 0.2) 100%);
  z-index: 3;
  pointer-events: none;
}

/* --- Background image for image slides --- */
.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 6s ease-out;
  z-index: 1;
}

.slide.active .slide-bg {
  transform: scale(1);
}

/* --- VIDEO SLIDE: iframe behind everything --- */
.video-slide {
  background-color: #0d1117;
}

.video-slide .hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.video-slide .hero-video-wrapper iframe,
.video-slide .hero-video-wrapper video {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 16:9 cover trick */
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

.quality-grid-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);          /* 3 columns on desktop */
        gap: 28px;                                      /* space between cards */
        margin-top: 25px;
        margin-bottom: 25px;
    }
    @media (max-width: 991px) {
        .quality-grid-3 {
            grid-template-columns: 1fr;               /* single column on tablet */
        }
    }
    @media (max-width: 599px) {
        .quality-grid-3 {
            grid-template-columns: 1fr;               /* single column on mobile */
        }
    }

    .property-modern-card {
        width: 100%;
    }

/* Facilities single column layout */
.fac-split-row-single {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fac-split-col-full {
    width: 100%;
    max-width: 800px;
}
@media (max-width: 768px) {
    .fac-split-col-full {
        max-width: 100%;
    }
}

    .property-modern-card {
        width: 100%;
    }

.video-slide .slide-image-overlay {
  background: linear-gradient(135deg, rgba(10,15,30,0.72) 0%, rgba(10,15,30,0.38) 100%);
  z-index: 2;
}

/* --- Slide content (text + buttons) always on top --- */
.slide-content {
  position: relative;
  z-index: 10;
  color: var(--white);
  max-width: 820px;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  transition-delay: 0.3s;
}

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

/* The .container inside a slide must also stack above overlay */
.slide > .container {
  position: relative;
  z-index: 10;
  width: 100%;
}

.slide-content h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 22px;
  color: #fff;
}

.slide-content h1 span {
  color: var(--primary);
}

.slide-content p {
  font-size: 1.15rem;
  color: #CBD5E1;
  margin-bottom: 38px;
  max-width: 620px;
  line-height: 1.7;
}

.slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.slide-actions .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.slide-actions .btn-secondary:hover {
  background-color: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* Slider Navigation */

/* === Hero video play button (premium circular) === */
.hero-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border: none;
  border-radius: 50%;
  background: rgba(241, 90, 36, 0.95);
  color: #ffffff;
  cursor: pointer;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(241, 90, 36, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.hero-video-play-btn:hover,
.hero-video-play-btn:focus-visible {
  background: #ff6b35;
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 12px 40px rgba(241, 90, 36, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  outline: none;
}

/* Play button when placed inside slide-actions */
.slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.slide-actions .hero-video-play-btn {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 !important;
  display: inline-flex !important;
  width: 54px !important;
  height: 54px !important;
  flex-shrink: 0 !important;
  align-self: center !important;
}
.slide-actions .hero-video-play-btn:hover,
.slide-actions .hero-video-play-btn:focus-visible {
  transform: scale(1.1) !important;
}

.hero-video-play-btn .hero-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 3px; /* visually center the play triangle */
  z-index: 2;
}
.hero-video-play-btn .hero-play-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}
.hero-video-play-btn .hero-play-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(241, 90, 36, 0.8);
  animation: heroPlayPulse 2.2s infinite ease-out;
  pointer-events: none;
  z-index: 1;
}

@keyframes heroPlayPulse {
  0%   { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.7);  opacity: 0; }
}

/* Hide YouTube player controls on background video iframes */
.hero-slide-video,
#showcaseBgIframe,
.video-bg-wrapper iframe {
  pointer-events: none !important;
  user-select: none !important;
}

/* Video Showcase Section Play Button (Inline relative centering) */
.video-showcase-play-btn {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 32px auto 40px auto !important;
  display: flex !important;
}
.video-showcase-play-btn:hover,
.video-showcase-play-btn:focus-visible {
  transform: scale(1.08) !important;
}
@media (max-width: 768px) {
  .hero-video-play-btn { width: 70px; height: 70px; }
  .hero-video-play-btn .hero-play-icon svg { width: 18px; height: 18px; }
}
@media (max-width: 480px) {
  .hero-video-play-btn { width: 60px; height: 60px; }
  .hero-video-play-btn .hero-play-icon svg { width: 16px; height: 16px; }
}

/* Process Flow Video Play Button (Ripple Style - matches hero) */
.process-flow-header {
  position: relative;
}
.process-flow-video-btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 92px;
  height: 92px;
  border: none;
  border-radius: 50%;
  background: rgba(241, 90, 36, 0.95);
  color: #ffffff;
  cursor: pointer;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(241, 90, 36, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.process-flow-video-btn:hover,
.process-flow-video-btn:focus-visible {
  background: #ff6b35;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 40px rgba(241, 90, 36, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  outline: none;
}
.process-flow-video-btn .pf-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  z-index: 2;
}
.process-flow-video-btn .pf-play-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(241, 90, 36, 0.8);
  animation: heroPlayPulse 2.2s infinite ease-out;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 768px) {
  .process-flow-video-btn { 
    width: 70px; 
    height: 70px; 
    right: 50%;
    transform: translate(50%, -50%);
  }
  .process-flow-video-btn .pf-play-icon svg { width: 22px; height: 22px; }
}
@media (max-width: 480px) {
  .process-flow-video-btn { 
    width: 60px; 
    height: 60px; 
  }
  .process-flow-video-btn .pf-play-icon svg { width: 20px; height: 20px; }
}

/* === Video modal === */
.hero-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.hero-video-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hero-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 24, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-video-modal-content {
  position: relative;
  width: min(92vw, 1100px);
  aspect-ratio: 16 / 9;
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-video-modal.active .hero-video-modal-content { transform: scale(1); }
.hero-video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 3;
}
.hero-video-modal-close:hover,
.hero-video-modal-close:focus-visible {
  background: var(--primary);
  transform: rotate(90deg);
  outline: none;
}
.hero-video-modal-iframe-wrap {
  position: absolute;
  inset: 0;
}
.hero-video-modal-iframe-wrap iframe,
.hero-video-modal-iframe-wrap > div,
.hero-video-modal-iframe-wrap > iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
@media (max-width: 640px) {
  .hero-video-modal-content { width: 94vw; }
  .hero-video-modal-close { top: -40px; right: 4px; }
}

/* Screen reader only */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Ensure video iframes cover the full slide area */
.video-slide .hero-video-wrapper iframe.hero-slide-video,
.video-slide .hero-video-wrapper iframe {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 100vw !important;
  height: 56.25vw !important;
  min-height: 100vh !important;
  min-width: 177.78vh !important;
  transform: translate(-50%, -50%) !important;
  border: 0 !important;
  pointer-events: none;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow-prev { left: 40px; }
.slider-arrow-next { right: 40px; }

.slider-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background-color 0.3s ease, width 0.3s ease, border-color 0.3s ease, border-radius 0.3s ease;
  flex-shrink: 0;
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.slider-dot.active {
  background-color: var(--primary);
  border-color: var(--primary);
  width: 28px;
  border-radius: 5px;
}


/* Hero Video Play Button */
/* Hero Video Popup Modal */
.hero-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.hero-video-modal.active {
  display: flex;
}
.hero-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  cursor: pointer;
}
.hero-video-modal-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.hero-video-modal-player {
  width: 100%;
  height: 100%;
}
.hero-video-modal-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.hero-video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  padding: 8px;
}
.hero-video-modal-close:hover {
  color: var(--primary);
}

/* Features Grid (Intro) - Premium redesign */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
  position: relative;
  z-index: 5;
}

.feature-card {
  background: var(--white);
  padding: 44px 36px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.6);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #ff8c5a 100%);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 40px rgba(241, 90, 36, 0.12);
  border-color: rgba(241, 90, 36, 0.15);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(241, 90, 36, 0.12) 0%, rgba(241, 90, 36, 0.06) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 1.75rem;
  font-weight: 800;
  border: 1.5px solid rgba(241, 90, 36, 0.15);
  transition: var(--transition);
}

.feature-icon svg {
  width: 36px;
  height: 36px;
  display: block;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8c5a 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(241, 90, 36, 0.3);
}

.feature-card:hover .feature-icon svg {
  transform: rotate(12deg) scale(1.1);
}

.feature-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Product Section Home & Grid Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(241, 90, 36, 0.2);
}

.product-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

.product-category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 1px;
}

.product-info {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-info p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.92rem;
  flex-grow: 1;
}

.product-specs {
  background-color: var(--light);
  padding: 16px;
  border-radius: var(--border-radius);
  margin-bottom: 24px;
  font-size: 0.875rem;
}

.product-specs li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  margin-bottom: 8px;
  align-items: start;
}

.product-specs li:last-child {
  margin-bottom: 0;
}

.product-specs span:first-child {
  font-weight: 600;
  color: var(--text-muted);
}

.product-specs span:last-child {
  font-weight: 700;
  color: var(--text-dark);
}

.product-footer {
  margin-top: auto;
}

/* Category Filter (Products page) */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--text-dark);
  padding: 10px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(241, 90, 36, 0.25);
}

/* Industries Served - Clean Professional Light Design */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  background: var(--white);
  border: 1.5px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 44px 28px 36px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, #ff8c5a 100%);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: center;
}

.industry-card:hover::after {
  transform: scaleX(1);
}

.industry-card:hover {
  transform: translateY(-8px);
  border-color: rgba(241, 90, 36, 0.2);
  box-shadow: 0 20px 40px rgba(241, 90, 36, 0.1);
}

.industry-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(241, 90, 36, 0.08) 0%, rgba(241, 90, 36, 0.04) 100%);
  border: 1.5px solid rgba(241, 90, 36, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-size: 2rem;
  transition: var(--transition);
}

.industry-card:hover .industry-icon {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8c5a 100%);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(241, 90, 36, 0.3);
  transform: scale(1.1);
}

.industry-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.industry-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* CTA Banner Section */
.cta-banner-section {
  background: linear-gradient(135deg, rgba(241, 90, 36, 0.95) 0%, rgba(212, 66, 16, 0.95) 100%), url('assets/images/hero.png') center/cover no-repeat;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-banner-content h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner-content p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}


/* New Dark Blue Side-by-Side CTA Banner */
.cta-banner-section-new {
  background: #0f172a; /* Dark Slate Blue */
  padding: 60px 0;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.cta-content-left {
  flex: 1;
  max-width: 750px;
}

.cta-subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cta-sub-line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.cta-sub-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #94a3b8;
}

.cta-content-left h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
  line-height: 1.25;
}

.cta-content-left p {
  font-size: 1rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.6;
}

.cta-actions-right {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.cta-actions-right .btn-orange {
  background: #f15a24;
  color: #ffffff;
  border: 1px solid #f15a24;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.25s ease;
  font-size: 0.92rem;
  display: inline-block;
  line-height: 1;
}

.cta-actions-right .btn-orange:hover {
  background: #d44210;
  border-color: #d44210;
  transform: translateY(-2px);
}

.cta-actions-right .btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.25s ease;
  font-size: 0.92rem;
  display: inline-block;
  line-height: 1;
}

.cta-actions-right .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .cta-flex-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .cta-subtitle {
    justify-content: center;
  }
  .cta-actions-right {
    justify-content: center;
    width: 100%;
  }
}

/* Corporate Profile & Stats (About) */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-item {
  border-left: 4px solid var(--primary);
  padding-left: 20px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.about-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Vertical Timeline (About) */
.timeline-section {
  background-color: var(--white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--secondary);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  opacity: 0.9;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--primary);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-left {
  left: 0;
}

.timeline-right {
  left: 50%;
}

.timeline-right::after {
  left: -10px;
}

.timeline-content {
  padding: 24px 32px;
  background-color: var(--light);
  position: relative;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.timeline-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 1.05rem; /* Increased font size */
  line-height: 1.75;
  color: var(--text-muted);
}

/* Facilities Cards Grid */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.facility-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(241, 90, 36, 0.2);
}

.facility-image-wrapper {
  height: 260px;
  overflow: hidden;
}

.facility-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.facility-card:hover .facility-image-wrapper img {
  transform: scale(1.08);
}

.facility-info {
  padding: 32px;
}

.facility-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.facility-info p {
  color: var(--text-muted);
}

/* Contact Page Grid & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-info-card {
  background-color: var(--white);
  padding: 32px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  gap: 20px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius);
  background-color: rgba(241, 90, 36, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-info-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-info-text p {
  color: var(--text-muted);
  font-size: 1.05rem; /* Increased font size */
  line-height: 1.7;
}

.contact-form-card {
  background-color: var(--white);
  padding: 48px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-form-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-form-card p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

/* Fix global line height and spacing inside form paragraphs for CF7 & custom forms */
.contact-form-card form p {
  margin-bottom: 20px;
  line-height: 1.35;
}

.contact-form-card form p br {
  display: none;
}

.contact-form-card form .wpcf7-form-control-wrap,
.contact-form-card form .form-input {
  display: block;
  margin-top: 6px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--border-radius);
  border: 1px solid #CBD5E1;
  background-color: var(--light);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(241, 90, 36, 0.1);
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.form-message {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-message.success {
  display: block;
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
}

.form-message.error {
  display: block;
  background-color: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #FBD5D5;
}

/* Map Section */
.map-section {
  padding: 0;
  height: 450px;
  width: 100%;
  position: relative;
  background-color: var(--secondary);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 0 24px;
}

.map-placeholder-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 16px;
  animation: bounce 2s infinite;
}

.map-placeholder h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.map-placeholder p {
  color: #94A3B8;
  max-width: 400px;
  margin-bottom: 24px;
}

/* Footer Section */
footer {
  background-color: var(--dark);
  color: #94A3B8;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

.footer-about img {
  max-height: 100%;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.1));
}

.footer-about p {
  font-size: 1.05rem; /* Increased font size */
  margin-bottom: 24px;
  line-height: 1.75;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
  color: var(--white);
}

.social-link svg {
  fill: currentColor;
  transition: var(--transition);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 1.05rem; /* Increased font size */
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 1.05rem; /* Increased font size */
}

.footer-contact-icon {
  color: var(--primary);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 24px;
}

.footer-contact a {
  color: inherit;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* Animations */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -40px;
  }
  
  .features-grid .feature-card:last-child {
    grid-column: span 2;
  }
  
  .product-grid,
  .facility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about-image img {
    height: 400px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1150px) {
  :root {
    --header-height: 70px;
  }
  
  .header-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  
  .logo {
    margin: 0 !important;
    margin-right: auto !important;
    display: flex !important;
    justify-content: flex-start !important;
  }
  
  .logo img {
    width: 92px !important;
    height: auto !important;
    max-height: 92px !important;
  }
  
  .mobile-nav-toggle {
    display: block;
    margin-left: auto !important;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .slide-content h1 {
    font-size: 2.75rem;
  }
  
  .slide-content p {
    font-size: 1.1rem;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 60px;
    padding-bottom: 40px;
    gap: 22px;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  header.scrolled .nav-menu {
    background-color: var(--white);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.2rem;
  }

  .nav-item-dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-toggle {
    justify-content: center;
    width: 100%;
    padding: 8px 0;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: transparent !important;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
  }

  .nav-item-dropdown.open .dropdown-menu {
    max-height: 350px;
  }

  .dropdown-item {
    font-size: 1.05rem;
    padding: 10px 0;
    color: var(--text-dark) !important;
  }

  header.scrolled .dropdown-item {
    color: var(--text-dark) !important;
  }

  .dropdown-item:hover {
    padding-left: 0;
    color: var(--primary) !important;
  }
  
  .nav-cta {
    display: none; /* Hide top CTA on mobile, link inside menu if needed */
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
    gap: 20px;
    padding: 0 10px;
  }
  
  .features-grid .feature-card:last-child {
    grid-column: span 1;
  }
  
  .product-grid,
  .facility-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .slider-arrow {
    display: none !important;
  }
  
  .timeline::after {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 45px;
    padding-right: 0;
  }
  
  .timeline-item::after {
    left: 10px;
    right: auto;
  }
  
  .timeline-right {
    left: 0;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form-card {
    padding: 30px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Homepage Enhancements: Stats, About & Client Slider */

/* 1. Animated Stats Section */
.stats-banner {
  background-color: var(--white);
  padding: 50px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 6;
  margin-top: -50px;
  border-radius: var(--border-radius-lg);
  max-width: calc(var(--max-width) - 48px);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(var(--stats-cols, 4), 1fr);
  gap: 20px;
  text-align: center;
}

.stat-card {
  padding: 10px;
}

.stat-card:not(:first-child) {
  border-left: 1px solid rgba(226, 232, 240, 0.8);
}

.stat-count {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

/* 2. Homepage About Us Section */
.home-about-section {
  background-color: var(--white);
}

.highlight-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.highlight-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.25rem;
}

.highlight-text h4 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.highlight-text p {
  font-size: 1.025rem; /* Increased font size */
  color: var(--text-muted);
}

/* 3. Clients Logo Carousel Section */
.clients-section {
  background: linear-gradient(180deg, var(--white) 0%, #f8fafc 100%);
  padding: 80px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
}

/* Fading gradient masks on sides for premium depth */
.logo-slider::before,
.logo-slider::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.logo-slide-track {
  display: flex;
  gap: 24px;
  width: calc(244px * 10); /* (220px card + 24px gap) * 10 total slides */
  animation: scrollLogo 25s linear infinite;
  will-change: transform;
}

/* Pause animation on hover so users can interact/click */
.logo-slider:hover .logo-slide-track {
  animation-play-state: paused;
}

.logo-slide {
  width: 220px;
  height: 110px;
  background-color: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(241, 90, 36, 0.04) 0%, rgba(241, 90, 36, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.logo-slide:hover {
  transform: translateY(-6px);
  border-color: rgba(241, 90, 36, 0.25);
  box-shadow: 0 12px 24px rgba(241, 90, 36, 0.08);
}

.logo-slide:hover::before {
  opacity: 1;
}

.logo-slide img {
  max-width: 100%;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.logo-slide:hover img {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
  transform: scale(1.08);
}

.logo-slide span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.4s ease;
  position: relative;
  z-index: 2;
}

.logo-slide:hover span {
  color: var(--primary);
}

@keyframes scrollLogo {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-244px * 5)); /* 220px card + 24px gap */
  }
}

@media (max-width: 768px) {
  .logo-slide-track {
    gap: 16px;
    width: calc(186px * 10); /* (170px card + 16px gap) * 10 */
    animation: scrollLogoMobile 20s linear infinite;
  }
  
  .logo-slide {
    width: 170px;
    height: 90px;
    padding: 16px;
    border-radius: 12px;
  }
  
  .logo-slide img {
    max-height: 40px;
  }
  
  @keyframes scrollLogoMobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-186px * 5));
    }
  }
}


/* Responsive Overrides */
@media (max-width: 1024px) {
  .stats-banner {
    max-width: calc(100% - 48px);
    margin-top: 40px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px 10px;
  }
  
  .stat-card:nth-child(2n+1) {
    border-left: none;
  }
  
  .stat-card:nth-child(2n) {
    border-left: 1px solid rgba(226, 232, 240, 0.8);
  }
  
  .stat-count {
    font-size: 2.75rem;
  }

  .page-hero {
    padding: calc(var(--header-height) + 40px) 0 40px 0 !important;
    min-height: auto;
  }

  .page-hero h1 {
    font-size: 2.25rem;
  }

  .page-hero p {
    font-size: 1.05rem;
  }

  .slide {
    padding-top: calc(var(--header-height) + 15px) !important;
    padding-bottom: 90px !important;
    display: flex !important;
    align-items: center !important;
  }

  .slide-content .accent-title {
    font-size: 0.8rem !important;
    margin-bottom: 8px !important;
    letter-spacing: 2px !important;
  }

  .slide-content h1 {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  .slide-content p {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
    line-height: 1.5 !important;
  }


  .slide-actions {
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 10px !important;
    width: 100% !important;
  }

  .slide-actions .btn {
    width: 100% !important;
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
    margin-left: 0 !important;
    text-align: center;
  }

  .slide-actions .hero-video-play-btn {
    width: 44px !important;
    height: 44px !important;
    margin-top: 4px !important;
  }
  
  .slider-dots {
    bottom: 12px !important;
  }

  .btn-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    margin-left: 0 !important;
    text-align: center;
  }

  .about-content table tbody tr {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
  }

  .about-content table td {
    width: 100% !important;
    padding: 4px 0 !important;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  
  .stat-card {
    border-left: none !important;
  }
}

/* ==========================================================================
   FAQ Accordion Section Styles
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(241, 90, 36, 0.2);
}

.faq-header {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-dark);
}

.faq-header h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-right: 20px;
  margin-bottom: 0;
  transition: var(--transition);
}

.faq-header:hover h3 {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-block;
  line-height: 1;
}

.faq-item.active .faq-header h3 {
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
  padding: 0 24px 24px 24px;
  color: var(--text-muted);
  font-size: 1.05rem; /* Increased font size */
  line-height: 1.75;
}

.faq-content-inner p {
  margin: 0;
}

/* Why Choose Alfa Section - Hexagonal Cards */
.why-choose-section {
  background-color: var(--light);
  padding: 120px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  perspective: 1000px; /* enables 3D tilt effect */
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.advantage-card-wrap {
  position: relative;
  transition: var(--transition);
  cursor: pointer;
  height: 100%;
}

.advantage-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.01);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #FF8A65 100%);
  transition: height 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

.advantage-card-wrap:hover .advantage-card {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(241, 90, 36, 0.2);
  box-shadow: 0 20px 40px -15px rgba(241, 90, 36, 0.12), 0 0 0 1px rgba(241, 90, 36, 0.05);
}

.advantage-card-wrap:hover .advantage-card::before {
  height: 6px;
  box-shadow: 0 2px 10px rgba(241, 90, 36, 0.3);
}

.advantage-card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 50px 32px 40px 32px;
  transition: var(--transition);
  flex-grow: 1;
}

.advantage-card-wrap:hover .advantage-card-inner {
  background-color: transparent;
}

.advantage-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(241, 90, 36, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.advantage-card-wrap:hover .advantage-icon-wrapper {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(10deg);
}

.advantage-svg {
  width: 30px;
  height: 30px;
}

.advantage-card-inner h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.advantage-card-inner p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.65;
  padding: 0 10px;
}

/* About Section Slider */
.about-slider-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.about-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.about-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.about-slide.active {
  opacity: 1;
  z-index: 2;
}

.about-slide img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

/* Arrow controls */
.about-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.about-arrow:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.about-arrow-prev {
  left: 16px;
}

.about-arrow-next {
  right: 16px;
}

/* Dots */
.about-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.about-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.about-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.about-dot.active {
  background-color: var(--primary);
  width: 24px;
  border-radius: 5px;
}

@media (max-width: 991px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-slider-container {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .advantage-card-inner {
    padding: 40px 24px;
  }
}

/* ==========================================================================
   Floating Action Buttons (WhatsApp & Scroll Top/Bottom)
   ========================================================================== */
.floating-actions-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  pointer-events: none; /* Let clicks pass through empty spaces between buttons */
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto; /* Re-enable pointer events on the buttons themselves */
  position: relative;
}

/* WhatsApp Button */
.whatsapp-btn {
  width: 54px;
  height: 54px;
  background-color: #25D366;
  color: #ffffff;
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25D366;
  opacity: 0.5;
  z-index: -1;
  animation: wa-pulse 2s infinite;
}

.whatsapp-btn:hover {
  background-color: #20ba5a;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

/* Scroll Buttons */
.scroll-btn {
  width: 46px;
  height: 46px;
  background-color: rgba(18, 18, 18, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.scroll-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.scroll-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(241, 90, 36, 0.3);
}

.scroll-btn:hover svg {
  transform: scale(1.1);
}

/* Scroll Button Toggle States */
#scrollToggleBtn {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollToggleBtn.direction-up .scroll-icon-down,
#scrollToggleBtn.direction-up .scroll-tooltip-down {
  display: none !important;
}
#scrollToggleBtn.direction-up .scroll-icon-up {
  display: block !important;
}

#scrollToggleBtn.direction-down .scroll-icon-up,
#scrollToggleBtn.direction-down .scroll-tooltip-up {
  display: none !important;
}
#scrollToggleBtn.direction-down .scroll-icon-down {
  display: block !important;
}

/* Tooltips */
.floating-tooltip {
  position: absolute;
  right: 66px;
  background-color: rgba(18, 18, 18, 0.95);
  color: #ffffff;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Animations */
@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-actions-container {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .whatsapp-btn {
    width: 48px;
    height: 48px;
  }
  
  .whatsapp-btn svg {
    width: 24px;
    height: 24px;
  }

  .scroll-btn {
    width: 42px;
    height: 42px;
  }

  .scroll-btn svg {
    width: 16px;
    height: 16px;
  }

  .floating-tooltip {
    display: none; /* Hide tooltips on touch devices */
  }
}

/* Header Top Bar */
.header-top-bar {
  background-color: #0f172a; /* premium dark slate */
  color: #94a3b8;
  font-family: var(--font-primary), sans-serif;
  font-size: 13px;
  font-weight: 500;
  height: 35px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar-contact {
  display: flex;
  gap: 16px;
}

.top-bar-contact a {
  color: #94a3b8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.top-bar-contact a:hover {
  color: var(--primary);
}

.top-bar-cert {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f1f5f9;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.top-bar-cert svg {
  color: var(--primary);
}

@media (max-width: 768px) {
  .header-top-bar {
    height: auto !important;
    padding: 6px 0;
    font-size: 11px !important;
  }
  .header-top-bar svg {
    width: 11px !important;
    height: 11px !important;
  }
  .top-bar-container {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
  .top-bar-contact {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* Upgraded Corporate Group Section Diagram styles */
.group-showcase-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.group-diagram-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.group-interactive-canvas {
  position: relative;
  width: 100%;
  max-width: 550px;
  aspect-ratio: 1 / 1;
  user-select: none;
}

.canvas-svg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.laser-path {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 2px;
  stroke-dasharray: 6, 6;
  fill: none !important;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.laser-path.highlighted {
  stroke: var(--primary);
  stroke-dasharray: 6, 6;
  stroke-width: 2.5px;
  fill: none !important;
  vector-effect: non-scaling-stroke;
}

.laser-pulse {
  fill: var(--primary);
  filter: drop-shadow(0 0 5px var(--primary));
}

.interactive-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.node-circle-wrap {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 15px;
}

.interactive-node.active .node-circle-wrap {
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(241, 90, 36, 0.25);
  transform: scale(1.08);
}

.interactive-node img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
}

.interactive-node .mono-text {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

/* Center Parent Node */
.node-parent .node-circle-wrap {
  width: 200px;
  height: 200px;
  border-width: 4px;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 35px rgba(241, 90, 36, 0.25);
}

.parent-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 222px;
  height: 222px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(241, 90, 36, 0.2);
  pointer-events: none;
}

/* Detail Panel Styling (Centered below diagram) */
.glass-detail-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-header-badge {
  display: inline-block;
  margin-bottom: 15px;
}

.panel-header-badge span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(241, 90, 36, 0.08);
  padding: 6px 16px;
  border-radius: 30px;
  letter-spacing: 0.8px;
  border: 1px solid rgba(241, 90, 36, 0.2);
}

.panel-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 15px 0;
  letter-spacing: -0.5px;
}

.panel-desc {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}

.panel-points-list {
  text-align: left;
  margin: 20px auto 0 auto;
  max-width: 600px;
  padding-left: 20px;
  list-style-type: disc;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Responsive styles */
@media (max-width: 991px) {
  .group-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .group-interactive-canvas {
    max-width: 440px;
    margin: 0 auto;
  }
  .canvas-svg-lines {
    display: block !important; /* Keep connection paths visible */
  }
  .node-circle-wrap {
    width: 95px;
    height: 95px;
    padding: 12px;
  }
  .node-parent .node-circle-wrap {
    width: 140px;
    height: 140px;
  }
  .parent-glow-ring {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 480px) {
  .group-interactive-canvas {
    max-width: 320px;
  }
  .node-circle-wrap {
    width: 75px;
    height: 75px;
    padding: 8px;
  }
  .node-parent .node-circle-wrap {
    width: 110px;
    height: 110px;
  }
  .parent-glow-ring {
    width: 125px;
    height: 125px;
  }
  .interactive-node .mono-text {
    font-size: 0.7rem;
  }
  .glass-detail-panel {
    padding: 20px;
  }
}

/* ==========================================================================
   Global Export Showcase Section
   ========================================================================== */
.home-export-section {
  background-color: #0b0f19;
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.export-bg-glow {
  position: absolute;
  top: -10%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(241, 90, 36, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.export-map-container {
  width: 100%;
  max-width: 950px;
  margin: 40px auto 0;
}

.export-map-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  background: #080d18;
  border: 1px solid rgba(241, 90, 36, 0.15);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.05);
}

#exportMap {
  width: 100%;
  height: 100%;
  background: #e8e2d9;
  z-index: 1;
}

/* Custom Pulsing Markers for Leaflet */
.map-pulse-marker {
  position: relative;
}

.map-pulse-marker .marker-core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.map-pulse-marker .marker-ring {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseMarkerRing 2s infinite ease-out;
  z-index: 1;
}

/* Source Point (Wankaner, India - Green) */
.source-marker .marker-core {
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  width: 12px;
  height: 12px;
}

.source-marker .marker-ring {
  border: 1.5px solid #10b981;
}

/* Target Destinations (Orange) */
.target-marker .marker-core {
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.target-marker .marker-ring {
  border: 1.2px solid var(--primary);
}

@keyframes pulseMarkerRing {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.0);
    opacity: 0;
  }
}

/* Animated Crawling route lines */
.export-route-line-leaflet {
  stroke-dasharray: 8, 8;
  animation: crawlRoute 30s linear infinite;
  pointer-events: none; /* Let pointer events pass to map */
  transition: stroke 0.4s ease, stroke-width 0.4s ease;
}

.export-route-line-leaflet.highlighted {
  animation: crawlRouteActive 15s linear infinite;
}

@keyframes crawlRoute {
  to {
    stroke-dashoffset: -1000;
  }
}

@keyframes crawlRouteActive {
  to {
    stroke-dashoffset: -1000;
  }
}

/* Tooltips styling override for Leaflet */
.map-tooltip-source {
  background-color: #10b981 !important;
  color: #fff !important;
  border: none !important;
  font-family: var(--font-primary), sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.5px !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4) !important;
  pointer-events: none;
}

.map-tooltip-target {
  background-color: #f15a24 !important;
  color: #fff !important;
  border: none !important;
  font-family: var(--font-primary), sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.5px !important;
  border-radius: 20px !important;
  padding: 4px 12px !important;
  box-shadow: 0 4px 16px rgba(241, 90, 36, 0.45) !important;
  white-space: nowrap !important;
  pointer-events: none;
}

/* Hide the Leaflet tooltip arrow/tip for target markers */
.map-tooltip-target::before {
  display: none !important;
}

/* Floating Glass Details Console */
.export-floating-dashboard {
  display: none !important;
  position: absolute;
  bottom: 24px;
  left: 24px;
  width: 320px;
  z-index: 10;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto; /* Let clicks pass to map underneath */
}

/* Custom Leaflet Popup Styles */
.map-leaflet-popup-custom .leaflet-popup-content-wrapper {
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
  font-family: inherit !important;
}

.map-leaflet-popup-custom .leaflet-popup-content {
  margin: 0 !important;
  line-height: inherit !important;
}

.map-leaflet-popup-custom .leaflet-popup-tip {
  background: rgba(15, 23, 42, 0.95) !important;
  box-shadow: none !important;
}

.map-custom-popup {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
}

.map-custom-popup .popup-stat {
  align-self: flex-start;
  background: rgba(241, 90, 36, 0.15);
  border: 1px solid rgba(241, 90, 36, 0.3);
  color: #f15a24;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.map-custom-popup .popup-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.map-custom-popup .popup-desc {
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.4;
  margin: 0;
}

.export-floating-dashboard .dashboard-badge {
  display: inline-block;
  background: rgba(241, 90, 36, 0.12);
  border: 1px solid rgba(241, 90, 36, 0.25);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.export-floating-dashboard .dashboard-title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 8px 0;
}

.export-floating-dashboard .dashboard-divider {
  width: 40px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 12px;
  border-radius: 2px;
}

.export-floating-dashboard .dashboard-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Pills Selectors */
.export-pills-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.export-pill-btn {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 10px 22px;
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.export-pill-btn:hover, .export-pill-btn.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px rgba(241, 90, 36, 0.15);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
  transition: background 0.3s ease;
}

.export-pill-btn.active .pill-dot {
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

/* Customize Leaflet Controls */
.leaflet-bar {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.leaflet-bar a {
  background-color: rgba(15, 23, 42, 0.9) !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.2s ease;
}

.leaflet-bar a:hover {
  background-color: var(--primary) !important;
  color: #fff !important;
}

/* Responsive */
@media (max-width: 768px) {
  .export-map-wrapper {
    height: 400px;
  }
  
  .export-floating-dashboard {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 25px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
    pointer-events: auto;
  }
}

@media (max-width: 576px) {
  .home-export-section {
    padding: 60px 0;
  }
  
  .export-map-wrapper {
    border-radius: 16px;
    height: 350px;
  }
  
  .export-pill-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .export-floating-dashboard {
    padding: 18px;
  }
  
  .export-floating-dashboard .dashboard-title {
    font-size: 1.15rem;
  }
  
  .export-floating-dashboard .dashboard-desc {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   Process Flow Chart Section (Interactive Industrial Pipeline Stepper)
   ========================================================================== */
.home-process-section {
  background: #f8fafc;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.process-bg-accent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(241, 90, 36, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.process-pipeline-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Horizontal Track with Nodes */
.pipeline-track-container {
  position: relative;
  width: 100%;
  padding: 30px 10px 40px 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) rgba(226, 232, 240, 0.6);
}

.pipeline-track-container::-webkit-scrollbar {
  height: 6px;
}

.pipeline-track-container::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.pipeline-track-container::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 10px;
}

.pipeline-nodes-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 1100px;
  position: relative;
  z-index: 2;
}

/* Connecting Line Behind Nodes */
.pipeline-progress-line {
  position: absolute;
  top: 50px;
  left: 50px;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary) 0%, #ff8c00 100%);
  z-index: 1;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(241, 90, 36, 0.4);
}

.pipeline-track-container::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 50px;
  right: 50px;
  height: 4px;
  background: #cbd5e1;
  z-index: 0;
  border-radius: 2px;
}

/* Pipeline Step Node */
.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  width: 75px;
  user-select: none;
  transition: transform 0.3s ease;
}

.pipeline-node:hover {
  transform: translateY(-4px);
}

.node-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.node-step-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: #64748b;
}

.node-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Node States: Active & Completed */
.pipeline-node.active .node-circle {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(241, 90, 36, 0.5);
  transform: scale(1.15);
}

.pipeline-node.active .node-step-num {
  color: #ffffff;
}

.pipeline-node.active .node-pulse-ring {
  opacity: 1;
  transform: scale(1);
  animation: nodePulse 2s infinite ease-out;
}

.pipeline-node.completed .node-circle {
  background: #ffffff;
  border-color: var(--primary);
}

.pipeline-node.completed .node-step-num {
  color: var(--primary);
}

.node-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-align: center;
  line-height: 1.25;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pipeline-node.active .node-label {
  color: var(--primary);
  font-weight: 800;
}

@keyframes nodePulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Featured Step Spotlight Display Box */
.process-spotlight-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.spotlight-media-col {
  position: relative;
  width: 100%;
  height: 380px;
  background: #0f172a;
  overflow: hidden;
}

.spotlight-media-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.process-spotlight-box:hover .spotlight-media-col img {
  transform: scale(1.04);
}

.spotlight-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.spotlight-badge span {
  color: #94a3b8;
  font-size: 0.75rem;
  margin-right: 6px;
}

.spotlight-badge strong {
  color: var(--primary);
  font-size: 1.1rem;
}

.spotlight-content-col {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-phase-tag {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.spotlight-title {
  color: #0f172a;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 15px 0;
}

.spotlight-divider {
  width: 50px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 20px;
}

.spotlight-desc {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 35px 0;
}

.spotlight-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.spotlight-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.spotlight-nav-btn:hover:not(:disabled) {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(241, 90, 36, 0.25);
  transform: translateY(-2px);
}

.spotlight-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

/* Responsive */
@media (max-width: 992px) {
  .process-spotlight-box {
    grid-template-columns: 1fr;
  }
  .spotlight-media-col {
    height: 280px;
  }
  .spotlight-content-col {
    padding: 30px;
  }
  .spotlight-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .home-process-section {
    padding: 60px 0;
  }
  .spotlight-content-col {
    padding: 20px;
  }
  .spotlight-title {
    font-size: 1.35rem;
  }
  .spotlight-desc {
    font-size: 0.92rem;
  }
  .spotlight-actions {
    flex-direction: column;
    width: 100%;
  }
  .spotlight-nav-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Plant Tour Video Showcase Section
   ========================================================================== */
.home-video-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: #0f172a;
  color: #ffffff;
}

.video-bg-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 177.77vh;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.video-bg-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0.85;
  filter: contrast(1.05) saturate(1.1);
}

.video-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.35) 50%, rgba(15, 23, 42, 0.6) 100%);
  z-index: 2;
}

.video-content-box {
  max-width: 850px;
  margin: 0 auto;
}

.video-play-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-bottom: 25px;
  outline: none;
}

.play-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(241, 90, 36, 0.6);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.video-play-btn:hover .play-icon-circle {
  transform: scale(1.12);
  background: #ff6b35;
}

.play-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: playPulse 2s infinite ease-out;
  pointer-events: none;
  z-index: 1;
}

@keyframes playPulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.7); opacity: 0; }
}

.video-section-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.25;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.video-section-desc {
  font-size: 1.1rem;
  color: #f1f5f9;
  line-height: 1.7;
  margin-bottom: 45px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.video-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 22px 35px;
  margin-top: 20px;
}

.video-stat-item {
  text-align: center;
}

.video-stat-item .stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.video-stat-item .stat-lbl {
  font-size: 0.82rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.video-stat-divider {
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.15);
}

/* Fullscreen Video Modal */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  padding: 20px;
}

.video-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.video-modal-iframe-wrap {
  width: 100%;
  height: 100%;
}

.video-modal-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  transition: color 0.2s ease;
}

.video-modal-close:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .home-video-section {
    padding: 80px 0;
  }
  .video-section-title {
    font-size: 1.8rem;
  }
  .video-stats-bar {
    flex-direction: column;
    gap: 18px;
    padding: 20px;
  }
  .video-stat-divider {
    width: 60px;
    height: 1px;
  }
}

/* ==========================================================================
   Modern Scroll Reveal (Section: Bottom-to-Top, Inner Cards: Left-to-Right)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Inner Content & Grid Items Entrance: Left to Right */
.slide-left-to-right {
  opacity: 0 !important;
  transform: translateX(-75px) !important;
  transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1), transform 1.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

.slide-left-to-right.revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Stagger Delays for Left-to-Right Inner Items */
.slide-left-to-right:nth-child(1) { transition-delay: 0.12s !important; }
.slide-left-to-right:nth-child(2) { transition-delay: 0.28s !important; }
.slide-left-to-right:nth-child(3) { transition-delay: 0.44s !important; }
.slide-left-to-right:nth-child(4) { transition-delay: 0.60s !important; }
.slide-left-to-right:nth-child(5) { transition-delay: 0.76s !important; }
.slide-left-to-right:nth-child(6) { transition-delay: 0.92s !important; }
.slide-left-to-right:nth-child(7) { transition-delay: 1.08s !important; }
.slide-left-to-right:nth-child(8) { transition-delay: 1.24s !important; }

/* Interactive Hover Lift */
.slide-left-to-right.revealed:hover {
  transform: translateY(-8px) scale(1.015) !important;
}

/* Homepage About Us - Pillars Showcase */
.about-pillars-column {
  width: 100%;
}

.about-pillars-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-pillar-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.about-pillar-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
  color: #f1f5f9;
  line-height: 1.7;
  margin-bottom: 45px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.video-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 22px 35px;
  margin-top: 20px;
}

.video-stat-item {
  text-align: center;
}

.video-stat-item .stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.video-stat-item .stat-lbl {
  font-size: 0.82rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.video-stat-divider {
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.15);
}

/* Fullscreen Video Modal */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  padding: 20px;
}

.video-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.video-modal-iframe-wrap {
  width: 100%;
  height: 100%;
}

.video-modal-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  transition: color 0.2s ease;
}

.video-modal-close:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .home-video-section {
    padding: 80px 0;
  }
  .video-section-title {
    font-size: 1.8rem;
  }
  .video-stats-bar {
    flex-direction: column;
    gap: 18px;
    padding: 20px;
  }
  .video-stat-divider {
    width: 60px;
    height: 1px;
  }
}

/* ==========================================================================
   Modern Scroll Reveal (Section: Bottom-to-Top, Inner Cards: Left-to-Right)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Inner Content & Grid Items Entrance: Left to Right */
.slide-left-to-right {
  opacity: 0 !important;
  transform: translateX(-75px) !important;
  transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1), transform 1.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

.slide-left-to-right.revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Stagger Delays for Left-to-Right Inner Items */
.slide-left-to-right:nth-child(1) { transition-delay: 0.12s !important; }
.slide-left-to-right:nth-child(2) { transition-delay: 0.28s !important; }
.slide-left-to-right:nth-child(3) { transition-delay: 0.44s !important; }
.slide-left-to-right:nth-child(4) { transition-delay: 0.60s !important; }
.slide-left-to-right:nth-child(5) { transition-delay: 0.76s !important; }
.slide-left-to-right:nth-child(6) { transition-delay: 0.92s !important; }
.slide-left-to-right:nth-child(7) { transition-delay: 1.08s !important; }
.slide-left-to-right:nth-child(8) { transition-delay: 1.24s !important; }

/* Interactive Hover Lift */
.slide-left-to-right.revealed:hover {
  transform: translateY(-8px) scale(1.015) !important;
}

/* ==========================================================================
   Homepage Highlights & Videos Section Styles
   ========================================================================== */
.video-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 22px 35px;
  margin-top: 20px;
}

.video-stat-item {
  text-align: center;
}

.video-stat-item .stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.video-stat-item .stat-lbl {
  font-size: 0.82rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.video-stat-divider {
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.15);
}

/* Fullscreen Video Modal */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  padding: 20px;
}

.video-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.video-modal-iframe-wrap {
  width: 100%;
  height: 100%;
}

.video-modal-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  transition: color 0.2s ease;
}

.video-modal-close:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .home-video-section {
    padding: 80px 0;
  }
  .video-section-title {
    font-size: 1.8rem;
  }
  .video-stats-bar {
    flex-direction: column;
    gap: 18px;
    padding: 20px;
  }
  .video-stat-divider {
    width: 60px;
    height: 1px;
  }
}

/* ==========================================================================
   Modern Scroll Reveal (Section: Bottom-to-Top, Inner Cards: Left-to-Right)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Inner Content & Grid Items Entrance: Left to Right */
.slide-left-to-right {
  opacity: 0 !important;
  transform: translateX(-75px) !important;
  transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1), transform 1.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

.slide-left-to-right.revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Stagger Delays for Left-to-Right Inner Items */
.slide-left-to-right:nth-child(1) { transition-delay: 0.12s !important; }
.slide-left-to-right:nth-child(2) { transition-delay: 0.28s !important; }
.slide-left-to-right:nth-child(3) { transition-delay: 0.44s !important; }
.slide-left-to-right:nth-child(4) { transition-delay: 0.60s !important; }
.slide-left-to-right:nth-child(5) { transition-delay: 0.76s !important; }
.slide-left-to-right:nth-child(6) { transition-delay: 0.92s !important; }
.slide-left-to-right:nth-child(7) { transition-delay: 1.08s !important; }
.slide-left-to-right:nth-child(8) { transition-delay: 1.24s !important; }

/* Interactive Hover Lift */
.slide-left-to-right.revealed:hover {
  transform: translateY(-8px) scale(1.015) !important;
}

/* ==========================================================================
   Homepage About Us - Premium Pillars Showcase Grid
   ========================================================================== */
.about-pillars-column {
  width: 100%;
}

.about-pillars-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}


.about-pillar-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0px;
  background: var(--primary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-pillar-card:hover {
  transform: translateY(-4px) translateX(-4px);
  box-shadow: 0 15px 35px rgba(241, 90, 36, 0.08);
  border-color: rgba(241, 90, 36, 0.2);
}

.about-pillar-card:hover::before {
  width: 4px;
}

.about-pillar-bg-number {
  position: absolute;
  right: 15px;
  bottom: -15px;
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(241, 90, 36, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: all 0.4s ease;
}

.about-pillar-card:hover .about-pillar-bg-number {
  color: rgba(241, 90, 36, 0.06);
  transform: scale(1.05);
}

.about-pillar-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(241, 90, 36, 0.06);
  border: 1px solid rgba(241, 90, 36, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
  z-index: 2;
}

.about-pillar-card:hover .about-pillar-icon-wrapper {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(241, 90, 36, 0.3);
}

.about-pillar-icon {
  font-size: 1.35rem;
  transition: all 0.3s ease;
}

.about-pillar-card:hover .about-pillar-icon {
  transform: scale(1.1) rotate(5deg);
}

.about-pillar-content {
  flex: 1;
  z-index: 2;
}

.about-pillar-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 6px 0;
  transition: color 0.3s ease;
  letter-spacing: -0.01em;
}

.about-pillar-card:hover h3 {
  color: var(--primary);
}

.about-pillar-content p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* WordPress Admin Bar Compatibility */
body.admin-bar header {
  top: 32px !important;
}
@media (max-width: 782px) {
  body.admin-bar header {
    top: 46px !important;
  }
}


/* =============================================================
   Process Flow Section
   ============================================================= */
.process-flow-section {
  padding: 90px 0 80px;
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.process-flow-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--primary));
}

.process-flow-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.process-flow-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--heading);
  margin: 12px 0 20px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.process-flow-intro {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 56px;
}

.process-step-card {
  position: relative;
  padding: 32px 28px 36px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.07);
  border-right: none;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.process-step-card:last-child {
  border-right: 1px solid rgba(0,0,0,0.07);
}

.process-step-card:hover {
  background: #fafbff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  z-index: 2;
}

.step-number-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.process-step-card:hover .step-number-badge {
  transform: scale(1.1);
}

.step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
  line-height: 1.4;
}

.step-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* Connector arrow between steps */
.step-connector {
  display: none;
}

.process-flow-cta {
  text-align: center;
}

@media (max-width: 1100px) {
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step-card:nth-child(2) {
    border-right: 1px solid rgba(0,0,0,0.07);
  }
  .process-step-card:nth-child(4) {
    border-right: 1px solid rgba(0,0,0,0.07);
  }
}

@media (max-width: 640px) {
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
  .process-step-card {
    border-right: 1px solid rgba(0,0,0,0.07);
    border-bottom: none;
  }
  .process-step-card:last-child {
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }
  .process-flow-header h2 {
    font-size: 1.55rem;
  }
}

