/*
Theme Name: Foundation Solar Energy Limited (FSEL)
Theme URI: https://fsel.fonpv.org
Author: FSEL Development Team
Author URI: https://fsel.fonpv.org
Description: Native WordPress theme for Foundation Solar Energy Limited (FSEL) delivering turnkey EPC Solar Solutions across Pakistan.
Version: 1.0.0
Text Domain: fsel
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, featured-images, responsive-layout, theme-options, clean, enterprise
*/

/* ==========================================================================
   FOUNDATION SOLAR ENERGY LIMITED (FSEL) - VERSION 2 DESIGN SYSTEM
   Modern Enterprise Renewable Energy Design System for Web
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand Core Palette */
  --fsel-navy-900: #0a1628;
  --fsel-navy-800: #0d2240;
  --fsel-navy-700: #132e56;
  --fsel-navy-600: #1a3c6d;
  
  /* Accent Colors */
  --fsel-emerald-600: #059669;
  --fsel-emerald-500: #10b981;
  --fsel-emerald-400: #34d399;
  --fsel-emerald-glow: rgba(16, 185, 129, 0.25);
  
  --fsel-gold-500: #facc15;
  --fsel-gold-600: #eab308;
  --fsel-gold-glow: rgba(250, 204, 21, 0.25);

  /* Functional Colors */
  --fsel-slate-900: #0f172a;
  --fsel-slate-800: #1e293b;
  --fsel-slate-700: #334155;
  --fsel-slate-600: #475569;
  --fsel-slate-400: #94a3b8;
  --fsel-slate-100: #f1f5f9;
  --fsel-slate-50:  #f8fafc;
  
  /* Glassmorphism System */
  --fsel-glass-bg: rgba(13, 34, 64, 0.75);
  --fsel-glass-card: rgba(255, 255, 255, 0.04);
  --fsel-glass-border: rgba(255, 255, 255, 0.12);
  --fsel-glass-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #ffffff;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
h4 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); }

p {
  color: #475569;
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
}

/* Navigation Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: var(--transition-normal);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #f1f5f9;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #2563eb;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  background: #fde047;
  box-shadow: 0 8px 25px rgba(250, 204, 21, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Drawer Navigation */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #ffffff;
  z-index: 1000;
  padding: 2.5rem 1.75rem;
  transition: var(--transition-normal);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer.active { right: 0; }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.mobile-close-btn {
  background: #f1f5f9;
  border: none;
  color: #0f172a;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-links a {
  font-size: 1.15rem;
  font-weight: 600;
  color: #334155;
}

.mobile-nav-links a.active { color: #2563eb; }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   GOVERNANCE / BOARD OF DIRECTORS PAGE STYLING (1:1 REPLICA OF fsel.pk/bod)
   ========================================================================== */

/* Hero Header on /bod */
.bod-hero-section {
  position: relative;
  background: linear-gradient(135deg, #0a1628 0%, #0d2240 50%, #0f2d5a 100%);
  padding: 7rem 1.5rem 4.5rem;
  text-align: center;
  overflow: hidden;
}

.bod-hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 48px 48px;
}

.bod-hero-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 16px;
}

.bod-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.bod-hero-line {
  width: 96px;
  height: 4px;
  background: linear-gradient(to right, #1d4ed8, #facc15);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.bod-hero-desc {
  font-size: 1.1rem;
  color: #93c5fd;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Light & Dark Section Backgrounds */
.bod-section-light {
  padding: 5rem 0;
  background: #f8fafc;
}

.bod-section-dark {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #0a1628 0%, #0d2240 60%, #0f2d5a 100%);
  position: relative;
  overflow: hidden;
}

.bod-dark-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Section Header Block (fp component) */
.bod-header-block {
  margin-bottom: 3.5rem;
}

.bod-header-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.bod-header-label.dark { color: #1e3a8a; }
.bod-header-label.light { color: #facc15; }

.bod-header-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}

.bod-header-title.dark { color: #0a1628; }
.bod-header-title.light { color: #ffffff; }

.bod-header-line {
  width: 56px;
  height: 3px;
  background: linear-gradient(to right, #1d4ed8, #facc15);
  border-radius: 2px;
  margin: 0 auto 16px;
}

.bod-header-subtitle {
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.bod-header-subtitle.dark { color: #475569; }
.bod-header-subtitle.light { color: #94a3b8; }

/* Executive Leadership Cards (lp component) */
.bod-exec-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(13, 34, 64, 0.08);
  border: 1px solid #e2e8f0;
  padding: 3rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .bod-exec-card { padding: 1.75rem; }
}

.bod-exec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 769px) {
  .bod-exec-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bod-exec-content-col.content-left {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .bod-exec-photo-col.photo-right {
    grid-column: 3 / 4;
    grid-row: 1;
  }

  .bod-exec-photo-col.photo-left {
    grid-column: 1 / 2;
    grid-row: 1;
  }

  .bod-exec-content-col.content-right {
    grid-column: 2 / 4;
    grid-row: 1;
  }
}

.bod-exec-name {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.bod-exec-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563eb;
  background: #eff6ff;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #dbeafe;
}

.bod-exec-accent-bar {
  width: 48px;
  height: 3px;
  background: #facc15;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.bod-exec-bio {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
}

.bod-exec-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.bod-exec-photo-frame {
  width: 220px;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border: 4px solid #ffffff;
}

.bod-exec-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bod-exec-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 20px;
  background: #f1f5f9;
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bod-exec-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* Separator Row (dp component) */
.bod-separator-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
}

.bod-separator-line {
  height: 1px;
  width: 120px;
  background: linear-gradient(to right, transparent, #cbd5e1, transparent);
}

.bod-separator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
}

.bod-gradient-divider {
  height: 3px;
  background: linear-gradient(to right, #1d4ed8, #facc15, #1d4ed8);
}

/* Management Team 3-Col Grid (ap component) */
.bod-team-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .bod-team-grid-3 { grid-template-columns: 1fr; }
}

.bod-team-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.bod-team-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(250, 204, 21, 0.3);
}

.bod-team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #facc15;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  margin-bottom: 1.25rem;
}

.bod-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bod-team-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.bod-team-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 0.85rem;
}

.bod-team-shortbio {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bod-team-btn {
  margin-top: auto;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bod-team-btn:hover {
  background: #facc15;
  color: #0a1628;
  border-color: #facc15;
}

.bod-team-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 3.5rem;
}

/* Key Operational Leads 5-Col Grid (op component) */
.bod-leads-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .bod-leads-grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 576px) {
  .bod-leads-grid-5 { grid-template-columns: repeat(2, 1fr); }
}

.bod-lead-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.bod-lead-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(96, 165, 250, 0.4);
}

.bod-lead-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #60a5fa;
  margin: 0 auto 0.85rem;
}

.bod-lead-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bod-lead-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.bod-lead-role {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* ==========================================================================
   EXACT 1:1 SERVICES PAGE STYLING (REPLICATED FROM fsel.pk/services)
   ========================================================================== */

/* Hero Header on /services */
.svc-hero-section {
  position: relative;
  background: linear-gradient(135deg, #0a1628 0%, #0d2240 50%, #0f2d5a 100%);
  padding: 7rem 1.5rem 4.5rem;
  text-align: center;
  overflow: hidden;
}

.svc-hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 48px 48px;
}

.svc-hero-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 16px;
}

.svc-hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.svc-hero-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #3b82f6, #facc15);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.svc-hero-desc {
  font-size: 1rem;
  color: #93c5fd;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Section 1: Why Solar Energy (White Background) */
.svc-section-white {
  padding: 5rem 0;
  background: #ffffff;
}

.svc-why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

@media (max-width: 768px) {
  .svc-why-split { grid-template-columns: 1fr; gap: 2rem; }
}

.svc-text-p {
  font-size: 15px;
  color: #475569;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.svc-why-img-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13, 34, 64, 0.12);
  border: 1px solid #e8f0fe;
}

.svc-why-img-frame img {
  width: 100%;
  display: block;
}

/* 4 Benefit Cards Grid */
.svc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 5rem;
}

@media (max-width: 992px) {
  .svc-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .svc-benefits-grid { grid-template-columns: 1fr; }
}

.svc-benefit-card {
  background: #f8faff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8f0fe;
  transition: all 0.3s ease;
}

.svc-benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13, 34, 64, 0.12);
}

.svc-benefit-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.svc-benefit-content {
  padding: 1.25rem;
}

.svc-benefit-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 8px;
}

.svc-benefit-content p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

/* How Solar Works Pills Grid */
.svc-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .svc-how-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .svc-how-grid { grid-template-columns: 1fr; }
}

.svc-how-pill {
  padding: 1rem;
  background: #eff6ff;
  border-radius: 12px;
  border: 1px solid #dbeafe;
  font-size: 13px;
  font-weight: 600;
  color: #1e3a8a;
}

/* Section 2: Interactive Services Breakdown Tabs Section */
.svc-tab-section {
  padding: 5rem 0;
  background: #f8faff;
}

.svc-tabs-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(13, 34, 64, 0.12);
  min-height: 560px;
  background: #ffffff;
}

@media (max-width: 992px) {
  .svc-tabs-wrapper { grid-template-columns: 1fr; }
}

.svc-tab-sidebar {
  background: #0a1628;
  padding: 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.svc-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.svc-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.svc-tab-btn.active {
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: #facc15;
}

.svc-tab-display {
  display: flex;
  flex-direction: column;
}

.svc-tab-hero {
  position: relative;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
}

.svc-tab-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 20, 48, 0.35) 0%, rgba(8, 20, 48, 0.88) 100%);
}

.svc-tab-hero-content {
  position: relative;
  z-index: 1;
}

.svc-tab-tagline {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #facc15;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
}

.svc-tab-title {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.svc-tab-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 700px;
}

.svc-tab-items-grid {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  background: #ffffff;
}

@media (max-width: 640px) {
  .svc-tab-items-grid { grid-template-columns: 1fr; }
}

.svc-item-box {
  padding: 1.25rem;
  border-radius: 14px;
  background: #f8faff;
  border: 1px solid #e8f0fe;
}

.svc-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.svc-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #facc15;
  flex-shrink: 0;
}

.svc-item-header h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0a1628;
  line-height: 1.3;
}

.svc-item-box p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.65;
  padding-left: 16px;
}

/* Section 3: Microgrid Solutions (Screenshot 1) */
.svc-microgrid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .svc-microgrid-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.svc-microgrid-pills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .svc-microgrid-pills-grid { grid-template-columns: 1fr; }
}

.svc-mg-pill {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #f0f6ff;
  border-radius: 10px;
  border: 1px solid #dbeafe;
}

.svc-mg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1d4ed8;
  flex-shrink: 0;
  margin-top: 6px;
}

.svc-mg-pill span {
  font-size: 13px;
  font-weight: 600;
  color: #1e3a8a;
  line-height: 1.4;
}

/* Section 4: Battery Energy Storage System (BESS) (Exact Height & Space Alignment) */
.svc-section-dark {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #0a1628 0%, #0d2240 60%, #0f2d5a 100%);
  position: relative;
  overflow: hidden;
}

.svc-bess-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .svc-bess-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .svc-bess-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.svc-bess-img-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: space-between;
}

.svc-bess-img-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  background: #0d2240;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-bess-img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  display: block;
}

.svc-bess-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-bess-intro-p {
  font-size: 14.5px;
  color: #bfdbfe;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.svc-bess-heading-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #facc15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.svc-bess-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.svc-bess-bullet-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.svc-bess-square {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: #facc15;
  flex-shrink: 0;
  margin-top: 8px;
}

.svc-bess-bullet-row span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.svc-bess-highlight-box {
  background: rgba(250, 204, 21, 0.06);
  border: 1px solid rgba(250, 204, 21, 0.25);
  border-radius: 14px;
  padding: 16px 20px;
}

.svc-bess-highlight-box p {
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.7;
}

/* Section 5: The Process Stepper System (Exact Replica of Screenshot 2) */
.svc-section-blue {
  padding: 5rem 0;
  background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 60%, #e0f2fe 100%);
}

.svc-stepper-bar-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2.25rem;
  padding: 0.5rem 0;
}

.svc-stepper-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  margin: 0 auto;
}

.svc-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 0 4px;
}

.svc-step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #bfdbfe;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.svc-step-circle span {
  font-size: 13px;
  font-weight: 700;
  color: #93c5fd;
}

.svc-step-node.completed .svc-step-circle {
  border: 3px solid #1d4ed8;
  background: #dbeafe;
}

.svc-step-node.active .svc-step-circle {
  border: 3px solid #1d4ed8;
  background: #1d4ed8;
  box-shadow: 0 0 0 6px rgba(29, 78, 216, 0.15);
}

.svc-step-node.active .svc-step-circle span {
  color: #ffffff;
}

.svc-step-name {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.svc-step-node.active .svc-step-name {
  font-weight: 700;
  color: #1d4ed8;
}

.svc-step-line {
  width: 140px;
  height: 2px;
  margin-bottom: 24px;
  background: #bfdbfe;
  transition: background 0.4s ease;
  flex-shrink: 0;
}

.svc-step-line.completed {
  background: #1d4ed8;
}

@media (max-width: 768px) {
  .svc-step-line { width: 40px; }
}

/* Active Process Step Card */
.svc-process-card-display {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13, 34, 64, 0.1);
}

.svc-process-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
}

@media (max-width: 768px) {
  .svc-process-card-inner { grid-template-columns: 1fr; }
}

.svc-process-card-image {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

.svc-process-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 20, 48, 0.4) 0%, rgba(8, 20, 48, 0.1) 100%);
}

.svc-process-card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #facc15;
  color: #0a1628;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
}

.svc-process-card-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 640px) {
  .svc-process-card-body { padding: 1.75rem; }
}

.svc-process-counter {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1d4ed8;
  margin-bottom: 12px;
}

.svc-process-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 8px;
  line-height: 1.2;
}

.svc-process-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 14px;
}

.svc-process-accent-line {
  width: 40px;
  height: 3px;
  background: #facc15;
  border-radius: 2px;
  margin-bottom: 18px;
}

.svc-process-detail-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
}

.svc-process-nav-btns {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.svc-process-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 12px;
  border: 1.5px solid #bfdbfe;
  background: transparent;
  color: #1d4ed8;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.svc-process-nav-btn:hover:not(.disabled) {
  background: #eff6ff;
  border-color: #1d4ed8;
}

.svc-process-nav-btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: #cbd5e1;
  color: #94a3b8;
}

/* Section 6: Quote Form ("Don't Know What To Start With?") (Screenshot 3) */
.svc-quote-section {
  padding: 5.5rem 0;
  background: #eff6ff;
}

.svc-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .svc-quote-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.svc-quote-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.svc-quote-subtitle {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #334155;
}

.svc-quote-desc {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
}

.svc-quote-line {
  margin-top: 2rem;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #1d4ed8, #facc15);
  border-radius: 9999px;
}

.svc-quote-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  border: 1px solid #1e40af;
}

.svc-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #bfdbfe;
  margin-bottom: 0.35rem;
}

.svc-input, .svc-select, .svc-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #1d4ed8;
  background: #1e293b;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.svc-input::placeholder, .svc-textarea::placeholder {
  color: #94a3b8;
}

.svc-input:focus, .svc-select:focus, .svc-textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

.svc-submit-btn {
  width: 100%;
  padding: 0.9rem;
  border-radius: 14px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.svc-submit-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* Modal Popup System */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: 24px;
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  color: #0f172a;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f1f5f9;
  border: none;
  color: #0f172a;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating AI Chat Assistant Widget */
.ai-widget-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-normal);
}

.ai-widget-btn:hover { transform: scale(1.1); }

.ai-chat-window {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 1500;
  width: 360px;
  max-width: calc(100vw - 3rem);
  height: 480px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.ai-chat-window.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ai-chat-header {
  background: #0f172a;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #f8fafc;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.chat-bubble.bot {
  background: #e2e8f0;
  color: #0f172a;
  align-self: flex-start;
}

.chat-bubble.user {
  background: #2563eb;
  color: #ffffff;
  align-self: flex-end;
}

.ai-chat-footer {
  padding: 0.85rem;
  background: #ffffff;
  display: flex;
  gap: 0.5rem;
  border-top: 1px solid #e2e8f0;
}

/* Footer Section */
.footer {
  background: #0a1628;
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #94a3b8;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.footer-links a:hover { color: #60a5fa; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: #64748b;
}


/* ==========================================================================
   EXACT 1:1 PORTFOLIO PAGE STYLING (REPLICATED FROM fsel.pk/projects)
   ========================================================================== */

/* Hero Header on /projects */
.port-hero-section {
  position: relative;
  background: linear-gradient(135deg, #0a1628 0%, #0d2240 50%, #0f2d5a 100%);
  padding: 7rem 1.5rem 4.5rem;
  text-align: center;
  overflow: hidden;
}

.port-hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 48px 48px;
}

.port-hero-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 16px;
}

.port-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.port-hero-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #3b82f6, #facc15);
  border-radius: 2px;
  margin: 0 auto 28px;
}

.port-hero-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.port-hero-badge-line {
  height: 1px;
  width: 40px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.port-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 40px;
  padding: 10px 20px;
}

.port-hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #facc15;
  flex-shrink: 0;
}

.port-hero-pill span {
  font-size: clamp(13px, 3vw, 15px);
  font-weight: 600;
  color: #facc15;
  letter-spacing: 0.04em;
}

.port-hero-desc {
  font-size: 1rem;
  color: #93c5fd;
  max-width: 500px;
  margin: 16px auto 0;
  line-height: 1.75;
}

/* Section 1: By the Numbers / Our Impact at a Glance */
.port-numbers-section {
  background: linear-gradient(135deg, #0d2240 0%, #0f2d5a 50%, #0d2240 100%);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.port-numbers-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 32px 32px;
}

.port-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .port-stats-grid { grid-template-columns: 1fr 1fr; }
}

.port-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.port-stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(250, 204, 21, 0.3);
}

.port-stat-num {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #facc15;
  line-height: 1.1;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.port-stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #93c5fd;
  line-height: 1.4;
}

/* Section 2: Across Sectors Projects Showcase Grid */
.port-projects-section {
  background: #0a1628;
  padding: 5.5rem 1.5rem;
}

.port-sector-block {
  margin-bottom: 4.5rem;
}

.port-sector-block:last-child {
  margin-bottom: 0;
}

.port-sector-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.port-sector-bar {
  width: 4px;
  height: 32px;
  border-radius: 2px;
  flex-shrink: 0;
}

.port-sector-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.port-sector-title {
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.port-sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 850px) {
  .port-sector-grid { grid-template-columns: 1fr; gap: 12px; }
}

.port-featured-card {
  width: 100%;
}

.port-featured-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.port-featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.port-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,20,48,0.85) 0%, rgba(8,20,48,0.1) 60%);
}

.port-featured-caption-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
}

.port-featured-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.port-featured-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.port-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.port-slider-arrow.left { left: 12px; }
.port-slider-arrow.right { right: 12px; }

.port-slider-arrow:hover {
  background: rgba(0, 0, 0, 0.75);
}

.port-slider-dots {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 5px;
}

.port-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.port-dot.active {
  width: 18px;
}

/* 2x2 Sub-Grid for Sector Thumbnails */
.port-sub-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.port-thumb-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.port-thumb-card:hover {
  transform: scale(1.02);
}

.port-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.port-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,20,48,0.8) 0%, transparent 60%);
}

.port-thumb-content {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
}

.port-thumb-badge {
  font-size: 9px;
  font-weight: 700;
  color: #0a1628;
  padding: 2px 6px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 3px;
}

.port-thumb-title {
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.port-sector-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 4.5rem 0;
}

/* Section 3: Trusted By Partners Logo Marquee Carousel */
.port-partners-section {
  background: #ffffff;
  padding: 4rem 0;
  overflow: hidden;
}

.port-marquee-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.port-marquee-track {
  display: flex;
  width: max-content;
  animation: scrollLeftMarquee 20s linear infinite;
}

.port-marquee-wrapper:hover .port-marquee-track {
  animation-play-state: paused;
}

@keyframes scrollLeftMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.port-partner-logo {
  flex-shrink: 0;
  width: 160px;
  height: 80px;
  margin: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .port-partner-logo { width: 110px; height: 56px; margin: 0 20px; }
}

.port-partner-logo img {
  max-width: 140px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.port-partner-logo img:hover {
  filter: grayscale(0%);
  transform: scale(1.08);
}


/* ==========================================================================
   EXACT 1:1 CONTACT US PAGE STYLING (REPLICATED FROM fsel.pk/contact)
   ========================================================================== */

.cnt-hero-section {
  position: relative;
  background: linear-gradient(135deg, #0a1628 0%, #0d2240 50%, #0f2d5a 100%);
  padding: 80px 24px 72px;
  text-align: center;
  overflow: hidden;
}

.cnt-hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 48px 48px;
}

.cnt-hero-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 16px;
}

.cnt-hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cnt-hero-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #3b82f6, #facc15);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.cnt-hero-desc {
  font-size: 1.05rem;
  color: #93c5fd;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.75;
}

.cnt-form-section {
  background: #f8faff;
  padding: 80px 24px 48px;
}

@media (max-width: 768px) {
  .cnt-form-section { padding: 48px 16px 32px; }
}

.cnt-form-card {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0a1628 0%, #0d2240 100%);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(13, 34, 64, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .cnt-form-card { padding: 28px 20px; }
}

.cnt-form-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 6px;
}

.cnt-form-title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.cnt-form-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cnt-form-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cnt-field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.cnt-input, .cnt-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.cnt-input:focus, .cnt-textarea:focus {
  border-color: #facc15;
}

.cnt-submit-btn {
  width: 100%;
  padding: 14px;
  background: #facc15;
  color: #0a1628;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cnt-submit-btn:hover {
  background: #fde047;
}

.cnt-offices-section {
  background: #f8faff;
  padding: 48px 24px 80px;
}

@media (max-width: 768px) {
  .cnt-offices-section { padding: 32px 16px 56px; }
}

.cnt-offices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 850px) {
  .cnt-offices-grid { grid-template-columns: 1fr; gap: 40px; }
}

.cnt-office-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cnt-office-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid #e8f0fe;
  box-shadow: 0 8px 32px rgba(13, 34, 64, 0.07);
}

@media (max-width: 768px) {
  .cnt-office-card { padding: 24px 20px; }
}

.cnt-office-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1e3a8a;
  margin-bottom: 6px;
}

.cnt-office-title {
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 24px;
  line-height: 1.2;
}

.cnt-office-bar {
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, #1d4ed8, #facc15);
  border-radius: 2px;
  margin-bottom: 28px;
}

.cnt-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cnt-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.cnt-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: #eef4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e3a8a;
}

.cnt-info-label {
  font-size: 12px;
  font-weight: 600;
  color: #1e3a8a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.cnt-info-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
}

.cnt-info-link {
  font-size: 14px;
  color: #475569;
  display: block;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cnt-info-link:hover {
  color: #1d4ed8;
}

.cnt-map-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(13, 34, 64, 0.1);
  border: 1px solid #e8f0fe;
}

.cnt-map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .cnt-map-frame iframe { height: 240px; }
}

.cnt-map-sublabel {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 13px;
  color: #64748b;
}


/* ==========================================================================
   EXACT 1:1 ABOUT US PAGE STYLING (REPLICATED FROM fsel.pk/about)
   ========================================================================== */

.abt-hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  background: linear-gradient(135deg, #0a1628 0%, #0d2240 40%, #0f2d5a 70%, #0a1f44 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px 72px;
}

.abt-hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 48px 48px;
}

.abt-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.abt-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.abt-hero-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #3b82f6, #facc15);
  border-radius: 2px;
  margin: 0 auto 2rem;
}

.abt-hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #dbeafe;
  line-height: 1.8;
  max-width: 780px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Core Values Section */
.abt-values-section {
  padding: 4rem 1.5rem;
  background: #ffffff;
}

.abt-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.abt-value-card {
  background: #f0f6ff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.abt-value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(30, 58, 95, 0.12);
  border-color: #facc15;
}

.abt-value-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.abt-value-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.abt-value-card:hover .abt-value-img-wrap img {
  transform: scale(1.06);
}

.abt-value-title {
  padding: 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e3a5f;
  text-align: center;
}

/* Mission & Vision Section */
.abt-mv-wrapper {
  overflow: hidden;
}

.abt-mv-block-1 {
  position: relative;
  background: #0d2240;
  padding: 4rem 1.5rem;
}

.abt-mv-block-2 {
  position: relative;
  background: #102a50;
  padding: 4rem 1.5rem;
}

.abt-mv-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 48px 48px;
}

.abt-mv-radial-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 32px 32px;
}

.abt-mv-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 10;
}

@media (max-width: 640px) {
  .abt-mv-inner { flex-direction: column; gap: 1rem; }
}

.abt-mv-watermark {
  font-size: clamp(48px, 15vw, 120px);
  font-weight: 700;
  color: rgba(250, 204, 21, 0.08);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -8px;
  user-select: none;
  letter-spacing: -4px;
}

.abt-mv-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 12px;
}

.abt-mv-heading {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.abt-mv-accent-line {
  width: 40px;
  height: 3px;
  background: #facc15;
  border-radius: 2px;
  margin-bottom: 16px;
}

.abt-mv-desc {
  font-size: 1rem;
  color: #bfdbfe;
  line-height: 1.75;
  max-width: 600px;
}

.abt-mv-divider {
  height: 2px;
  background: linear-gradient(to right, #facc15 0%, #1e40af 50%, #0d2240 100%);
}

/* Why Choose Us Section */
.abt-why-section {
  padding: 5rem 1.5rem;
  background: #f9fafb;
}

.abt-why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .abt-why-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .abt-why-grid { grid-template-columns: 1fr; }
}

.abt-why-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.abt-why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(13, 34, 64, 0.08);
  border-color: #2563eb;
}

.abt-why-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #eff6ff;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.abt-why-card:hover .abt-why-icon-wrap {
  background: #1d4ed8;
  color: #ffffff;
}

.abt-why-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.abt-why-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}


/* ==========================================================================
   ELEGANT & ATTRACTIVE CORE VALUES SYSTEM FOR ABOUT US PAGE
   ========================================================================== */

.cv-section {
  position: relative;
  padding: 6rem 1.5rem;
  background: linear-gradient(135deg, #0a1628 0%, #0d2240 50%, #0f2d5a 100%);
  overflow: hidden;
}

.cv-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 48px 48px;
}

.cv-radial-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cv-header-block {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.cv-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 12px;
}

.cv-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cv-title span {
  color: #facc15;
}

.cv-line {
  width: 64px;
  height: 3px;
  background: linear-gradient(to right, #3b82f6, #facc15);
  border-radius: 2px;
  margin: 0 auto;
}

/* Core Values 7 Cards Showcase Layout */
.cv-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .cv-cards-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

.cv-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cv-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(250, 204, 21, 0.15);
}

.cv-card-media {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.cv-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cv-card:hover .cv-card-media img {
  transform: scale(1.1);
}

.cv-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.2) 60%);
}

.cv-number-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 22, 40, 0.75);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: #facc15;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cv-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cv-card-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

.cv-card:hover .cv-card-heading {
  color: #facc15;
}

.cv-card-desc {
  font-size: 0.925rem;
  color: #93c5fd;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.cv-card-bottom-bar {
  margin-top: auto;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, #1d4ed8, #facc15);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.cv-card:hover .cv-card-bottom-bar {
  width: 100%;
}


/* ==========================================================================
   AUTO-SCROLLABLE & CENTER-ZOOMED CORE VALUES CAROUSEL
   ========================================================================== */

.cv-zoom-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  padding: 3rem 1rem 4rem;
}

.cv-zoom-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 480px;
}

.cv-zoom-card {
  position: absolute;
  width: 360px;
  max-width: 90vw;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: scale(0.7) translateX(0);
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cv-zoom-card.active {
  opacity: 1;
  transform: scale(1.15) translateX(0);
  z-index: 10;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.09);
  border-color: #facc15;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(250, 204, 21, 0.25);
}

.cv-zoom-card.prev-1 {
  opacity: 0.55;
  transform: scale(0.85) translateX(-360px);
  z-index: 5;
  pointer-events: auto;
}

.cv-zoom-card.next-1 {
  opacity: 0.55;
  transform: scale(0.85) translateX(360px);
  z-index: 5;
  pointer-events: auto;
}

.cv-zoom-card.prev-2 {
  opacity: 0.2;
  transform: scale(0.7) translateX(-640px);
  z-index: 2;
}

.cv-zoom-card.next-2 {
  opacity: 0.2;
  transform: scale(0.7) translateX(640px);
  z-index: 2;
}

@media (max-width: 900px) {
  .cv-zoom-card.prev-1 { transform: scale(0.85) translateX(-240px); }
  .cv-zoom-card.next-1 { transform: scale(0.85) translateX(240px); }
  .cv-zoom-card.prev-2, .cv-zoom-card.next-2 { display: none; }
}

@media (max-width: 640px) {
  .cv-zoom-card { width: 300px; }
  .cv-zoom-card.active { transform: scale(1.05) translateX(0); }
  .cv-zoom-card.prev-1, .cv-zoom-card.next-1 { display: none; }
}

.cv-controls-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 20;
}

.cv-nav-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: #facc15;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cv-nav-arrow:hover {
  background: #facc15;
  color: #0a1628;
  transform: scale(1.1);
}

.cv-dots-track {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cv-zoom-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cv-zoom-dot.active {
  width: 28px;
  border-radius: 12px;
  background: #facc15;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.5);
}


/* ==========================================================================
   EXACT 1:1 HOME PAGE STYLING (REPLICATED FROM fsel.pk/)
   ========================================================================== */

/* Hero Banner with Typewriter Animation */
.hm-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a1628;
  padding: 100px 24px 60px;
}

.hm-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 34, 64, 0.92) 0%, rgba(13, 34, 64, 0.75) 50%, rgba(13, 34, 64, 0.35) 100%);
}

.hm-hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.hm-hero-textbox {
  max-width: 800px;
}

.hm-hero-h1 {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hm-hero-h1 span.gold {
  color: #facc15;
}

.hm-hero-cursor {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  background-color: #facc15;
  width: 4px;
  height: 0.85em;
  animation: cursorBlink 0.7s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hm-hero-desc {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: #dbeafe;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  opacity: 0.95;
}

/* Who We Are Section */
.hm-whoweare-section {
  padding: 6rem 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  overflow: hidden;
}

.hm-whoweare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .hm-whoweare-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hm-story-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(13, 34, 64, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.4s ease;
}

.hm-story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(13, 34, 64, 0.12);
  border-color: #2563eb;
}

.hm-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hm-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.hm-icon-blue { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
.hm-icon-gold { background: linear-gradient(135deg, #eab308, #facc15); color: #0a1628; }
.hm-icon-green { background: linear-gradient(135deg, #059669, #10b981); }

.hm-card-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #0f172a;
}

.hm-card-p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.hm-card-p:last-child {
  margin-bottom: 0;
}

.hm-right-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Operational Excellence Interactive Section */
.hm-ops-section {
  padding: 6rem 1.5rem 8rem;
  background: linear-gradient(135deg, #0a1628 0%, #0d2240 50%, #0f2d5a 100%);
  position: relative;
  overflow: hidden;
}

.hm-ops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .hm-ops-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.hm-ops-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hm-ops-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #93c5fd;
  line-height: 1.75;
  margin-bottom: 2.25rem;
  font-weight: 500;
}

.hm-ops-deck {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 380px;
  margin: 0 auto;
}

.hm-ops-deck-card {
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
  cursor: pointer;
}

.hm-ops-deck-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-ops-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.3) 60%);
}

.hm-ops-card-content {
  position: relative;
  z-index: 2;
}

.hm-ops-card-h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.hm-ops-card-p {
  font-size: 0.925rem;
  color: #e2e8f0;
  line-height: 1.6;
}

/* Solution Quote Form Section */
.hm-quote-section {
  padding: 6rem 1.5rem;
  background: #eff6ff;
}

.hm-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hm-quote-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hm-quote-h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hm-quote-h2 span.blue { color: #1d4ed8; }
.hm-quote-h2 span.yellow { color: #eab308; }

.hm-quote-desc {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.7;
}

.hm-quote-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  border: 1px solid #1e40af;
}

.hm-form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hm-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #bfdbfe;
  margin-bottom: 0.4rem;
}

.hm-form-input, .hm-form-select, .hm-form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1px solid #1d4ed8;
  background: #1e293b;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.hm-form-input:focus, .hm-form-select:focus, .hm-form-textarea:focus {
  border-color: #facc15;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.3);
}

.hm-form-submit {
  width: 100%;
  padding: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.hm-form-submit:hover {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  transform: translateY(-2px);
}


/* ==========================================================================
   ULTRA-MODERN 3D GLASS STACKED CAROUSEL FOR OPERATIONAL EXCELLENCE
   ========================================================================== */

.hm-ops-deck-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.hm-ops-deck {
  position: relative;
  width: 100%;
  height: 420px;
  perspective: 1200px;
}

.hm-ops-deck-card {
  position: absolute;
  inset: 0;
  background: #0f172a;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  cursor: pointer;
  transform-origin: center bottom;
}

.hm-ops-deck-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-ops-deck-card:hover img {
  transform: scale(1.08);
}

.hm-ops-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.4) 50%, rgba(10, 22, 40, 0.1) 100%);
}

.hm-ops-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(10, 22, 40, 0.75);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: #facc15;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hm-ops-card-content {
  position: relative;
  z-index: 5;
}

.hm-ops-card-h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.hm-ops-deck-card:hover .hm-ops-card-h3 {
  color: #facc15;
}

.hm-ops-card-p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.65;
}

/* 3D Stack Layering States */
.hm-ops-deck-card.pos-0 {
  transform: translateY(0) scale(1) rotate(0deg);
  opacity: 1;
  z-index: 10;
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 35px rgba(250, 204, 21, 0.2);
}

.hm-ops-deck-card.pos-1 {
  transform: translateY(28px) scale(0.92) rotate(-2deg);
  opacity: 0.75;
  z-index: 5;
  filter: brightness(0.85);
}

.hm-ops-deck-card.pos-2 {
  transform: translateY(56px) scale(0.84) rotate(2deg);
  opacity: 0.45;
  z-index: 2;
  filter: brightness(0.7);
}

.hm-ops-deck-card.pos-3 {
  transform: translateY(80px) scale(0.76) rotate(-1deg);
  opacity: 0.15;
  z-index: 1;
  filter: brightness(0.5);
}

/* Deck Controls & Dots */
.hm-ops-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 0 0.5rem;
}

.hm-ops-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hm-ops-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hm-ops-dot.active {
  width: 28px;
  border-radius: 12px;
  background: #facc15;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.5);
}

.hm-ops-nav-btns {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hm-ops-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: #facc15;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hm-ops-btn:hover {
  background: #facc15;
  color: #0a1628;
  transform: scale(1.1);
}
