/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
  /* Colors */
  --bg-primary: #ffffff;
  --bg-alt: #f8fafc;
  --bg-ice: #edf4ff;
  
  --navy-primary: #0a192f;
  --navy-secondary: #172a45;
  --navy-light: #233554;
  
  --electric-blue: #0052ff;
  --electric-hover: #0043d6;
  --electric-glow: rgba(0, 82, 255, 0.15);
  
  --cyan-accent: #00d4ff;
  --cyan-glow: rgba(0, 212, 255, 0.15);
  
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  
  --border-color: #e2e8f0;
  --border-focus: #94a3b8;
  
  /* Fonts */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(10, 25, 47, 0.08), 0 8px 16px -6px rgba(10, 25, 47, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(10, 25, 47, 0.12), 0 12px 20px -8px rgba(10, 25, 47, 0.12);
  --shadow-hover: 0 30px 60px -15px rgba(0, 82, 255, 0.18);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.5s ease;
}

/* ==========================================================================
   Resets & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  color: var(--text-dark);
  background-color: var(--bg-primary);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

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

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

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
  background: var(--border-focus);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--navy-light);
}

/* Selection highlight */
::selection {
  background-color: var(--electric-glow);
  color: var(--electric-blue);
}

/* ==========================================================================
   Layout & Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--electric-blue), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.section-tagline {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--electric-blue);
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--electric-blue);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background-color: var(--electric-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 82, 255, 0.25);
}

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

.btn-secondary:hover {
  background-color: var(--bg-alt);
  border-color: var(--navy-primary);
  transform: translateY(-2px);
}

.btn-full-width {
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: var(--transition-fast);
}

.header.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-fast);
}

.header.scrolled .header-container {
  height: 64px;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--electric-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--electric-blue);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--navy-primary);
  cursor: pointer;
  padding: 4px;
}

/* ==========================================================================
   Mobile Overlay & Drawer Navigation
   ========================================================================== */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 47, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 100%;
  max-width: 320px;
  height: 100%;
  background-color: var(--bg-primary);
  z-index: 2001;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.mobile-overlay.active .mobile-drawer {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-primary);
  cursor: pointer;
}

.drawer-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: auto;
}

.drawer-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-primary);
  display: block;
}

.drawer-link:hover {
  color: var(--electric-blue);
  transform: translateX(4px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 180px 0 100px 0;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-bg-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  -webkit-filter: blur(100px);
  z-index: 1;
}

.hero-bg-accent.glow-1 {
  width: 400px;
  height: 400px;
  background-color: var(--electric-glow);
  top: -100px;
  right: -50px;
}

.hero-bg-accent.glow-2 {
  width: 300px;
  height: 300px;
  background-color: var(--cyan-glow);
  bottom: -50px;
  left: -50px;
}

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

.hero-content {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.badge-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--bg-ice);
  color: var(--electric-blue);
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 82, 255, 0.1);
}

.hero-headline {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   Stats Counter Section
   ========================================================================== */
.stats-section {
  padding: 48px 0;
  position: relative;
  z-index: 5;
  margin-top: -30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background-color: var(--bg-primary);
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  border-radius: 12px;
  transition: var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.stat-icon-wrapper.blue {
  background-color: var(--bg-ice);
  color: var(--electric-blue);
}

.stat-icon-wrapper.navy {
  background-color: rgba(23, 42, 69, 0.08);
  color: var(--navy-primary);
}

.stat-icon-wrapper.electric {
  background-color: rgba(0, 212, 255, 0.08);
  color: #00a8cc;
}

.stat-info {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1;
}

.stat-suffix {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--electric-blue);
  margin-left: 2px;
}

.stat-label {
  width: 100%;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ==========================================================================
   Services Section (Grid Layout)
   ========================================================================== */
.services-section {
  padding: 100px 0;
  background-color: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background-color: var(--bg-primary);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 82, 255, 0.2);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background-color: var(--bg-ice);
  color: var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 28px;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background-color: var(--electric-blue);
  color: var(--bg-primary);
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 16px;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-secondary);
}

.service-features li i {
  color: var(--electric-blue);
}


/* ==========================================================================
   The Team Section (Custom Layout Grid)
   ========================================================================== */
.team-section {
  padding: 100px 0;
  background-color: var(--bg-alt);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* Standardizing Card Layout */
.team-card {
  background-color: var(--bg-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 82, 255, 0.15);
}

.team-img-wrapper {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-alt);
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: var(--transition-slow);
}

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

.team-info {
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--electric-blue);
  background-color: var(--bg-ice);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  width: fit-content;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Contact & Lead Form Section
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.contact-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.contact-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: var(--bg-ice);
  color: var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-detail-text p {
  color: var(--text-muted);
  font-size: 1rem;
}

.contact-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--bg-primary);
  box-shadow: var(--shadow-sm);
}

.social-icon.wa {
  background-color: #25d366;
}

.social-icon.wa:hover {
  background-color: #1ebe57;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(37, 211, 102, 0.25);
}

.social-icon.ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.ig:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(220, 39, 67, 0.25);
}

/* Contact Form */
.contact-form-panel {
  background-color: var(--bg-alt);
  padding: 48px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 32px;
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-primary);
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.contact-form textarea {
  padding-left: 44px;
}

.text-area-wrapper i {
  top: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.1);
}

.btn-submit {
  width: 100%;
  background-color: #25d366;
  color: var(--bg-primary);
  border: none;
}

.btn-submit:hover {
  background-color: #1ebe57;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
  background-color: var(--navy-primary);
  color: var(--text-light);
  padding: 80px 0 0 0;
  border-top: 1px solid var(--navy-secondary);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--navy-secondary);
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 24px;
  /* Make the logo clean on dark background if necessary, since it has dark text:
     To inverted or custom colors on dark background, we can apply SVG styling or a filter */
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: #a8b2d1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--navy-secondary);
  color: #a8b2d1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.footer-socials a:hover {
  background-color: var(--electric-blue);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bg-primary);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #a8b2d1;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--electric-blue);
  padding-left: 4px;
}

.footer-legal-text {
  color: #a8b2d1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  padding: 24px 0;
  background-color: #020c1b;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: #8892b0;
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Desktop & Laptop sizes (1024px to 1200px) */
@media (max-width: 1200px) {
  .hero-headline {
    font-size: 3.5rem;
  }
}

/* Tablets (768px to 1024px) */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .btn-consultation {
    display: none;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Mobile Devices (Under 768px) */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.75rem;
  }
  
  .hero-subheadline {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Small Screens (Under 480px) */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}
