/* ===== Google Fonts: Poppins ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #f8f9fa;
}

/* ===== NAVBAR STYLING ===== */
.navbar {
  background-color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 0.8rem 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
  font-weight: 700;
  color: #1a1a1a !important;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.navbar-brand img {
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand small {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 500;
}

/* Nav Links - Black, Bold, Stylish */
.navbar-nav .nav-link {
  color: #000000 !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.6rem 1rem !important;
  margin: 0 0.3rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.15), transparent);
  transition: left 0.5s;
}

.navbar-nav .nav-link:hover::before {
  left: 100%;
}

/* Hover & Active State */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #0d6efd !important;
  background-color: rgba(13, 110, 253, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

/* Dropdown Menu Styling */
.dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 0.75rem 0;
  margin-top: 0.5rem;
  min-width: 200px;
  animation: dropdownFade 0.3s ease-out;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  font-weight: 500;
  color: #333;
  padding: 0.6rem 1.5rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: #0d6efd;
  color: white !important;
  padding-left: 1.8rem;
}

/* Toggler Icon Styling */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.3s;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.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='%23000000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 75vh;
  overflow: hidden;
  margin-top: -80px; /* Offset fixed navbar */
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

.hero .carousel-caption {
  background: rgba(0, 0, 0, 0.65);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  backdrop-filter: blur(8px);
  bottom: 20%;
  left: 10%;
  right: 10%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.3rem;
  font-weight: 500;
}
/* Feature Cards Hover Effect */
.feature-card {
  transition: all 0.4s ease;
  border-radius: 16px;
  background: #ffffff;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(13, 110, 253, 0.15);
}

.feature-card .icon {
  transition: transform 0.3s ease;
}

.feature-card:hover .icon {
  transform: scale(1.15);
}

.feature-card .card-title {
  color: #1a1a1a;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
/* Compact Counter Section */
.counter-item {
  padding: 1.5rem 1rem;
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.counter-item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
}

/* Thinner underline */
.section-title.text-white::after {
  height: 3px !important;
  background: #ffc107;
  border-radius: 2px;
}

/* Smaller counter on mobile */
.counter {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  font-size: 3rem !important;
}

@media (max-width: 768px) {
  .counter {
    font-size: 2.3rem !important;
  }
  .counter-item p {
    font-size: 0.875rem;
  }
  .counter-item {
    padding: 1rem 0.5rem;
  }
}
/* ===== SECTION TITLES ===== */
.section-title {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 2.2rem;
  color: #1a1a1a;
  margin-bottom: 2.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 70px;
  height: 5px;
  background: linear-gradient(90deg, #0d6efd, #6610f2);
  border-radius: 3px;
}

/* ===== CARDS ===== */
.card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.08);
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, #1a1a1a, #2c3e50);
  color: #e9ecef;
  padding: 3rem 0 1.5rem;
}

footer a {
  color: #a8b5c8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #0d6efd;
}

footer h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
}

footer h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #0d6efd;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 992px) {
  .navbar-nav {
    margin-top: 1rem;
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav .nav-link {
    margin: 0.3rem 0;
    text-align: center;
  }

  .hero {
    height: 60vh;
  }

  .hero .carousel-caption {
    bottom: 15%;
    left: 5%;
    right: 5%;
    padding: 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .navbar-brand img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 50vh;
  }

  .hero .carousel-caption {
    padding: 0.8rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.9rem;
  }
}

/* ===== SCROLL BEHAVIOR ===== */
html {
  scroll-behavior: smooth;
}