.Nav-logo {
  max-height: 60px; 
  width: auto;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f4f4f9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 15px;
}

.nav-links button {
  padding: 8px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: none;
  cursor: pointer;
  font-size: 14px;
}

.nav-links button:hover {
  background-color: #f0f0f0;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 20px;
}

.main-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.main-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.login-btn-main {
  padding: 10px 30px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.login-btn-main:hover {
  background-color: #333;
}

/* Reviews Section */
.reviews {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 30px;
}

.review-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 200px;
  text-align: left;
}

.stars {
  color: #ffd700;
  margin-bottom: 10px;
}

.review-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.review-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.reviewer span {
  font-size: 14px;
  color: #666;
}

/* Login Popup */
.login-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.login-container {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
  position: relative;
}

.login-container h2 {
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Form Group Styling for Registration Popup */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: bold;
}

.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  appearance: none; /* Remove default dropdown arrow */
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="5" viewBox="0 0 10 5"><path d="M0 0h10L5 5z" fill="%23999"/></svg>') no-repeat right 10px center;
  background-size: 10px;
  cursor: pointer;
}

.login-btn {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.login-btn:hover {
  background-color: #0056b3;
}

.forgot-password {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #007bff;
  text-decoration: none;
}

.forgot-password:hover {
  text-decoration: underline;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}


.nav-links button {
    padding: 8px 15px;
    border: 1px solid #1e88e5;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #1e88e5;
    font-weight: bold;
}

.nav-links button:hover {
    background-color: #1e88e5;
    color: #fff;
}

.login-btn-main {
    padding: 10px 30px;
    background-color: #1e88e5;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.login-btn-main:hover {
    background-color: #1669bb;
}

.login-btn {
    width: 100%;
    padding: 10px;
    background-color: #1e88e5;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-btn:hover {
    background-color: #1669bb;
}

.forgot-password {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #1e88e5;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}


.main-content {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    height: 600px;
    position: relative;
    border-radius: 0; 
    overflow: hidden;
    border: none;
  }

  .slideshow-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 100%;
  }

  html, body {
    height: 155%;
  }
  
  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 15s infinite;
  }
  
  .slide:nth-child(1) { animation-delay: 0s; }
  .slide:nth-child(2) { animation-delay: 6s; }
  .slide:nth-child(3) { animation-delay: 10s; }
  
  /* Fade animation */
  @keyframes fade {
    0%   { opacity: 0; }
    10%  { opacity: 1; }
    30%  { opacity: 1; }
    40%  { opacity: 0; }
    100% { opacity: 0; }
  }
  
  /* Text content on top of slideshow */
  .text-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 60px 20px;
  }
  
  /* Navbar */
nav {
    width: 100%;
    margin: 0;
    padding: 10px 40px;
    box-sizing: border-box;
  }
  
  

  

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
  }
  
  body {
    background-color: #f9f9f9;
    color: #333;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  
  .hero {
    background-image: url;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .btn {
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
  }
  
  .popular-courses h2,
  .how-it-works h2 {
    text-align: center;
    margin: 60px 0 30px;
    font-size: 2rem;
  }
  
  .horizontal-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
  }
  
  .course-card {
    background: white;
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 580px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  .course-card img {
    width: 40%;
    object-fit: cover;
    height: 100%;
  }
  
  .course-info {
    padding: 20px;
    flex: 1;
  }
  
  .course-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
  }
  
  .course-info p {
    font-size: 0.95rem;
    color: #555;
  }
  
  .how-it-works .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
  }
  
  .step {
    background-color: #fff;
    padding: 20px;
    border-left: 5px solid #007bff;
    border-radius: 8px;
  }
  







  .why-choose-us {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
  }
  
  .why-choose-us .section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #1f2937;
  }
  
  .features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .feature-card {
    background-color: #f3f4f6;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    padding: 30px 20px;
    width: 260px;
    transition: transform 0.3s;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
  }
  
  .feature-card i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 15px;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #111827;
  }
  
  .feature-card p {
    font-size: 0.95rem;
    color: #4b5563;
  }
  


  .login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    align-items: center;
    z-index: 9999; 
}

.nav-links button {
  padding: 8px 15px;
  border: 1px solid #1e88e5;
  border-radius: 5px;
  background-color: #fff;
  cursor: pointer;
  font-size: 14px;
  color: #1e88e5;
  font-weight: bold;
}

.nav-links button:hover {
  background-color: #1e88e5;
  color: #fff;
}

.login-btn-main {
  padding: 10px 30px;
  background-color: #1e88e5;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.login-btn-main:hover {
  background-color: #1669bb;
}

.login-btn {
  width: 100%;
  padding: 10px;
  background-color: #1e88e5;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.login-btn:hover {
  background-color: #1669bb;
}

.forgot-password {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #1e88e5;
  text-decoration: none;
}

.forgot-password:hover {
  text-decoration: underline;
}


.main-content {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  height: 600px;
  position: relative;
  border-radius: 0; 
  overflow: hidden;
  border: none;
}

.slideshow-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
}

html, body {
  height: 155%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 15s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 10s; }

/* Fade animation */
@keyframes fade {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  30%  { opacity: 1; }
  40%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Text content on top of slideshow */
.text-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

/* Navbar */
nav {
  width: 100%;
  margin: 0;
  padding: 10px 40px;
  box-sizing: border-box;
}





* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
}

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

.hero {
  background-image: url;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.btn {
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.popular-courses h2,
.how-it-works h2 {
  text-align: center;
  margin: 60px 0 30px;
  font-size: 2rem;
}

.horizontal-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.course-card {
  background: white;
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 580px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.course-card img {
  width: 40%;
  object-fit: cover;
  height: 100%;
}

.course-info {
  padding: 20px;
  flex: 1;
}

.course-info h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.course-info p {
  font-size: 0.95rem;
  color: #555;
}

.how-it-works .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.step {
  background-color: #fff;
  padding: 20px;
  border-left: 5px solid #007bff;
  border-radius: 8px;
}








.why-choose-us {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.why-choose-us .section-title {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #1f2937;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-card {
  background-color: #f3f4f6;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  padding: 30px 20px;
  width: 260px;
  transition: transform 0.3s;
}

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

.feature-card i {
  font-size: 2.5rem;
  color: #2563eb;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #111827;
}

.feature-card p {
  font-size: 0.95rem;
  color: #4b5563;
}



.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); 
  align-items: center;
  z-index: 9999; 
}

/* Mobile View */
@media (max-width: 768px) {

  /* Header adjustments */
  .header {
    flex-direction: column;
    padding: 10px 20px;
  }

  .logo {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links button {
    width: 100%;
    font-size: 13px;
    padding: 8px;
  }

  /* Main Content adjustments */
  .main-content {
    padding: 30px 10px;
    height: auto;
  }

  .main-content h1 {
    font-size: 32px;
  }

  .main-content p {
    font-size: 16px;
  }

  .login-btn-main {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Reviews Section */
  .reviews {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .review-card {
    width: 90%;
  }

  /* Hero Section */
  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Course Cards */
  .course-card {
    flex-direction: column;
    max-width: 100%;
  }

  .course-card img {
    width: 100%;
    height: 200px;
  }

  .course-info {
    padding: 15px;
  }

  /* How It Works Steps */
  .how-it-works .steps {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Feature Cards */
  .features {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    width: 90%;
  }

  /* Slideshow text content */
  .text-content {
    padding: 30px 10px;
  }

  .text-content h1 {
    font-size: 28px;
  }

  .text-content p {
    font-size: 14px;
  }
}


