body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  background: #a66ac5;
  color: #333;
}

header {
  width: 100%;
  margin: 0;
  padding: 0;
}

h1 {
  text-align: center;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
  color: white;
}

.course-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.courses {
  padding: 40px;
  background: #9d45a4;
}

.courses h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: white;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.course-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card img {
  width: 50px;
  margin-bottom: 10px;
}

.course-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.course-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.meta {
  font-size: 0.85rem;
  color: #777;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.start-btn {
  background: #9d45a4;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.start-btn:hover {
  background: #6c2eb9;
}

.navbar {
  background: rgba(155, 89, 182, 0.8); /* thoda dark shade for clarity */
  backdrop-filter: blur(12px);         /* glass effect */
  color: white;
  padding: 15px 50px;
  height: 60px;                        /* thoda bada */
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;                            /* responsive full width */
  z-index: 1000;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* shadow niche */
  transition: background 0.3s ease, height 0.3s ease;
}

/* Logo */
.logo {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1px;
}

.logo a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.logo a:hover {
  color: #ffd1ff; /* soft highlight */
}

/* Nav Links */
.nav-links {
  list-style: none;   
  display: flex;
  gap: 30px; /* thoda zyada spacing */
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 17px;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #fff;
  left: 0;
  bottom: -4px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ffd1ff;
}

.nav-links a:hover::after {
  width: 100%;
}
.about {
  max-width: 900px;
  margin: 120px auto 60px;
  padding: 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  color: #fff;
  line-height: 1.7;
}

.about h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffcc70;
  text-align: center;
}

.about h2 {
  font-size: 1.5rem;
  margin: 30px 0 10px;
  color: #ffd580;
}

.about p {
  margin-bottom: 15px;
}

.about ul {
  margin: 10px 0 20px 20px;
}

.about ul li {
  margin-bottom: 8px;
  list-style: "✨ ";
}

.progress-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
  color: white;
}

.progress-section h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.progress-card {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  text-align: left;
}

.progress-card h3 {
  margin-bottom: 10px;
  color: #fff;
}

.progress-card p {
  margin-top: 8px;
  font-size: 14px;
  color: #ddd;
}

progress {
  width: 100%;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
}

progress::-webkit-progress-bar {
  background-color: #ddd;
  border-radius: 10px;
}

progress::-webkit-progress-value {
  background-color: #7e3ff2;
  border-radius: 10px;
}

.contact-section {
  max-width: 700px;
  margin: 60px auto;
  padding: 30px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  color: white;
  text-align: center;
  backdrop-filter: blur(10px);
}

.contact-section h1 {
  margin-bottom: 15px;
  color: #ffcc70;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  outline: none;
}

.contact-form button {
  align-self: flex-start;
}

.courses-preview {
  padding: 60px 20px;
  text-align: center;
  background: #fafafa;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.course-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  font-weight: bold;
}

.testimonials {
  padding: 60px 20px;
  background: #f4f4f4;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.testimonial {
  background: white;
  padding: 20px;
  border-left: 5px solid #9b59b6;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hero {
  text-align: center;
  padding: 80px 20px;
  background: #f4f4f4;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  background: #9b59b6;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.features {
  padding: 50px 20px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
  background: #eee;
  padding: 20px;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding: 15px;
  background: #9b59b6;
  color: white;
  margin-top: 30px;
}

