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

:root {
  --color-primary: #0A1628;
  --color-accent: #F59E0B;
  --color-secondary: #1E3A5F;
  --color-surface-light: #F8FAFC;
  --color-surface-dark: #0F1F38;
  --color-text-primary: #1A1A2E;
  --color-text-muted: #64748B;
  --color-white: #FFFFFF;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Space Grotesk', sans-serif;
}

.dark {
  --color-text-primary: #F8FAFC;
  --color-surface-light: #0A1628;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-scroll-container] {
  will-change: transform;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background-color: var(--color-surface-light);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

html {
  overflow-x: hidden;
  max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

.font-accent {
  font-family: var(--font-accent);
}

.bg-primary { background-color: var(--color-primary); }
.bg-accent { background-color: var(--color-accent); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-surface-light { background-color: var(--color-surface-light); }
.bg-surface-dark { background-color: var(--color-surface-dark); }

.text-primary-color { color: var(--color-text-primary); }
.text-accent-color { color: var(--color-accent); }
.text-muted-color { color: var(--color-text-muted); }

.border-accent { border-color: var(--color-accent); }
.border-primary { border-color: var(--color-primary); }
.border-secondary { border-color: var(--color-secondary); }

/* Glassmorphism utility */
.glass {
  background: rgba(15, 31, 56, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.glass:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.1);
}

.glass-light {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.25rem;
}

/* Stunning Gradient Text Utility */
.text-gradient {
  background: linear-gradient(135deg, #FFF 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Service Card Hover */
.service-card {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
}

/* Custom Scrollbar for dark mode */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Texture Overlay */
.grain-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.65%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22 opacity=%220.05%22/%3E%3C/svg%3E');
}

/* Org Chart Tree - CSS */
.org-tree ul {
  padding-top: 20px; position: relative;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  display: flex;
  justify-content: center;
}
.org-tree li {
  float: left; text-align: center;
  list-style-type: none;
  position: relative;
  padding: 20px 5px 0 5px;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
}
.org-tree li::before, .org-tree li::after{
  content: '';
  position: absolute; top: 0; right: 50%;
  border-top: 2px solid var(--color-secondary);
  width: 50%; height: 20px;
}
.org-tree li::after{
  right: auto; left: 50%;
  border-left: 2px solid var(--color-secondary);
}
.org-tree li:only-child::after, .org-tree li:only-child::before {
  display: none;
}
.org-tree li:only-child{ padding-top: 0;}
.org-tree li:first-child::before, .org-tree li:last-child::after{
  border: 0 none;
}
.org-tree li:last-child::before{
  border-right: 2px solid var(--color-secondary);
  border-radius: 0 5px 0 0;
  -webkit-border-radius: 0 5px 0 0;
  -moz-border-radius: 0 5px 0 0;
}
.org-tree li:first-child::after{
  border-radius: 5px 0 0 0;
  -webkit-border-radius: 5px 0 0 0;
  -moz-border-radius: 5px 0 0 0;
}
.org-tree ul ul::before{
  content: '';
  position: absolute; top: 0; left: 50%;
  border-left: 2px solid var(--color-secondary);
  width: 0; height: 20px;
}
.org-tree li a{
  text-decoration: none;
  font-family: var(--font-body);
  display: inline-block;
}
@media (max-width: 768px) {
  .org-tree ul { flex-direction: column; padding-top: 0;}
  .org-tree li { float: none; padding: 10px 0 0 0; }
  .org-tree li::before, .org-tree li::after { display: none; }
  .org-tree ul ul::before { display: none; }
}

/* Toast animations */
.toast-enter { transform: translateY(100%); opacity: 0; }
.toast-enter-active { transform: translateY(0); opacity: 1; transition: all 300ms ease-out; }
.toast-exit { transform: translateY(0); opacity: 1; }
.toast-exit-active { transform: translateY(100%); opacity: 0; transition: all 300ms ease-in; }

/* Timeline Component */
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--color-accent);
  border: 4px solid var(--color-primary);
}
@media (min-width: 768px) {
  .timeline-item-left::before { left: auto; right: -2rem; }
}

/* Custom Checkbox */
.custom-checkbox input:checked + div {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}
.custom-checkbox input:checked + div svg {
  display: block;
}

/* Sticky WhatsApp */
.wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  transition: transform 0.3s ease;
}
.wa-btn:hover {
  transform: scale(1.1);
}

/* Mobile Scrollers Drop-shadows */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.glowing-card { transition: all 0.4s ease; border: 1px solid rgba(255, 255, 255, 0.1); }
.glowing-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.3); }

/* Ultra-Premium UX Enhancements */
::selection { background-color: var(--color-accent); color: var(--color-primary); }
html { scroll-behavior: smooth; }
.hover-scale { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.hover-scale:hover { transform: scale(1.02); }
button, a { transition: transform 0.3s ease, background-color 0.3s ease; }
button:active, a.btn:active { transform: scale(0.95); }
.glass-heavy { backdrop-filter: blur(24px); background: rgba(15, 31, 56, 0.7); border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 30px 60px rgba(0,0,0,0.5); }


/* ── Custom Tailwind color utilities ──────────────────────── */
.text-primary { color: #0A1628; }
.text-accent { color: #F59E0B; }
.text-accent\/80 { color: rgba(245,158,11,0.8); }
.text-text-muted { color: #64748B; }
.text-text-primary { color: #1A1A2E; }

.bg-primary\/20 { background-color: rgba(10,22,40,0.2); }
.bg-primary\/50 { background-color: rgba(10,22,40,0.5); }
.bg-primary\/90 { background-color: rgba(10,22,40,0.9); }
.bg-accent\/10 { background-color: rgba(245,158,11,0.1); }
.bg-secondary { background-color: #1E3A5F; }
.bg-surface-dark\/30 { background-color: rgba(15,31,56,0.3); }
.bg-surface-dark\/40 { background-color: rgba(15,31,56,0.4); }

.border-accent\/30 { border-color: rgba(245,158,11,0.3); }
.border-accent\/50 { border-color: rgba(245,158,11,0.5); }

.hover\:bg-accent:hover { background-color: #F59E0B; }
.hover\:bg-secondary\/80:hover { background-color: rgba(30,58,95,0.8); }
.hover\:border-accent:hover { border-color: #F59E0B; }
.hover\:border-accent\/50:hover { border-color: rgba(245,158,11,0.5); }
.hover\:shadow-accent\/50:hover { box-shadow: 0 0 20px rgba(245,158,11,0.5); }
.hover\:text-accent:hover { color: #F59E0B; }
.hover\:text-primary:hover { color: #0A1628; }

.focus\:border-accent:focus { border-color: #F59E0B; }
.focus\:ring-accent:focus { --tw-ring-color: #F59E0B; }

.font-heading { font-family: 'Poppins', sans-serif; }
.font-body { font-family: 'Inter', sans-serif; }
.accent-accent { accent-color: #F59E0B; }

/* Gradient utilities */
.from-primary { --tw-gradient-from: #0A1628; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(10,22,40,0)); }
.from-surface-dark { --tw-gradient-from: #0F1F38; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(15,31,56,0)); }
.via-primary\/50 { --tw-gradient-stops: var(--tw-gradient-from), rgba(10,22,40,0.5), var(--tw-gradient-to, rgba(10,22,40,0)); }
.via-primary\/90 { --tw-gradient-stops: var(--tw-gradient-from), rgba(10,22,40,0.9), var(--tw-gradient-to, rgba(10,22,40,0)); }

/* ── Arbitrary value classes ─────────────────────────────── */
.bg-\[\#25D366\] { background-color: #25D366; }
.bg-\[url\(\'assets\/images\/hero_bg\.png\'\)\] { background-image: url('assets/images/hero_bg.png'); }
.bg-\[url\(\'https\:\/\/www\.transparenttextures\.com\/patterns\/carbon-fibre\.png\'\)\] {
  background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
}
.\[color-scheme\:dark\] { color-scheme: dark; }
.h-\[2px\] { height: 2px; }
.h-\[350px\] { height: 350px; }
.h-\[400px\] { height: 400px; }
.left-\[15\%\] { left: 15%; }
.right-\[15\%\] { right: 15%; }
.max-w-\[100vw\] { max-width: 100vw; }
.min-h-\[90vh\] { min-height: 90vh; }
.min-w-\[160px\] { min-width: 160px; }
.min-w-\[180px\] { min-width: 180px; }
.min-w-\[200px\] { min-width: 200px; }
.text-\[10px\] { font-size: 10px; line-height: 1.4; }
.z-\[80\] { z-index: 80; }
.z-\[90\] { z-index: 90; }
.z-\[100\] { z-index: 100; }
.shadow-\[0_0_15px_rgba\(245\,158\,11\,0\.3\)\] { box-shadow: 0 0 15px rgba(245,158,11,0.3); }
.shadow-\[0_0_15px_rgba\(245\,158\,11\,0\.4\)\] { box-shadow: 0 0 15px rgba(245,158,11,0.4); }
.shadow-\[0_0_20px_rgba\(245\,158\,11\,0\.05\)\] { box-shadow: 0 0 20px rgba(245,158,11,0.05); }
.shadow-\[0_0_20px_rgba\(245\,158\,11\,0\.2\)\] { box-shadow: 0 0 20px rgba(245,158,11,0.2); }
.shadow-\[0_0_30px_rgba\(245\,158\,11\,0\.5\)\] { box-shadow: 0 0 30px rgba(245,158,11,0.5); }
.shadow-\[inset_0_0_50px_rgba\(15\,31\,56\,1\)\] { box-shadow: inset 0 0 50px rgba(15,31,56,1); }
.hover\:shadow-\[0_0_30px_rgba\(37\,211\,102\,0\.6\)\]:hover { box-shadow: 0 0 30px rgba(37,211,102,0.6); }

@media (min-width: 768px) { .md\:w-\[70\%\] { width: 70%; } }
@media (min-width: 1024px) { .lg\:w-\[60\%\] { width: 60%; } }
