/* ===========================
   COLOR PALETTE (TEAL THEME)
   =========================== */
:root {
  --primary: #008080;
  --primary-light: #00B2A9;
  --aqua: #4ED4D4;
  --aqua-light: #E0FFFF;
  --navy: #2C3E50;

  --text-dark: #2C3E50;
  --text-soft: #4b5563;
  --text-light: #f8fafc;

  --card-bg: #E0FFFF;
  --card-border: rgba(0, 0, 0, 0.08);

  --shadow-soft: 0 12px 25px rgba(0, 128, 128, 0.15);
  --shadow-strong: 0 20px 45px rgba(0, 128, 128, 0.25);
}

/* ===========================
   GLOBAL
   =========================== */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: linear-gradient(to bottom, var(--aqua-light), var(--aqua));
  padding-top: 80px; /* space for fixed navbar */
}

p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft);
}

section { padding: 70px 0; }
@media (max-width: 575.98px) {
  section { padding: 48px 0 56px; }
}

/* ===========================
   NAVBAR
   =========================== */
.main-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(0, 178, 169, 0.35);
  background: rgba(224, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}

.navbar-scrolled { box-shadow: 0 18px 45px rgba(44, 62, 80, 0.22); }

.logo-wrapper {
  width: 42px; height: 42px;
  border-radius: 18px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(0, 128, 128, 0.35);
  background: radial-gradient(circle at 10% 0, var(--aqua-light) 0, var(--primary) 55%, var(--navy) 100%);
  margin-right: 10px;
}

.logo { width: 100%; height: 100%; object-fit: cover; }

.brand-text-wrap { display: flex; flex-direction: column; }

.brand-text {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
}

.brand-subtext {
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* weather pill */
.weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--navy);
  white-space: nowrap;
}

.navbar-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy) !important;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.navbar-nav .nav-link:hover {
  background: rgba(0, 178, 169, 0.18);
  transform: translateY(-1px);
}

.navbar-nav .nav-item.active .nav-link {
  background: rgba(0, 178, 169, 0.25);
}

.nav-cta-btn {
  border-radius: 999px;
  border: 1px solid var(--primary-light);
  padding: 0.35rem 0.9rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-light) !important;
  box-shadow: var(--shadow-strong);
}

.nav-cta-btn:hover { filter: brightness(1.05); }

.nav-lang { margin-left: 6px; }

.lang-btn {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

/* ===========================
   HERO
   =========================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 178, 169, 0.45), transparent 55%),
    radial-gradient(circle at bottom right, rgba(78, 212, 212, 0.25), transparent 60%),
    linear-gradient(to bottom, rgba(224, 255, 255, 0.9), rgba(224, 255, 255, 0.95));
}

.hero-container { position: relative; z-index: 1; }
.hero-left { margin-bottom: 40px; }

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--primary-light);
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-section h1 {
  font-size: clamp(2.1rem, 3.2vw + 1rem, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
  color: var(--navy);
}

.hero-subtitle {
  font-size: 1.02rem;
  max-width: 32rem;
  color: var(--text-soft);
  margin-bottom: 26px;
}

.hero-actions .btn { min-width: 150px; margin-right: 10px; margin-bottom: 6px; }

.hero-primary-btn {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  color: #ffffff;
  padding: 0.75rem 1.7rem;
  font-weight: 700;
  box-shadow: var(--shadow-strong);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.hero-primary-btn:hover { transform: translateY(-2px); filter: brightness(1.03); }

.hero-secondary-btn {
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
}

.hero-secondary-btn:hover { background: #ffffff; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
}

/* ===========================
   HERO CARDS (Flat + readable)
   =========================== */
.hero-right { display: flex; justify-content: center; }

.hero-3d-scene {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.hero-card {
  border-radius: 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 16px;
  color: var(--navy);
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.6s ease,
              border-color 0.6s ease;
}

.hero-card-main {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  background: radial-gradient(circle at top left, var(--aqua), #ffffff);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--primary);
}

.hero-card-title { font-weight: 700; }

.hero-card-dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.75);
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 0.85rem;
}

.hero-card-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.5);
}

.hero-card-list li:last-child { border-bottom: none; }
.hero-card-list .time { color: var(--primary); font-weight: 700; }
.hero-card-list .label { color: var(--navy); font-weight: 600; }

.hero-card-footer {
  font-size: 0.82rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-card-secondary {
  position: absolute;
  width: 58%;
  font-size: 0.82rem;
  padding: 12px 14px;
}

.hero-card-blue {
  top: -18px;
  right: -20px;
  background: radial-gradient(circle at top left, var(--aqua-light), #ffffff);
}

.hero-card-green {
  bottom: -30px;
  left: -10px;
  background: radial-gradient(circle at top left, #bbf7d0, #ffffff30);
}

.hero-card-secondary .mini-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: #047857;
  margin-bottom: 4px;
  font-weight: 800;
}

.hero-card-secondary p { margin: 0; color: #065f46; font-weight: 600; }

.hero-floating-badge {
  position: absolute;
  bottom: 8px;
  right: 24px;
  padding: 9px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary-light), var(--primary));
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  box-shadow: 0 18px 40px rgba(0, 128, 128, 0.45);
  animation: float-badge 3.4s ease-in-out infinite;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-6px) translateX(-2px); }
}

/* Hover spread (desktop only) */
.hero-3d-scene:hover .hero-card-main {
  transform: translateY(-14px) scale(1.03);
  z-index: 3;
  border-color: rgba(0, 178, 169, 0.7);
}
.hero-3d-scene:hover .hero-card-blue { transform: translate(40px, -20px) scale(1.02); z-index: 2; }
.hero-3d-scene:hover .hero-card-green { transform: translate(-40px, 30px) scale(1.02); z-index: 2; }

/* ✅ TABLET/MOBILE FIX: stop overlap -> stack cards */
@media (max-width: 991.98px) {
  .hero-right { margin-top: 26px; }
  .hero-3d-scene { max-width: 520px; }

  .hero-card-main,
  .hero-card-blue,
  .hero-card-green {
    position: relative;
    top: auto; left: auto; right: auto; bottom: auto;
    width: 100%;
    margin: 12px 0;
    transform: none !important;
  }

  .hero-floating-badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 10px;
    width: fit-content;
  }
}

/* ===========================
   HERO STATS
   =========================== */
.hero-stats-row {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.hero-stat {
  padding: 14px 20px;
  border-radius: 18px;
  background: radial-gradient(circle at top left, var(--aqua-light), #ffffff);
  border: 1px solid rgba(148, 163, 184, 0.5);
  min-width: 150px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.hero-stat .stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-stat .stat-label { font-size: 0.85rem; color: var(--text-soft); }

/* ===========================
   SECTION HEADERS
   =========================== */
.section-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 8px;
   margin-top: 8px;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.section-header p { margin-bottom: 26px; }

/* ===========================
   SERVICES
   =========================== */
.services-section { background: linear-gradient(to bottom, var(--aqua-light), #ffffff); }

.services-3d-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 991.98px) { .services-3d-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .services-3d-grid { grid-template-columns: 1fr; } }

.service-3d-inner {
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 22px 20px;
  box-shadow: 0 14px 32px rgba(0, 128, 128, 0.12);
  transition:
    transform 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.service-icon {
  width: 48px; height: 48px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 10% 0, var(--aqua-light) 0, var(--primary-light) 50%, var(--primary) 100%);
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 14px;
  box-shadow: 0 16px 40px rgba(0, 178, 169, 0.4);
  transition: transform 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.service-3d-inner h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; color: var(--navy); }
.service-3d-inner p { font-size: 0.92rem; }

.service-3d-card:hover .service-3d-inner {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 22px 60px rgba(0, 128, 128, 0.25);
  border-color: rgba(0, 178, 169, 0.8);
}
.service-3d-card:hover .service-icon { transform: translateY(-3px); }

/* ===========================
   ABOUT
   =========================== */
.about-gallery-section {
  position: relative;
  overflow: hidden;
  background: #f4ffff;
}

.about-diagonal-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--aqua-light) 0, #ffffff 45%, #f4ffff 100%);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
  z-index: 0;
}

.about-gallery-container { position: relative; z-index: 1; }

.about-list { list-style: none; padding: 0; margin-top: 14px; }
.about-list li { display: flex; align-items: center; gap: 8px; color: #047857; font-size: 0.95rem; font-weight: 600; }
.about-list i { color: #22c55e; }

.about-right { margin-top: 30px; }

.about-3d-scene { position: relative; max-width: 460px; margin-left: auto; }

.glass-card {
  position: relative;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.rounded-lg { border-radius: 20px !important; }

/* ✅ keep pills away from image (less clutter) */
.about-photo-pill {
  position: absolute;
  right: -38px;
  top: -22px;
  border-radius: 999px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: radial-gradient(circle at left, var(--aqua-light), #ffffff73);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--navy);
  box-shadow: 0 18px 40px rgba(44, 62, 80, 0.20);
  max-width: 320px;
}

.about-floating-stat {
  position: absolute;
  left: -28px;
  bottom: 16px;
  padding: 12px 16px;
  border-radius: 18px;
  background: radial-gradient(circle at top left, #bbf7d0, #ffffff);
  border: 1px solid rgba(22, 163, 74, 0.7);
  color: #14532d;
  box-shadow: 0 20px 45px rgba(22, 163, 74, 0.25);
}

/* Mobile: stack pills */
@media (max-width: 575.98px) {
  .about-photo-pill,
  .about-floating-stat {
    position: relative;
    right: 0 !important;
    left: 0 !important;
    margin: 14px auto;
    max-width: 100%;
  }
}

/* ===========================
   FAQ + LOCATION
   =========================== */
.faq-location-section { background: var(--aqua-light); }

/* FAQ cards */
.custom-accordion .card {
  border-radius: 18px !important;
  margin-bottom: 14px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
}
.custom-accordion .card-header { background: #f9fafb; border-bottom: 1px solid rgba(148, 163, 184, 0.4); }
.custom-accordion .btn-link {
  width: 100%;
  text-align: left;
  font-weight: 800;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
}
.custom-accordion .btn-link:hover { text-decoration: none; }
.custom-accordion .card-body { background: #ffffff; color: var(--text-soft); font-size: 0.92rem; }

.location-text { margin-bottom: 14px; }

/* ✅ MAP FIXES:
   1) map stays INSIDE rounded box
   2) map visible on mobile
   3) no overflow outside container
*/
.map-container {
  margin-top: 10px;
  border-radius: 22px;
  background: radial-gradient(circle at top left, var(--aqua), #ffffff);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.65);
  overflow: hidden;              /* ✅ prevents “map outside box” */
}

/* Responsive map wrapper */
.map-responsive {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 68%;          /* ✅ good height on phone/tablet */
  border-radius: 18px;
  overflow: hidden;             /* ✅ prevents iframe edges leaking */
}

.map-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 18px;
}

/* ✅ Desktop: allow taller map & match FAQ visually */
@media (min-width: 992px) {
  .map-container { height: 80%; }
  .map-responsive {
    padding-bottom: 0;
    height: 520px;              /* ✅ stable height (no flex:100vh bug) */
  }
}

/* Small phones */
@media (max-width: 575.98px) {
  .map-container { padding: 10px; }
  .map-responsive { padding-bottom: 78%; } /* slightly taller on phones */
}

/* ===========================
   FOOTER (Readable)
   =========================== */
.footer {
  background: var(--navy);
  color: #e5e7eb;
  padding: 32px 0 34px;
  margin-top: 32px;
}

.footer-inner { display: flex; flex-direction: column; gap: 16px; }

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.98rem;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #eaf2ff;
}

.contact-item i { opacity: 0.95; }
.footer-copy { font-size: 0.88rem; color: #cbd5f5; }

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}

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

.reveal-on-scroll[data-animate="fade-up"] { transform: translateY(40px); }
.reveal-on-scroll[data-animate="fade-down"] { transform: translateY(-40px); }
.reveal-on-scroll[data-animate="fade-left"] { transform: translateX(40px); }
.reveal-on-scroll[data-animate="fade-right"] { transform: translateX(-40px); }
.reveal-on-scroll[data-animate="zoom-in"] { transform: scale(0.94); }
.reveal-visible[data-animate="zoom-in"] { transform: scale(1); }

/* ===========================
   EMERGENCY BOUNCE
   =========================== */
.bounce-card.reveal-visible {
  animation: bounce-card 0.9s cubic-bezier(0.17, 0.89, 0.32, 1.28);
}

@keyframes bounce-card {
  0% { transform: translateY(30px) scale(0.9); opacity: 0; }
  55% { transform: translateY(0) scale(1.03); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* ===========================
   SMALL HERO BACKGROUND FIX
   =========================== */
@media (max-width: 768px) {
  .hero-section { background-attachment: scroll; }
}
