/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #1a2744;
  background: #f8faf9;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Nunito', sans-serif; line-height: 1.2; }

/* ── Palette ─────────────────────────────────────── */
:root {
  --midnight:   #0a2540;
  --mid-mid:    #143a5c;
  --mid-light:  #1e4f7a;
  --mint:       #4fd1c5;
  --mint-dark:  #38b2a6;
  --mint-light: #b2f0ea;
  --cream:      #f8faf9;
  --sand:       #e8f0ee;
  --white:      #ffffff;
  --text:       #1a2744;
  --text-muted: #5a6f85;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 4px 24px rgba(10,37,64,.08);
  --shadow-lg:  0 12px 48px rgba(10,37,64,.12);
}

/* ── Utility ─────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-mint { color: var(--mint-dark); }
.section { padding: 6rem 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mint-dark);
  background: var(--mint-light);
  padding: .35em .9em;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--midnight);
  margin-bottom: 1rem;
}
.section-desc { color: var(--text-muted); font-size: 1.05rem; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  border: 2px solid transparent;
  border-radius: 50px;
  padding: .75rem 1.75rem;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-sm { padding: .55rem 1.25rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-mint {
  background: var(--mint);
  color: var(--midnight);
  border-color: var(--mint);
}
.btn-mint:hover { background: var(--mint-dark); border-color: var(--mint-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); transform: translateY(-2px); }

/* ── Cards ───────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,37,64,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(79,209,197,.15);
  transition: background .3s ease;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--white);
}
.nav-logo-icon { flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  transition: color .2s;
}
.nav-links a:hover { color: var(--mint); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 4px;
  transition: all .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,37,64,.92) 0%, rgba(20,58,92,.85) 50%, rgba(10,37,64,.90) 100%);
  z-index: 1;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(79,209,197,.12) 0%, transparent 65%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 760px;
  padding: 2rem 1.5rem;
  color: var(--white);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--mint);
  background: rgba(79,209,197,.15);
  border: 1px solid rgba(79,209,197,.3);
  padding: .45em 1.1em;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-scroll span {
  display: block;
  width: 2px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: .6; }
  50% { transform: scaleY(1.4); opacity: 1; }
}

/* ── Services ────────────────────────────────────── */
.services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 2rem;
}
.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--mint-light), rgba(79,209,197,.3));
  border-radius: var(--radius-sm);
  color: var(--midnight);
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--midnight);
}
.service-card p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
}

/* ── About ───────────────────────────────────────── */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-images {
  position: relative;
  min-height: 480px;
}
.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 380px; object-fit: cover; }
.about-img-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 55%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-img-float img { width: 100%; height: 220px; object-fit: cover; }
.about-stat {
  position: absolute;
  top: -1rem;
  right: 2rem;
  background: var(--midnight);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.stat-num {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--mint);
  line-height: 1;
}
.stat-label {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.about-text .section-tag { margin-bottom: 1rem; }
.about-text .section-title { text-align: left; margin-bottom: 1.25rem; }
.about-text > p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.about-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1.5rem 0 2rem;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
}
.about-list svg { flex-shrink: 0; }
.about-text .btn { margin-top: .5rem; }

/* ── Projects ────────────────────────────────────── */
.projects { background: var(--cream); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.project-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform .4s ease;
}
.project-card:hover img { transform: scale(1.05); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,37,64,.9) 0%, rgba(10,37,64,.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}
.project-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mint);
  background: rgba(79,209,197,.2);
  border: 1px solid rgba(79,209,197,.35);
  padding: .25em .7em;
  border-radius: 50px;
  width: fit-content;
  margin-bottom: .6rem;
}
.project-overlay h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .3rem;
}
.project-overlay p {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}

/* ── Testimonials ────────────────────────────────── */
.testimonials { background: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card { display: flex; flex-direction: column; gap: 1rem; }
.testimonial-stars { display: flex; gap: .2rem; color: #f5c518; }
.testimonial-text {
  flex: 1;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  color: var(--midnight);
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .9rem; color: var(--midnight); }
.testimonial-author span { font-size: .8rem; color: var(--text-muted); }

/* ── CTA Banner ──────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--mid-mid) 100%);
  padding: 5rem 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text { flex: 1; min-width: 280px; }
.cta-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: .75rem;
}
.cta-desc { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 480px; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Contact ─────────────────────────────────────── */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info .section-tag { margin-bottom: 1rem; }
.contact-info .section-title { text-align: left; margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  color: var(--mint-dark);
  flex-shrink: 0;
}
.contact-details strong {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: .85rem;
  font-weight: 800;
  color: var(--midnight);
  margin-bottom: .15rem;
}
.contact-details span,
.contact-details a {
  font-size: .9rem;
  color: var(--text-muted);
}
.contact-details a:hover { color: var(--mint-dark); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--midnight);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--cream);
  border: 2px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--mint);
  background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #a0b4c8; }
.form-note {
  font-size: .8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: .75rem;
}
.form-success {
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.form-success h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--midnight);
}
.form-success p { color: var(--text-muted); font-size: .95rem; }

/* ── Footer ──────────────────────────────────────── */
.footer {
  background: var(--midnight);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand p { font-size: .9rem; margin-top: .75rem; line-height: 1.6; max-width: 260px; }
.footer-col h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .9rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-col a:hover { color: var(--mint); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-images { min-height: 360px; }
  .about-text .section-title,
  .contact-info .section-title { text-align: center; }
  .about-text > p,
  .contact-info > p { text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10,37,64,.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-110%);
    transition: transform .35s ease;
    border-bottom: 1px solid rgba(79,209,197,.15);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .about-img-float { right: 0; }
  .about-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-desc { margin: 0 auto; }
  .cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .container { padding: 0 1rem; }
  .services-grid,
  .projects-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
}

/* ── Reduced Motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
