body {
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

/* Navbar */
.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
  color: #0d6efd !important;
}

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(13,110,253,0.65), rgba(0,0,50,0.7)),
              url('https://images.unsplash.com/photo-1537498425277-c283d32ef9db?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Services */
.service-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Team */
#team .team-card {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  transition: all 0.4s ease;
}
#team .team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
#team .team-card:hover img {
  transform: scale(1.08);
}
#team .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(13,110,253,0.9);
  color: white;
  padding: 20px 10px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
#team .team-card:hover .overlay {
  opacity: 1;
}

/* Counter */
.counter {
  font-size: 3rem;
  font-weight: 700;
}

/* Footer */
footer {
  font-size: 15px;
}
#about img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#about img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

#about .card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
/* Achievements Section */
#achievements {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

.timeline-horizontal {
  position: relative;
  padding: 3rem 0;
}

.timeline-line {
  height: 4px;
  background: linear-gradient(to right, #0d6efd, #74b9ff);
  border-radius: 10px;
  animation: moveLine 6s linear infinite alternate;
}

.timeline-item {
  position: relative;
  flex: 1;
  z-index: 1;
  min-width: 140px;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.timeline-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

/* Animated glowing effect */
@keyframes moveLine {
  0% {
    background: linear-gradient(to right, #74b9ff, #0d6efd);
  }
  100% {
    background: linear-gradient(to right, #0d6efd, #74b9ff);
  }
}

/* Responsive Layout */
@media (max-width: 768px) {
  .timeline-horizontal {
    flex-direction: column;
    align-items: center;
  }

  .timeline-line {
    width: 4px;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .timeline-item {
    flex: none;
    text-align: center;
    margin-bottom: 3rem;
  }
}
/* Modern About Section */
#about {
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
}

.about-modern {
  position: relative;
}

/* Image Wrapper */
.about-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.about-img-wrapper img {
  transition: transform 0.6s ease;
}

.about-img-wrapper:hover img {
  transform: scale(1.08);
}

/* Gradient Overlay */
.img-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(13,110,253,0.5), rgba(0,0,80,0.6));
  border-radius: 1rem;
  opacity: 0.6;
}

/* Founded Badge */
.about-year-badge {
  position: absolute;
  bottom: 20px;
  left: 25px;
  background: rgba(13,110,253,0.9);
  padding: 0.6rem 1rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(13,110,253,0.3);
}

/* Text Card */
.about-text {
  border-left: 5px solid #0d6efd;
  transition: all 0.3s ease;
}

.about-text:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Info Boxes */
.info-box {
  min-width: 90px;
}

.info-box i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.info-box:hover i {
  transform: scale(1.2);
  color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
  .about-text {
    margin-top: 1.5rem;
  }
}
