:root {
  --primary-color: #1e7673;
  --secondary-color: #06228c;
  --background-color: #111827;
  --bright-green: #00aa66;
  --border-radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: Poppins, Tahoma, Geneva, Verdana, sans-serif;
  background-color: #e8f4ff;
  color: #333;
}

/* Banner Text Styling */
.banner-content h1 {
  font-family: "Poppins", sans-serif; /* Professional modern font */
  line-height: 1.2;
  margin-bottom: 1rem;
}

.banner-content p {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  line-height: 1.5;
}

/* Banner Styles */
header {
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(-45deg, #0b1b3f, #0066ff, #15803d, #0b1b3f);
  background-size: 400% 400%;
  animation: gradientBG 15s ease-in-out infinite;
}

#view-courses-btn {
  background: linear-gradient(90deg, #0b1b3f, #00318d, #0b1b3f);
  background-size: 400% 400%;
  animation: gradientBG 5s ease-in-out infinite;
}

#view-courses-btn:hover {
  background: var(--bright-green);
  box-shadow: 0 0 25px var(--bright-green);
}

.banner-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.banner-content {
  position: absolute;
  z-index: 2;
  max-width: 900px;
  padding: 1rem;
}

.banner-content h1 {
  font-size: 8rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 0 10px #00000073;
}

@media screen and (max-width: 768px) {
  .banner-content h1 {
    font-size: 4rem;
  }
}

.banner-content p {
  font-size: 1.3rem;
  margin: 1rem 0 2rem 0;
  color: white;
  text-shadow: 0 0 10px black;
}

.banner-content .btn {
  background: var(--background-color);
  color: #fff;
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: normal;
  box-shadow: 0px 3px 10px rgb(17 24 39 / 51%);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  background: var(--bright-green);
  box-shadow: 0 0 25px var(--bright-green);
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Gradient Animation */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Courses Section */
.courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 3rem 2rem;
  background: #f5f7fa;
}

.course {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.3s ease;
  border: 2px solid transparent;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course h2 {
  font: 1.5em sans-serif;
  font-weight: bold;
  color: var(--background-color);
  margin-bottom: 0.7rem;
}
.course p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

.course:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(152, 152, 152, 0.547);
  border: 2px solid var(--primary-color);
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--background-color);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Testimonials */
.testimonials {
  background: #e8f4ff;
  padding: 10rem 2rem;
  text-align: center;
}
.testimonials h2 {
  color: var(--background-color);
}
.testimonials p {
  font-style: italic;
  color: #333;
}

/* Contact Form */
.contact {
  padding: 8rem 2rem;
  background: white;
  text-align: center;
}
.contact h2 {
  color: var(--background-color);
}
.contact input,
.contact textarea {
  width: 80%;
  max-width: 400px;
  margin: 0.5rem 0;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
}
.contact button {
  background: var(--bright-green);
  color: #fff;
  border: none;
  padding: 0.8rem 1.4rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact button:hover {
  background: var(--bright-green);
}

/* Footer */
footer {
  background: var(--background-color);
  color: white;
  text-align: center;
  padding: 1.5rem;
}
footer a {
  color: white;
  text-decoration: none;
}
