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

:root {
  --midnight: #0f2b4c;
  --midnight-light: #1a3d6e;
  --midnight-dark: #091e36;
  --mint: #5ec9b6;
  --mint-light: #7edfc7;
  --mint-dark: #4ab5a3;
  --mint-pale: #e8f7f4;
  --cream: #faf8f5;
  --warm-white: #fefdfb;
  --text-dark: #1a1a2e;
  --text-mid: #4a4a5a;
  --text-light: #7a7a8a;
  --shadow-sm: 0 2px 8px rgba(15, 43, 76, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 43, 76, 0.12);
  --shadow-lg: 0 8px 40px rgba(15, 43, 76, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--midnight);
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--mint);
  color: var(--midnight-dark);
  border-color: var(--mint);
}

.btn-primary:hover {
  background: var(--mint-light);
  border-color: var(--mint-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-white {
  background: white;
  color: var(--midnight);
  border-color: white;
}

.btn-white:hover {
  background: var(--mint-pale);
  border-color: var(--mint-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}

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

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== Section Tags ===== */
.section-tag {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint-dark);
  background: var(--mint-pale);
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 253, 251, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 43, 76, 0.06);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--midnight);
}

.logo-icon {
  color: var(--mint-dark);
}

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

.nav a {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-mid);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mint);
  border-radius: 2px;
  transition: var(--transition);
}

.nav a:hover { color: var(--midnight); }
.nav a:hover::after { width: 100%; }

.header-cta { display: none; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--midnight);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Mobile Nav ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(254, 253, 251, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid rgba(15, 43, 76, 0.06);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.mobile-nav.open { display: flex; }

.mobile-nav-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-mid);
  padding: 8px 0;
}

.mobile-nav-link:hover { color: var(--midnight); }

.mobile-nav-cta {
  justify-content: center;
  margin-top: 8px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--mint-pale) 50%, var(--cream) 100%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--midnight);
  top: -200px;
  right: -150px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--mint);
  bottom: -100px;
  left: -100px;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--mint-light);
  top: 40%;
  left: 30%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--midnight);
  background: rgba(255,255,255,0.7);
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
  border: 1px solid rgba(15, 43, 76, 0.08);
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--midnight);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.trust-item svg {
  color: var(--mint-dark);
  flex-shrink: 0;
}

.hero-image {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 560/640;
}

.hero-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--mint);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.4;
}

.hero-floating-card {
  position: absolute;
  bottom: 40px;
  left: -30px;
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.floating-card-icon {
  width: 44px;
  height: 44px;
  background: var(--mint-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-dark);
  flex-shrink: 0;
}

.floating-card-text {
  display: flex;
  flex-direction: column;
}

.floating-card-text strong {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: var(--midnight);
}

.floating-card-text span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== Services ===== */
.services {
  padding: 100px 0;
  background: white;
}

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

.service-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--mint);
  background: white;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--mint-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-dark);
  margin-bottom: 20px;
  transition: var(--transition);
}

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

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--midnight);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== About ===== */
.about {
  padding: 100px 0;
  background: var(--cream);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 480/520;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 300/280;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--midnight);
  color: white;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.exp-number {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--mint-light);
  line-height: 1;
}

.exp-text {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 4px;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

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

.value-icon {
  width: 44px;
  height: 44px;
  background: var(--mint-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-dark);
  flex-shrink: 0;
}

.value-item strong {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: var(--midnight);
  margin-bottom: 2px;
}

.value-item span {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ===== Why Us ===== */
.why-us {
  padding: 100px 0;
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.why-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--mint);
  background: white;
}

.why-number {
  font-family: 'Nunito', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--mint);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--midnight);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== CTA Banner ===== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--midnight) 0%, var(--midnight-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: var(--mint);
  border-radius: 50%;
  opacity: 0.08;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: white;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ===== Contact ===== */
.contact {
  padding: 100px 0;
  background: var(--cream);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
}

.contact-text {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--mint-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-dark);
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
  font-size: 1rem;
  color: var(--midnight);
  font-weight: 600;
}

.contact-detail a:hover { color: var(--mint-dark); }

.contact-form-wrapper {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form { display: block; }

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

.form-group label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--midnight);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(15, 43, 76, 0.1);
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--mint);
  background: white;
  box-shadow: 0 0 0 4px rgba(94, 201, 182, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show { display: block; }

.success-icon {
  width: 72px;
  height: 72px;
  background: var(--mint-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-dark);
  margin: 0 auto 20px;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--midnight);
}

.form-success p {
  color: var(--text-mid);
  font-size: 1rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--midnight-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand .logo-icon { color: var(--mint-light); }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  padding: 4px 0;
}

.footer-links a:hover { color: var(--mint-light); }

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contact a { color: rgba(255,255,255,0.6); }
.footer-contact a:hover { color: var(--mint-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { max-width: 500px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-content .section-title { text-align: center; }
  .about-content { text-align: center; }
  .about-values { align-items: center; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-info .section-title { text-align: center; }
  .contact-text { text-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav, .header-cta { display: none; }
  .mobile-toggle { display: flex; }
  .hero { padding: 100px 0 60px; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-floating-card { left: 10px; bottom: 20px; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .about-img-secondary { right: 10px; bottom: -20px; }
  .about-experience-badge { left: 10px; top: -10px; }
  .contact-form-wrapper { padding: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 90px 0 50px; }
  .hero-title { font-size: 1.7rem; }
  .section-title { font-size: 1.6rem; }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
