/* ==========================================================================
   A2E AND I TRADERS - Brand Identity CSS & Foundation
   Designed with an Apple-Inspired Minimalist, High-Tech Corporate Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary-color: #06517B;
  --primary-dark: #043d5d;
  --primary-light: #096396;
  --secondary-color: #0d84c6;
  --accent-color: #f5a623;
  --neutral-dark: #1d1d1f;      /* Apple carbon gray */
  --neutral-mid: #3e3e3e;       /* Neutral gray */
  --neutral-light: #f5f5f7;     /* Apple off-white/light gray */
  --white: #ffffff;
  --bg-color: #ffffff;
  --border-color: #e5e5e7;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-round: 50%;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   1. Base & Reset
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--neutral-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

/* Common Layout Components */
.section-padding {
  padding: 100px 0;
}

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

.text-center {
  text-align: center;
}

.text-center p {
  text-align: center;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--neutral-dark);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 16px;
}

p {
  color: var(--neutral-mid);
  font-size: 1.125rem;
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.65;
  text-align: justify;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 81, 123, 0.25);
  color: var(--white);
}

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

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

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--neutral-light);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  margin-right: 8px;
  margin-bottom: 8px;
}

/* ==========================================================================
   2. Header & Navigation Styles
   ========================================================================== */
#header-placeholder {
  position: sticky;
  top: 0;
  z-index: 10000;
}

.site-header {
  --header-height: 104px;
  position: sticky;
  top: 0;
  z-index: 10000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  height: var(--header-height);
  display: flex;
  align-items: center;
  will-change: height, transform;
  transition: height 0.38s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  --header-height: 86px;
  background-color: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(6, 81, 123, 0.12);
  box-shadow: 0 12px 34px rgba(3, 47, 73, 0.13);
  animation: header-scroll-reveal 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes header-scroll-reveal {
  from {
    opacity: 0.75;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 76px;
  width: auto;
  object-fit: contain;
  transition: height 0.38s cubic-bezier(0.22, 1, 0.36, 1), transform var(--transition-fast);
}

.site-header.is-scrolled .header-logo {
  height: 62px;
}

.site-header.is-scrolled .cta-button {
  padding: 9px 18px;
  box-shadow: 0 6px 18px rgba(6, 81, 123, 0.16);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  color: var(--neutral-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-item:hover {
  color: var(--primary-color);
}

.nav-item:hover::after,
.nav-item.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-item.active {
  color: var(--primary-color);
  font-weight: 600;
}

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

.nav-dropdown-toggle {
  gap: 5px;
  border: 0;
  background: transparent;
  font-family: var(--font-family);
  cursor: pointer;
}

.nav-dropdown-chevron {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 15px);
  left: -20px;
  width: 278px;
  padding: 10px;
  border: 1px solid rgba(6, 81, 123, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 55px rgba(3, 44, 67, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transform-origin: top left;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-submenu::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 18px;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown:focus-within .nav-dropdown-chevron,
.nav-dropdown.open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-submenu-item {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--neutral-dark);
}

.nav-submenu-item + .nav-submenu-item {
  margin-top: 4px;
}

.nav-submenu-item span,
.nav-submenu-item small {
  display: block;
}

.nav-submenu-item span {
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-submenu-item small {
  margin-top: 3px;
  color: #6b7881;
  font-size: 0.72rem;
  line-height: 1.35;
}

.nav-submenu-item:hover,
.nav-submenu-item.active {
  color: var(--primary-color);
  background: linear-gradient(135deg, rgba(13, 132, 198, 0.1), rgba(6, 81, 123, 0.05));
}

.nav-dropdown-toggle.active {
  color: var(--primary-color);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-button {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.cta-button:hover {
  background-color: var(--primary-light);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(6, 81, 123, 0.2);
}

.mobile-only {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  gap: 6px;
  z-index: 1001;
}

.mobile-menu-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--neutral-dark);
  transition: var(--transition-fast);
}

/* ==========================================================================
   3. Footer Styles
   ========================================================================== */
.site-footer {
  background-color: var(--neutral-light);
  border-top: 1px solid var(--border-color);
  color: var(--neutral-dark);
}

.footer-top {
  padding: 80px 0 50px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
}

.footer-brand-title {
  color: var(--primary-color);
  margin-top: 16px;
  margin-bottom: 12px;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--neutral-mid);
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-heart {
  display: inline-block;
  margin: 0 2px;
  color: #e24a4a;
  font-size: 1.05em;
  line-height: 1;
  transform-origin: center;
  animation: footer-heartbeat 1.8s ease-in-out infinite;
}

@keyframes footer-heartbeat {
  0%, 38%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(226, 74, 74, 0));
  }
  12% {
    transform: scale(1.28);
    filter: drop-shadow(0 0 4px rgba(226, 74, 74, 0.42));
  }
  22% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 2px rgba(226, 74, 74, 0.24));
  }
  29% {
    transform: scale(1.2);
    filter: drop-shadow(0 0 4px rgba(226, 74, 74, 0.34));
  }
}

.badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badges-container .badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  margin: 0;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--neutral-dark);
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  color: var(--neutral-mid);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-links-list a::before {
  content: "›";
  margin-right: 8px;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.footer-links-list a:hover {
  color: var(--primary-color);
  padding-left: 6px;
}

.footer-links-list a:hover::before {
  transform: translateX(2px);
}

.contact-info-item {
  font-size: 0.92rem;
  color: var(--neutral-mid);
  margin-bottom: 16px;
}

.contact-info-item strong {
  color: var(--neutral-dark);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  background-color: rgba(0,0,0,0.02);
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.85rem;
  color: var(--neutral-mid);
  margin: 0;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-round);
  background-color: var(--white);
  color: var(--neutral-mid);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

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

/* ==========================================================================
   4. Hero & Banner Elements
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 104px);
  padding: clamp(90px, 10vw, 140px) 0;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 77% 18%, rgba(28, 183, 230, 0.22), transparent 28%),
    radial-gradient(circle at 8% 88%, rgba(245, 166, 35, 0.12), transparent 25%),
    linear-gradient(125deg, #032f49 0%, #054b70 50%, #086c99 100%);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.65), transparent 88%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.65), transparent 88%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -210px;
  bottom: -240px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section .hero-headline {
  color: var(--white);
}

.hero-section .hero-subheadline {
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

.hero-section .hero-badge {
  background-color: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-section .hero-taglines {
  color: #00e5ff; /* Vibrant bright cyan to match logo highlights */
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-section .btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background-color: transparent;
}

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

.hero-section .btn-primary {
  gap: 9px;
  color: #12364a;
  background: linear-gradient(135deg, #ffc85c, var(--accent-color));
  box-shadow: 0 12px 30px rgba(245, 166, 35, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-section .btn-primary:hover {
  color: #0b2d40;
  background: linear-gradient(135deg, #ffd478, #f8ad2d);
  box-shadow: 0 16px 36px rgba(245, 166, 35, 0.34);
}

.hero-section .btn-primary svg {
  transition: transform var(--transition-fast);
}

.hero-section .btn-primary:hover svg {
  transform: translateX(3px);
}

.hero-section .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(56px, 7vw, 96px);
  align-items: center;
}

.hero-content {
  text-align: left;
  max-width: 670px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(207, 239, 252, 0.88);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-eyebrow span {
  width: 26px;
  height: 1px;
  background: var(--accent-color);
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.75);
}

.hero-badges-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background-color: rgba(6, 81, 123, 0.06);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 20px;
  gap: 7px;
  margin-bottom: 0;
  border: 1px solid rgba(6, 81, 123, 0.1);
}

.hero-headline {
  font-size: clamp(3.25rem, 5vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
  color: var(--neutral-dark);
}

.hero-headline span {
  color: #72d9f6;
  background: linear-gradient(90deg, #75def8 0%, #dcf8ff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  max-width: 640px;
  font-size: 1.16rem;
  color: var(--neutral-mid);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-section .btn-group {
  justify-content: flex-start;
}

.hero-image-wrapper {
  position: relative;
  isolation: isolate;
}

.hero-visual-glow {
  position: absolute;
  inset: 10% -8% -8% 12%;
  z-index: -1;
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(78, 207, 242, 0.3), rgba(245, 166, 35, 0.15));
  filter: blur(35px);
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-taglines {
  font-style: italic;
  color: var(--primary-color);
  font-weight: 500;
  margin-top: 20px;
  font-size: 1.05rem;
}

.hero-capabilities {
  margin-top: 38px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-capabilities > div {
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-capabilities > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-capabilities strong,
.hero-capabilities span {
  display: block;
}

.hero-capabilities strong {
  margin-bottom: 4px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-capabilities span {
  color: rgba(211, 234, 244, 0.66);
  font-size: 0.72rem;
  line-height: 1.35;
}

/* Hero Image Slider Styles */
.hero-slider {
  position: relative;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 20, 32, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(1, 28, 42, 0.05) 45%, rgba(1, 24, 38, 0.68) 100%);
  pointer-events: none;
}

.hero-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 5.35;
  background-color: var(--neutral-light);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-label {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(3, 37, 55, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.hero-visual-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #62e69a;
  box-shadow: 0 0 0 4px rgba(98, 230, 154, 0.14);
}

.hero-image-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.hero-caption-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: #8de3f8;
  background: rgba(4, 52, 75, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-image-caption > span:last-child {
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.69rem;
  line-height: 1.4;
}

.hero-image-caption strong {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-dots {
  position: absolute;
  right: 22px;
  bottom: 24px;
  display: flex;
  gap: 8px;
  z-index: 10;
  background-color: rgba(2, 31, 47, 0.58);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  border: 0;
  transition: var(--transition-smooth);
}

.hero-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.hero-dot.active {
  background-color: var(--white);
  width: 24px;
  border-radius: 10px;
}

/* Premium home hero motion system */
.hero-section::before {
  animation: hero-grid-drift 18s linear infinite;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.58;
  will-change: transform;
}

.hero-orb--one {
  top: 11%;
  right: 6%;
  width: clamp(190px, 23vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(116, 225, 255, 0.22);
  box-shadow: inset 0 0 80px rgba(45, 191, 232, 0.07), 0 0 90px rgba(29, 184, 226, 0.1);
  animation: hero-orb-float 9s ease-in-out infinite;
}

.hero-orb--two {
  bottom: -12%;
  left: 28%;
  width: clamp(130px, 17vw, 260px);
  aspect-ratio: 1;
  border: 1px solid rgba(245, 166, 35, 0.18);
  box-shadow: 0 0 70px rgba(245, 166, 35, 0.08);
  animation: hero-orb-float 11s ease-in-out -4s infinite reverse;
}

.hero-energy-trace {
  position: absolute;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 224, 250, 0.14) 22%, rgba(142, 235, 255, 0.75) 50%, rgba(110, 224, 250, 0.14) 78%, transparent);
  background-size: 220% 100%;
  filter: drop-shadow(0 0 7px rgba(92, 218, 247, 0.55));
  transform-origin: left center;
  animation: hero-energy-flow 5.5s linear infinite;
}

.hero-energy-trace--one {
  top: 27%;
  left: -4%;
  width: 48%;
  transform: rotate(-8deg);
}

.hero-energy-trace--two {
  right: -5%;
  bottom: 24%;
  width: 42%;
  transform: rotate(11deg);
  animation-delay: -2.4s;
}

.hero-energy-node {
  position: absolute;
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: #89e8ff;
  box-shadow: 0 0 0 0 rgba(117, 222, 248, 0.42), 0 0 18px rgba(117, 222, 248, 0.85);
  animation: hero-node-pulse 2.8s ease-out infinite;
}

.hero-energy-node--one { top: 20%; left: 9%; }
.hero-energy-node--two { top: 68%; left: 48%; animation-delay: -1.1s; }
.hero-energy-node--three { top: 16%; right: 36%; animation-delay: -2s; }

.hero-content.animate-on-scroll > * {
  opacity: 0;
  transform: translateY(18px);
}

.hero-content.animate-on-scroll.animated > * {
  animation: hero-content-reveal 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-content.animated > :nth-child(1) { animation-delay: 0.05s; }
.hero-content.animated > :nth-child(2) { animation-delay: 0.13s; }
.hero-content.animated > :nth-child(3) { animation-delay: 0.21s; }
.hero-content.animated > :nth-child(4) { animation-delay: 0.29s; }
.hero-content.animated > :nth-child(5) { animation-delay: 0.37s; }
.hero-content.animated > :nth-child(6) { animation-delay: 0.45s; }

.hero-headline span {
  background-size: 220% auto;
  animation: hero-text-shimmer 6s linear infinite;
}

.hero-image-wrapper {
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  transform-style: preserve-3d;
}

.hero-image-wrapper.animated {
  transform: perspective(1100px) translate3d(var(--hero-shift-x), var(--hero-shift-y), 0) rotateX(var(--hero-tilt-x)) rotateY(var(--hero-tilt-y));
  transition: opacity var(--transition-slow), transform 0.28s ease-out;
}

.hero-image-wrapper.animated .hero-slider {
  animation: hero-visual-arrive 1s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.hero-image-wrapper.animated .hero-visual-glow {
  animation: hero-glow-breathe 4.8s ease-in-out infinite alternate;
}

.hero-slider::before {
  content: '';
  position: absolute;
  top: -28%;
  right: 0;
  left: 0;
  height: 24%;
  z-index: 4;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(137, 232, 255, 0.22), transparent);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: hero-scan 7s ease-in-out 1.2s infinite;
}

.hero-slide.active img {
  animation: hero-image-breathe 5s ease-out both;
}

.hero-visual-label span {
  animation: hero-status-pulse 2.4s ease-in-out infinite;
}

@keyframes hero-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 64px, 64px 64px; }
}

@keyframes hero-orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-20px, 18px, 0) scale(1.06); }
}

@keyframes hero-energy-flow {
  from { background-position: 210% 0; opacity: 0.28; }
  45%, 65% { opacity: 0.85; }
  to { background-position: -110% 0; opacity: 0.28; }
}

@keyframes hero-node-pulse {
  0% { box-shadow: 0 0 0 0 rgba(117,222,248,0.42), 0 0 18px rgba(117,222,248,0.85); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(117,222,248,0), 0 0 26px rgba(117,222,248,0.22); }
}

@keyframes hero-content-reveal {
  from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes hero-text-shimmer {
  from { background-position: 210% center; }
  to { background-position: -10% center; }
}

@keyframes hero-visual-arrive {
  from { opacity: 0; transform: translate3d(30px, 24px, 0) scale(0.94); filter: blur(7px); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}

@keyframes hero-glow-breathe {
  from { opacity: 0.72; transform: scale(0.96) rotate(-1deg); }
  to { opacity: 1; transform: scale(1.06) rotate(1deg); }
}

@keyframes hero-scan {
  0%, 18% { top: -28%; opacity: 0; }
  24% { opacity: 0.68; }
  58% { opacity: 0.25; }
  68%, 100% { top: 112%; opacity: 0; }
}

@keyframes hero-image-breathe {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@keyframes hero-status-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(98,230,154,0.14), 0 0 8px rgba(98,230,154,0.22); }
  50% { box-shadow: 0 0 0 7px rgba(98,230,154,0.04), 0 0 16px rgba(98,230,154,0.48); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-dot,
  .hero-section .btn-primary svg {
    transition: none;
  }

  .hero-section::before,
  .hero-orb,
  .hero-energy-trace,
  .hero-energy-node,
  .hero-headline span,
  .hero-image-wrapper.animated .hero-slider,
  .hero-image-wrapper.animated .hero-visual-glow,
  .hero-slider::before,
  .hero-slide.active img,
  .hero-visual-label span,
  .hero-content.animate-on-scroll.animated > * {
    animation: none !important;
  }

  .hero-content.animate-on-scroll > * {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-image-wrapper.animated {
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   15. Certificates Page & PDF Viewer
   ========================================================================== */
#certificates-hero {
  background-image: url('../images/a2ei-traders-electrical-panel-company.jpg');
}

.certificates-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(13,132,198,0.08), transparent 25%),
    radial-gradient(circle at 92% 88%, rgba(245,166,35,0.08), transparent 28%),
    #fbfcfe;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.certificate-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(6, 81, 123, 0.12);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,0.99), rgba(244,249,251,0.97));
  box-shadow: 0 16px 45px rgba(3,44,67,0.08);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.3s ease, box-shadow 0.4s ease;
}

.certificate-card:hover {
  transform: translateY(-7px);
  border-color: rgba(13,132,198,0.3);
  box-shadow: 0 26px 65px rgba(3,44,67,0.14);
}

.certificate-card-accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
}

.certificate-card-accent--blue { background: linear-gradient(90deg, #06517b, #27a9e1); }
.certificate-card-accent--gold { background: linear-gradient(90deg, #b87500, #f5a623); }
.certificate-card-accent--violet { background: linear-gradient(90deg, #55428d, #8f7bc7); }
.certificate-card-accent--teal { background: linear-gradient(90deg, #087a77, #35b7a8); }

.certificate-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border: 1px solid rgba(13,132,198,0.14);
  border-radius: 16px;
  color: var(--primary-color);
  background: linear-gradient(145deg, #eaf6fb, #fff);
  box-shadow: 0 10px 25px rgba(6,81,123,0.1);
}

.certificate-icon svg {
  width: 29px;
  height: 29px;
}

.certificate-type {
  display: block;
  margin-bottom: 9px;
  color: var(--primary-color);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.certificate-title {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.certificate-description {
  min-height: 76px;
  margin-bottom: 24px;
  color: #596973;
  font-size: 0.94rem;
  line-height: 1.65;
  text-align: left;
}

.certificate-view-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border: 1px solid rgba(6,81,123,0.16);
  border-radius: 12px;
  color: var(--primary-color);
  background: rgba(255,255,255,0.85);
  font-family: var(--font-family);
  font-size: 0.88rem;
  font-weight: 750;
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.certificate-view-btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.certificate-view-btn:hover {
  color: var(--white);
  border-color: var(--primary-color);
  background: var(--primary-color);
  box-shadow: 0 10px 24px rgba(6,81,123,0.2);
}

.certificate-view-btn:hover svg {
  transform: translateX(3px);
}

.certificate-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1,19,29,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.certificate-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.certificate-modal-dialog {
  width: min(1120px, 100%);
  height: min(88vh, 900px);
  height: min(88dvh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  background: #f4f7f9;
  box-shadow: 0 35px 100px rgba(0,0,0,0.42);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}

.certificate-modal.active .certificate-modal-dialog {
  transform: translateY(0) scale(1);
}

.certificate-modal-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  color: var(--white);
  background: linear-gradient(120deg, #032f49, #06517b);
}

.certificate-modal-label {
  display: block;
  margin-bottom: 3px;
  color: #9bdff3;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.certificate-modal-header h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.certificate-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.certificate-open-link {
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 9px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.certificate-open-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.certificate-modal-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.certificate-modal-body {
  min-height: 0;
  flex: 1;
  position: relative;
  padding: 10px;
}

.certificate-modal-body iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: 10px;
  background: #e8edf0;
}

.certificate-canvas-viewer {
  width: 100%;
  height: 100%;
  display: none;
  overflow: auto;
  padding: 12px 8px 28px;
  background: #dfe5e8;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.certificate-modal.canvas-mode .certificate-modal-body iframe {
  display: none;
}

.certificate-modal.canvas-mode .certificate-canvas-viewer {
  display: block;
}

.certificate-pdf-page {
  width: fit-content;
  max-width: 100%;
  position: relative;
  margin: 0 auto 18px;
  padding: 8px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(1, 30, 44, 0.18);
}

.certificate-pdf-page:last-child {
  margin-bottom: 0;
}

.certificate-pdf-page canvas {
  max-width: 100%;
  height: auto !important;
  display: block;
  background: var(--white);
}

.certificate-pdf-page-label {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(3,47,73,0.78);
  font-size: 0.64rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.certificate-pdf-status {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  color: var(--primary-dark);
  text-align: center;
}

.certificate-pdf-status span {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border: 3px solid rgba(6,81,123,0.16);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: certificate-loader-spin 0.85s linear infinite;
}

.certificate-pdf-status strong,
.certificate-pdf-status small {
  display: block;
}

.certificate-pdf-status small {
  margin-top: 6px;
  color: #657580;
}

.certificate-pdf-status--error {
  color: #8b2f2b;
}

@keyframes certificate-loader-spin {
  to { transform: rotate(360deg); }
}

.certificate-viewer-fallback {
  display: none;
}

body.certificate-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .certificates-grid {
    grid-template-columns: 1fr;
  }

  .certificate-card {
    padding: 28px 24px;
  }

  .certificate-description {
    min-height: 0;
  }

  .certificate-modal {
    padding: 0;
  }

  .certificate-modal-dialog {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .certificate-modal-header {
    padding: 13px 14px;
  }

  .certificate-modal-header h2 {
    max-width: 180px;
    overflow: hidden;
    font-size: 0.92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .certificate-open-link {
    padding: 8px 10px;
  }

  .certificate-modal-body {
    padding: 6px;
  }

  .certificate-modal.canvas-mode .certificate-modal-body {
    padding: 0;
  }

  .certificate-canvas-viewer {
    padding: 10px 6px 24px;
  }

  .certificate-pdf-page {
    padding: 5px;
    margin-bottom: 12px;
  }
}

/* Alternate Hero for Inner Pages with Custom Image Backgrounds */
.inner-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 110px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.inner-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 81, 123, 0.88), rgba(29, 29, 31, 0.82));
  z-index: 1;
}

.inner-hero .container {
  position: relative;
  z-index: 2;
}

.inner-hero-title {
  font-size: 3rem;
  margin-bottom: 12px;
  color: var(--white);
}

.inner-hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-weight: 400;
}

#about-hero {
  background-image: url('../images/a2ei-traders-electrical-panel-company.jpg');
}

#products-hero {
  background-image: url('../images/electrical-control-panel-products.jpg');
}

#services-hero {
  background-image: url('../images/electrical-engineering-services.jpg');
}

#clients-hero {
  background-image: url('../images/industrial-electrical-panel-clients.jpg');
}

#contact-hero {
  background-image: url('../images/contact-a2ei-traders-hosur.jpg');
}

/* ==========================================================================
   5. Section Styles & Page Layouts
   ========================================================================== */
.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--neutral-mid);
}

/* Why Choose Us & Grid Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 81, 123, 0.2);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: rgba(6, 81, 123, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 24px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--neutral-mid);
  margin-bottom: 0;
}

/* Balanced 2 x 2 treatment for the About page strengths. */
.strengths-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  counter-reset: strength-card;
}

.strength-card {
  counter-increment: strength-card;
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 42px 88px 42px 40px;
  isolation: isolate;
}

.strength-card::before {
  content: "0" counter(strength-card);
  position: absolute;
  top: 28px;
  right: 30px;
  z-index: 1;
  color: rgba(6, 81, 123, 0.13);
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  transition: color 0.35s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.strength-card::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  z-index: 1;
  border-radius: 20px 0 0 20px;
  background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
  transform: scaleY(0.38);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.strength-card:nth-child(even)::after {
  background: linear-gradient(180deg, var(--accent-color), var(--secondary-color));
}

.strength-card:hover::before {
  color: rgba(13, 132, 198, 0.25);
  transform: translateY(-3px) scale(1.05);
}

.strength-card:hover::after {
  transform: scaleY(1);
}

.strength-card .feature-title {
  position: relative;
  z-index: 2;
  max-width: 360px;
  margin-bottom: 14px;
  font-size: 1.32rem;
}

.strength-card .feature-desc {
  position: relative;
  z-index: 2;
  max-width: 470px;
  color: #586872;
  line-height: 1.72;
  text-align: left;
}

@media (max-width: 768px) {
  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .strength-card {
    min-height: 0;
    padding: 34px 70px 34px 30px;
  }

  .strength-card::before {
    top: 26px;
    right: 24px;
    font-size: 2rem;
  }
}

/* Grid layout with left/right contents */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (min-width: 993px) {
  .split-image-wrapper {
    align-self: stretch;
    display: flex;
  }
  
  .split-image {
    height: 100%;
    object-fit: cover;
  }
}

.bullet-list {
  margin-top: 24px;
}

.bullet-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--neutral-mid);
}

.bullet-icon {
  color: var(--primary-color);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ==========================================================================
   6. Products Page & Gallery Grid
   ========================================================================== */
.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 20px;
  background-color: var(--neutral-light);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.gallery-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 81, 123, 0.2);
}

.product-img-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--neutral-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .product-img-container img {
  transform: scale(1.05);
}

.product-overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 50px;
  height: 50px;
  background-color: rgba(255,255,255,0.9);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.gallery-item:hover .product-overlay-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.product-info {
  padding: 24px;
}

.product-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--neutral-dark);
}

.product-desc {
  font-size: 0.95rem;
  color: var(--neutral-mid);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ==========================================================================
   7. Services & Solutions
   ========================================================================== */
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 40px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary-color);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition-smooth);
}

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

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

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(6, 81, 123, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 28px;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.service-bullet-list {
  margin-top: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.service-bullet-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--neutral-mid);
}

.service-bullet-list svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

/* ==========================================================================
   8. Clients Page
   ========================================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.client-logo-box {
  width: 100%;
  height: 120px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: var(--transition-smooth);
}

.client-logo-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-color);
}

.client-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition-fast);
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 80px;
}

.testimonial-card {
  background-color: var(--neutral-light);
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--neutral-dark);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-quote::before {
  content: '“';
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(6, 81, 123, 0.1);
  position: absolute;
  top: -40px;
  left: -20px;
  z-index: -1;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--neutral-dark);
}

.author-company {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 500;
}

/* ==========================================================================
   9. Contact Page & Forms
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.contact-form-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.recaptcha-field {
  width: fit-content;
  max-width: 100%;
  padding: 12px;
  border: 1px solid rgba(6, 81, 123, 0.12);
  border-radius: 14px;
  background: #f8fafc;
}

.recaptcha-field .g-recaptcha {
  max-width: 100%;
  overflow: hidden;
}

.recaptcha-note {
  margin: 8px 0 0;
  color: #697985;
  font-size: 0.76rem;
  line-height: 1.4;
  text-align: left;
}

@media (max-width: 390px) {
  .recaptcha-field {
    transform: scale(0.88);
    transform-origin: left top;
    margin-bottom: -8px;
  }
}

.form-title {
  font-size: 1.75rem;
  margin-bottom: 24px;
}

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

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

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

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--white);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: var(--transition-fast);
  color: var(--neutral-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(6, 81, 123, 0.15);
}

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

.form-group.error .form-control {
  border-color: #d9534f;
  box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.15);
}

.form-status {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-status.success {
  background-color: #dff0d8;
  color: #3c763d;
  border: 1px solid #d6e9c6;
}

.form-status.error {
  background-color: #f2dede;
  color: #a94442;
  border: 1px solid #ebccd1;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-box {
  background-color: var(--neutral-light);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-color);
}

.info-box-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.info-item-text {
  font-size: 0.95rem;
  color: var(--neutral-mid);
}

.info-item-text strong {
  color: var(--neutral-dark);
}

.map-wrapper {
  margin-top: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 450px;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   10. Lightbox Overlay & Slideshow Styles
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(29, 29, 31, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.lightbox-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#lightboxImg {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.lightbox-overlay.show #lightboxImg {
  transform: scale(1);
}

.lightbox-caption {
  width: 100%;
  margin-top: 24px;
  text-align: center;
  color: var(--white);
  max-width: 700px;
}

#lightboxTitle {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}

#lightboxDesc {
  font-size: 1rem;
  color: #86868b; /* Apple gray */
  margin-bottom: 0;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10000;
}

.lightbox-close:hover {
  color: var(--white);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 24px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-round);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 10000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--white);
  color: var(--neutral-dark);
  border-color: var(--white);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

/* ==========================================================================
   11. Animation Styles
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
.delay-700 { transition-delay: 0.7s; }

/* Call To Action banner standard */
.cta-banner-section {
  background-color: var(--primary-color);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner-section .section-title,
.cta-banner-section p {
  color: var(--white);
}

.cta-banner-section .btn-secondary {
  border-color: var(--white);
  color: var(--white);
}

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

/* Brands We Deal With Section - Premium Dark Theme */
#brands-dealerships {
  background: linear-gradient(135deg, #053b5c 0%, #06517B 55%, #0d84c6 100%) !important;
  color: var(--white) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#brands-dealerships .section-title {
  color: var(--white) !important;
}

#brands-dealerships .section-desc {
  color: rgba(255, 255, 255, 0.85) !important;
}

#brands-dealerships .section-tag {
  color: #00e5ff !important; /* Standout bright accent cyan */
}

#brands-dealerships .badge {
  background-color: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: all var(--transition-smooth) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  font-size: 1.15rem !important; /* Increased premium font size */
  padding: 10px 22px !important;   /* Expanded capsule padding */
  font-weight: 500 !important;
}

#brands-dealerships .badge:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(6, 81, 123, 0.3) !important;
}

/* ==========================================================================
   Go to Top Floating Button Styles
   ========================================================================== */
.go-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-round);
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.2s;
  box-shadow: 0 4px 16px rgba(6, 81, 123, 0.3);
}

.go-to-top-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.go-to-top-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(6, 81, 123, 0.4);
}

.go-to-top-btn:active {
  transform: translateY(-1px);
}

/* ==========================================================================
   10. ISRO Highlights and Animations
   ========================================================================== */
.isro-highlight-badge {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.18) 0%, rgba(245, 166, 35, 0.32) 100%) !important;
  color: #ffb81c !important; /* Premium gold color */
  border: 1px solid rgba(245, 166, 35, 0.5) !important;
  box-shadow: 0 0 15px rgba(245, 166, 35, 0.2);
  animation: badge-pulse 2s infinite alternate;
  display: inline-flex;
  align-items: center;
}

.isro-rocket-icon {
  animation: rocket-float 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0% {
    box-shadow: 0 0 8px rgba(245, 166, 35, 0.1);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.5);
    transform: scale(1.03);
  }
}

@keyframes rocket-float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(6deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Import/export and Tamil Nadu tender capability cards */
.feature-card.trade-card-highlight,
.feature-card.tender-card-highlight {
  position: relative;
  overflow: hidden;
  padding-top: 42px;
  border: 1px solid rgba(6, 81, 123, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(13, 132, 198, 0.13), transparent 36%),
    linear-gradient(145deg, #ffffff, #f1f8fb 100%);
  box-shadow: 0 14px 38px rgba(3, 44, 67, 0.09);
}

.feature-card.tender-card-highlight {
  border-color: rgba(184, 117, 0, 0.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 166, 35, 0.14), transparent 36%),
    linear-gradient(145deg, #ffffff, #fffaf0 100%);
}

.feature-card.trade-card-highlight::before,
.feature-card.tender-card-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #42c3e8, transparent 88%);
}

.feature-card.tender-card-highlight::before {
  background: linear-gradient(90deg, #b87500, var(--accent-color), transparent 88%);
}

.feature-card.trade-card-highlight::after,
.feature-card.tender-card-highlight::after {
  position: absolute;
  top: 18px;
  right: 20px;
  padding: 5px 9px;
  border: 1px solid rgba(6,81,123,0.12);
  border-radius: 999px;
  color: var(--primary-color);
  background: rgba(255,255,255,0.72);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.feature-card.trade-card-highlight::after {
  content: 'Global Trade';
}

.feature-card.tender-card-highlight::after {
  content: 'TN Registered';
  color: #996000;
  border-color: rgba(184,117,0,0.16);
}

.trade-card-highlight .feature-icon-wrapper,
.tender-card-highlight .feature-icon-wrapper {
  border-radius: 16px;
  color: var(--primary-color);
  background: linear-gradient(145deg, #e8f6fb, #fff);
  box-shadow: 0 10px 26px rgba(6,81,123,0.12);
}

.tender-card-highlight .feature-icon-wrapper {
  color: #ad6f00;
  background: linear-gradient(145deg, #fff5dd, #fff);
  box-shadow: 0 10px 26px rgba(184,117,0,0.11);
}

.feature-card .feature-desc-justified {
  line-height: 1.68;
  text-align: justify !important;
  text-justify: inter-word;
}

.feature-card.trade-card-highlight:hover,
.feature-card.tender-card-highlight:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 58px rgba(3,44,67,0.15);
}

/* Feature Card ISRO Highlight */
.feature-card.isro-card-highlight {
  background: linear-gradient(135deg, #043552 0%, #06517B 100%) !important;
  color: var(--white) !important;
  border: 1px solid rgba(245, 166, 35, 0.45) !important;
  box-shadow: 0 12px 35px rgba(6, 81, 123, 0.18) !important;
  position: relative;
  overflow: hidden;
}

.feature-card.isro-card-highlight::after {
  content: 'Approved';
  position: absolute;
  top: 16px;
  right: -32px;
  background-color: var(--accent-color);
  color: var(--neutral-dark);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 32px;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.feature-card.isro-card-highlight .feature-title {
  color: var(--white) !important;
}

.feature-card.isro-card-highlight .feature-desc {
  color: rgba(255, 255, 255, 0.88) !important;
}

.feature-card.isro-card-highlight .feature-icon-wrapper {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffb81c !important; /* Gold rocket icon */
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.2);
}

/* ==========================================================================
   11. Projects Page Custom Layout & Interaction Styles
   ========================================================================== */

#projects-hero {
  background-image: url('../images/electrical-engineering-services.jpg');
}

.projects-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Left Panel Content */
.project-content-panel {
  background: var(--white);
}

.project-details-container {
  opacity: 1;
}

.project-details-title {
  font-size: 2.25rem;
  color: var(--neutral-dark);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.project-details-desc {
  font-size: 1.1rem;
  color: var(--neutral-mid);
  line-height: 1.7;
  margin-bottom: 48px;
  text-align: justify;
}

/* Gallery Section */
.project-gallery-section {
  border-top: 1px solid var(--border-color);
  padding-top: 36px;
}

.gallery-title {
  font-size: 1.6rem;
  color: var(--neutral-dark);
  margin-bottom: 24px;
  font-weight: 600;
  position: relative;
  padding-left: 14px;
}

.gallery-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Gallery Cards */
.gallery-img-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  background-color: var(--neutral-light);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-img-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.gallery-img-card:hover img {
  transform: scale(1.06);
}

/* Hover Zoom Overlay */
.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 81, 123, 0.45);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition-fast);
}

.gallery-img-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-overlay svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
  transform: scale(0.85);
  transition: var(--transition-smooth);
}

.gallery-img-card:hover .gallery-card-overlay svg {
  transform: scale(1);
}

/* Right Panel Menu Selector */
.project-menu-panel {
  background: var(--neutral-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: sticky;
  top: 30px;
}

.menu-panel-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neutral-dark);
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px;
}

.project-vertical-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-menu-item {
  display: block;
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--neutral-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.project-menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-color);
  transform: scaleY(0);
  transition: var(--transition-fast);
  transform-origin: center;
}

.project-menu-item:hover {
  background: var(--white);
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.project-menu-item:hover::before {
  transform: scaleY(1);
}

.project-menu-item.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.project-menu-item.active::before {
  transform: scaleY(1);
  background: var(--accent-color);
}

/* Fullscreen Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 20000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(29, 29, 31, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-modal.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 44px;
  font-weight: 300;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition-fast);
  line-height: 1;
  z-index: 20001;
}

.lightbox-close:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 24px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-round);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 20001;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 15px rgba(6, 81, 123, 0.4);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

/* Responsiveness for Project Layout */
@media (max-width: 992px) {
  .projects-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .project-menu-panel {
    order: 1;
    position: static;
    padding: 24px;
  }
  
  .project-content-panel {
    order: 2;
  }
  
  .project-vertical-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .project-menu-item {
    width: auto;
    flex: 1 1 240px;
    text-align: center;
    padding: 14px 18px;
    font-size: 0.98rem;
  }
  
  .project-menu-item:hover,
  .project-menu-item.active {
    transform: none;
  }
}

@media (max-width: 768px) {
  .project-details-title {
    font-size: 1.8rem;
  }
  
  .project-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  
  .project-menu-item {
    flex: 1 1 100%;
  }
  
  .lightbox-prev {
    left: 15px;
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  
  .lightbox-next {
    right: 15px;
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 38px;
  }
}

/* ==========================================================================
   12. Why Choose Us Custom Grid Layout (2-Column Grid with ISRO & OEM highlights)
   ========================================================================== */
.features-grid-twocols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Feature Card OEM Highlight */
.feature-card.manufacturer-card-highlight {
  background: linear-gradient(135deg, #122c3d 0%, #041e2e 100%) !important;
  color: var(--white) !important;
  border: 1px solid rgba(245, 166, 35, 0.45) !important;
  box-shadow: 0 12px 35px rgba(4, 30, 46, 0.25) !important;
  position: relative;
  overflow: hidden;
}

.feature-card.manufacturer-card-highlight::after {
  content: 'Direct OEM';
  position: absolute;
  top: 16px;
  right: -32px;
  background-color: var(--accent-color);
  color: var(--neutral-dark);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 32px;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.feature-card.manufacturer-card-highlight .feature-title {
  color: var(--white) !important;
}

.feature-card.manufacturer-card-highlight .feature-desc {
  color: rgba(255, 255, 255, 0.88) !important;
}

.feature-card.manufacturer-card-highlight .feature-icon-wrapper {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffb81c !important; /* Gold factory icon */
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.2);
}

@media (max-width: 992px) {
  .features-grid-twocols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .features-grid-twocols {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   13. Floating WhatsApp & Google Translate Styles
   ========================================================================== */

/* WhatsApp Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 30px; /* Default bottom position at corner */
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-round);
  background-color: #25d366;
  color: var(--white) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: background-color 0.2s, bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float-btn.shifted {
  bottom: 92px; /* Smoothly slides up above scroll-to-top button */
}

.whatsapp-float-btn svg {
  width: 28px;
  height: 28px;
  display: block;
}

.whatsapp-float-btn:hover {
  background-color: #128c7e;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  animation-play-state: paused;
}

.whatsapp-float-btn:active {
  transform: scale(0.98);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Premium Google Translate control */
.language-control {
  position: relative;
  height: 42px;
  width: 150px;
  padding: 0 12px 0 41px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--primary-dark);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(235, 245, 250, 0.92));
  border: 1px solid rgba(6, 81, 123, 0.18);
  border-radius: 999px;
  box-shadow: 0 5px 16px rgba(6, 81, 123, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.language-control:hover,
.language-control:focus-within {
  border-color: rgba(6, 81, 123, 0.52);
  box-shadow: 0 8px 22px rgba(6, 81, 123, 0.16), 0 0 0 3px rgba(13, 132, 198, 0.08);
  transform: translateY(-1px);
}

.language-control-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  color: var(--primary-color);
  pointer-events: none;
}

.language-control-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-selector {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0 24px 0 0;
  border: 0;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: var(--primary-dark);
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
}

.language-selector:disabled {
  cursor: wait;
  opacity: 0.65;
}

.language-selector option {
  padding: 10px;
  color: var(--neutral-dark);
  background: var(--white);
  font-family: var(--font-family);
  font-size: 0.9rem;
}

.language-control-chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--primary-color);
  border-bottom: 1.5px solid var(--primary-color);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  z-index: 2;
}

.translate-widget {
  position: fixed !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
}

/* Prevent Google Translate banners from covering or shifting the header */
html,
body {
  top: 0 !important;
  margin-top: 0 !important;
}

body > .skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

.skiptranslate {
  font-family: var(--font-family) !important;
}

/* Responsive translation control */
@media (max-width: 992px) {
  .header-actions {
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 0 16px;
  }

  .header-logo {
    height: 64px;
  }

  .site-header.is-scrolled {
    --header-height: 82px;
  }

  .site-header.is-scrolled .header-logo {
    height: 56px;
  }

  .language-control {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }

  .language-control-icon {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .language-control-chevron {
    display: none;
  }

  .language-selector {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    opacity: 0;
    cursor: pointer;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .header-logo,
  .nav-menu {
    transition: none !important;
  }

  .site-header.is-scrolled {
    animation: none;
  }

  .footer-heart {
    animation: none;
  }
}

/* Lightbox Sub-counter Styling */
.lightbox-counter {
  font-size: 0.85rem;
  color: var(--neutral-grey);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   14. Site-wide Premium Refinement
   ========================================================================== */
::selection {
  color: var(--white);
  background: var(--primary-color);
}

body {
  background: #fbfcfe;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(13, 132, 198, 0.3);
  outline-offset: 3px;
}

.section-padding {
  position: relative;
  padding: clamp(82px, 8vw, 124px) 0;
}

.section-padding[style*="neutral-light"] {
  background: linear-gradient(145deg, #f2f7fa 0%, #f8fafc 48%, #edf5f8 100%) !important;
}

.section-header {
  max-width: 790px;
  margin-bottom: clamp(46px, 6vw, 72px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid rgba(6, 81, 123, 0.13);
  border-radius: 999px;
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 5px 18px rgba(6, 81, 123, 0.06);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.section-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  box-shadow: 0 0 0 4px rgba(13, 132, 198, 0.09);
}

.text-center .section-tag,
.section-header.text-center .section-tag {
  margin-right: auto;
  margin-left: auto;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-desc {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  color: #566473;
  line-height: 1.75;
}

.inner-hero {
  min-height: clamp(340px, 40vw, 500px);
  padding: 118px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 0;
  background-attachment: fixed;
}

.inner-hero::before {
  background:
    radial-gradient(circle at 78% 16%, rgba(13, 132, 198, 0.38), transparent 34%),
    radial-gradient(circle at 18% 92%, rgba(245, 166, 35, 0.16), transparent 30%),
    linear-gradient(115deg, rgba(2, 32, 50, 0.94), rgba(6, 81, 123, 0.85) 56%, rgba(3, 45, 68, 0.84));
}

.inner-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to right, rgba(0,0,0,0.8), transparent 84%);
  pointer-events: none;
}

.inner-hero .container {
  width: 100%;
}

.inner-hero-title {
  max-width: 850px;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.28);
}

.inner-hero-title::before {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-color), #ffd27c);
  box-shadow: 0 0 24px rgba(245, 166, 35, 0.45);
}

.inner-hero-subtitle {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.75;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);
}

.feature-card,
.service-card,
.gallery-item,
.testimonial-card,
.client-logo-box,
.contact-form-card,
.info-box,
.project-content-panel,
.project-menu-panel {
  border-color: rgba(6, 81, 123, 0.11);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.99), rgba(247,250,252,0.98));
  box-shadow: 0 12px 40px rgba(3, 44, 67, 0.07), inset 0 1px 0 rgba(255,255,255,0.9);
}

.feature-card,
.service-card,
.gallery-item,
.testimonial-card,
.client-logo-box,
.info-box {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.45s ease;
}

.feature-card:hover,
.service-card:hover,
.gallery-item:hover,
.testimonial-card:hover,
.client-logo-box:hover,
.info-box:hover {
  transform: translateY(-8px);
  border-color: rgba(13, 132, 198, 0.3);
  box-shadow: 0 24px 60px rgba(3, 44, 67, 0.14), 0 5px 16px rgba(13, 132, 198, 0.08);
}

.feature-icon-wrapper,
.service-icon {
  border: 1px solid rgba(13, 132, 198, 0.13);
  background: linear-gradient(145deg, #eef8fc, #ffffff);
  box-shadow: 0 10px 26px rgba(6, 81, 123, 0.11), inset 0 1px 0 #fff;
}

.split-image-wrapper {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(6, 81, 123, 0.12);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(230,241,247,0.92));
  box-shadow: 0 28px 70px rgba(3, 44, 67, 0.14);
}

.split-image-wrapper::after {
  content: '';
  position: absolute;
  right: -15px;
  bottom: -15px;
  width: 110px;
  height: 110px;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(13,132,198,0.24), rgba(245,166,35,0.2));
  filter: blur(2px);
}

.split-image {
  border-radius: 17px;
  box-shadow: none;
}

.gallery-filter {
  padding: 8px;
  border: 1px solid rgba(6, 81, 123, 0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 12px 32px rgba(3, 44, 67, 0.07);
  backdrop-filter: blur(16px);
}

.filter-btn {
  border-radius: 12px;
}

.filter-btn:hover,
.filter-btn.active {
  box-shadow: 0 8px 20px rgba(6, 81, 123, 0.2);
}

.product-img-container,
.gallery-img-card {
  background: #edf4f7;
}

.contact-form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 54px);
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 3px;
  border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), var(--accent-color), transparent);
}

.form-control {
  border-color: rgba(6, 81, 123, 0.14);
  border-radius: 11px;
  background: #f8fafc;
}

.form-control:hover {
  border-color: rgba(6, 81, 123, 0.28);
}

.form-control:focus {
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 132, 198, 0.11), 0 10px 28px rgba(3, 44, 67, 0.07);
}

.map-wrapper {
  border: 8px solid var(--white);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(3, 44, 67, 0.15);
}

.project-content-panel {
  padding: clamp(28px, 4vw, 48px);
}

.project-menu-panel {
  top: calc(var(--header-height, 104px) + 24px);
  background: linear-gradient(145deg, #eef5f8, #ffffff);
  box-shadow: 0 18px 50px rgba(3, 44, 67, 0.1);
}

.project-menu-item {
  border-radius: 13px;
}

.gallery-img-card {
  border-radius: 17px;
  box-shadow: 0 10px 28px rgba(3, 44, 67, 0.1);
}

.btn,
.cta-button {
  box-shadow: 0 10px 28px rgba(6, 81, 123, 0.18);
}

.cta-banner-section {
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 80% 20%, rgba(13,132,198,0.4), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(245,166,35,0.18), transparent 28%),
    linear-gradient(120deg, #022a40, #06517b 58%, #043d5d);
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image: radial-gradient(circle, rgba(255,255,255,0.65) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(110deg, transparent 5%, #000 48%, transparent 95%);
}

.cta-banner-section .section-title {
  text-shadow: 0 6px 30px rgba(0,0,0,0.24);
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,0.76);
  border-top: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(13,132,198,0.24), transparent 30%),
    linear-gradient(145deg, #031d2b, #042f46 52%, #02151f);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}

.footer-top,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-logo {
  padding: 7px 10px;
  height: 66px;
  border-radius: 12px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.footer-brand-title,
.footer-heading,
.contact-info-item strong {
  color: var(--white);
}

.footer-tagline,
.contact-info-item,
.copyright,
.footer-links-list a,
.footer-contact a {
  color: rgba(255,255,255,0.69);
}

.footer-links-list a::before {
  color: #65c6f2;
}

.footer-links-list a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.badges-container .badge {
  color: #d7f3ff;
  border-color: rgba(101,198,242,0.28);
  background: rgba(101,198,242,0.1);
}

.footer-bottom {
  border-color: rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.15);
}

.social-icon {
  color: rgba(255,255,255,0.76);
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
}

.social-icon:hover {
  color: var(--white);
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  box-shadow: 0 10px 24px rgba(13,132,198,0.3);
}

@media (max-width: 992px) {
  .inner-hero {
    min-height: 340px;
    background-attachment: scroll;
  }

  .project-content-panel {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 68px 0;
  }

  .inner-hero {
    min-height: 310px;
    padding: 84px 0;
  }

  .inner-hero-title {
    font-size: clamp(2.65rem, 13vw, 3.7rem);
  }

  .feature-card,
  .service-card,
  .testimonial-card,
  .project-content-panel,
  .project-menu-panel {
    border-radius: 17px;
  }

  .project-content-panel {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .service-card,
  .gallery-item,
  .testimonial-card,
  .client-logo-box,
  .info-box {
    transition: none !important;
  }
}
