:root {
  --bg: #071229;
  --bg-soft: #0f2141;
  --text: #eef4ff;
  --muted: #b3c0de;
  --primary: #0b63b7;
  --accent: #f57a00;
  --saffron: #f57a00;
  --green: #118b41;
  --card-bg: rgba(255, 255, 255, 0.08);
  --border: rgba(158, 189, 255, 0.23);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

body.light {
  --bg: #f4f7ff;
  --bg-soft: #ffffff;
  --text: #12203f;
  --muted: #4b5d87;
  --card-bg: rgba(255, 255, 255, 0.75);
  --border: rgba(20, 73, 145, 0.18);
  --shadow: 0 16px 28px rgba(43, 63, 155, 0.13);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Poppins", sans-serif;
  background: radial-gradient(circle at 10% 10%, #124183 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-title {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  margin-bottom: 14px;
  font-family: "Poppins", sans-serif;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 34px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(90deg, rgba(10, 37, 76, 0.95), rgba(12, 62, 125, 0.82));
  border-bottom: 1px solid var(--border);
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(9, 36, 69, 0.4));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.brand:hover .brand-logo {
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 8px 16px rgba(12, 52, 99, 0.42));
}

.brand-text {
  white-space: nowrap;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.brand-glow {
  background: linear-gradient(120deg, #65b0ff, var(--saffron));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  opacity: 0.9;
  transition: 0.25s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: #8cc7ff;
}

.menu-toggle,
.dark-toggle {
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.eyebrow {
  color: #9fd2ff;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-subheading {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: #d2e3ff;
  margin-bottom: 10px;
}

.hero-text {
  width: min(760px, 94%);
  margin: 0 auto 28px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 24px;
  min-height: 46px;
  border-radius: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-socials {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.hero-socials a:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(11, 99, 183, 0.35), rgba(245, 122, 0, 0.35));
  color: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: var(--card-bg);
}

.services-grid,
.why-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card,
.about-panel,
.why-item,
.contact-card,
.map-wrap {
  border: 1px solid var(--border);
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.service-card {
  padding: 24px 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(154, 177, 255, 0.55);
}

.service-card i {
  font-size: 1.35rem;
  color: #8fc5ff;
  margin-bottom: 12px;
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  color: var(--muted);
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

.about-panel {
  padding: 20px;
}

.metric + .metric {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.why-item {
  text-align: center;
  padding: 24px 16px;
}

.why-item i {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--saffron);
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.gallery-item {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.contact-card {
  padding: 24px;
}

.contact-card p {
  margin: 12px 0;
}

.contact-card a {
  color: inherit;
  text-decoration: none;
}

.map-wrap iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 18px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  background: linear-gradient(180deg, rgba(8, 27, 56, 0.28), rgba(6, 16, 34, 0.72));
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.site-footer ul {
  list-style: none;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text) !important;
  font-weight: 700;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.footer-brand:hover {
  transform: translateY(-2px);
}

.footer-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.footer-brand:hover .footer-logo {
  transform: scale(1.03);
}

.footer-address {
  color: var(--muted);
  margin-top: 8px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.socials a:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(11, 99, 183, 0.35), rgba(245, 122, 0, 0.35));
  color: #ffffff;
}

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.contact-socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.contact-socials a:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(11, 99, 183, 0.35), rgba(245, 122, 0, 0.35));
  color: #fff;
}

.copyright {
  text-align: center;
  color: var(--muted);
  margin-top: 26px;
  font-size: 0.95rem;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1fbf57;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(16, 88, 39, 0.35);
  z-index: 70;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  animation-play-state: paused;
  transform: translateY(-2px);
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(31, 191, 87, 0.45);
  animation: ringPulse 2s infinite;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  opacity: 0.45;
  animation: float 10s ease-in-out infinite;
}

.orb-1 {
  width: 280px;
  height: 280px;
  background: #0b63b7;
  top: 8%;
  left: -80px;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: #f57a00;
  right: -110px;
  top: 40%;
  animation-delay: 2s;
}

.orb-3 {
  width: 240px;
  height: 240px;
  background: #118b41;
  left: 45%;
  bottom: -80px;
  animation-delay: 4s;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(163, 213, 255, 0.35);
  animation: rise linear infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes rise {
  from { transform: translateY(0) translateX(0); opacity: 0; }
  20% { opacity: 1; }
  to { transform: translateY(-100vh) translateX(35px); opacity: 0; }
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes ringPulse {
  0% { transform: scale(0.9); opacity: 0.65; }
  100% { transform: scale(1.25); opacity: 0; }
}

@media (max-width: 900px) {
  .split-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-text {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 4%;
    width: min(280px, 92vw);
    flex-direction: column;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(9, 14, 32, 0.95);
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  body.light .nav-links {
    background: rgba(255, 255, 255, 0.95);
  }

  .nav-links.show {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    display: block;
    padding: 8px 4px;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(1100px, 94%);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: 82vh;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .hero-subheading {
    font-size: 1rem;
  }

  .hero-text {
    font-size: 0.96rem;
    margin-bottom: 22px;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.98rem;
  }

  .hero-socials a {
    width: 44px;
    height: 44px;
  }

  .services-grid,
  .gallery-grid,
  .why-grid {
    gap: 14px;
  }

  .service-card,
  .contact-card,
  .about-panel,
  .why-item {
    padding: 18px 16px;
  }

  .map-wrap iframe {
    min-height: 260px;
  }

  .footer-logo {
    width: 52px;
    height: 52px;
  }

  .footer-grid {
    gap: 18px;
  }

  .socials a,
  .contact-socials a {
    width: 42px;
    height: 42px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
    font-size: 1.6rem;
  }
}

@media (max-width: 420px) {
  .navbar {
    min-height: 68px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .menu-toggle,
  .dark-toggle {
    width: 38px;
    height: 38px;
  }

  .section-title {
    font-size: 1.5rem;
  }
}
