/* Basic Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #004d7a, #008793);
  color: #fff;
  text-align: center;
  padding: 6rem 0;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1.2s ease-out;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  animation: fadeIn 1.5s ease-out;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  color: #fff;
  background: #ff7f50;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.3s, transform 0.3s;
}
.btn:hover {
  background: #ff5722;
  transform: scale(1.05);
}

/* Section Titles */
.section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}
.section h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #ff7f50;
  display: block;
  margin: 0.5rem auto 0;
}

/* About Section */
.about p {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1.2s ease-out;
}

/* Courses Section (Grid) */
.course‐grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.course-card {
  background: #f9f9f9;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, background 0.3s;
  animation: zoomIn 0.8s ease-out;
}
.course-card:hover {
  background: #fff;
  transform: translateY(-10px);
}

/* Contact Section */
.contact p {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 0.5rem;
  animation: fadeIn 1.2s ease-out;
}

/* Footer */
.footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

/* Animations (Keyframes) */
@keyframes fadeInDown {
  0%   { opacity: 0; transform: translateY(-50px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes zoomIn {
  0%   { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .course-card {
    padding: 1.5rem .8rem;
  }
}

/* navigation bar*/


.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;      /* allows items to wrap on smaller screens */
  justify-content: center;
  gap: 1em;
  padding: 0;
  margin: 0;
}

.main-nav ul li {
  margin: 0;
}

.main-nav ul li a {
  text-decoration: none;
  color:white;          /* assuming nav background is dark */
  padding: 0.5em 0.75em;
  transition: background 0.3s, color 0.3s;
}

.main-nav ul li a:hover {
  background: #003060;  /* example hover colour */
  color: #fff;
}

/* Example: nav background */
.main-nav {
  background: #004080;  /* same as your header colour maybe */
  padding: 0.5em 1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-nav ul {
    justify-content: space-around;
  }
}


/* whats app styles*/
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 80px;
  z-index: 1000;
  width: 60px;
  height: 60px;
}
.whatsapp-float .whatsapp-icon {
  max-width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  .whatsapp-float {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
  }
}


/* about lo image matte side by side */








