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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

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

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: all 0.3s;
}

header nav a.active {
  color: #ff4b2b;
  font-weight: 600;
}


/* Mobile Navbar */
@media (max-width: 768px) {
  header nav {
    position: absolute;
    top: 60px;
    right: 0;
    background: #1f1f1f;
    flex-direction: column;
    width: 200px;
    text-align: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }
  header nav.active {
    transform: translateX(0);
  }
  header nav a {
    margin: 15px 0;
    display: block;
  }
  .hamburger {
    display: flex;
  }
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}


/* Navbar */
header {
  background: #1f1f1f;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #0ABAB5;
}

header .logo span {
  color: #8A2BE2;
}
header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}
header nav a:hover {
  color: #ff4b2b;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.cta-btn {
  background: #fff;
  color: #ff416c;
  padding: 10px 25px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
}
.cta-btn:hover {
  background: #ff416c;
  color: #fff;
}

/* Courses */
.courses {
  padding: 80px 0;
  text-align: center;
}
.courses h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.course-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.course-card h3 {
  margin-bottom: 15px;
  color: #ff416c;
}
.course-card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}
.course-card .btn {
  text-decoration: none;
  color: #fff;
  background: #ff416c;
  padding: 8px 15px;
  border-radius: 5px;
}
.course-card .btn:hover {
  background: #ff4b2b;
}

/* About */
.about {
  padding: 80px 0;
  text-align: center;
  background: #f0f0f0;
}
.about h2 {
  margin-bottom: 20px;
  color: #ff416c;
}

/* Blog */
.blog {
  padding: 80px 0;
  text-align: center;
}
.blog h2 {
  margin-bottom: 40px;
  color: #ff416c;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.blog-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.blog-card h3 {
  margin-bottom: 15px;
}
.blog-card p {
  margin-bottom: 15px;
}
.blog-card .btn {
  text-decoration: none;
  color: #fff;
  background: #ff416c;
  padding: 8px 15px;
  border-radius: 5px;
}
.blog-card .btn:hover {
  background: #ff4b2b;
}

/* Contact */
.contact {
  padding: 80px 0;
  text-align: center;
  background: #f0f0f0;
}
.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.contact input, .contact textarea {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
.contact button {
  padding: 10px;
  background: #ff416c;
  color: #fff;
  border: none;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}
.contact button:hover {
  background: #ff4b2b;
}

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