/* 
   OFG TECH - Scrollytelling Experience
   Pure CSS Reset & High-End Dark Mode Styling
*/

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

/* Responsive Scaling for Laptops - Professional "Zoom" Effect */
@media screen and (max-width: 1600px) {
  html {
    font-size: 85%;
    /* Scales down all rem-based elements */
  }
}

@media screen and (max-width: 1280px) {
  html {
    font-size: 85%;
    /* Further scaling for smaller laptop screens */
  }
}

:root {
  --bg-color: #050505;
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.6);
  --accent-color: #fa6f2c;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --border-color: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(15, 15, 15, 0.4);
  --glass-bg: rgba(10, 10, 10, 0.7);
  --footer-bg: #000;
  --canvas-mask-start: black;
  --canvas-mask-end: transparent;
  --sticky-bg-start: rgba(250, 111, 44, 0.25);
  --sticky-bg-end: rgba(5, 5, 5, 0.9);

  /* Fluid Typography Scale */
  --fs-hero: clamp(2.2rem, 8vw, 4.5rem);
  --fs-h2: clamp(1.8rem, 5vw, 3rem);
  --fs-h3: clamp(1.4rem, 4vw, 2.2rem);
  --fs-body: clamp(0.95rem, 1.5vw, 1.1rem);
  --fs-tagline: clamp(0.75rem, 2vw, 0.9rem);
  --container-max-width: 1400px;
  --container-width: 90%;
}

/* Light Theme */
/* Light Theme - Soft Luxury Aesthetic */
body.light-theme {
  --bg-color: #fafbfc;
  --text-primary: #0a0f1d;
  --text-secondary: #5e6c84;
  --accent-color: #fa6f2c;
  --border-color: rgba(10, 15, 29, 0.05);
  --card-bg: rgba(255, 255, 255, 0.75);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --footer-bg: #ffffff;
  --canvas-mask-start: #fafbfc;
  --canvas-mask-end: transparent;
  --sticky-bg-start: rgba(250, 111, 44, 0.03);
  --sticky-bg-end: #fafbfc;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.tagline,
.label,
.branding,
[class*="-title"],
[class*="-label"],
[class*="btn-"],
button {
  font-family: var(--font-heading);
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
}



/* Layout Utilities */
.container {
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.gradient-text-orange {
  background: linear-gradient(to right, #fa6f2c, #ff9e44);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--text-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loader-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Floating Navigation Header */
.floating-header {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container-width);
  max-width: var(--container-max-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  z-index: 1000;

  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

body.light-theme .floating-header {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .floating-header {
    top: 10px;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
  }
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  height: 35px;
  width: auto;
  display: block;
}

.logo-text {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    /* We'll implement a mobile burger if needed, but for now let's simplify */
  }
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
}

.action-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.lang-switch {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: inherit;
  padding: 0;
  transition: color 0.3s ease;
  text-decoration: none;
}

.lang-switch:hover,
.lang-switch.active {
  color: var(--text-primary);
}

.divider {
  opacity: 0.3;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
  margin-left: 10px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  position: relative;
  width: 36px;
  height: 36px;
  margin-right: 10px;
}

.theme-toggle:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.theme-toggle svg {
  position: absolute;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sun-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

.moon-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

body.light-theme .sun-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

body.light-theme .moon-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
}

/* Sticky Container */
.sticky-container {
  position: relative;
  height: 400vh;
  /* 4 scroll sections */
  z-index: 10;
  /* Ensure below hero if they overlap, or handle flow */
  /* background: var(--bg-color); */
  background: radial-gradient(circle at center,
      var(--sticky-bg-start) 0%,
      var(--sticky-bg-end) 70%);

  /* Ensure opaque background */
}

/* =========================================
   Modern Hero Section Styles
   ========================================= */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 11.25rem;
  /* Space for floating header */
  overflow: hidden;
  z-index: 50;
  /* Above sticky container initially */
}

@media screen and (min-device-width: 1200px) and (max-device-width: 2000px) {
  .hero-section {
    padding-top: 9.375rem;
    padding-bottom: 11.25rem;
  }
}

.spline-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: auto;
  /* Allow interaction with 3D model */
}

.hero-bg-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  display: none;
}

body.light-theme .spline-bg {
  display: none;
}

body.light-theme .hero-bg-light {
  display: block;
}

.hero-container {
  display: flex;
  width: var(--container-width);
  max-width: var(--container-max-width);
  justify-content: space-between;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  z-index: 2;
}

@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }
}

/* Left Column */
.hero-text {
  flex: 1;
  max-width: 650px;
}

.tagline {
  color: #fa6f2c;
  /* Cyan/Green */
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-size: var(--fs-hero);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: #fff;
}

body.light-theme .hero-text h1 {
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .hero-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.hero-desc {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

body.light-theme .hero-desc {
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn-hero-primary {
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 1.1rem 2.8rem;
  background: var(--accent-color);
  color: #000 !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(250, 111, 44, 0.2);
  cursor: pointer;
  z-index: 1;
}

.btn-hero-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s;
}

.btn-hero-primary:hover::after {
  left: 100%;
}

.btn-hero-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(250, 111, 44, 0.4);
  background: #fff;
  color: var(--accent-color) !important;
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

body.light-theme .btn-hero-secondary {
  background: rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .btn-hero-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
}

/* Social Proof */
.social-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: start;
}

.avatars {
  display: flex;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  border: 2px solid #000;
  margin-right: -10px;
}

body.light-theme .avatar {
  border: 2px solid #fff;
}

.avatar-count {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fa6f2c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid #fff;
  position: relative;
  z-index: 2;
}

body.light-theme .avatar-count {
  border: 2px solid #f8f9fa;
}

.proof-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  margin: 0;
  /* Reset */
}

.proof-text strong {
  color: #fff;
  display: block;
}

body.light-theme .proof-text {
  color: #4a4a4a;
}

body.light-theme .proof-text strong {
  color: #1a1a1a;
}

/* Right Column */
.hero-image-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.main-image {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Stats Cards */
.stat-card {
  position: absolute;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  animation: float 6s ease-in-out infinite;
}

body.light-theme .stat-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-card.top-right {
  top: 10%;
  right: -5%;
}

.stat-card.bottom-left {
  bottom: 10%;
  left: -5%;
  animation-delay: 2s;
  min-width: 180px;
}

@media (max-width: 768px) {
  .stat-card {
    padding: 0.8rem 1.2rem;
    gap: 0.8rem;
  }

  .stat-card.top-right {
    top: -20px;
    right: 0;
  }

  .stat-card.bottom-left {
    bottom: -20px;
    left: 0;
  }

  .stat-value {
    font-size: 1rem;
  }
}

.icon-box {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

body.light-theme .icon-box {
  background: rgba(250, 111, 44, 0.1);
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

body.light-theme .stat-label {
  color: var(--text-secondary);
}

body.light-theme .stat-value {
  color: var(--text-primary);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Footer Strip */
.brand-strip {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

body.light-theme .brand-strip {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(to top, rgba(248, 249, 250, 0.9), transparent);
}

.brand-strip p {
  font-size: var(--fs-tagline);
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
  text-align: center;
}

body.light-theme .brand-strip p {
  color: #4a4a4a;
}

.brand-logos {
  display: flex;
  gap: clamp(1.5rem, 5vw, 3rem);
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 5%;
}

.brand-logos span {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.canvas-wrapper {
  position: sticky;
  top: 0;
  width: 50%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;

  /* Premium Edge Blending */
  mask-image: radial-gradient(circle at center, var(--canvas-mask-start) 60%, var(--canvas-mask-end) 100%);
  -webkit-mask-image: radial-gradient(circle at center, var(--canvas-mask-start) 60%, var(--canvas-mask-end) 100%);
}

body.light-theme .canvas-wrapper {
  background: #f8f9fa;
}

.canvas-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--canvas-mask-end) 40%, var(--sticky-bg-end) 100%);
  pointer-events: none;
  z-index: 2;
}

canvas {
  display: block;
  max-width: 130%;
  max-height: 100%;
  filter: contrast(1.1) brightness(1.1);
}

/* =========================================
   OFG Tech Services Section
   ========================================= */
.services-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 140px 0;
  overflow: hidden;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Spline Background - Fixed Parallax */
/* .services-spline-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.8;
} */

/* Dark Radial Gradient Overlay for Readability */
.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: radial-gradient(
  circle at center,
  rgba(250, 111, 44, 0.25) 0%,
  rgba(5, 5, 5, 0.9) 70%
); */
  background-image: url(../assets/images/whisk.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -1;
  pointer-events: none;
}

/* Subtle Grain + Blur Overlay for Depth */
.services-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.services-container {
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

/* Section Header */
.services-header {
  margin-bottom: 80px;
  text-align: left;
}

.services-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fa6f2c;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease-out 0.2s forwards;
}

.services-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 900px;
  opacity: 0;
  animation: fadeUp 1s ease-out 0.4s forwards;
}

/* Services Grid - 4 Cards in a Row */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 60px;
}

/* Glass Card Styling */
.service-card {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: clamp(2rem, 3vw, 2.5rem);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
  transform: translateY(40px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Staggered Card Animation */
.service-card[data-card="1"] {
  animation: fadeUpCard 0.8s ease-out 0.6s forwards;
}

.service-card[data-card="2"] {
  animation: fadeUpCard 0.8s ease-out 0.75s forwards;
}

.service-card[data-card="3"] {
  animation: fadeUpCard 0.8s ease-out 0.9s forwards;
}

.service-card[data-card="4"] {
  animation: fadeUpCard 0.8s ease-out 1.05s forwards;
}

.service-card[data-card="5"] {
  animation: fadeUpCard 0.8s ease-out 1.2s forwards;
}

.service-card[data-card="6"] {
  animation: fadeUpCard 0.8s ease-out 1.35s forwards;
}

.service-card[data-card="7"] {
  animation: fadeUpCard 0.8s ease-out 1.5s forwards;
}

.service-card[data-card="8"] {
  animation: fadeUpCard 0.8s ease-out 1.65s forwards;
}

/* Inner Glow Effect */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg,
      rgba(250, 111, 44, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* Hover Animation - Lift + Glow */
.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(250, 111, 44, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(250, 111, 44, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

/* Card Icon */
.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(250, 111, 44, 0.1);
  border: 1px solid rgba(250, 111, 44, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fa6f2c;
  transition: all 0.4s ease;
}

.service-card:hover .card-icon {
  background: rgba(250, 111, 44, 0.2);
  border-color: rgba(250, 111, 44, 0.4);
  transform: scale(1.1) rotate(5deg);
}

/* Card Title */
.card-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

/* Card Description */
.card-desc {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Card Features List */
.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.check-icon {
  color: #fa6f2c;
  flex-shrink: 0;
  stroke-width: 3;
}

/* Services CTA */
.services-cta {
  text-align: center;
  opacity: 0;
  animation: fadeUp 1s ease-out 1.2s forwards;
}

.btn-services {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 1.1rem 2.8rem;
  background: var(--accent-color);
  color: #000 !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(250, 111, 44, 0.2);
  cursor: pointer;
  z-index: 1;
}

.btn-services::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s;
}

.btn-services:hover::after {
  left: 100%;
}

.btn-services:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(250, 111, 44, 0.4);
  background: #fff;
  color: var(--accent-color) !important;
}

/* Force Services Section to Stay Dark in Light Theme */
body.light-theme .services-section {
  background: #050505;
}

body.light-theme .services-section::before {
  background-image: url(../assets/images/whisk.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 1;
}

body.light-theme .services-title {
  color: #fff;
}

body.light-theme .service-card {
  background: rgba(15, 15, 15, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.light-theme .service-card:hover {
  border-color: rgba(250, 111, 44, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(250, 111, 44, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.light-theme .card-title {
  color: #fff;
}

body.light-theme .card-desc {
  color: rgba(255, 255, 255, 0.6);
}

body.light-theme .card-features li {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Advanced Animation System --- */

/* Scroll Reveal Utilities */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scale-in.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Logic (Used with JS) */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger-index, 0) * 0.15s);
}

.active .stagger-item,
.reveal.active .stagger-item,
.reveal-left.active .stagger-item,
.reveal-right.active .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUpCard {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowPan {
  0% {
    transform: scale(1) translate(0, 0);
  }

  50% {
    transform: scale(1.05) translate(-1%, -1%);
  }

  100% {
    transform: scale(1) translate(0, 0);
  }
}

/* Magnetic Button Base Animation */
.btn-hero-primary,
.btn-hero-secondary,
.btn-primary,
.btn-services {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
}

.btn-hero-primary:active,
.btn-hero-secondary:active {
  transform: scale(0.95);
}

/* Float with better easing */
@keyframes premiumFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  33% {
    transform: translateY(-10px) rotate(1deg);
  }

  66% {
    transform: translateY(-5px) rotate(-1deg);
  }
}

.stat-card {
  animation: premiumFloat 8s ease-in-out infinite !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .service-card {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 100px 0;
  }

  .services-header {
    margin-bottom: 50px;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    min-height: 320px;
    padding: 2rem;
  }


}

@media (max-width: 480px) {
  .services-section {
    padding: 80px 0;
  }

  .service-card {
    min-height: auto;
    padding: 1.75rem;
  }

  .card-icon {
    width: 48px;
    height: 48px;
  }
}

/* =========================================
   Trusted Clients Section
   ========================================= */
.trusted-section {
  background-color: var(--bg-color);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  z-index: 60;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.trusted-section.reveal {
  opacity: 1;
  transform: translateY(0);
}

.trusted-container {
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.trusted-header {
  text-align: center;
  margin-bottom: 60px;
}

.trusted-label {
  color: #fa6f2c;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 1rem;
}

.trusted-title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

body.light-theme .trusted-title {
  color: #1a1a1a;
}

.trusted-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Carousel */
.logo-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 40px;
  /* Gap between containers */
  animation: scrollLinear 70s linear infinite;
  will-change: transform;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  width: 240px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.client-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: clamp(45px, 20vh, 100px);
  /* Increased minimum from 30px */
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) brightness(0.8) opacity(0.6);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
}

.logo-item:hover {
  transform: scale(1.05);
}

.logo-item:hover .client-logo {
  filter: grayscale(0) brightness(1) opacity(1);
  filter: drop-shadow(0 0 20px rgba(250, 111, 44, 0.3));
}

.section-divider {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

@keyframes scrollLinear {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Left-to-right as requested: standard marquee is R-to-L, 
   but prompt asks for "Smooth left-to-right motion".
   We'll start from negative and go to zero.
*/
.logo-track.ltr {
  animation: scrollLTR 70s linear infinite;
}

@keyframes scrollLTR {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Responsive Trusted Section */
@media (max-width: 1024px) {
  .trusted-title {
    font-size: var(--fs-h2);
  }

  .logo-track {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .trusted-section {
    padding: 60px 0;
  }

  .trusted-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .logo-item {
    width: 160px;
    /* Show more logos at once */
    height: 80px;
    padding: 0 10px;
  }

  .logo-track {
    gap: 20px;
  }

}

body.light-theme .trusted-section {
  background-color: var(--bg-color);
}

body.light-theme .client-logo {
  filter: grayscale(1) invert(0.1) brightness(0.2) opacity(0.25);
}

body.light-theme .logo-item:hover .client-logo {
  filter: grayscale(0) brightness(1) opacity(1);
  filter: drop-shadow(0 0 15px rgba(250, 111, 44, 0.15));
}


/* =========================================
   OFG Tech Projects Section
   ========================================= */
.projects-section {
  position: relative;
  height: 300vh;
  /* Scroll length for animation */
  background-color: var(--bg-color);
  z-index: 60;
  margin-top: 50px;
}

.projects-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0;
}

.projects-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-start;
  margin-bottom: clamp(3rem, 8vh, 5rem);
  gap: 60px;
  margin-bottom: 60px;
}

.projects-header-left .tagline {
  margin-bottom: 24px;
}

.projects-title {
  font-size: var(--fs-h2);
  line-height: 1.1;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

body.light-theme .projects-title {
  color: var(--text-primary);
}

.projects-desc {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  /* max-width: 520px; */
}

.btn-case-studies {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body.light-theme .btn-case-studies {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
}

.btn-case-studies:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #000;
  transform: translateY(-2px);
}

.btn-case-studies svg {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-case-studies:hover svg {
  transform: translate(2px, -2px);
}

.projects-track-container {
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
  overflow: hidden;
}

.projects-track {
  display: flex;
  gap: 40px;
  width: max-content;
  will-change: transform;
  padding-right: 5%;
}

.project-card {
  width: clamp(350px, 30vw, 650px);
  aspect-ratio: 16/10;
  background: var(--card-bg);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
  cursor: pointer;
  flex-shrink: 0;
}

.project-card:hover {
  transform: scale(0.98);
}

.project-media {
  width: 100%;
  height: 100%;
  position: relative;
  background: #000;
}

.project-media img,
.project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.project-card:hover .project-media img,
.project-card:hover .project-media video {
  transform: scale(1.1);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
  pointer-events: none;
}

.project-card:hover .project-info {
  transform: translateY(0);
  opacity: 1;
}

.project-category {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}

.project-name {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Light Theme Adjustments */
body.light-theme .projects-section {
  background-color: #f8f9fa;
}

body.light-theme .project-card {
  background: #fff;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 1024px) {
  .projects-header {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 30px;
  }
}

@media (max-width: 800px) {
  .projects-section {
    height: auto !important;
  }

  .projects-sticky-wrapper {
    position: relative;
    height: auto;
    padding: 80px 0;
    overflow: visible;
  }

  .projects-track-container {
    overflow-x: auto;
    padding-left: 0;
    margin-top: 40px;
    -webkit-overflow-scrolling: touch;
  }

  .projects-track {
    padding: 0 5%;
    transform: none !important;
    /* Disable horizontal scroll JS on mobile */
  }

  .project-card {
    width: 85vw;
    border-radius: 20px;
  }

  .project-info {
    opacity: 1;
    transform: none;
    padding: 25px;
  }

  .project-name {
    font-size: 1.5rem;
  }
}

/* Scroll Content Overlay */
.scroll-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 1024px) {
  .scroll-content {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
  }
}

.step-sub {
  display: flex;
  flex-direction: column;
}

.step {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}

@media (max-width: 1024px) {
  .step {
    height: auto;
    min-height: 80vh;
    padding: 80px 5%;
  }
}

.content-box_sub {
  margin-bottom: 20px;
  text-align: left;
}

.content-box_subz {
  margin-bottom: 20px;
  text-align: right;
}

.content-box {
  pointer-events: auto;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  width: 100%;
  max-width: 750px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

body.light-theme .content-box {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

@media (max-width: 1024px) {
  .content-box {
    opacity: 1 !important;
    transform: none !important;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Cinematic Slide Animations */
.content-box.left {
  transform: translateX(-50px) scale(0.95);
  text-align: left;
}

.content-box.right {
  transform: translateX(50px) scale(0.95);
  text-align: right;
}

/* Gold Accent Line */
.content-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0.5;
}

.content-box.active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Typography Refinement */
.content-box h1 {
  font-size: clamp(2.5rem, 10vw, 5rem);
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #fa6f2c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.content-box h2 {
  font-size: var(--fs-h3);
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
}

body.light-theme .content-box h2 {
  color: #1a1a1a;
}

.content-box p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-box .subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: var(--accent-color);
  background: rgba(223, 166, 88, 0.05);
  border: 1px solid rgba(223, 166, 88, 0.2);
  padding: 0.6rem 1.2rem;
  display: inline-block;
  text-transform: uppercase;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 1.1rem 2.8rem;
  background: var(--accent-color);
  color: #000 !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(250, 111, 44, 0.2);
  cursor: pointer;
  z-index: 1;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(250, 111, 44, 0.4);
  background: #fff;
  color: var(--accent-color) !important;
}

.btn-security {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 1rem 2.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.btn-security:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* Responsive Stacking */
@media (max-width: 1024px) {
  .canvas-wrapper {
    width: 100%;
    height: 60vh;
    /* Increased from 50vh for more impact */
    mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
  }

  .canvas-wrapper canvas {
    transform: scale(1.15);
    /* Boosted object size */
    filter: brightness(1.2) contrast(1.2);
  }

  .scroll-content {
    position: relative;
    width: 100%;
    margin-top: 50vh;
  }

  .step {
    padding-top: 100px;
    padding-bottom: 100px;
    height: auto;
    min-height: 60vh;
  }

  .content-box {
    max-width: 90%;
    padding: 2.5rem;
    text-align: center !important;
    transform: translateY(30px) !important;
  }

  .content-box.active {
    transform: translateY(0) !important;
  }

  .content-box h1 {
    font-size: 3.5rem;
  }

  .content-box h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .content-box h1 {
    font-size: 2.8rem;
  }

  .content-box h2 {
    font-size: 2.2rem;
  }
}

/* Main Scrollytelling Header */
.scrolly-header {
  /* position: absolute;
  top: 8vh;
  left: 50%;
  transform: translateX(-50%); */
  z-index: 100;
  text-align: center;
  width: 100%;
  pointer-events: none;
  margin-top: 20px;
  margin-bottom: 50px;
}

.scrolly-header h1 {
  font-size: clamp(3rem, 15vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 0.8;
  text-transform: uppercase;
  background: linear-gradient(to bottom, #ffffff 30%, rgba(255, 255, 255, 0.2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(250, 111, 44, 0.1));
}

body.light-theme .scrolly-header h1 {
  background: linear-gradient(to bottom, #0a0f1d 40%, rgba(10, 15, 29, 0.2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}

.scrolly-header .subtitle {
  font-size: var(--fs-tagline);
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: clamp(1rem, 3vh, 2rem);
  display: block;
  opacity: 0.8;
}

/* Ensure canvas is centered without offsets */
.canvas-wrapper {
  padding-top: 0;
}

@media (max-width: 1024px) {
  .scrolly-header h1 {
    font-size: 5rem;
  }

  .scrolly-header .subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.4em;
  }
}

@media (max-width: 768px) {
  .scrolly-header {
    top: 4vh;
  }

  .scrolly-header h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 800px) {

  .sticky-container {
    height: unset !important;
  }

  .step {
    padding-top: unset;
  }

  .content-box {
    padding: 1rem;
  }

  .scroll-content {
    margin-top: 10vh;
  }

  .canvas-wrapper {
    display: none;
  }

  .content-box_subz,
  .content-box_sub {
    text-align: center !important;
  }
}

/* =========================================
   FAQ Section Styles
   ========================================= */
.faq-section {
  padding: 80px 0;
  background: var(--bg-color);
  position: relative;
  overflow: hidden;
  z-index: 65;
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.faq-left {
  position: sticky;
  top: 140px;
}

.faq-title {
  font-size: var(--fs-h2);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}

body.light-theme .faq-title {
  color: var(--text-primary);
}

.faq-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 400px;
}

.faq-cta-box {
  padding: 2.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
}

.faq-cta-box h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}

body.light-theme .faq-cta-box h4 {
  color: var(--text-primary);
}

.faq-cta-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  border-color: rgba(250, 111, 44, 0.3);
}

.faq-item.active {
  background: rgba(250, 111, 44, 0.03);
  border-color: rgba(250, 111, 44, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body.light-theme .faq-item {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .faq-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 1.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question span {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s ease;
}

body.light-theme .faq-question span {
  color: var(--text-primary);
}

.faq-item.active .faq-question span {
  color: var(--accent-color);
}

/* Animated Plus Icon */
.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.4s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent-color);
  border-radius: 2px;
  transition: transform 0.4s ease;
}

.faq-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-icon::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 2rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  /* Large enough to fit content */
  padding-bottom: 2rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .faq-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .faq-left {
    position: static;
    text-align: center;
  }

  .faq-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

}

@media (max-width: 768px) {
  .faq-section {
    padding: 80px 0;
  }

  .faq-question {
    padding: 1.5rem;
  }

  .faq-question span {
    font-size: 1.05rem;
    padding-right: 20px;
  }
}

/* =========================================
   Contact & Location Section
   ========================================= */
.contact-location-section {
  padding: 120px 0;
  background: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.contact-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 60px;
}

/* Form Styles */
.contact-form-box {
  /* background: var(--card-bg);
  border: 1px solid var(--border-color); */
  /* border-radius: 32px;
  padding: 60px; */
  backdrop-filter: blur(20px);
  height: 100%;
}

.contact-form-title {
  font-size: var(--fs-h2);
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

body.light-theme .contact-form-title {
  color: var(--text-primary);
}

.contact-direct-links {
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.direct-link-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body.light-theme .direct-link-item {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}

.direct-link-item:hover {
  background: var(--accent-color);
  color: #000;
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

body.light-theme .form-input,
body.light-theme .form-textarea {
  background: rgba(0, 0, 0, 0.02);
  color: var(--text-primary);
}

.form-textarea {
  height: 150px;
  resize: none;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.05);
}

.btn-submit {
  width: 100% !important;
  margin-top: 10px;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
}

/* Map Column styles */
.map-column {
  position: relative;
  height: unset;
  border-radius: 32px;
  overflow: hidden;
  /* border: 1px solid var(--border-color); */
  display: flex;
}

@media screen and (min-device-width: 300px) and (max-device-width: 600px) {
  .contact-location-grid {
    padding: 20px;
  }

  .footer-link {
    width: unset !important;
  }

  .footer-main {
    text-align: center !important;
  }
}

.map-image {
  width: 100%;
  height: auto;
  min-height: 400px;
  object-fit: cover;
  filter: grayscale(1) brightness(0.5);
  transition: transform 10s linear;
}

.map-column:hover .map-image {
  transform: scale(1.1);
}

.map-markers {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(5, 5, 5, 0.4) 100%);
  z-index: 5;
}

.map-pin-wrapper {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.location-dot {
  width: 14px;
  height: 14px;
  background: var(--accent-color);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 15px var(--accent-color);
}

.location-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    width: 14px;
    height: 14px;
    opacity: 1;
  }

  100% {
    width: 45px;
    height: 45px;
    opacity: 0;
  }
}

.mini-card {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 220px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mini-card::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.1);
}

.mini-card .address-city {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--accent-color);
}

.mini-card .address-detail {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #fff;
}

.map-pin-wrapper:hover .mini-card {
  transform: translateX(-50%) translateY(-5px);
  background: rgba(15, 15, 15, 0.95);
  border-color: var(--accent-color);
}

.map-pin-wrapper:hover .location-dot {
  transform: scale(1.3);
  background: #fff;
  box-shadow: 0 0 20px var(--accent-color);
}

body.light-theme .mini-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-theme .mini-card .address-detail {
  color: var(--text-primary);
}

body.light-theme .map-markers {
  background: none;
}

body.light-theme .map-image {
  filter: grayscale(1) brightness(1) contrast(0.8);
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .contact-location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .map-column {
    min-height: 500px;
    order: -1;
  }
}

/* --- Premium Footer Redesign --- */
.site-footer {
  padding: 120px 0 60px;
  position: relative;
  z-index: 70;
  overflow: hidden;
  background: #000;
}

/* Advanced Mesh Gradient */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(at 0% 0%, rgba(250, 111, 44, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(121, 40, 202, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(250, 111, 44, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(121, 40, 202, 0.1) 0px, transparent 50%);
  z-index: -1;
  opacity: 0.8;
}

/* Subtle Noise Texture */
.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.footer-card {
  background: linear-gradient(135deg, rgba(20, 20, 25, 0.7) 0%, rgba(10, 10, 12, 0.9) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 48px;
  padding: 80px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Big Outline Branding */
.footer-bg-branding {
  font-family: var(--font-display);
  position: absolute;
  bottom: -20px;
  right: -30px;
  font-size: 18rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

.footer-top-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 80px;
  margin-bottom: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.footer-intro-left {
  flex: 1;
  max-width: 600px;
}

.footer-intro-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
}

.footer-intro-right {
  display: flex;
  align-items: center;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  position: relative;
  z-index: 2;
}

.footer-brand-section {
  flex: 1.4;
  max-width: 450px;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 15px rgba(250, 111, 44, 0.3));
}

.footer-description {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 48px;
}

.subscribe-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.subscribe-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 8px 8px 8px 24px;
  transition: all 0.4s ease;
}

.subscribe-input-group:focus-within {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.05);
}

.subscribe-input {
  background: none;
  border: none;
  color: #fff;
  flex: 1;
  font-size: 1rem;
  outline: none;
}

.subscribe-btn {
  background: #fff;
  color: #000;
  border: none;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  position: relative;
}

.subscribe-btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(250, 111, 44, 0.2);
}

.footer-nav-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  flex: 2;
}

.footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  opacity: 0.8;
  width: fit-content;
}

.footer-link:hover {
  color: #fff;
  opacity: 1;
  transform: translateX(5px);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 80px 0 40px;
  position: relative;
  z-index: 2;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.footer-copyright {
  font-size: 0.9rem;
  /* color: rgba(255, 255, 255, 0.4); */
}

.footer-social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-icon:hover {
  background: rgba(255, 255, 255, 1);
  color: #000;
  transform: translateY(-5px) rotate(8deg);
  border-color: #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Light Theme Adaptations */
body.light-theme .site-footer {
  background: #f8f9fa;
}

body.light-theme .footer-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

body.light-theme .footer-bg-branding {
  -webkit-text-stroke: 2px rgba(0, 0, 0, 0.03);
}

body.light-theme .footer-intro-title,
body.light-theme .footer-title,
body.light-theme .footer-link:hover {
  color: var(--text-primary);
}

body.light-theme .subscribe-input-group {
  background: #f3f4f6;
  border-color: transparent;
}

body.light-theme .subscribe-input {
  color: #000;
}

body.light-theme .social-icon {
  background: #f3f4f6;
  color: #666;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .footer-top-intro {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
    margin-bottom: 60px;
  }

  .footer-intro-left {
    max-width: 100%;
  }

  .footer-main {
    flex-direction: column;
    gap: 80px;
  }

  .footer-nav-section {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-card {
    padding: 40px;
    border-radius: 32px;
  }

  .footer-nav-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bg-branding {
    font-size: 10rem;
    bottom: 0;
    right: 0;
  }
}

@media (max-width: 480px) {
  .footer-nav-section {
    grid-template-columns: 1fr;
  }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .footer-main {
    flex-direction: column;
    gap: 60px;
  }

  .footer-card {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .footer-nav-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-nav-section {
    grid-template-columns: 1fr;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .subscribe-input-group {
    flex-direction: column;
    border-radius: 20px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
  }

  .subscribe-input {
    margin-bottom: 12px;
    text-align: center;
  }

  .subscribe-btn {
    width: 100%;
    justify-content: center;
  }
}


/* =========================================
   Leadership (CEO) Section
   ========================================= */
.ceo-section {
  padding-bottom: 80px;
  background: var(--bg-color);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.ceo-grid {
  /* display: grid; */
  /* grid-template-columns: 0.8fr 1.2fr; */
  /* gap: 60px; */
  align-items: center;
  text-align: center;
}

.ceo-image-area {
  position: relative;
}

.ceo-image-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: visible;
  aspect-ratio: 1/1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 400px;
}

.ceo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  position: relative;
  z-index: 2;
  filter: grayscale(0.2);
  transition: all 0.5s ease;
}

.ceo-image-area:hover .ceo-img {
  filter: grayscale(0);
  transform: scale(1.02);
}

.ceo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(250, 111, 44, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #fff;
  color: #000;
  padding: 15px 20px;
  border-radius: 18px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.exp-num {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-top: 3px;
  opacity: 0.7;
}

.ceo-name {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 5px;
  background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0.4) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ceo-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent-color);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.ceo-quote-box {
  position: relative;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  margin-bottom: 30px;
}

.quote-icon {
  color: var(--accent-color);
  opacity: 0.3;
  margin-bottom: 15px;
  width: 32px;
  height: 32px;
}

.ceo-quote {
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.ceo-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  justify-content: center;
}

.ceo-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-n {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.stat-l {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ceo-socials {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.ceo-social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.4s ease;
}

.ceo-social-link:hover {
  background: var(--accent-color);
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(250, 111, 44, 0.3);
}

/* Light Theme Adjustments */
body.light-theme .ceo-section {
  background: #fff;
}

body.light-theme .ceo-image-wrapper {
  background: #f8f9fa;
  border-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .experience-badge {
  background: #000;
  color: #fff;
}

body.light-theme .ceo-name {
  background: linear-gradient(to bottom, #000 0%, #444 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .ceo-quote-box {
  background: #f8f9fa;
  border-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .ceo-quote {
  color: #4a4a4a;
}

body.light-theme .stat-n {
  color: #000;
}

body.light-theme .ceo-social-link {
  background: #f0f2f5;
  border-color: transparent;
  color: #000;
}

@media (max-width: 1024px) {
  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 80px;
    text-align: center;
  }

  .ceo-image-area {
    max-width: 500px;
    margin: 0 auto;
  }

  .ceo-stats,
  .ceo-socials {
    justify-content: center;
  }

  .experience-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: -40px;
  }
}

/* =========================================
   Security Flow Section (Audited. Open-source.)
   ========================================= */
.security-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-color);
  z-index: 60;
  /* border-bottom: 1px solid var(--border-color); */
}

#flow-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.security-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.security-title {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  position: absolute;
  top: 15%;
  width: 100%;
  text-align: center;
  pointer-events: auto;
}

.gradient-text-purple {
  /* background: linear-gradient(135deg, #7b61ff 0%, #a855f7 100%); */
  background: linear-gradient(135deg, #ff915c 0%, #bb3d00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-security {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 1.1rem 2.8rem;
  background: var(--accent-color);
  color: #000 !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(250, 111, 44, 0.2);
  cursor: pointer;
  z-index: 10;
}

/* Specific positioning for the button in the Security/Flow section */
.security-content .btn-security {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-security::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s;
}

.btn-security:hover::after {
  left: 100%;
}

.btn-security:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(250, 111, 44, 0.4);
  background: #fff;
  color: var(--accent-color) !important;
}

.security-content .btn-security:hover {
  transform: translate(-50%, calc(-50% - 5px)) scale(1.05);
}

/* Light Theme Adjustments for this section */
body.light-theme .security-section {
  background: #ffffff;
}

body.light-theme .security-title {
  color: #0a0f1d;
}

body.light-theme .btn-security,
body.light-theme .btn-hero-primary,
body.light-theme .btn-primary,
body.light-theme .btn-services {
  background: #000;
  color: #fff !important;
}

body.light-theme .btn-security:hover,
body.light-theme .btn-hero-primary:hover,
body.light-theme .btn-primary:hover,
body.light-theme .btn-services:hover {
  background: var(--accent-color);
}

body.light-theme .gradient-text-purple {
  /* background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); */
  background: linear-gradient(135deg, #ff915c 0%, #bb3d00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Mobile Responsive Redesign --- */
@media (max-width: 768px) {
  .security-section {
    min-height: 95vh;
    padding-top: 60px;
    padding-bottom: 120px;
  }

  .security-title {
    position: absolute;
    top: 8%;
    font-size: 2.2rem;
    padding: 0 20px;
    line-height: 1.2;
  }

  .security-content .btn-security {
    top: 80%;
    width: 80%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* =========================================
   WhatsApp Chat Widget Styles
   ========================================= */
/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 50px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-color);
  color: #000;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(250, 111, 44, 0.4);
  border-color: var(--accent-color);
}

body.light-theme .back-to-top {
  background: rgba(255, 255, 255, 0.8);
  color: #000;
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-theme .back-to-top:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 30px;
    left: 20px;
    width: 50px;
    height: 50px;
  }
}

/* =========================================
   WhatsApp Chat Widget Styles (Branded)
   ========================================= */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
}

.whatsapp-trigger {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(250, 111, 44, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 0;
}

.whatsapp-trigger:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(250, 111, 44, 0.5);
}

.icon-whatsapp {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.whatsapp-btn .icon-whatsapp {
  width: 24px;
  height: 24px;
}

.whatsapp-chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: #1a1a1a;
  /* Default Dark */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body.light-theme .whatsapp-chat-box {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.whatsapp-chat-box.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  background: var(--accent-color);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bot-logo {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  object-fit: contain;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.bot-details .bot-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
  color: #000;
}

.bot-details .bot-status {
  font-size: 0.8rem;
  opacity: 0.8;
  margin: 0;
}

.chat-close {
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: #000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.chat-close:hover {
  background: rgba(0, 0, 0, 0.2);
}

.chat-body {
  padding: 25px 20px;
  background: #0d0d0d;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcd2d12.png');
  background-blend-mode: overlay;
  opacity: 0.9;
  min-height: 180px;
}

body.light-theme .chat-body {
  background: #e5ddd5;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcd2d12.png');
  opacity: 1;
}

.chat-message.bot {
  background: #262626;
  padding: 12px 18px;
  border-radius: 0 18px 18px 18px;
  max-width: 85%;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.light-theme .chat-message.bot {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.chat-message p {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

body.light-theme .chat-message p {
  color: #111;
}

.message-time {
  display: block;
  font-size: 0.7rem;
  color: #666;
  text-align: right;
  margin-top: 6px;
}

body.light-theme .message-time {
  color: #999;
}

.chat-footer {
  padding: 20px;
  background: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-theme .chat-footer {
  background: #f0f2f5;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--accent-color);
  color: #000 !important;
  text-decoration: none;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(250, 111, 44, 0.2);
}

.whatsapp-btn:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(250, 111, 44, 0.3);
}

body.light-theme .whatsapp-btn:hover {
  background: #000;
  color: #fff !important;
}

@media (max-width: 480px) {
  .whatsapp-chat-box {
    width: 300px;
    bottom: 75px;
    right: -10px;
  }
}

/* =========================================
   Redesigned Founder/CEO Section (No Image)
   ========================================= */
.ceo-section {
  /* padding: 120px 0; */
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.ceo-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ceo-content-wrapper {
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 80px 80px;
  border-radius: 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.light-theme .ceo-content-wrapper {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.ceo-tagline {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 30px;
  padding: 8px 16px;
  border: 1px solid rgba(250, 111, 44, 0.2);
  border-radius: 100px;
  background: rgba(250, 111, 44, 0.05);
}

.ceo-name {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
}

body.light-theme .ceo-name {
  color: #000;
}

.ceo-role {
  font-size: 1.3rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}

.ceo-quote-container {
  position: relative;
  margin-bottom: 50px;
  max-width: 800px;
}

.quote-mark {
  font-size: 8rem;
  line-height: 1;
  font-family: serif;
  color: var(--accent-color);
  opacity: 0.15;
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.ceo-quote-text {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 400;
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
}

.ceo-stats-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 50px;
  width: 100%;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
}

.ceo-stat {
  text-align: center;
}

.ceo-stat-num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
  line-height: 1;
}

body.light-theme .ceo-stat-num {
  color: #000;
}

.ceo-stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.ceo-social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.ceo-social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

body.light-theme .ceo-social-icon {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.02);
}

.ceo-social-icon:hover {
  background: var(--accent-color);
  color: #000;
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .ceo-content-wrapper {
    padding: 50px 20px;
  }

  .ceo-stats-grid {
    gap: 40px;
    flex-direction: column;
    padding: 30px 0;
  }

  .quote-mark {
    font-size: 5rem;
    top: -30px;
  }
}