    * {
  text-decoration: none;
}

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

body {
  font-family: Calibri, sans-serif;
}

/* Navbar styling */
.navbar {
  background-color: palevioletred;
  padding: 15px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, box-shadow 0.3;
}
body{
  margin: 0;
  padding-top: 60px;
}

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

.logo a {
  color: white;
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  padding-left: 20px;
}

ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 20px;
}

ul li a {
  color: white;
  font-size: 18px;
  text-decoration: none;
  font-weight: bold;
}

ul li a:hover{
   text-decoration: underline;
    text-underline-offset: 3px;
}

.nav-buttons a {
  padding: 8px 14px;
  border-radius: 5px;
  font-weight: bold;
  margin-left: 10px;
  text-decoration: none;
}
/*......courses hover code.......*/

.dropdown-parent {
  position: relative;
}

.dropdown-parent .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.95);
  min-width: 185px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-radius: 6px;
  z-index: 1000;
}


.dropdown-parent .dropdown li a {
  color: #333;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-parent .dropdown li a:hover {
  background-color: #f1f1f1;
}

.dropdown-parent:hover .dropdown {
  display: block;
}


/*.....*/




.button-signin {
  background-color: white;
  color: #007bff;
  border: 1px solid #007bff;
}

.button-signup {
  background-color: #007bff;
  color: white;
  border: none;
}

/* Hamburger icon */
.hamburger {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* ........................Responsive for mobile........................... */


@media screen and (max-width: 768px) {
  ul {
    display: none;
    flex-direction: column;
    background-color: palevioletred;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    padding: 15px 0;
  }

  ul.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}



.banner {
  background-image: url('banner.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  height: 600px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-content {
  background: rgba(0, 0, 0, 0.5); /* Optional dark overlay */
  padding: 20px;
  border-radius: 10px;
}

.banner h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.banner p {
  font-size: 18px;
}


    .section-one{
      text-align: center;
      font-size: 26px;
      color: rgb(0, 0, 0);
      padding-top: 20px;
    }
    #key-point{
      color: rgb(80, 175, 49);
      font-weight: 900;
      font-size: 36px;
    }
    .lessons-button{
      background-color: white;
      color: rgb(94, 98, 101);
      border-color: rgb(94, 98, 101);
      width: 180px;
    }


    .lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px;
  max-width: 1000px;
  margin: auto;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.card h2 {
  margin-top: 0;
}

.card a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 15px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.grammar {
  border-top: 5px solid #28a745;
}

.vocabulary {
  border-top: 5px solid #e83e8c;
}

.listening {
  border-top: 5px solid #ffc107;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

  