/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    color: #333;
  }
  
  /* Navbar */
  .navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .navbar__logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
  }
  
  .navbar__links {
    list-style: none;
    display: flex;
    gap: 1rem;
  }
  
  .navbar__links li a {
    display: block;
    height: 100%;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 4px;
  }
  
  .navbar__links li a.active,
.navbar__links li a:hover {
  color: #FF782D;
  background-color: #F5F5F5;
}
  
  
  .navbar__auth.plain-auth a {
    text-decoration: none;
    color: #FF782D;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .navbar__auth.plain-auth a:hover {
    color: #000;
  }
  /* Hamburger Toggle */
  .navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  
  .navbar__toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
  }
  
  /* Mobile Menu */
  .navbar__mobile-menu {
    display: none;
    background-color: #fff;
    padding: 1rem 2rem;
    border-top: 1px solid #eee;
    
  }
  
  .navbar__mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
     align-items: center;
  }
  
  .navbar__mobile-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .navbar__links,
    .navbar__auth {
      display: none;
    }
  
    .navbar__toggle {
      display: flex;
    }
  
    .navbar__mobile-menu.open {
      display: block;
    }
  
    .navbar__toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
  
    .navbar__toggle.active span:nth-child(2) {
      opacity: 0;
    }
  
    .navbar__toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }
  }


/* Hero Section */
.hero {
    width: 100%;
    height: auto;
    display: flex;
  }
  
  .hero__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  
  /* Optional: limit height on smaller screens */
  @media (max-width: 768px) {
    .hero__image {
      max-height: 60vh;
    }
  }
  
  @media (min-width: 769px) {
    .hero__image {
      max-height: 90vh;
    }
  }
  

  /* Trending Section */
.trending {
    padding: 3rem 4rem;
}

/* Trending Top Section */
.trending__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.trending__header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.trending__header p {
    font-size: 0.8rem;
    color: #666;
}

.trending__categories {
    display: flex;
    gap: 0.5rem;
}

/* Category Button */
.category-btn {
    padding: 0.5rem 1rem;
    color: black;
    border: 2px solid black;
    border-radius: 20px;
    font-size: 1rem;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Cards */
.trending__cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-20px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card__logo {
    width: 30px;
    height: auto;
    margin: 1rem;
}

.card__title {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: #1a1a1a;
}

.card__desc {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Responsive: Adjust layout for smaller screens */
@media (max-width: 1200px) {
    .trending__cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .trending__cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .trending__top {
        flex-direction: column;
        text-align: center; /* Center align title, para, and buttons */
    }

    .trending__header h2 {
        font-size: 1.75rem; /* Adjust font size for smaller screens */
    }

    .trending__header p {
        font-size: 0.9rem;
    }

    .trending__categories {
        justify-content: center;
        margin-top: 1rem;
    }

    .trending__cards {
        grid-template-columns: repeat(2, 4fr); /* 2 cards in a row on smaller screens */
    }
}

@media (max-width: 480px) {
    .trending__cards {
        grid-template-columns: repeat(2, 1fr);  /* 1 card per row on very small screens */
    }

    .trending{
        padding: 3rem 2rem;
    }
}


.three-class-course-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  gap: 3rem;
 
}


.class_course {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class_course:hover {
   transform: translateY(-20px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.class_course:hover .class_course__title {
  color: #FF782D; 
}

.class_course__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.class_course__content {
  padding: 1rem;
  text-align: left;
  
}

.class_course__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #222;

}

.class_course__desc {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #666;
}
.class_course__desc span{
  font-size: 0.95rem;
  color: #000;
}


.class_course__footer {
  padding: 0.5rem 1rem 1rem;
  position: relative;
}

.class_course__footer hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 0;
}

.view-more {
  position: absolute;
  right: 1rem;
  bottom: 0.75rem;
  font-size: 0.9rem;
  color: #007bff;
  cursor: pointer;
}

/* Responsive: stack cards as screen shrinks */
@media (max-width: 992px) {
  .three-class-course-section {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  }
}

@media (max-width: 600px) {
  .three-class-course-section {
    grid-template-columns: 1fr; /* 1 card per row */
  }
}


 /* Hero Section */ 
.banner_1 {
    width: 100%;
    height: auto;
    display: flex;
    padding: 2rem 4rem;
  }
  
  .banner_image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  
  /* Optional: limit height on smaller screens */
  @media (max-width: 768px) {
    .banner_1{
      padding: 1rem 2rem;
    }
    .banner_image {
      max-height: 60vh;
    }
  }
  
  @media (min-width: 769px) {
    .banner_image {
      max-height: 90vh;
    }
  }


  /* Section container */
.card-section_n {
  background-color: #fff; 
  padding: 2rem 4rem;
}


.card-container_n {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 3rem; 
  margin: 0 auto; 
}


.card_n {
  background-color: #F5F5F5;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



/* Title styling */
.card-title_n {
  font-size: 2rem;
  font-weight: bold;
  color: #FF782D; /* Orange color */
  margin-bottom: 1rem;
}

/* Description styling */
.card-description_n {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .card-container_n {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row on medium screens */
  }
}

@media (max-width: 600px) {
  .card-container_n {
    grid-template-columns: repeat(2, 1fr); /* 1 card per row on smaller screens */
    padding: 0rem 0rem;
    gap: 2rem; 
  }
}

/* Skill Section */

.section__skill {
  padding: 2rem 4rem;

}

.container__skill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 3rem;
  flex-wrap: wrap;
}

.image__skill {
  flex: 1;
  min-width: 280px;
}

.image__skill img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.content__skill {
  flex: 1;
  min-width: 280px;
}

.title__skill {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}
.list__skill {
  margin-top: 1rem;
  padding-left: 1.2rem;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.list__skill li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

.paragraph__skill {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive: Image on top for smaller screens */
@media (max-width: 768px) {
  .container__skill {
    flex-direction: column;
    text-align: center;
  }

  .title__skill {
    font-size: 1.5rem;
  }

  .paragraph__skill {
    font-size: 0.95rem;
  }
   .list__skill {
    text-align: left; 
    margin: 0 auto;   
  }

  .section__skill {
  padding: 1rem 2rem;

}
}



.section_feedback {
  padding: 3rem 4rem;
  
}

.header_feedback {
  text-align: center;
  margin-bottom: 2rem;
}

.title_feedback {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.subtitle_feedback {
  font-size: 0.8rem;
  color: #777;
}

.cards_feedback {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin: auto;
}

.card_feedback {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.card_feedback:hover {
  transform: translateY(-6px);
}

.img_feedback {
  width: 30px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.text_feedback {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}
.name_feedback{
  padding-top: 10px;
  padding-bottom: 10px;
}
/* Responsive */
@media (max-width: 992px) {
  .cards_feedback {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards_feedback {
    grid-template-columns: 1fr;
  }

  .text_feedback {
    text-align: center;
  }

  .card_feedback {
    align-items: center;
    text-align: center;
  }
}


.footer_section {
  background-color: #F5F5F5;
  color: #000;
  padding: 2rem 8rem;
 
}

.footer_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer_logo {
  color: #000;
  flex: 1;
}
.footer_logo h3{
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.footer_logo p{
  font-size: 0.8rem;
}
.footer_links {
  display: flex;
  gap: 8rem;
  flex: 3;
  justify-content: flex-end;
  flex-wrap: wrap;
   color: #000;
}

.footer_column h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #000;
}

.footer_column ul {
  list-style: none;
  padding: 0;
  
}

.footer_column ul li {
  margin-bottom: 1rem;
}

.footer_column ul li a {
  text-decoration: none;

  font-size: 0.95rem;
  transition: color 0.3s ease;
   color: #000;
}

.footer_column ul li a:hover {
  color: #FF782D;
}

.footer_bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #555;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .footer_top {
    flex-direction: column;
    align-items: left;
    text-align: left;
  }

  .footer_links {
    flex-direction: column;
    align-items: left;
  }

  .footer_column {
    margin-bottom: 1rem;
  }
  
.footer_section {
 
  padding: 2rem 4rem;
 
}

.footer_links {
  
  gap: 1rem;
  
}

}



.scrolltop-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #FF782D;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 0.75rem;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transform: translateY(20px); /* Start hidden below */
}

.scrolltop-button.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0); /* Slide into view */
}

.scrolltop-button:hover {
  transform: translateY(-5px); /* Hover effect */
}
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
