/* ── Base & Utilities ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }
a.no-underline { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Navbar ── */
#nav { background: transparent; }
#nav.scrolled { background: rgba(2, 6, 23, 0.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(13, 148, 136, 0.15); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: #0d9488; color: #020617; font-weight: 700;
  padding: 14px 32px; border-radius: 9999px; font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover { background: #14b8a6; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(13, 148, 136, 0.35); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: #f1f5f9; font-weight: 600;
  padding: 14px 32px; border-radius: 9999px; font-size: 0.95rem;
  border: 1.5px solid rgba(148, 163, 184, 0.3);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: #2dd4bf; background: rgba(45, 212, 191, 0.08); transform: translateY(-2px); }

.btn-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: #0f172a; color: #f1f5f9; font-weight: 700;
  padding: 14px 36px; border-radius: 9999px; font-size: 1rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-cta:hover { background: #1e293b; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }

.btn-cta-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: #f1f5f9; font-weight: 700;
  padding: 14px 36px; border-radius: 9999px; font-size: 1rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }

/* ── Inputs ── */
.input-field {
  background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px; padding: 13px 16px; color: #f1f5f9;
  font-size: 0.95rem; font-family: inherit; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-field::placeholder { color: #64748b; }
.input-field:focus { border-color: #0d9488; box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2); }
select.input-field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
select.input-field option { background: #0f172a; color: #f1f5f9; }

/* ── Floating Stat Cards (Hero) ── */
.float-card {
  position: absolute; background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px); border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: 20px; padding: 20px 22px; width: 240px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.card-1 { top: 0; left: 10%; animation: floatA 6s ease-in-out infinite; }
.card-2 { top: 28%; right: 0; animation: floatB 7s ease-in-out infinite; }
.card-3 { bottom: 28%; left: 5%; animation: floatC 5.5s ease-in-out infinite; }
.card-4 { bottom: 0; right: 10%; animation: floatD 6.5s ease-in-out infinite; }

@keyframes floatA { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-14px) rotate(1deg)} }
@keyframes floatB { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-10px) rotate(-1deg)} }
@keyframes floatC { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-16px) rotate(1deg)} }
@keyframes floatD { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-12px) rotate(-1deg)} }

/* ── Service Cards ── */
.service-card {
  background: rgba(15, 23, 42, 0.5); border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 20px; padding: 28px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { border-color: rgba(13, 148, 136, 0.4); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }

/* ── Gallery ── */
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; aspect-ratio: 1/1; }
.gallery-item.col-span-2 { aspect-ratio: auto; }
.gallery-item img { transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,6,23,0.8) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 20px;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── FAQ ── */
.faq-item { border: 1px solid rgba(148, 163, 184, 0.08); transition: border-color 0.2s; }
.faq-item.active { border-color: rgba(13, 148, 136, 0.3); }
.faq-btn { font-family: inherit; }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.active .faq-content { max-height: 200px; }

/* ── Geometric Background Shapes ── */
.geo-shape { position: absolute; pointer-events: none; }
.geo-teal-circle { width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(13,148,136,0.15) 0%, transparent 70%); top: -100px; right: -100px; }
.geo-slate-square { width: 200px; height: 200px; background: rgba(30,41,59,0.6); border: 1px solid rgba(148,163,184,0.1); top: 30%; left: -40px; transform: rotate(45deg); }
.geo-teal-triangle { width: 0; height: 0; border-left: 100px solid transparent; border-right: 100px solid transparent; border-bottom: 173px solid rgba(13,148,136,0.08); bottom: 10%; right: 15%; }
.geo-dot { width: 8px; height: 8px; background: #2dd4bf; border-radius: 50%; top: 25%; left: 48%; box-shadow: 0 0 20px rgba(45,212,191,0.5); }
.geo-ring { width: 120px; height: 120px; border: 2px solid rgba(13,148,136,0.2); border-radius: 50%; bottom: 20%; left: 45%; }

/* ── Scroll Indicator ── */
.scroll-indicator { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid rgba(45,212,191,0.4); border-radius: 50%; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .float-card { display: none; }
  .geo-slate-square, .geo-teal-triangle, .geo-ring { display: none; }
  .font-display { font-size: clamp(2.5rem, 10vw, 4rem); }
}
