/* ============================================
   AMS-HN Website Redesign - Design System
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors */
  --color-navy: #0a1628;
  --color-navy-light: #0f2035;
  --color-navy-mid: #142a45;
  --color-steel: #1e3a5f;
  --color-steel-light: #2a5080;
  --color-amber: #e67e22;
  --color-amber-hover: #f39c12;
  --color-amber-dark: #d35400;
  --color-yellow-logo: #f1c40f;
  --color-white: #ffffff;
  --color-white-smoke: #f0f2f5;
  --color-gray-light: #e0e4e8;
  --color-gray: #8899aa;
  --color-gray-dark: #4a5568;
  --color-text: #2c3e50;
  --color-text-light: #bdc3c7;
  --color-success: #27ae60;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
  --shadow-glow-amber: 0 0 30px rgba(230, 126, 34, 0.3);
  --shadow-glow-steel: 0 0 30px rgba(30, 58, 95, 0.4);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 50;
  --z-fixed: 100;
  --z-modal: 1000;
  --z-tooltip: 1100;

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-5xl) 0;
}

.section-dark {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.section-light {
  background-color: var(--color-white-smoke);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--color-navy);
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.section-dark .section-header h2 {
  color: var(--color-white);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-amber), var(--color-amber-hover));
  border-radius: var(--radius-full);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-gray);
  max-width: 600px;
  margin: var(--space-lg) auto 0;
}

.section-dark .section-header p {
  color: var(--color-text-light);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-amber), var(--color-amber-dark));
  color: var(--color-white);
  border-color: var(--color-amber);
  box-shadow: var(--shadow-glow-amber);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-amber-hover), var(--color-amber));
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(230, 126, 34, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-outline-dark:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: 1.25rem 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  z-index: var(--z-tooltip);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--color-yellow-logo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--color-navy);
  position: relative;
  box-shadow: 0 0 15px rgba(241, 196, 15, 0.3);
  transition: transform var(--transition-spring);
}

.logo-icon:hover {
  transform: scale(1.05);
}

.logo-icon i {
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: 0.65rem;
  color: var(--color-navy);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-white);
  letter-spacing: 1px;
  line-height: 1;
}

.logo-text .tagline {
  font-size: 0.65rem;
  color: var(--color-amber);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-amber);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--color-white);
}

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

.nav-links a.active {
  color: var(--color-amber);
}

.nav-cta {
  padding: 0.6rem 1.5rem !important;
  background: var(--color-amber) !important;
  color: var(--color-white) !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-amber-hover) !important;
  transform: translateY(-1px);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: var(--z-tooltip);
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.92) 0%,
    rgba(10, 22, 40, 0.75) 50%,
    rgba(30, 58, 95, 0.85) 100%
  );
}

/* Animated particles/sparks effect */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-particles .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--color-amber);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float 4s ease-in-out infinite;
}

@keyframes particle-float {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(-200px) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(230, 126, 34, 0.15);
  border: 1px solid rgba(230, 126, 34, 0.3);
  color: var(--color-amber);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-xl);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  animation: fadeInDown 0.8s ease-out;
}

.hero-badge i {
  font-size: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--color-amber), var(--color-yellow-logo));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-light);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

/* Stats Bar */
.stats-bar {
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-2xl) 0;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-amber);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--color-white-smoke);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-light);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-amber), var(--color-amber-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.1), rgba(230, 126, 34, 0.05));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--color-amber), var(--color-amber-dark));
  transform: scale(1.1);
}

.service-icon i {
  font-size: 1.75rem;
  color: var(--color-amber);
  transition: color var(--transition-fast);
}

.service-card:hover .service-icon i {
  color: var(--color-white);
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.6;
}

/* ============================================
   ABOUT / WHY AMS SECTION
   ============================================ */
.about {
  background: var(--color-navy);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.4), transparent 70%);
  border-radius: 50%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: var(--space-lg);
  color: var(--color-white);
}

.about-content h2 .highlight {
  color: var(--color-amber);
}

.about-content > p {
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(230, 126, 34, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon i {
  color: var(--color-amber);
  font-size: 1.1rem;
}

.about-feature h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
  color: var(--color-white);
}

.about-feature p {
  font-size: 0.8rem;
  color: var(--color-gray);
}

.about-image {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(255, 255, 255, 0.05);
}

.about-image-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--color-amber), var(--color-amber-dark));
  color: var(--color-white);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge .text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ============================================
   PROCESS / WORKFLOW SECTION
   ============================================ */
.process {
  background: var(--color-white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-amber), var(--color-steel), var(--color-amber));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-steel));
  color: var(--color-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 2;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.process-step:hover .process-number {
  background: linear-gradient(135deg, var(--color-amber), var(--color-amber-dark));
  color: var(--color-white);
  transform: scale(1.1);
}

.process-step h3 {
  font-size: 1rem;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--color-gray);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: var(--color-white-smoke);
  overflow: hidden;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  border: 1px solid var(--color-gray-light);
  transition: all var(--transition-base);
}

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

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--color-amber);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  right: 25px;
  font-family: serif;
}

.testimonial-stars {
  color: var(--color-amber);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-gray-dark);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-steel), var(--color-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-amber);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-navy);
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--color-gray);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-steel) 100%);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.08), transparent 60%);
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: var(--space-lg);
}

.contact-info > p {
  color: var(--color-gray);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.1), rgba(230, 126, 34, 0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-amber);
  font-size: 1.1rem;
}

.contact-item-text strong {
  display: block;
  color: var(--color-navy);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-item-text span,
.contact-item-text a {
  font-size: 0.9rem;
  color: var(--color-gray);
}

.contact-item-text a:hover {
  color: var(--color-amber);
}

.contact-social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 42px;
  height: 42px;
  background: var(--color-navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--color-amber);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-white-smoke);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--color-gray-light);
}

.contact-form-wrapper h3 {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 2px solid var(--color-gray-light);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-amber);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding-top: var(--space-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about .logo {
  margin-bottom: var(--space-lg);
}

.footer-about p {
  color: var(--color-gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  color: var(--color-white);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-amber);
}

.footer-links a {
  display: block;
  color: var(--color-gray);
  font-size: 0.9rem;
  padding: var(--space-xs) 0;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-amber);
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  color: var(--color-gray);
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--color-amber);
  margin-top: 3px;
  min-width: 16px;
}

.footer-bottom {
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: var(--color-gray);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: var(--color-gray);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--color-amber);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float .tooltip {
  position: absolute;
  right: 72px;
  background: var(--color-white);
  color: var(--color-text);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll-triggered animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.animate-on-scroll.animate-left {
  transform: translateX(-30px);
}

.animate-on-scroll.animate-left.animated {
  transform: translateX(0);
}

.animate-on-scroll.animate-right {
  transform: translateX(30px);
}

.animate-on-scroll.animate-right.animated {
  transform: translateX(0);
}

.animate-on-scroll.animate-scale {
  transform: scale(0.9);
}

.animate-on-scroll.animate-scale.animated {
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.animated > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.animated > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.animated > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.animated > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.animated > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.animated > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.animated > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.animated > *:nth-child(8) { transition-delay: 0.4s; }

.stagger-children.animated > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .about-image {
    order: -1;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }

  .process-grid::before {
    display: none;
  }

  .testimonials-slider {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-slider .testimonial-card:last-child {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    transition: right var(--transition-base);
    z-index: var(--z-modal);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.25rem;
  }

  .menu-toggle {
    display: flex;
  }

  /* Hero Mobile */
  .hero {
    min-height: 90vh;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .stat-item::after {
    display: none !important;
  }

  /* Services Mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .service-card {
    text-align: left;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
  }

  .service-icon {
    margin: 0;
    min-width: 56px;
    width: 56px;
    height: 56px;
  }

  /* About Mobile */
  .about-features {
    grid-template-columns: 1fr;
  }

  .about-image-main img {
    height: 300px;
  }

  /* Process Mobile */
  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  /* Testimonials Mobile */
  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  .testimonials-slider .testimonial-card:last-child {
    display: block;
  }

  /* Contact Mobile */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* CTA Mobile */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* WhatsApp float */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }

  .whatsapp-float .tooltip {
    display: none;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }
}

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