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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #333;
  color: #fff;
}

.navbar .logo a {
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  transition: background-color 0.3s ease;
}

.nav-links li a:hover {
  
  border-radius: 5px;
  color: #ff6b6b;
}

.hamburger {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
    font-size: 2rem;
    cursor: pointer;
  }

  .navbar.active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #333;
    padding: 10px 0;
  }

  .navbar.active .nav-links li {
    margin: 10px 0;
  }
}

/* Hero Section with Background Image and Smooth Gradient */
.hero {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2)), url('lead.jpg') center/cover no-repeat;
  color: #fff;
  text-align: left;
  padding: 150px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100vh;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.cta-button {
  background-color: #ff6b6b;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #ff4b4b;
  transform: scale(1.05);
  color: #fff;
  
}

.cta-button1 {
  background-color: #ff6b6b;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button1:hover {
  background-color: #ffffff;
  transform: scale(1.05);
  color: #fff;
  
}

/* Services Section */
.services {
  padding: 50px 20px;
  background-color: #ffffff;
}

.services h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}
.services p{
  text-align: center;
  
}

.services-cards {
  display: flex;
  justify-content: space-between;
}

.card {
  background-color: #f9f9f9;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  width: 30%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
}

/* Programs Section */
.programs {
  padding: 50px 20px;
  background-color: #333;
  color: #fff;
  text-align: center;
}

.programs h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.program-list {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  
}

.program {
  width: 45%;
  background-color: #444;
  padding: 20px;
  border-radius: 100px;
}

.program h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Contact Section */
.contact-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #333;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
  max-width: 600px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.contact-form button {
  background-color: #ff6b6b;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1.2rem;
}

.contact-form button:hover {
  background-color: #ff4b4b;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

footer p {
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
}

.social-icons li {
  list-style: none;
  margin: 0 10px;
}

.social-icons li a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons li a:hover {
  color: #ff6b6b;
}

/* Responsive Layout Adjustments */
@media (max-width: 768px) {
  .services-cards, .program-list {
    flex-direction: column;
    gap: 20px;
  }

  .card, .program {
    width: 100%;
  }

  .hero {
    text-align: center;
    justify-content: center;
  }
}


/* Extra CSS for Enhancing Animations & Transitions */

/* Add smooth scroll behavior for better UX */
html {
  scroll-behavior: smooth;
}

/* Smooth transitions for hover effects */
.nav-links li a {
  transition: color 0.3s ease;
}

.cta-button {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
}

/* Contact Form Validation Styles */
input:invalid, textarea:invalid {
  border-color: #ff6b6b;
}

input:valid, textarea:valid {
  border-color: #4caf50;
}


/* Testimonials Section */
.testimonials {
  background-color: #333;
  color: #fff;
  padding: 60px 20px;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.testimonial-slider {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.testimonial-item {
  background-color: #444;
  padding: 30px;
  border-radius: 100px;
  width: 30%;
  text-align: center;
}

/* Stats Section */
.stats-section {
  background-color: #f5f5f5;
  padding: 60px 20px;
}

.stats-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.stat-item {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 400px; /* Set a maximum width */
  height: 250px; /* Set a fixed height for uniformity */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.stat-item i {
  font-size: 3rem;
  color: #ff6b6b;
  margin-bottom: 15px;
}

.counter {
  font-size: 3rem;
  color: #333;
  margin: 10px 0;
}

.stat-item h4 {
  font-size: 1.2rem;
  color: #555;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .stats-grid {
    flex-direction: column;
  }

  .stat-item {
    height: auto; /* Allow dynamic height on smaller screens */
  }
}