:root {
  --yellow: #ffcc00;
  --dark: #1b1b1b;
  --bg-image: url('../img/bg.png');
}

body {
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Hero */
.hero {
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  color: #fff;
}



.hero h1 {
  display: none;
}

.section-padding {
  padding: 90px 0;
}

/* Cards */
.service-card, .feature-card, .testimonial {
  border: none;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  transition: transform .35s ease, box-shadow .35s ease;
}

.service-card:hover, .feature-card:hover, .testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.service-card i, .feature-card i {
  font-size: 2.8rem;
  color: var(--yellow);
  margin-bottom: 15px;
}

/* Features */
.feature-card {
  padding: 35px 25px;
  text-align: center;
}

/* About */
.about-image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Reviews */
.reviews-section .carousel {
  max-width: 1140px;
  margin: 0 auto;
  overflow: hidden;
}

.reviews-section .carousel-inner {
  padding: 38px 16px 46px;
  overflow: hidden;
}

.reviews-row {
  padding: 0 2.75rem;
}

.testimonial {
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.reviews-section .testimonial {
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.reviews-section .testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,.16);
}

.testimonial p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #303030;
  flex-grow: 1;
}

.reviews-link-btn {
  border: 1px solid rgba(27, 27, 27, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: #333;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.72rem 1.35rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.reviews-link-btn:hover {
  border-color: rgba(27, 27, 27, 0.28);
  background: rgba(255, 255, 255, 0.96);
  color: #1b1b1b;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

.review-meta {
  margin-top: auto;
}

.review-stars {
  font-size: 1.35rem;
  letter-spacing: 0.18rem;
  color: #f3b200;
}

.reviews-indicators {
  position: static;
  margin-top: 1.5rem;
}

.reviews-indicators [data-bs-target] {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #767676;
  border: 0;
  opacity: 0.35;
  margin: 0 6px;
}

.reviews-indicators .active {
  opacity: 1;
  background-color: var(--yellow);
}

.reviews-control {
  width: 50px;
}

.reviews-control .carousel-control-prev-icon,
.reviews-control .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 16px;
  background-size: 58% 58%;
}

@media (min-width: 768px) {
  .about-section .col-md-5 {
    padding-right: 2rem;
  }
  .about-section .col-md-7 {
    padding-left: 3rem;
  }

  .testimonial {
    min-height: 100%;
  }

  .reviews-row .col-lg-6 {
    align-self: stretch;
  }
}

/* CTA */
.cta {
  background: #111;
  color: #fff;
}

/* Footer */
footer {
  background: #111;
  color: #aaa;
}

.navbar-transparent {
  background: transparent !important;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar-scrolled {
  background: rgba(0, 0, 0, 0.95) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.logo-white { 
  opacity: 0; 
  transition: opacity .35s ease; 
}

.logo-default { 
  opacity: 1; 
  transition: opacity .35s ease; 
}

.navbar-scrolled .logo-default { 
  opacity: 0; 
}

.navbar-scrolled .logo-white { 
  opacity: 1; 
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: #f6f6f6;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 0;
}

.nav-link:hover,
.nav-link.active {
  color: #000;
  font-weight: 500;
}

.navbar-scrolled .nav-link {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-scrolled .nav-link:hover,
.navbar-scrolled .nav-link.active {
  color: var(--yellow);
  font-weight: 500;
}

.btn-hero {
  border: 1px solid #f1a500 !important;
}

.text-muted {
  font-size: 1.1rem;
}

.hero .lead {
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: 400;
}

@media (max-width: 991px) {
  .navbar {
    background: rgba(0,0,0,0.95) !important;
  }

  .reviews-section .carousel-inner {
    padding: 28px 14px 34px;
  }

  .reviews-row {
    padding: 0 10px;
  }

  .reviews-section .testimonial:hover {
    transform: none;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
  }

  .reviews-control {
    display: none;
  }

  .testimonial p {
    font-size: 1.05rem;
    line-height: 1.65;
  }
}
