/* Reset */
  *, *::before, *::after {
    box-sizing: border-box;
  }
  body {
    margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f9f9fc;
    color: #1f2937;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
  }

  /* Header */
  header {
    background-color: #001550; /* navy blue */
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0; z-index: 100;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.15);
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.4rem;
    user-select: none;
  }
  .logo img {
  height: 50px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
  }
  nav {
    display: flex;
    gap: 1.3rem;
  }
  nav a {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }
  nav a:hover,
  nav a:focus {
    background-color: #3b82f6; /* lighter blue hover */
    outline: none;
  }
.coupon-box {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.coupon-input {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}

.apply-coupon {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.apply-coupon:hover {
  background: #1d4ed8;
}

  /* Hero Section */
  .hero {
    background-color: #091531; /* bright blue */
    color: white;
    padding: 3rem 1.5rem 4rem;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.6rem;
    margin-bottom: 0.75rem;
    font-weight: 900;
    line-height: 1.1;
  }
  .hero p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 1.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  .hero .btn-primary {
    background-color: #f97316; /* orange */
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.8rem 2.4rem;
    border-radius: 40px;
    border: none;
    box-shadow: 0 6px 14px #fb923caa;
    cursor: pointer;
    transition: background-color 0.25s ease;
  }
  .hero .btn-primary:hover,
  .hero .btn-primary:focus {
    background-color: #ea580c;
    outline: none;
  }

  /* Main Content */
  main {
    flex-grow: 1;
    max-width: 960px;
    margin: 2.5rem auto 4rem;
    width: 90%;
  }

  /* Courses Section */
  .courses-section h2 {
   
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #111827;
  }

  .courses-list {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
   
  }

  .course-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgb(0 0 0 / 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
  }
  .course-card:hover {
    box-shadow: 0 16px 32px rgb(0 0 0 / 0.15);
  }

 .course-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* keeps 16:9 ratio */
  overflow: hidden;
  border-bottom: 1px solid #eee;
}
.remove-coupon {
  background: #ef4444;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.remove-coupon:hover {
  background: #dc2626;
}

.course-img-wrap img,
.course-img-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps perfect aspect ratio */
  border: none;
  border-radius: 0;
}


  .course-content {
    padding: 1rem 1.25rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .course-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #1e40af; /* navy variant */
  }
  .course-desc {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #4b5563;
    margin-bottom: 1rem;
  }
  .course-price {
    font-weight: 700;
    font-size: 1rem;
    color: #dc2626; /* red */
    margin-bottom: 0.8rem;
  }
  .coupon-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coupon-input {
  flex: 1 1 100%;
}

.apply-coupon, 
.remove-coupon {
  flex: 1;
  min-width: 100px;
}

  .buy-btn {
    background-color: #f97316;
    color: white;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 32px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    align-self: flex-start;
    box-shadow: 0 5px 12px #fb923caa;
    transition: background-color 0.3s ease;
  }
  .buy-btn:hover,
  .buy-btn:focus {
    background-color: #ea580c;
    outline: none;
  }

  /* About Section */
  .about-section {
    margin-top: 4rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgb(0 0 0 / 0.08);
    padding: 2rem 2.4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  .about-section h2 {
    font-weight: 800;
    font-size: 1.9rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #374151;
  }
  .about-content p {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.1rem;
    color: #4b5563;
  }
  .about-content strong {
    font-weight: 700;
  }
  .about-content ul {
    list-style: disc;
    padding-left: 1.4rem;
    margin-top: 0;
    margin-bottom: 1.3rem;
    color: #4b5563;
  }
  .about-content ul li {
    margin-bottom: 0.45rem;
    font-weight: 600;
  }
  /* Social Media Section */
.social-section {
  text-align: center;
  background: #f1f5f9;
  padding: 2rem 1rem;
  margin-top: 3rem;
  border-top: 2px solid #e5e7eb;
}

.social-section h2 {
  color: #1e3a8a;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  font-weight: 800;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 16px rgb(0 0 0 / 0.2);
}

.social-links img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.legal-part {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.legal-part a {
    color: #6b7280;
    text-decoration: none;
}

.legal-part a:hover {
    text-decoration: underline;
}


  /* Footer */
  footer {
    text-align: center;
    padding: 1.25rem 0;
    background-color: #1e3a8a;
    color: white;
    font-size: 0.9rem;
    user-select: none;
  }
.yt-btn {
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
.yt-btn img{
    height: 24px; margin-left: 7px;
}
  /* Responsive */
  @media (max-width: 440px) {
    .hero h1 {
      font-size: 2rem;
    }
    .hero p {
      font-size: 1rem;
    }
    nav {
      gap: 1rem;
    }
    main {
      width: 95%;
    }
  }