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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  /* background-image: url("./images/bg-image.jpg"); */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  color: #fff;
  padding: 10px 20px;
  width: 100%;
  background-color: #333;
}

header {
  background-image: url(./images/bg-image.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 100vh;
}

.theme-color {
  color: #28a745;
  text-decoration: overline;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

/* nav ul li a::after {
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    ba
    text-decoration: underline;
  } */

nav ul li a:hover {
  color: #28a745;
  font-weight: bold;
  position: relative;
  text-decoration: underline;
}

/*.auth-buttons .btn {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 10px;
}
*/
.auth-buttons .btn1 {
  background-color: transparent;
  color: white;
  border: 2px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  margin-left: 10px;
  font-size: 16px;
  border-style: solid;
  border-color: #28a745;
}

.auth-buttons .btn1:hover {
  background-color: #1b682d;
  text-decoration: underline;
}

.auth-buttons .btn2 {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  margin-left: 10px;
  font-size: 16px;
}

.auth-buttons .btn2:hover {
  text-decoration: underline;
  color: white;
  cursor: pointer;
}

.main-hero {
  margin-top: 50px;
}

.hero {
  /* background: #bfc216; */
  /* background-image:url(./images/bg-image.jpg); */
  /* background-image:; */
  /* margin-top: 50px; */
  padding: 50px 20px;
  text-align: left;
}

.hero-content {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 2%;
  justify-content: space-between;
  align-items: center;
  display: flex;
  gap: 2%;
}

.welcome-image {
  width: 700px;
  border-radius: 25px;
}

.hero h2 {
  font-size: 2.5rem;
  color: #333;
}

.heading-styling {
  text-decoration: underline #28a745;
  text-decoration-style: wavy;
  font-style: italic;
  /* color: #28a745; */
}

.hero p {
  font-size: 1.2rem;
  color: #666;
  margin-top: 1%;
}

.cta-btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1.1rem;
  margin-top: 5%;
}

.cta-btn:hover {
  background-color: transparent;
  color: #28a745;
  outline: auto;
}

.hero-cards {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 40px;
  gap: 28px;
}

.card {
  /* background-color: rgb(180, 49, 49); */
  padding: 20px;
  width: 300px;
  height: 100%;
  /* min-height: 210px; */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.card:hover {
  /* background-size: auto; */
  box-shadow: 0 0 10px rgba(0, 0, 0, 25%);
  transform: scale(1.1);
}

.card p {
  color: black;
}

.card img {
  width: 40px;
}

#card1 {
  background-color: #f8d7da;
}
/* #d8a817 */

#card2 {
  background-color: #fff4e6;
}

/* #a72870 */

#card3 {
  background-color: #f5f5d0;
}

#card4 {
  background-color: #e6f7ff;
}

#card5 {
  background-color: #f7f9f9;
}

#card6 {
  background-color: #f8f5f2;
}

#card7 {
  background-color: #f2e8ff;
}

.qualities {
  padding: 50px 20px;
  background-color: #f9f9f9;
}
.section-head {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #28a745;
  padding: 2%;
  text-decoration: overline underline;
}

.icon-size {
  width: 50px;
}

.card h3 {
  color: #28a745;
  margin-bottom: 10px;
}

.featured-courses {
  padding: 50px 20px;
  /* background-color: #f4f4f4; */
  text-align: center;
  /* display: flex; */
}

.featured-courses h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.courses {
  display: flex;
  gap: 2%;
  /* margin-left: 2%;
  margin-right: 2%; */
  justify-content: space-around;
  margin-bottom: 50px;
}

/* featured courses 1*/
.course1 {
  background-color: white;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), 10%, black),
    url(images/graphic-design.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
  width: 30%;
  height: 300px;
  align-content: center;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.course1 h3 {
  color: #ffffff;
  margin-bottom: 20px;
}

.course1 p {
  color: #a5a5a5;
  margin-bottom: 20%;
}

/* featured courses 2 */
.course2 {
  background-color: white;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), 10%, black),
    url(images/dataScience.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
  width: 30%;
  height: 300px;
  align-content: center;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.course2 h3 {
  color: #ffffff;
  margin-bottom: 20px;
}

.course2 p {
  color: #a5a5a5;
  margin-bottom: 20%;
}
/* featured courses 3 */
.course3 {
  background-color: white;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), 10%, black),
    url(images/UiUx-image.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
  width: 30%;
  height: 300px;
  align-content: center;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.course3 h3 {
  color: #ffffff;
  margin-bottom: 20px;
}

.course3 p {
  color: #a5a5a5;
  margin-bottom: 20%;
}

/* featured courses 4 */
.course4 {
  background-color: white;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), 10%, black),
    url(images/html-image.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
  width: 30%;
  height: 300px;
  align-content: center;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.course1:hover,
.course2:hover,
.course3:hover,
.course4:hover {
  /* background-size: auto; */
  box-shadow: 0 0 10px rgba(0, 0, 0, 50%);
  transform: scale(1.01);
}

.course4 h3 {
  color: #ffffff;
  margin-bottom: 20px;
}

.course4 p {
  color: #a5a5a5;
  margin-bottom: 20%;
}

.view-course {
  text-decoration: none;
  color: white;
  margin-top: 100px;
  padding: 10px;
  background-color: #28a74659;
}

.view-course:hover {
  text-decoration: underline #28a745;
  /* font-weight: bold; */
  background-color: #28a746b0;
}

/* end of featured courses */

/* .testimonials-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #333;
} */

.testimonials-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.testimonial {
  background-color: white;
  padding: 20px;
  /* border-radius: 10px; */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  height: 100%;
  text-align: center;
}

.testimonial img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  /* margin-bottom: 15px; */
}

.rating-flex {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2%;
}

.fa-star {
  color: #999;
}

.checked,
.fa-star-half-full {
  color: orange;
  font-size: 200px;
}

.rating-time {
  font-size: 11px;
  text-align: center;
  align-content: center;
  color: #999;
}

.testimonial .review {
  font-size: 1rem;
  color: #555;
  font-style: italic;
}

.testimonial h4 {
  font-size: 1.1rem;
  color: #28a745;
}

.trusted-partners {
  padding: 60px 20px;
  background-color: white;
  text-align: center;
  margin-bottom: -70px;
}

.quotes {
  font-size: 50px;
  color: #28a745;
}

/* main testimonial section */
.testimonials-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

/* carousel testimonial section */
/* 
.carousel-grid {
  height: 600px;
  display: grid;
  grid-template-rows: 500px 100px;
  grid-template-columns: 1fr 30px 30px 30px 30px 30px 1fr;
  align-items: center;
  font-family: "Poppins", sans-serif;
}

main #carousel {
  grid-row: 1/2;
  grid-column: 1/8;
  width: 100vw;
  height: 300px;
  display: flex;
  align-items: center;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 600px;
  --items: 5;
  --middle: 3;
  --position: 1;
  pointer-events: none;
}

.carousel-item {
  text-align: center;
  padding: 20px;
  border: 3px solid #28a745;
  border-radius: 20px;
  position: absolute;
  width: 300px;
  height: 400px;
  background-color: white;
  --r: calc(var(--position) - var(--offset));
  --abs: max(calc(var(--r) * -1), var(--r));
  transition: all 0.25s linear;
  transform: rotateY(calc(-10deg * var(--r))) translate(calc(-300px * var(--r)))
    translateX(calc(-300px * var(--r)));
  z-index: calc((var(--position) - var(--abs)));
}

.carousel-item:nth-of-type(1) {
  --offset: 1;
}

.carousel-item:nth-of-type(2) {
  --offset: 2;
}

.carousel-item:nth-of-type(3) {
  --offset: 3;
}

.carousel-item:nth-of-type(4) {
  --offset: 4;
}

.carousel-item:nth-of-type(5) {
  --offset: 5;
}

input:nth-of-type(1) {
  grid-column: 2/3;
  grid-row: 2/3;
}

input:nth-last-of-type(1):checked ~ main #carousel {
  --position: 1;
}

input:nth-of-type(2) {
  grid-column: 3/4;
  grid-row: 2/3;
}

input:nth-last-of-type(2):checked ~ main #carousel {
  --position: 2;
}

input:nth-of-type(3) {
  grid-column: 4/5;
  grid-row: 2/3;
}

input:nth-last-of-type(3):checked ~ main #carousel {
  --position: 3;
}

input:nth-of-type(4) {
  grid-column: 5/6;
  grid-row: 2/3;
}

input:nth-last-of-type(4):checked ~ main #carousel {
  --position: 4;
}

input:nth-of-type(5) {
  grid-column: 6/7;
  grid-row: 2/3;
}

input:nth-last-of-type(5):checked ~ main #carousel {
  --position: 5;
} */

.partners-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* flex-wrap: wrap; */
  gap: 20px;
}

.partners-logos img {
  width: 120px;
  height: auto;
  transition: transform 0.3s ease-in-out;
  opacity: 0.5;
}

.partners-logos img:hover {
  transform: scale(2);
  opacity: 1;
}

.logo-prop {
  width: 150px;
}

.marquee {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 200px;
  overflow-x: hidden;
}

.track {
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.subscription {
  padding: 70px 20px;
  text-align: center;
  background-color: #28a745;
  color: white;
}

.subscription h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.subscription input[type="email"] {
  padding: 10px;
  width: 300px;
  border-radius: 5px;
  border: none;
  margin-right: 5px;
  margin-top: 20px;
}

.subscription .btn {
  background-color: #fff;
  color: #28a745;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1.1rem;
}

.subscription .btn:hover {
  background-color: #28a745;
  color: #fff;
  outline: solid;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px 10px;
}

footer ul {
  list-style: none;
}

footer ul li {
  display: inline;
  margin: 0 10px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
}

.links li {
  display: block;
  color: #28a745;
  text-align: left;
  padding-bottom: 8%;
  margin-left: 20%;
  text-decoration: none;
}

.links li:hover {
  text-decoration: underline;
}

.footer-sections {
  display: flex;
  justify-content: space-between;
}

.footer-section {
  width: 40%;
  padding: 2%;
}

.contact-details {
  display: list-item;
  text-align: left;
  /* padding: 20%; */
}

.footer-head {
  color: #28a745;
  padding: auto;
  font-size: 1;
  /* text-decoration:overline underline; */
  padding: 5%;
  /* line-height: 1px; */
  text-align: left;
}

.contact-details p {
  padding: 2%;
}
.copyRight-social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2%;
}

.ruler {
  width: 80%;
  opacity: 0.2;
}

/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.9;
  border-radius: 50%;
  transition: 200ms;
}

/* Set a specific color for each brand */

/* Youtube */
.fa-youtube {
  padding: 10px;
  width: fit-content;
  text-align: center;
  text-decoration: none;
  background: #bb0000;
  color: white;
  size: 20rem;
}

/* Twitter */
.fa-twitter {
  padding: 10px;
  width: fit-content;
  text-align: center;
  text-decoration: none;
  background: #55acee;
  color: white;
}

/* Facebook */
.fa-github {
  padding: 10px;
  width: fit-content;
  text-align: center;
  text-decoration: none;
  background: #555;
  color: white;
}
/* linkedin */
.fa-linkedin {
  padding: 10px;
  width: fit-content;
  text-decoration: none;
  text-align: center;
  background: #007bb5;
  color: white;
}

/* instagram */
.fa-instagram {
  padding: 10px;
  width: fit-content;
  text-decoration: none;
  text-align: center;
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  color: white;
}

#social-icons {
  padding: 1px;
}

.privacyy {
  text-align: left;
  color: white;
  /*  */
  text-decoration: none;
}

.privacyy:hover {
  text-decoration: underline #28a745;
}

/* #location-icons {
} */

#quick-links {
  margin-left: 70px;
}
