* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, "Segoe UI", "Inter", "Helvetica Neue", sans-serif;
  background: #fefefe;
  overflow-x: hidden;
}

/* ----- SMOOTH SCROLLING + OFFSET FOR FIXED ANCHORS (navbar height) ----- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  /* accounts for fixed navbar height on jump */
}

/* custom navbar styling (modern, slight shadow) */
.navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(0px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  padding: 0.8rem 1rem;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: -0.3px;
  font-size: 1.6rem;
  color: #1e3c72 !important;
}

.navbar-brand i {
  color: #d94f30;
  margin-right: 6px;
}

.nav-link {
  font-weight: 600;
  margin: 0 0.2rem;
  transition: 0.25s;
  color: #1f2e4a !important;
  border-radius: 30px;
}

.nav-link:hover {
  background: #eef2ff;
  color: #d64b2c !important;
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px #d94f30;
}

/* ----- FULLSCREEN CAROUSEL SLIDESHOW (first section) ----- */
.fullscreen-carousel {
  height: 95vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel,
.carousel-inner,
.carousel-item {
  height: 100vh;
}

.carousel-item img {
  object-fit: cover;
  height: 100vh;
  width: 100%;
  filter: brightness(0.7);
  transition: transform 0.4s ease;
}

.carousel-item.active img {
  transform: scale(1.02);
}

.carousel-caption {
  /*background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2));*/
  border-radius: 24px;
  bottom: 25%;
  padding: 1.5rem;
  backdrop-filter: blur(2px);
}

.carousel-caption h1 {
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.8s ease-out;
}

.carousel-caption p {
  font-size: 1.2rem;
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* responsive text */
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .carousel-caption {
    bottom: 20%;
  }
}

/* ----- SECTION STYLES + ANIMATION ON SCROLL (modern reveal) ----- */
.section-reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.1),
    transform 0.7s ease-out;
}

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

.section-card {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  height: 100%;
}

.section-title {
  font-weight: 800;
  font-size: 2.2rem;
  color: #1e3c72;
  border-left: 6px solid #d94f30;
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.btn-honest {
  background: #d94f30;
  color: white;
  border-radius: 40px;
  padding: 10px 28px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
}

.btn-honest:hover {
  background: #b93f24;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(217, 79, 48, 0.3);
}

.contact-icon {
  font-size: 1.5rem;
  color: #d94f30;
  margin-right: 12px;
  width: 36px;
  display: inline-flex;
  align-items: center;
}

.form-control {
  border-radius: 50px;
  padding: 12px 20px;
  border: 1px solid #e0e7ff;
  transition: 0.2s;
}

.form-control:focus {
  border-color: #d94f30;
  box-shadow: 0 0 0 3px rgba(217, 79, 48, 0.2);
}

/* gallery cards */
.gallery-card {
  border-radius: 24px;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.3s;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.1);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.2);
}

.gallery-img {
  height: 240px;
  background: #cdd9f4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e3c72;
  font-weight: 500;
  background-size: cover;
  background-position: center;
}

/* placeholder gallery gradient (they will replace images later) */
.gallery-placeholder-bg {
  background: linear-gradient(135deg, #b7c9e2, #e2e9f5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 500;
  color: #1e3c72;
  height: 100%;
  width: 100%;
}

/* map placeholder + locate */
.map-placeholder {
  background: #eef2fa;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05);
  min-height: 280px;
}

iframe {
  border-radius: 24px;
  width: 100%;
  height: 280px;
  border: 0;
}

footer {
  background: #0a1a2f;
  color: #cdd9f4;
  padding: 2rem 0;
  margin-top: 3rem;
}

/* responsive adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }

  .section-card {
    padding: 1.5rem;
  }
}
