:root {
  --blue: #0a3f98;
  --blue-deep: #072a66;
  --green: #0b8c72;
  --green-deep: #086355;
  --bg: #eef2f6;
  --card: rgba(255, 255, 255, 0.78);
  --text: #102a4d;
  --heading: "Cinzel", serif;
  --body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: linear-gradient(145deg, #e6ebf1 8%, #f5f9fc 35%, #ebf8f4 100%);
}
main {
  width: min(1180px, calc(100% - 1.6rem));
  margin: 0 auto;
}
#services,
#team,
#projects,
#contact {
  scroll-margin-top: 130px;
}

a { color: inherit; }

.reveal { opacity: 1; transform: none; }
.delay-1, .delay-2, .delay-3 { transition-delay: 0s; }

.bg-orb {
  position: fixed;
  filter: blur(70px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
.orb-1 { width: 380px; height: 380px; top: -100px; right: -120px; background: radial-gradient(circle, var(--green), var(--blue)); }
.orb-2 { width: 350px; height: 350px; bottom: -120px; left: -120px; background: radial-gradient(circle, var(--blue-deep), var(--green)); }
.orb-3 { width: 260px; height: 260px; top: 38%; right: 12%; background: radial-gradient(circle, rgba(10, 63, 152, 0.45), rgba(11, 140, 114, 0.4)); filter: blur(75px); }

.container {
  width: min(1180px, calc(100% - 1.6rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 60;
  margin: 0.9rem auto;
  width: min(1180px, calc(100% - 1.6rem));
  border-radius: 20px;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 32px rgba(9, 64, 144, 0.15);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 0.35rem 0.55rem;
}
.logo {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center 14%;
  border: 1px solid rgba(9, 65, 143, 0.18);
  background: #fff;
}
.brand-text strong {
  display: block;
  font-family: var(--heading);
  color: var(--blue-deep);
  letter-spacing: 0.04em;
  font-size: 1.35rem;
  line-height: 1;
}
.brand-text small {
  display: block;
  font-family: var(--heading);
  color: var(--green-deep);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.main-nav { margin-left: auto; }
.topbar nav { margin-left: auto; }
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav-list a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  position: relative;
}
.menu a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 0.2s ease;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 0.2s ease;
}
.nav-list a:hover::after,
.nav-list a.active::after { width: 100%; }
.menu a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--blue-deep);
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
}
.ghost-btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-deep);
  border: 1px solid rgba(9, 65, 143, 0.2);
}
.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-deep);
  border: 1px solid rgba(9, 65, 143, 0.2);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(9, 65, 143, 0.18); }
.cta-btn:hover,
.ghost-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(9, 65, 143, 0.18); }

.hero {
  min-height: 72vh;
  padding: 1rem 0 1.6rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}
.eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--green-deep);
  letter-spacing: 0.05em;
}
h1,h2,h3 { font-family: var(--heading); margin-top: 0; color: var(--blue-deep); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1.12; margin-bottom: 0.9rem; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.4rem); }
.hero p { font-size: 1.08rem; line-height: 1.6; }
.hero-actions { display: flex; gap: 0.8rem; margin-top: 1rem; }

.glass-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 0 12px 24px rgba(9, 65, 143, 0.12);
}
.glass {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 0 12px 24px rgba(9, 65, 143, 0.12);
}
.hero-card { min-width: 0; }
.quick-form button,
.booking-form button {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  margin-top: 1.6rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.quick-form button:hover,
.booking-form button:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 26px rgba(8, 52, 121, 0.28);
}

.hero-tiles {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.hero-tiles img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-tiles img:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 28px rgba(8, 52, 121, 0.25);
}

.section { padding: 4.6rem 0 1.6rem; }
.section + .section { margin-top: 1.8rem; }
.section-intro { color: #295175; font-weight: 600; }

.services-grid,
.team-grid,
.projects-grid,
.contact-layout,
.details-grid {
  display: grid;
  gap: 1rem;
}
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); display: grid; gap: 1rem; }
.team-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dbe4ef;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 63, 152, 0.95), rgba(11, 140, 114, 0.9));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}
.team-card > * {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.team-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 34px rgba(8, 52, 121, 0.24);
  border-color: rgba(10, 63, 152, 0.35);
}
.team-card:hover::before { opacity: 1; }
.team-card:hover h3,
.team-card:hover p { color: #ffffff; }
.team-card:hover .icon-badge {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}
.projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-layout { grid-template-columns: 0.68fr 1.32fr; }
.details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(9, 65, 143, 0.1);
}
.service-card { cursor: default; }
.service-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dbe4ef;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 63, 152, 0.95), rgba(11, 140, 114, 0.9));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}
.service-card > * {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 34px rgba(8, 52, 121, 0.24);
  border-color: rgba(10, 63, 152, 0.35);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover h3,
.service-card:hover ul,
.service-card:hover li { color: #ffffff; }
.service-card:hover .icon-badge {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(9, 65, 143, 0.15), rgba(11, 140, 114, 0.2));
  border: 1px solid rgba(9, 65, 143, 0.2);
  margin-bottom: 0.7rem;
}

.service-card ul,
.detail-card ul,
.region-card ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.3rem;
  color: #22456a;
  font-weight: 600;
}

.service-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.service-link:hover {
  transform: translateY(-7px);
  border-color: rgba(11, 140, 114, 0.5);
  box-shadow: 0 16px 34px rgba(10, 63, 152, 0.22), 0 0 28px rgba(11, 140, 114, 0.3);
}

.project-photo,
.detail-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.project-image-frame,
.detail-card figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
}
.project-image-frame:hover .project-photo,
.detail-card figure:hover img {
  transform: scale(1.08);
  box-shadow: 0 16px 28px rgba(8, 52, 121, 0.25);
}

.contact-stack { display: grid; gap: 1rem; }
.service-map {
  width: 100%;
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(8, 52, 121, 0.2);
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}
input, select, textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(8, 52, 121, 0.2);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.7rem 0.75rem;
  font: inherit;
}

.multi-select-list {
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid rgba(8, 52, 121, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.2rem;
}
.service-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  border-radius: 10px;
  border: 1px solid #d8e0ea;
  background: #ffffff !important;
  padding: 0.5rem 0.6rem;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  text-align: left;
  font: inherit;
  line-height: 1.2;
  margin: 0;
  cursor: pointer;
  transform: none;
  box-sizing: border-box;
  transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  -webkit-appearance: none;
  appearance: none;
}
.service-option:hover {
  background: linear-gradient(135deg, rgba(10, 63, 152, 0.05), rgba(11, 140, 114, 0.06)) !important;
  border-color: rgba(10, 63, 152, 0.4);
  box-shadow: inset 0 0 0 1px rgba(11, 140, 114, 0.18);
}
.service-option-text {
  display: block;
  font-weight: 600;
  color: #213f62;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.service-check {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.service-option.selected {
  border: 1px solid rgba(10, 63, 152, 0.5);
  background: linear-gradient(135deg, rgba(10, 63, 152, 0.08), rgba(11, 140, 114, 0.12)) !important;
  box-shadow: inset 0 0 0 1px rgba(11, 140, 114, 0.28);
}
.service-option.selected .service-check {
  opacity: 1;
  transform: scale(1);
}
.multi-hint { margin-top: 0.15rem; color: #355579; font-size: 0.86rem; font-weight: 600; }

.form-note { min-height: 1.2em; color: var(--green-deep); font-weight: 600; }

.footer {
  margin-top: 2.5rem;
  padding: 1.5rem 0 2.5rem;
  text-align: center;
  color: #2d5074;
}

@media (max-width: 1000px) {
  .hero,
  .services-grid,
  .team-grid,
  .team-wrap,
  .projects-grid,
  .contact-layout,
  .details-grid { grid-template-columns: 1fr; }

  .hero-tiles { grid-template-columns: 1fr; }
  .hero-tiles img { height: 170px; }

  .menu-toggle { display: inline-flex; margin-left: auto; }
  .main-nav { width: 100%; display: none; order: 4; margin-left: 0; }
  .topbar nav { width: 100%; display: none; order: 4; margin-left: 0; }
  .main-nav.open { display: block; }
  .topbar nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: flex-start; padding-top: 0.7rem; }
  .menu { flex-direction: column; align-items: flex-start; padding-top: 0.7rem; }
}
