:root {
  --brand: #0d6efd;
  --dark: #0b132b;
  --muted: #6c757d;
  --accent: #ffb703;
  --bg-soft: #f8f9fa;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #212529;
 /* background: #fff; */
  line-height: 1.6;

  /* Apply to the whole page */

  /* Replace with your own pattern image 
  background-image: url("assets/img/webpagebg12.jpg");

  /* Repeat the image both horizontally and vertically 
  background-repeat: repeat;

  /* Optional: control size of the pattern 
  background-size: 100px 100px; /* adjust to your pattern dimensions */

  /* Optional: set a fallback background color */
  background-color: #f8f9fa;

}


/* Fix for navbar toggler icon visibility */
.navbar-light .navbar-toggler {
  border-color: rgba(0,0,0,.1);
}
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,.65)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Sticky navbar shadow on scroll */
.navbar.fixed-top.scrolled {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Hero */
.hero {
  position: relative;
  margin-top: 56px; /* offset fixed navbar */
}
@media (min-width: 992px) {
  .hero { margin-top: 64px; }
}
.hero-item {
  min-height: 70vh;
  background-position: center;
  background-size: cover;
  position: relative;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,19,43,.6), rgba(11,19,43,.35));
}
.hero-caption {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  color: #fff; text-align: center;
  max-width: 900px; padding: 0 1rem;
}
.hero h1 { font-family: 'Merriweather', serif; font-weight: 700; }

/* Breadcrumbs */
.breadcrumb-wrap {
  background: var(--bg-soft);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* Sections */
section { padding: 64px 0; }
.section-title h2 { font-family: 'Merriweather', serif; font-weight: 700; }
.lead-muted { color: var(--muted); }

/* On-scroll animation */
.reveal { opacity: 0; transform: translateY(16px); transition: all .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Fun facts */
.fun-fact {
  background: #fff; border-radius: 12px; padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.fun-fact .icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-grid; place-items: center; background: var(--bg-soft); color: var(--brand);
  margin-bottom: 12px; font-size: 1.25rem;
}
.counter { font-size: 2rem; font-weight: 700; }

/* Progress bars */
.progress.animated .progress-bar {
  width: 0;
  transition: width 1.4s ease;
}
.progress + .d-flex { margin-top: .5rem; }

/* Hover effects */
.card-hover {
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

/* Gallery */
.gallery-item {
  position: relative; overflow: hidden; border-radius: 12px;
}
.gallery-item img { width: 100%; display: block; transition: transform .8s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,19,43,.0), rgba(11,19,43,.5));
  opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .zoom-btn {
  position: absolute; right: 16px; bottom: 16px;
  background: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px;
  display: inline-grid; place-items: center; color: var(--dark);
  box-shadow: 0 8px 16px rgba(0,0,0,.12);
}

/* Testimonials */
.testimonial {
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.testimonial .quote { font-style: italic; color: #495057; }
.testimonial .avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
}

/* Buttons */
.btn-accent {
  background: var(--accent); color: #0b132b; border: none;
}
.btn-accent:hover { filter: brightness(.95); }

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  color: #fff; border-radius: 16px;
}

/* Footer */
footer {
  background: #0b132b; color: #cbd5e1;
}
footer a { color: #cbd5e1; text-decoration: none; }
footer a:hover { color: #fff; }

/* Back to top */
#backToTop {
  position: fixed; right: 20px; bottom: 24px; z-index: 1030;
  width: 44px; height: 44px; border-radius: 999px;
  display: none; place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
  background: #fff; color: var(--dark);
  border: 1px solid #eee;
}

/* Map container */
.map-container {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px;
}
.map-container iframe {
  position: absolute; top:0; left: 0; width: 100%; height: 100%; border: 0;
}

/* Utility */
.text-gradient {
  background: linear-gradient(90deg, #0d6efd, #ffb703);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Accessibility focus */
a:focus, button:focus, input:focus, .form-select:focus {
  outline: 2px solid var(--brand); outline-offset: 2px;
  box-shadow: none !important;
}

/* Soft background block */
.bg-soft {
  background: linear-gradient(135deg,#f8fafc,#eef2ff);
}