:root {
  --darkblue: #0c1a38;
  --midnightblue: #112B3C;
  --mint: #ADE8E6;
  --sand: #F3EAC2;
  --white: #ffffff;
  --offwhite: #f8f9fa;
  --textdark: #081826;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--white);
  color: var(--textdark);
  scroll-behavior: smooth;
  padding-top: 70px;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

.bg-darkblue {
  background-color: var(--darkblue) !important;
}
.icon-style{
  color: white;
}
.text-darkblue {
  color: var(--darkblue) !important;
}

/* Navbar */
.navbar.bg-darkblue {
  background-color: var(--darkblue) !important;
  transition: background-color 0.3s ease-in-out;
}
.navbar .nav-link {
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}
.navbar .nav-link:hover {
  color: var(--mint) !important;
}

/* Banner */
#banner {
  background: url('https://images.unsplash.com/photo-1590080877777-48e37e9ce1e9?auto=format&fit=crop&w=1400&q=80') center center/cover no-repeat;
  height: 60vh;
  min-height: 350px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  animation: fadeIn 2s ease-in-out;
}
#banner h1 {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

#banner p {
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

#banner a.btn:hover {
  background-color: var(--white);
  color: var(--darkblue);
  border: 1px solid var(--mint);
  transition: all 0.3s ease;
}

/* Features Section */
#features {
  background-color: var(--darkblue);
  padding: 4rem 1rem;
}
.feature-box {
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}
.feature-box:hover {
  transform: translateY(-5px);
}
.feature-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0.5rem;
}
.feature-box h4 {
  margin-top: 15px;
  color: white;
}
.feature-box p {
  font-size: 0.95rem;
  color: white;
}
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
  .text-darkblue {
    color: #0c1a38;
  }
  .btn-darkblue {
    background-color: #0c1a38;
    color: #fff;
    border: none;
  }
  .btn-darkblue:hover {
    background-color: #102c5a;
    color: #fff;
  }
  .bg-darkblue {
    background-color: #0c1a38 !important;
  }

/* Courses Section */
#courses {
  background-color: var(--offwhite);
  padding: 4rem 1rem;
}
#courses .card {
  border: none;
  border-left: 4px solid var(--darkblue);
  transition: transform 0.3s ease;
  background-color: var(--white);
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}
#courses .card:hover {
  transform: translateY(-5px);
}

/* Testimonials Section */
#testimonials {
  background-color: var(--mint);
  padding: 4rem 1rem;
}
.testimonial-slider {
  max-width: 800px;
  margin: auto;
}
.testimonial-item {
  margin-bottom: 2rem;
  animation: fadeInUp 1.5s ease;
}
.testimonial-item p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--textdark);
}
.testimonial-item h5 {
  font-weight: 600;
  color: var(--textdark);
  text-align: right;
}

/* CTA Section */
#cta {
  background-color: var(--darkblue);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
  animation: fadeIn 1.8s ease-in-out;
}
#cta a.btn {
  display: inline-block;
  background: var(--mint);
  color: var(--darkblue);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
}
#cta a.btn:hover {
  background-color: var(--white);
  color: var(--darkblue);
  border: 1px solid var(--mint);
}

/* Footer */
footer {
  background-color: var(--midnightblue);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}
.footer-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: var(--mint);
  text-decoration: underline;
}
.footer-social {
  color: white;
  transition: color 0.3s ease;
  margin: 0 0.5rem;
}
.footer-social:hover {
  color: var(--mint);
}
/* //stats */
#stats .width{
  width: 280px;
}
/* whatsapp logo */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
  background-color: #25D366;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.whatsapp-float img {
  width: 50px;
  height: 50px;
}
/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  #banner {
    height: 50vh;
    padding: 1.5rem;
  }
  .feature-box img {
    height: 180px;
  }
  .testimonial-item p {
    font-size: 1rem;
  }
  #cta {
    padding: 2rem 1rem;
  }
  footer {
    padding: 1.5rem 0;
  }
  h1, h2, h3 {
    font-size: 1.5rem;
  }
  p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  #banner {
    height: auto;
    padding: 2rem 1rem;
  }
  h1 {
    font-size: 1.8rem;
  }
  .feature-box img {
    height: 160px;
  }
  #cta a.btn {
    padding: 0.6rem 1.2rem;
  }
}
