:root {
  --primary-color: #0077ff;
  --dark-color: #0d1b2a;
  --light-color: #f5f5f5;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  color: #333;
  line-height: 1.6;
  background: var(--light-color);
}

span {
  font-size : 12px;
  font-weight: 500;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Navbar */
.navbar {
  background: var(--dark-color);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  margin: 0;
  font-size: 1.5rem;
  color: var(--primary-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--primary-color);
}

/* Hero */
.hero {
  background: linear-gradient(to right, #0077ffcc, #0d1b2acc), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1500&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 6rem 1rem;
}

.hero h2 {
  font-size: 2.5rem;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.btn:hover {
  background: #0059bf;
}

/* Sections */
.section {
  padding: 4rem 0;
  background: white;
  margin-bottom: 1rem;
}

.section:nth-child(even) {
  background: var(--light-color);
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* Courses */
.course-grid {
  margin-top:2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.course-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1.5rem;
  text-align: center;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: var(--primary-color);
  color: white;
  border-radius: 8px;
  padding: 1.5rem;
}

/* Contact */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

input, textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #0059bf;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  text-align: center;
  padding: 1rem;
}
