/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #02c5fe;
  color: white;
  text-align: center;
  padding: 25px 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}




header h1 {
  font-size: 2.2rem;
  font-weight: 700;
}

header p {
  font-size: 1rem;
  margin-top: 8px;
}

.flashing-banner {
  background-color: #dff6fd; /* Soft blue background */
  color: #02667e; /* Soft deep-blue text */
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 12px 10px;
  animation: fadeInOut 6s infinite ease-in-out;
  letter-spacing: 1px;
}

/* Smooth fade animation */
@keyframes fadeInOut {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}


/* Navigation Bar */
nav {
  background-color: white;
  text-align: center;
  padding: 12px 0;
  border-bottom: 2px solid #02c5fe;
}

nav a {
  color: #02c5fe;
  text-decoration: none;
  font-weight: 600;
  margin: 0 18px;
  font-size: 1.05rem;
  transition: 0.3s;
}

nav a:hover {
  text-decoration: underline;
  color: #017bb5;
}

/* Main Section */
main {
  max-width: 900px;
  margin: 30px auto;
  padding: 25px 30px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(2, 197, 254, 0.2);
}

h2 {
  color: #02c5fe;
  margin-bottom: 20px;
  font-weight: 700;
}

/* Form */
form {
  margin-top: 20px;
}

input[type="text"], input[type="submit"] {
  padding: 12px;
  border-radius: 6px;
  border: 2px solid #02c5fe;
  margin-bottom: 15px;
  font-size: 1rem;
  width: 100%;
  max-width: 400px;
  display: block;
}

input[type="submit"] {
  background-color: #02c5fe;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #017bb5;
}

/* Footer */
footer {
  background-color: #02c5fe;
  color: white;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9rem;
  margin-top: 40px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

/* Cards (used in courses and success pages) */
.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(2, 197, 254, 0.15);
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.card h3 {
  color: #02c5fe;
  margin-top: 10px;
}

/* Grid layout for courses and success stories */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  background-color: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 600px) {
  nav a {
    margin: 0 10px;
    font-size: 1rem;
  }

  main {
    margin: 20px 15px;
    padding: 20px;
  }
}
