/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #3A3A3A;
  line-height: 1.6;
  background: linear-gradient(180deg, #f8f6f4 0%, #f3eeea 25%, #f0ebe6 50%, #eee8e2 75%, #ebe5de 100%);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ========== CSS VARIABLES ========== */
:root {
  --navy: #2D416E;
  --salmon: #DC8787;
  --lilac: #827391;
  --beige: #BEAFA0;
  --white: #FFFFFF;
  --text: #3A3A3A;
  --navy-light: rgba(45, 65, 110, 0.08);
  --salmon-light: rgba(220, 135, 135, 0.12);
  --lilac-light: rgba(130, 115, 145, 0.10);
  --beige-light: rgba(190, 175, 160, 0.15);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { margin-bottom: 1rem; }

/* ========== CONTAINER ========== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.nav.scrolled {
  background: rgba(248,246,244,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(45,65,110,0.08);
  box-shadow: 0 2px 20px rgba(45,65,110,0.08);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { height: 40px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.3s;
  position: relative;
  text-shadow: 0 0 12px rgba(248,246,244,0.95), 0 0 24px rgba(248,246,244,0.8), 0 0 40px rgba(248,246,244,0.6);
}
.nav.scrolled .nav-links a {
  text-shadow: none;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--salmon);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--salmon); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--navy);
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 3;
}
.hero-content h1,
.hero-content p { text-shadow: 0 0 30px rgba(248,246,244,0.9), 0 0 60px rgba(248,246,244,0.7); }
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 span { color: var(--salmon); }
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.7;
}
/* Hero SVG blobs layer */
.hero-blobs-svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-blobs-svg svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
/* Floating accent dots */
.hero-dot {
  position: absolute;
  border-radius: 50%;
  z-index: 2;
}
.hero-dot-1 {
  width: 50px; height: 50px;
  background: var(--salmon);
  top: 22%; right: 8%;
  animation: floatDot 6s ease-in-out infinite;
}
.hero-dot-2 {
  width: 30px; height: 30px;
  background: var(--lilac);
  top: 70%; right: 5%;
  animation: floatDot 8s ease-in-out infinite 1s;
}
.hero-dot-3 { display: none; }
.hero-dot-4 { display: none; }
.hero-dot-5 { display: none; }
/* Hero bottom fade for smooth transition */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #f3eeea);
  z-index: 2;
  pointer-events: none;
}
@keyframes floatDot {
  0%, 100% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(-12px) translateX(5px); }
  66% { transform: translateY(6px) translateX(-8px); }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: #3D5590;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45,65,110,0.3);
}
.btn-salmon {
  background: var(--salmon);
  color: var(--white);
}
.btn-salmon:hover {
  background: #C97272;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220,135,135,0.35);
}

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

/* Section decorative blobs */
.section-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* ========== SECTIONS ========== */
section { padding: 100px 0; }

/* ========== ABOUT ========== */
.about { position: relative; overflow: hidden; }
.about-blob-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(220,135,135,0.1) 0%, transparent 70%);
  top: -100px; right: -80px;
}
.about-blob-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(130,115,145,0.08) 0%, transparent 70%);
  bottom: -60px; left: -40px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { font-size: 1.05rem; line-height: 1.8; }
.about-photo {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  display: block;
  box-shadow: 0 16px 48px rgba(45,65,110,0.12);
}

/* ========== SERVICES ========== */
.services { position: relative; overflow: hidden; }
.services-blob {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(190,175,160,0.12) 0%, transparent 70%);
  bottom: -100px; right: -100px;
}
.services-header { text-align: center; margin-bottom: 60px; }
.services-header p { max-width: 560px; margin: 0.5rem auto 0; font-size: 1.05rem; color: var(--text); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  background: rgba(255,255,255,0.88);
  border-radius: 20px;
  padding: 36px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(45,65,110,0.06);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45,65,110,0.1);
}
.service-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 30px; height: 30px; }
.service-icon-1 { background: rgba(220,135,135,0.18); }
.service-icon-1 svg { color: #c06060; }
.service-icon-2 { background: rgba(45,65,110,0.12); }
.service-icon-2 svg { color: var(--navy); }
.service-icon-3 { background: rgba(130,115,145,0.15); }
.service-icon-3 svg { color: #6b5d7b; }
.service-icon-4 { background: rgba(190,175,160,0.22); }
.service-icon-4 svg { color: #7a6545; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; color: #666; margin-bottom: 0; line-height: 1.7; }

/* ========== EXPERIENCE ========== */
.experience { position: relative; overflow: hidden; }
.experience-header { text-align: center; margin-bottom: 60px; }
.experience-header p { max-width: 560px; margin: 0.5rem auto 0; font-size: 1.05rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.stat-card {
  text-align: center;
  padding: 32px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(45,65,110,0.08);
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--lilac);
  font-weight: 500;
}
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 0 12px;
}
.industry-tag {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
}
.industry-tag:nth-child(1) { background: var(--salmon-light); }
.industry-tag:nth-child(2) { background: var(--navy-light); }
.industry-tag:nth-child(3) { background: var(--lilac-light); }
.industry-tag:nth-child(4) { background: var(--beige-light); }
.industry-tag:nth-child(5) { background: rgba(220,135,135,0.08); }

/* ========== CONTACT ========== */
.contact {
  background: linear-gradient(135deg, var(--navy) 0%, #3D5590 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact h2 { color: var(--white); margin-bottom: 1rem; }
.contact p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 500px; margin: 0 auto 2.5rem; }
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--white);
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s;
}
.linkedin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.linkedin-btn svg { width: 22px; height: 22px; }
.contact-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}
.contact-blob-1 {
  width: 300px; height: 300px;
  background: var(--salmon);
  top: -100px; right: -50px;
}
.contact-blob-2 {
  width: 200px; height: 200px;
  background: var(--lilac);
  bottom: -80px; left: -40px;
}

/* ========== FOOTER ========== */
.footer {
  background: #1E2D4D;
  color: rgba(255,255,255,0.6);
  padding: 40px 0;
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo { height: 32px; filter: brightness(0) invert(1); opacity: 0.7; }
.footer-copy { font-size: 0.85rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--salmon);
  color: var(--white);
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    justify-content: center;
    align-items: center;
    gap: 36px;
    z-index: 1002;
  }
  .nav-links.open a {
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 600;
  }
  .nav-links.open a::after { display: none; }
  .hamburger { display: flex; position: relative; z-index: 1003; }

  .hero .container { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding-top: 96px; padding-bottom: 80px; }
  .hero-blobs-svg svg {
    transform: translate(50%, 0%) scale(1.4);
  }
  .hero-content {
    background: rgba(248,246,244,0.65);
    padding: 24px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .hero-dot-1 { width: 36px; height: 36px; top: 10%; right: 5%; }
  .hero-dot-2 { width: 22px; height: 22px; top: auto; bottom: 10%; right: 8%; }
  .hero-dot-3 { display: none; }
  .hero-dot-4 { display: none; }
  .hero-dot-5 { width: 26px; height: 26px; top: auto; bottom: 18%; left: 6%; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-col { order: 1; }
  .about-photo { max-width: 260px; }

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

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

  .footer .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  section { padding: 70px 0; }
  .hero { padding-top: 88px; padding-bottom: 60px; }
  .industries { gap: 8px; }
  .industry-tag { padding: 8px 16px; font-size: 0.82rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-number { font-size: 2rem; }
  .service-card { padding: 28px 24px; }
  .contact { padding: 70px 0; }
}
