﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   DESIGN SYSTEM — Karuj Ushaa Engineers Industries Private Limited
   Modular CSS: Any new section auto-inherits these styles.
   ============================================================ */

:root {
  /* Brand */
  --primary: #060b13;
  --primary-light: #0d1527;
  --primary-rgb: 6, 11, 19;
  --secondary: #FF4D00;
  --secondary-hover: #e64500;
  --secondary-glow: rgba(255, 77, 0, 0.4);
  --secondary-rgb: 255, 77, 0;
  --accent: #00D4FF;
  --accent-glow: rgba(0, 212, 255, 0.3);
  --accent-rgb: 0, 212, 255;

  /* Neutrals */
  --dark: #0a0f1c;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --light: #f8fafc;
  --white: #ffffff;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 56px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 40px rgba(255, 77, 0, 0.15);
  --shadow-glow-accent: 0 0 40px rgba(0, 212, 255, 0.12);

  /* Radii */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;
  --radius-full: 9999px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.4s var(--ease-out);
  --transition-fast: all 0.2s var(--ease-out);
  --transition-slow: all 0.6s var(--ease-out);

  /* Section spacing (auto-applied) */
  --section-py: clamp(4rem, 8vw, 7rem);
}

/* ====================== RESET & BASE ====================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--secondary-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* ====================== CUSTOM CURSOR ====================== */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  /* GSAP handles transform, but we center it initially */
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  will-change: transform, width, height, background;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 77, 0, 0.5);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform, width, height, border-color;
}

body:hover .cursor-dot {
  background: var(--secondary);
}

/* Interactive states managed by GSAP for better performance and control */

/* ====================== NOISE OVERLAY ====================== */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ====================== LOADER ====================== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.loader-inner {
  text-align: center;
}

.loader-logo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
}

.loader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 60px;
  filter: brightness(0) invert(1);
}

.loader-spinner {
  width: 120px;
  height: 120px;
}

.loader-spinner circle {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  animation: loaderDash 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes loaderDash {
  0% {
    stroke-dashoffset: 283;
    transform: rotate(0deg);
  }

  50% {
    stroke-dashoffset: 70;
  }

  100% {
    stroke-dashoffset: 283;
    transform: rotate(360deg);
  }
}

.loader-progress {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 1rem;
}

.loader-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s;
}

.loader-text {
  color: var(--gray-500);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

/* ====================== TOP BAR ====================== */
.top-bar {
  background: linear-gradient(90deg, var(--primary) 0%, #0c1526 100%);
  padding: 0.45rem 0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 999;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.top-bar-item:hover {
  color: var(--secondary);
}

.top-bar-item i {
  color: var(--secondary);
  font-size: 0.7rem;
}

.top-bar-right {
  display: flex;
  gap: 0.75rem;
}

.top-bar-right a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--gray-500);
  font-size: 0.8rem;
  transition: var(--transition-fast);
  background: rgba(255, 255, 255, 0.04);
}

.top-bar-right a:hover {
  color: var(--white);
  background: var(--secondary);
  transform: translateY(-1px);
}

/* ====================== NAVIGATION — LOGO PEDESTAL ====================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  position: relative;
  overflow: visible;
}

.main-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
}

/* --- Flex Layout: Left Links | Logo | Right Links --- */
.nav-inner {
  display: flex;
  align-items: center;
  padding: 0.2rem 0;
  min-height: 90px;
  position: relative;
  z-index: 2;
}

/* ---- Logo Pedestal ---- */
.logo-pedestal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 0.4s var(--ease-out), margin 0.4s var(--ease-out);
  flex-shrink: 0;
  text-decoration: none;
  margin-top: 0;
}

/* Logo Wrapper - keeps Ring and Image aligned */
.logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  transition: transform 0.4s var(--ease-out);
  flex-shrink: 0;
  transform-origin: center center;
}

/* Glow ring container */
.logo-glow-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  transition: all 0.5s var(--ease-out);
}

.logo-ring-svg {
  width: 100%;
  height: 100%;
  animation: logoRingRotate 6s linear infinite;
}

.logo-ring-circle {
  fill: none;
  stroke: url(#logoRingGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 12 8;
  filter: drop-shadow(0 0 6px rgba(255, 77, 0, 0.4));
}

@keyframes logoRingRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Logo image */
.logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  background: var(--white);
  padding: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.logo-pedestal:hover .logo-img {
  transform: scale(1.06);
  box-shadow:
    0 6px 30px rgba(0, 0, 0, 0.15),
    0 0 50px rgba(255, 77, 0, 0.15);
}

@keyframes logoPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 30px rgba(255, 77, 0, 0.08);
  }

  50% {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12), 0 0 45px rgba(255, 77, 0, 0.15);
  }
}

/* Company name text — hidden by default, appears on scroll */
.logo-company-text {
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
  pointer-events: none;
}

/* ---- Split Nav Menus ---- */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.1rem;
}

.nav-left {
  justify-content: flex-end;
  padding-right: 1.2rem;
  flex: 1;
  transition: all 0.4s var(--ease-out);
}

.nav-right {
  justify-content: flex-start;
  padding-left: 1.2rem;
  flex: 1;
  transition: all 0.4s var(--ease-out);
}

/* ---- Nav Menu Links ---- */
.nav-menu-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
}

.nav-menu-link span {
  position: relative;
  z-index: 1;
}

.nav-menu-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: translateX(-50%);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-menu-link:hover,
.nav-menu-link.active {
  color: var(--secondary) !important;
}

.nav-menu-link:hover::before,
.nav-menu-link.active::before {
  width: 70%;
}

.dropdown-arrow {
  font-size: 0.55rem;
  transition: var(--transition-fast);
}

/* Mega Dropdown */
.has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  min-width: 300px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-out);
  z-index: 100;
}

.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-inner {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  color: var(--gray-700) !important;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.nav-dropdown-link:hover {
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.04), rgba(0, 212, 255, 0.02));
  transform: translateX(4px);
}

.dropdown-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.06), rgba(0, 212, 255, 0.04));
  color: var(--secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-dropdown-link:hover .dropdown-icon {
  background: linear-gradient(135deg, var(--secondary), #ff7333);
  color: var(--white);
  box-shadow: 0 4px 12px var(--secondary-glow);
}

.nav-dropdown-link strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.nav-dropdown-link small {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 1px;
}

/* CTA Button */
.nav-cta {
  margin-left: 0.5rem;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, var(--secondary), #ff7333);
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px var(--secondary-glow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff7333, var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--secondary-glow);
  color: var(--white) !important;
}

.nav-cta-btn:hover::before {
  opacity: 1;
}

.nav-cta-btn span,
.nav-cta-btn i {
  position: relative;
  z-index: 1;
}

.nav-cta-btn i {
  font-size: 0.7rem;
  transition: var(--transition-fast);
}

.nav-cta-btn:hover i {
  transform: translateX(3px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1100;
}

.hamburger-line {
  display: block;
  width: 28px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Logo Wrap in Menu */
.mobile-logo-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pedestal-sm {
  inset: -3px !important;
}

.mobile-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  background: var(--white);
  padding: 2px;
}

/* --- Menu Circuit Animation --- */
.nav-canvas-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

#menuCircuitCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.main-nav.scrolled #menuCircuitCanvas {
  opacity: 0.6;
}

/* Very Small Mobile */
@media (max-width: 400px) {
  .logo-pedestal {
    width: 50px;
    height: 50px;
  }

  .logo-img {
    width: 42px;
    height: 42px;
  }

  .nav-inner {
    padding: 0.3rem 0;
  }
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 340px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transition: right 0.5s var(--ease-out);
  box-shadow: var(--shadow-xl);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-logo {
  max-height: 45px;
}

.mobile-close {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-close:hover {
  background: var(--secondary);
  color: var(--white);
}

.mobile-nav-list {
  list-style: none;
  padding: 1rem 0;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav-list>li>a,
.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition-fast);
}

.mobile-nav-list>li>a span,
.mobile-dropdown-toggle span {
  font-size: 0.7rem;
  color: var(--secondary);
  font-weight: 700;
  opacity: 0.5;
}

.mobile-nav-list>li>a:hover,
.mobile-dropdown-toggle:hover {
  color: var(--secondary);
  background: var(--gray-50);
}

.mobile-dropdown-menu {
  list-style: none;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
  background: var(--gray-50);
}

.mobile-dropdown.open .mobile-dropdown-menu {
  max-height: 400px;
}

.mobile-dropdown-menu a {
  display: block;
  padding: 0.6rem 2.5rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: var(--transition-fast);
}

.mobile-dropdown-menu a:hover {
  color: var(--secondary);
  padding-left: 3rem;
}

.mobile-dropdown-toggle i {
  font-size: 0.65rem;
  margin-left: auto;
  transition: var(--transition-fast);
}

.mobile-dropdown.open .mobile-dropdown-toggle i {
  transform: rotate(180deg);
}

.mobile-menu-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--gray-100);
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--secondary), #ff7333);
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.mobile-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.82rem;
  color: var(--gray-500);
}

.mobile-contact a i {
  color: var(--secondary);
  width: 16px;
}

/* =================================================================
   MODULAR SECTION SYSTEM â€” Any new <section class="section"> auto-works
   ================================================================= */
.section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.section-sm {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

/* Dark sections */
.bg-dark-section {
  background: linear-gradient(180deg, var(--primary) 0%, #0c1526 100%);
  color: var(--gray-300);
}

.bg-dark-section h1,
.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4,
.bg-dark-section h5 {
  color: var(--white);
}

.bg-dark-section p {
  color: var(--gray-400);
}

.bg-light-section {
  background: var(--gray-50);
}

/* Section header â€” auto decorates any section */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.06), rgba(0, 212, 255, 0.06));
  border: 1px solid rgba(255, 77, 0, 0.12);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--gray-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
}

.text-gradient {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-reverse {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ====================== BUTTONS ====================== */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-primary-custom:hover::after {
  opacity: 1;
}

.btn-secondary-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--secondary), #ff6b2e);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: 0 4px 20px var(--secondary-glow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-secondary-custom::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.btn-secondary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px var(--secondary-glow);
  color: var(--white);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.85rem 2rem;
  border: 2px solid rgba(255, 77, 0, 0.3);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--secondary-glow);
}

/* ====================== CARDS (auto-apply via class) ====================== */
.custom-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.custom-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.custom-card::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 77, 0, 0.04), transparent 70%);
  transition: var(--transition-slow);
}

.custom-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.custom-card:hover::before {
  transform: scaleX(1);
}

.custom-card:hover::after {
  bottom: -30%;
  right: -30%;
}

.custom-card .icon-wrapper {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.06), rgba(0, 212, 255, 0.06));
  color: var(--secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.custom-card:hover .icon-wrapper {
  background: linear-gradient(135deg, var(--secondary), #ff6b2e);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px var(--secondary-glow);
}

.custom-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.custom-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Glass card (dark sections) */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: var(--transition);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ====================== SERVICE CARD MODERN ====================== */
.service-card-modern {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 3rem 2rem;
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.service-card-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 77, 0, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card-modern:hover {
  transform: translateY(-12px);
  border-color: rgba(255, 77, 0, 0.3);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 77, 0, 0.1);
}

.service-card-modern:hover::before {
  opacity: 1;
}

.service-icon-modern {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.1), rgba(0, 212, 255, 0.05));
  border: 1px solid rgba(255, 77, 0, 0.15);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 2rem;
  transition: all 0.5s var(--ease-out);
  position: relative;
}

.service-icon-modern::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(255, 77, 0, 0.1);
  border-radius: 22px;
  opacity: 0;
  transition: all 0.5s var(--ease-out);
}

.service-card-modern:hover .service-icon-modern {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--white);
  border-color: transparent;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px var(--secondary-glow);
}

.service-card-modern:hover .service-icon-modern::after {
  opacity: 1;
  inset: -10px;
  border-color: rgba(255, 77, 0, 0.2);
}

.service-title-modern {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.service-text-modern {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-400);
  margin: 0;
}

/* --- Decorative Elements for Services --- */
.service-process-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 0, 0.2), transparent);
  z-index: 0;
}

.process-step-node {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border: 2px solid var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-weight: 800;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
}

.process-step-item {
  position: relative;
  text-align: center;
  z-index: 1;
}

.process-step-item h5 {
  margin-top: 1.5rem;
  font-weight: 700;
}

/* ====================== PAGE HEADER ====================== */
.page-header {
  background: linear-gradient(135deg, #020408, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 8rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.06), transparent 70%);
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.08), transparent 70%);
  filter: blur(60px);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.75rem;
}

/* Animated grid background for page headers */
.page-header-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

/* ====================== TABLES (auto-styled) ====================== */
.table {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table thead {
  background: var(--primary);
  color: var(--white);
}

.table thead th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.85rem 1rem;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table tbody tr {
  transition: var(--transition-fast);
}

.table tbody tr:hover {
  background: rgba(255, 77, 0, 0.03);
}

.table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  border-color: var(--gray-100);
  font-size: 0.9rem;
}

/* ====================== FOOTER ====================== */
.site-footer {
  background: var(--primary);
  color: var(--gray-400);
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), var(--accent), transparent);
}

.footer-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer-top {
  padding: 5rem 0 3rem;
}

.footer-logo {
  max-height: 55px;
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.footer-desc {
  color: var(--gray-500);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  color: var(--gray-500);
  font-size: 0.85rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--secondary-glow);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray-500);
  font-size: 0.87rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.footer-links a i {
  font-size: 0.5rem;
  color: var(--secondary);
  opacity: 0;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-links a:hover i {
  opacity: 1;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  align-items: flex-start;
}

.contact-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-contact li:hover .contact-icon {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 0 15px var(--secondary-glow);
}

.footer-contact span {
  color: var(--gray-500);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-600);
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.footer-tagline {
  color: var(--gray-600);
  font-size: 0.78rem;
}

/* ====================== WHATSAPP ====================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white) !important;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 100;
  transition: var(--transition);
}

.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border: 2px solid #25d366;
  border-radius: 50%;
  animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  color: var(--white) !important;
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: var(--white);
  color: var(--gray-700);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition-fast);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ====================== BACK TO TOP ====================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 96px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 99;
}

.back-to-top svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-ring {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 2;
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
  transition: stroke-dashoffset 0.3s;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--secondary);
  box-shadow: 0 4px 20px var(--secondary-glow);
}

.back-to-top i {
  position: relative;
  z-index: 1;
}

/* ====================== UTILITY / MODULAR ====================== */
.text-primary-brand {
  color: var(--primary) !important;
}

.text-secondary-brand {
  color: var(--secondary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

/* Tilt cards auto-apply */
[data-tilt] {
  transform-style: preserve-3d;
}

[data-tilt] .tilt-inner {
  transform: translateZ(30px);
}

/* Image reveal */
.img-reveal {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.img-reveal img {
  transition: transform 0.8s var(--ease-out);
}

.img-reveal:hover img {
  transform: scale(1.05);
}

/* Animated underline on headings */
.animated-underline {
  position: relative;
  display: inline-block;
}

.animated-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.animated-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Marquee */
.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.marquee-inner {
  display: inline-flex;
  gap: 4rem;
  animation: marquee 100s linear infinite;
}

.marquee-item {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-200);
  text-transform: uppercase;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.marquee-item span {
  color: var(--secondary);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ====================== SWIPER (ready-to-use) ====================== */
.swiper {
  width: 100%;
}

.swiper-slide {
  height: auto;
}

.swiper-button-prev,
.swiper-button-next {
  width: 44px !important;
  height: 44px !important;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 0.9rem !important;
  color: var(--primary);
  font-weight: 700;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--gray-300);
  opacity: 1;
  transition: var(--transition-fast);
}

.swiper-pagination-bullet-active {
  background: var(--secondary);
  width: 30px;
  border-radius: var(--radius-full);
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 991.98px) {
  .nav-menu {
    display: none;
  }

  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
  }

  .logo-pedestal {
    width: 70px;
    height: 70px;
    margin: 0 !important;
    margin-top: 0 !important;
  }

  .logo-wrapper {
    width: 70px;
    height: 70px;
  }

  .logo-img {
    width: 62px;
    height: 62px;
    padding: 2px;
    animation: none;
  }

  .logo-glow-ring {
    inset: -3px;
  }

  .logo-ring-circle {
    stroke-width: 1.5;
    stroke-dasharray: 8 6;
  }

  .logo-company-text {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .top-bar-left {
    gap: 1rem;
  }

  .top-bar-item span {
    display: none;
  }

  .top-bar-item i {
    font-size: 0.85rem;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  body {
    cursor: auto;
  }

  .capability-title {
    font-size: 32px;
  }

  .heritage-badge {
    margin-top: 30px;
  }
}

@media (max-width: 767.98px) {
  .top-bar {
    display: none;
  }

  .section {
    padding: clamp(3rem, 6vw, 4rem) 0;
  }

  .page-header {
    padding: 6rem 0 3rem;
  }

  .back-to-top {
    right: 20px;
    bottom: 100px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .custom-card {
    padding: 1.75rem;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* =============================================
   9. DELAYED RECURRING POPUP & QUOTE BUTTON
   ============================================= */

.quote-float-btn {
  position: fixed;
  bottom: 155px;
  /* Above WhatsApp button (bottom:90px) */
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--secondary, #ff4d00);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 10px 25px rgba(255, 77, 0, 0.3);
  z-index: 998;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.quote-float-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 77, 0, 0.45);
}

.quote-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--secondary, #ff4d00);
  border-radius: 50%;
  opacity: 0.6;
  animation: quotePulse 2s infinite;
  z-index: -1;
}

@keyframes quotePulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.quote-tooltip {
  position: absolute;
  right: 80px;
  background: #1a1a1a;
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(15px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.quote-float-btn:hover .quote-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Modal Overlay */
.contact-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.contact-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-popup-container {
  width: 95%;
  max-width: 600px;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  position: relative;
  padding: 40px;
  transform: scale(0.9) translateY(30px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.contact-popup-overlay.active .contact-popup-container {
  transform: scale(1) translateY(0);
}

.contact-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.contact-popup-close:hover {
  background: #ff4d00;
  transform: rotate(90deg);
}

.contact-popup-header {
  text-align: center;
  margin-bottom: 30px;
}

.contact-popup-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.contact-popup-header p {
  color: #aaa;
  font-size: 15px;
  line-height: 1.6;
}

/* Form Group & Controls */
.form-group-custom {
  position: relative;
}

.form-group-custom label {
  position: absolute;
  top: -8px;
  left: 14px;
  background: #151515;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-control-custom {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-control-custom::placeholder {
  color: rgba(255, 255, 255, 0.50);
}

.form-control-custom:focus {
  border-color: var(--secondary, #ff4d00);
  background: rgba(255, 77, 0, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.15);
}

.form-control-custom:focus+label {
  color: var(--secondary, #ff4d00);
}

/* Select Dropdown Specific */
select.form-control-custom {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ff4d00' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
}

select.form-control-custom option {
  background: #1a1a1a;
  color: #fff;
  padding: 10px;
}

select.form-control-custom option:disabled {
  color: rgba(255, 255, 255, 0.55);
}

/* Textarea */
textarea.form-control-custom {
  resize: vertical;
  min-height: 90px;
}

/* Submit Button */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--secondary, #ff4d00), #ff6a2f);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff6a2f, var(--secondary, #ff4d00));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 77, 0, 0.35);
}

.btn-primary-custom:hover::before {
  opacity: 1;
}

.btn-primary-custom span,
.btn-primary-custom i {
  position: relative;
  z-index: 1;
}

.btn-primary-custom i {
  transition: transform 0.3s ease;
}

.btn-primary-custom:hover i {
  transform: translateX(4px);
}

/* Success Message */
.form-success-msg {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 60px;
  color: #28a745;
  margin-bottom: 20px;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 576px) {
  .contact-popup-container {
    padding: 30px 20px;
  }

  .quote-float-btn {
    right: 20px;
    bottom: 145px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}


/* =============================================
   10. CAPABILITY MATRIX SECTION
   ============================================= */

.capability-section {
  padding: 80px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.capability-glow {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 77, 0, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.capability-badge {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.capability-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 15px;
}

.capability-subtitle {
  color: #666;
  font-size: 16px;
  max-width: 600px;
}

.read-story-link {
  color: #00d4ff;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.read-story-link:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.capability-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-top: 4px solid transparent;
  padding: 35px 25px;
  border-radius: 4px;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
}

.capability-card.active,
.capability-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-top-color: var(--secondary);
  transform: translateY(-5px);
}

.cap-icon-box {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 25px;
  border-radius: 8px;
}

.cap-icon-box.blue {
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
}

.cap-icon-box.orange {
  background: rgba(255, 77, 0, 0.1);
  color: var(--secondary);
}

.cap-icon-box.teal {
  background: rgba(0, 255, 204, 0.1);
  color: #00ffcc;
}

.cap-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);
}

.cap-card-text {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

.capability-explore-card {
  background: #fffcf9;
  padding: 35px 25px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  text-decoration: none;
  transition: all 0.4s ease;
}

.capability-explore-card:hover {
  background: #fff5ee;
  transform: translateY(-5px);
}

.explore-arrow {
  font-size: 24px;
  color: #e5e5e5;
  margin-bottom: 15px;
  display: block;
}

.explore-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

/* =============================================
   11. MODERN FOOTER REDESIGN
   ============================================= */

.footer-logo-circle {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-logo-img {
  max-width: 100%;
  height: auto;
}

.footer-social-simple {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.footer-social-simple a {
  color: var(--secondary);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-social-simple a:hover {
  color: #fff;
  transform: translateY(-3px);
}

.footer-heading-modern {
  color: #000;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 25px;
  font-family: var(--font-heading);
}

.footer-links-modern {
  list-style: none;
  padding: 0;
}

.footer-links-modern li {
  margin-bottom: 12px;
}

.footer-links-modern a {
  color: #444;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.footer-links-modern a .caret {
  width: 5px;
  height: 5px;
  border-top: 2px solid var(--secondary);
  border-right: 2px solid var(--secondary);
  transform: rotate(45deg);
  display: inline-block;
}

.footer-links-modern a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.footer-contact-modern {
  list-style: none;
  padding: 0;
}

.footer-contact-modern li {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact-modern li i {
  color: #333;
  font-size: 16px;
  margin-top: 4px;
}

.heritage-badge {
  background: #0a0f1c;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.heritage-title {
  color: var(--secondary);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}

.heritage-text {
  color: #555;
  font-size: 12px;
  margin: 0;
}

.heritage-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary);
}



/* =============================================
   12. CERTIFICATION CARDS
   ============================================= */

.cert-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.cert-card:hover::before {
  transform: scaleX(1);
}

.cert-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.cert-card:hover .cert-icon {
  transform: scale(1.1) rotate(5deg);
}

.cert-card h4 {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cert-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.cert-badge {
  display: inline-flex;
  padding: 0.35rem 1rem;
  background: rgba(255, 77, 0, 0.06);
  border: 1px solid rgba(255, 77, 0, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}