:root {
  --brand-900: #0b2d3a;
  --brand-800: #0f3a4a;
  --brand-700: #155266;
  --brand-600: #1d6a82;
  --brand-500: #2a8fb0;
  --ink: #0e1726;
  --muted: #5b667a;
  --shadow: 0 12px 30px rgba(0,0,0,.20);
}

html { font-size: clamp(15px, 2.8vw, 17px); }
body { color: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Navbar */
.navbar {
  background: rgba(11, 45, 58, .92);
  backdrop-filter: blur(8px);
}
.navbar .nav-link, .navbar .navbar-brand { color: rgba(255,255,255,.92) !important; }
.navbar .nav-link:hover { color: #fff !important; }

@media (max-width: 991.98px) {
  .navbar .navbar-brand { margin-right: auto; }
  .navbar .navbar-toggler { border-color: rgba(255,255,255,.35); }
}

/* Typography */
h1, .display-5 { font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
p, li { line-height: 1.6; }

/* Layout helpers */
section { scroll-margin-top: 90px; }
.container { padding-left: 1rem; padding-right: 1rem; }
.bg-soft { background: linear-gradient(180deg, rgba(29,106,130,.08), rgba(255,255,255,0)); }

/* Cards */
.feature-card {
  height: 100%;
  border: 1px solid rgba(15,58,74,.12);
  border-radius: 1rem;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}
.feature-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(42,143,176,.12);
  color: var(--brand-700);
  font-size: 1.35rem;
}
.badge-soft {
  background: rgba(42,143,176,.12);
  color: var(--brand-700);
  border: 1px solid rgba(42,143,176,.22);
}

/* Buttons */
.btn-brand {
  --bs-btn-bg: var(--brand-600);
  --bs-btn-border-color: var(--brand-600);
  --bs-btn-hover-bg: var(--brand-700);
  --bs-btn-hover-border-color: var(--brand-700);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
}

/* Hero (home page) */
.hero {
  position: relative;
  min-height: calc(var(--vh, 1vh) * 74);
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(120deg, rgba(11,45,58,.85), rgba(21,82,102,.60)),
              url('../images/gallery_01.jpg') center/cover no-repeat;
}
.hero .glass {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: var(--shadow);
  border-radius: 1.25rem;
  padding: 2rem;
}
.pill {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 600;
  font-size: .9rem;
}
.lead-muted { color: rgba(255,255,255,.82); }

@media (max-width: 768px) {
  .feature-card { padding: 1.25rem !important; }
  .hero .glass { padding: 1.25rem; }
  .btn-lg { padding: 0.7rem 1.2rem; font-size: 1rem; }
}

/* Gallery */
.gallery-img {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(15,58,74,.12);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  cursor: pointer;
}
.gallery-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .25s ease;
  max-height: 240px;
}
.gallery-img:hover img { transform: scale(1.03); }
@media (max-width: 576px) { .gallery-img img { height: 200px; max-height: 200px; } }

/* Lightbox image full clarity */
#lightboxImage {
  max-height: calc(var(--vh, 1vh) * 85);
  object-fit: contain;
}

/* Contact card */
.contact-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(15,58,74,.12);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  overflow: hidden;
}
input, textarea, select, button { font-size: 1rem; }
img { touch-action: manipulation; }

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
  z-index: 1050;
  display: grid;
  place-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover { transform: scale(1.05); box-shadow: 0 12px 26px rgba(0,0,0,.35); color: #fff; }
@media (max-width: 576px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; font-size: 26px; }
}

/* Footer */
.footer { background: var(--brand-900); color: rgba(255,255,255,.90); }
.footer a { color: rgba(255,255,255,.90); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }





/* Animated Read More */
.read-more {
  max-height: 4.5em;
  overflow: hidden;
  position: relative;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}
.read-more.expanded {
  max-height: 1000px; /* enough to show full text */
}
.read-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-top: .5rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--brand-600);
  cursor: pointer;
  user-select: none;
}
.read-more-toggle::after {
  content: "▾";
  transition: transform 0.25s ease;
}
.read-more.expanded + .read-more-toggle::after {
  transform: rotate(180deg);
}



/* Read more functionality (animated) */
.read-more {
  /* collapsed height: ~3 lines (line-height ~1.6, font-size ~1rem) */
  max-height: 4.8em;
  overflow: hidden;
  transition: max-height 280ms ease;
  will-change: max-height;
}
.read-more.expanded {
  /* JS sets an exact max-height for smooth animation */
  overflow: hidden;
}
.read-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .5rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--brand-600);
  cursor: pointer;
  user-select: none;
}
.read-more-toggle:hover { text-decoration: underline; }
.read-more-toggle .bi { font-size: 1rem; }
