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

.hero-container {
  height: 90vh;
  /* position: relative; */
  border: 2px solid black;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(./images/home-background.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  font-family: sans-serif;
  background-attachment: fixed;
}
nav {
  height: 50px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  /* border: 2px solid red; */
  font-size: 20px;
}
nav .logo {
  width: 15%;
}

.menu {
  width: 60%;
}
.menu ul {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
}
.menu a {
  color: white;
  text-decoration: none;
  border: none;
}
#check {
  display: none;
}
.checkboxbtn {
  position: absolute;
  right: 40px;
  display: none;
}
nav .menu ul li :hover {
  border-bottom: 2px solid red;
}
.content {
  /* border: 2px solid brown; */
  /* margin: auto; */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 15%;
  padding-left: 10%;
  color: white;
  width: 60%;
}

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

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

nav .logo img {
  height: 70%;
  width: 70%;
  padding: 5%;
}
.content button {
  padding: 12px 25px;
  font-size: 1rem;
  background-color: orangered;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 40px;
}
.content button:hover {
  background-color: white;
  color: orangered;
  border: 2px solid orangered;
}
.menu ul li a :hover {
  border-bottom: red;
}

/* 2nd */
.main {
  height: 100vh;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  font-family: sans-serif;
  flex-wrap: wrap;
  padding-top: 200px;
  /* border-bottom: 2px solid violet; */
}
.left {
  width: 45%;
}
.left h1 {
  font-size: 35px;
  margin-bottom: 10px;
}
.left p {
  font-size: 20px;
  margin-bottom: 30px;
  color: gray;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.iconn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid rgba(133, 25, 25, 0.304);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: orangered;
}
.text h2 {
  font-size: 25px;
  margin-bottom: 10px;
}
.text p {
  font-size: 16px;
}
.right {
  /* position: relative; */
  /* border: 3px solid black; */
  /* height: 80vh; */
  width: 50%;
}
.right img {
  width: 70%;
  height: 70%;
}

/* 3rddddd */
.container {
  height: 100vh;
  margin: auto;
  text-align: center;
  padding: 30px;
}
.container h1 {
  font-size: 40px;
  margin-bottom: 10px;
}
.container p {
  font-size: 20px;
  /* margin-bottom: 20px; */
}
.row {
  /* border: 2px solid red; */
  /* height: 30%; */
  display: flex;
  justify-content: space-evenly;
  /* margin-bottom: 10px; */
}
.division {
  /* position: relative; */
  width: 49%;
  display: flex;
  justify-content: space-between;
  /* border: 2px solid yellow; */
}
.data {
  width: 48%;
  /* border: 2px solid brown; */
}
.course {
  height: 100%;
  /* border: 2px solid purple; */
  text-align: left;
  font-weight: bold;
  position: relative;
  /* margin-bottom: 10px; */
}
.course a {
  text-decoration: none;
  color: black;
}
.course img {
  height: 70%;
  width: 100%;
}
/* .course-title {
  height: 10%;
} */

.all button {
  height: 50px;
  width: 160px;
  font-size: 16px;
  background-color: orangered;
  border: none;
  border-radius: 3ch;
  color: white;
  font-weight: bold;
  margin: auto;
  display: block;
  cursor: pointer;
}
.all button:hover {
  background-color: white;
  color: orangered;
  border: 2px solid orangered;
}

/*  4th */
.box {
  height: 70vh;
  border: 2px solid red;
  background-image: linear-gradient(
      rgba(30, 30, 30, 0.6),
      rgba(30, 30, 30, 0.6)
    ),
    url(./images/cta1-background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* fixed removed for mobile support */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  text-align: left;
}

.head {
  max-width: 800px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.head h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.head p {
  font-size: 20px;
  margin-bottom: 25px;
}

.box button {
  height: 40px;
  width: 160px;
  font-size: 16px;
  background-color: orangered;
  border: none;
  border-radius: 3ch;
  color: white;
  font-weight: lighter;
  cursor: pointer;
}

.box button:hover {
  background-color: white;
  color: orangered;
  border: 2px solid orangered;
}

/* 5thhhh */

.bag {
  padding: 60px 20px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
.data-1 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 80px;
  margin-top: 30px;
}
.feature-1 {
  flex: 1 1 30%;
  padding: 20px;
}
.feature-1 .icon {
  font-size: 36px;
  color: orange;
  margin-bottom: 15px;
}

.feature-1 h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-1 p {
  font-size: 15px;
  color: #666;
}
.content-1 {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-align: left;
  /* flex-wrap: wrap; */
  border-top: 2px solid gray;
  padding: 20px;
}
.text-1 {
  width: 50%;
  line-height: 1.7;
}
.pic {
  width: 40%;
}

.text h2 {
  font-size: 20px;
}
.text-1 p {
  font-size: 16px;
}
.pic img {
  height: 80%;
  width: 80%;
}

/* 6th */

.can {
  height: 60vh;
  border: 2px solid red;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url(./images/cta2-background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* fixed removed for mobile support */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  text-align: left;
}

.subject {
  width: 100%;
  text-align: center;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.subject h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.subject p {
  font-size: 20px;
  margin-bottom: 25px;
}

.subject button {
  height: 40px;
  width: 160px;
  font-size: 16px;
  background-color: orangered;
  border: none;
  border-radius: 3ch;
  color: white;
  font-weight: lighter;
  cursor: pointer;
}

.subject button:hover {
  background-color: white;
  color: orangered;
  border: 2px solid orangered;
}

/* foooter */

footer {
  /* background-color: #1a1a1a; */
  /* color: black; */
  padding: 40px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-nav {
  display: flex;

  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid #444;
}
.footer .logo {
  width: 50%;
  align-self: flex-start; /* Align logo to the left inside flex container */
}

.picture img {
  max-width: 150px;
  height: auto;
}

.menuu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.menuu ul li a {
  color: #0a0a0a;
  text-decoration: none;
  font-size: 16px;
}

.menuu ul li a:hover {
  color: #f39c12;
}

.bottomm {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.bottomm .copyright span {
  font-size: 14px;
  color: #090909;
}

.bottomm .iccon span i {
  margin: 0 10px;
  font-size: 18px;
  color: #070707;
  transition: color 0.3s ease;
  cursor: pointer;
}

.bottomm .iccon span i:hover {
  color: #f39c12;
}

@media screen and (min-width: 0px) and (max-width: 1000px) {
  nav {
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }

  .checkboxbtn {
    display: block;
  }
  #check:checked ~ .menu ul {
    display: block;
    position: absolute;
    /* flex-direction: column; */
    top: 50px;
    left: 0%;
    background-color: black;
  }
  .menu ul {
    display: none;
    width: 100%;
  }
  .content {
    padding-top: 150px;
  }
  /* 2nd */

  .main {
    height: auto;
    flex-direction: column;
    align-items: center;
  }
  .left {
    width: 100%;
    text-align: center;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
  }
  .right {
    width: 80%;
    text-align: center;
    align-items: center;
  }

  .right img {
    width: 100%;
    height: 100%;
  }

  /* 3rrrd */

  .container {
    height: auto;
    width: 100%;
  }
  .row {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
  }
  .division {
    width: 100%;
  }

  /* 5th */

  .data-1 {
    flex-direction: column;
  }
  .content-1 {
    flex-direction: column;
    gap: 40px;
  }
  .text-1 {
    width: 100%;
    text-align: center;
    line-height: 2;
  }

  /* footer */

  .footer-nav {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .bottomm {
    flex-direction: column-reverse;
    gap: 20px;
  }
  .copyright {
    text-align: center;
  }
}
@media screen and (min-width: 0px) and (max-width: 500px) {
  .row {
    width: 100%;
  }
  .division {
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
    align-items: center;
  }
  .data {
    width: 100%;
    margin-bottom: 20px;
  }
}
