html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }

:root {
  --primary: #ffc107;
  --secondary: #343a40;
  --accent: #dc3545;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.hero { position: relative; color: white; height: 90vh; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
  z-index: 1;
}
.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item { height: 100%; }
.hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.hero .carousel-indicators,
.hero .carousel-control-prev,
.hero .carousel-control-next { z-index: 3; }
.hero .hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  z-index: 2;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero h1 {
  font-size: 4rem;
  animation: fadeInDown 1s ease;
}

.hero p {
  animation: fadeInUp 1s ease;
  animation-delay: 0.3s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero .btn {
  animation: fadeInUp 1s ease;
  animation-delay: 0.6s;
  opacity: 0;
  animation-fill-mode: forwards;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.services .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.services .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.services .card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.highlight { background-color: var(--primary); padding: 80px 0; }
.about-us { background-color: #f8f9fa; padding: 80px 0; }
.contact-form { padding: 80px 0; }

footer { background-color: var(--secondary); color: white; padding: 40px 0 20px; }

.social-links a { color: white; font-size: 1.5rem; margin: 0 10px; transition: color 0.3s ease; }
.social-links a:hover { color: var(--primary); }

.section-title { position: relative; margin-bottom: 50px; }
.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--secondary);
  font-weight: 600;
  padding: 10px 25px;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: #e0a800;
  border-color: #d39e00;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-list li { margin-bottom: 15px; position: relative; padding-left: 30px; }
.feature-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
}

.testimonial-card { background: white; border-radius: 10px; padding: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); height: 100%; position: relative; }
.testimonial-card::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
}

.stats-box { text-align: center; padding: 30px; background: white; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.stats-box:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.stats-box i { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }
.stats-box .number { font-size: 2.5rem; font-weight: 700; color: var(--secondary); }

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .hero { height: 70vh; }
}

/* Mobile sticky CTA bar */
.mobile-cta { box-shadow: 0 -4px 12px rgba(0,0,0,0.2); }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Top contact bar */
.topbar { background-color: #212529; color: #fff; font-size: 0.95rem; }
.topbar a { color: #ffc107; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* Feature cards */
.feature-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: 100%;
  padding: 24px;
  text-align: center;
}
.feature-card i { font-size: 2rem; color: var(--primary); margin-bottom: 12px; }
.feature-card h5 { font-weight: 700; }


/* Navbar brand alignment for logo + text */
.navbar-brand img { display: inline-block; vertical-align: middle; }
.navbar-brand span { vertical-align: middle; line-height: 1; }

/* Square image helper for 2x2 grid */
.square-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}

