* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: white; /* default fallback */
}

/* Background only for header + hero */
.hero-bg {
  background: url('./assets/bg.svg') no-repeat center center fixed;
  background-size: cover;
  color: white;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px 30px 60px;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  margin-right: 10px;
}

.logo span {
  font-size: 20px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  font-size: 18px;
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.profile-btn {
  background-color: #ffc107;
  color: #003087;
  padding: 12px 24px;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.logout-btn{
  background-color: #ffc107;
  color: #003087;
  padding: 12px 24px;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.sign-up-btn{
  background-color: #ffc107;
  color: #003087;
  padding: 12px 24px;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.login-btn{
  background-color: #ffc107;
  color: #003087;
  padding: 12px 24px;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.hero {
  display: flex;
  justify-content: center;
  padding-top: 200px;
  padding-bottom: 200px;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1360px;
  padding: 0px 40px;
  width: 100%;
  flex-wrap: wrap;
}

.hero-text {
  color: white;
  flex: 1 1 500px;
  max-width: 550px;
  line-height: 1.3em;
}

.course-type {
  color: #ffd700;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-text h1 {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 3.9rem;
  margin: 0 0 20px;
  line-height: 1.2;
}

.description {
  color: #cfd8dc;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.start-course {
  background: white;
  color: #063970;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
}

.view-courses {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.hero-image {
  flex: 1 1 400px;
  position: relative;
  max-width: 500px;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.testimonial-section {
  width: 100%;
  background: white;
  padding: 60px 0;
  font-family: 'Poppins', sans-serif;
}

.tech-icons {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-bottom: 120px;
  flex-wrap: wrap;
}

.tech-icons img {
  width: 55px;
  opacity: 0.4;
}

.testimonial-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.image-box {
  position: relative;
  flex: 0 0 420px;
}

.girl-img {
  position: relative;
  z-index: 1;
  width: 150%;
  max-width: 480px;
}

.testimonial-text {
  max-width: 700px;
  padding-top: 60px;
  position: relative;
  z-index: 2;
  margin-left: -55px;
}

.section-subtitle {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #333;
}

.testimonial-content {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 26px;
  color: #000;
  line-height: 1.5;
  margin-bottom: 30px;
}

.author-name {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 18px;
  color: #252525;
}

.author-role {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

.read-more {
  font-weight: 600;
  font-size: 13px;
  color: #000;
}

/*MENTORS SECTION CSS*/
.mentors-section {
  padding: 60px 20px;
  background: #f9fafa;
  font-family: 'Segoe UI', sans-serif;
}

.mentors-header {
  padding-left: 20px;
  margin: auto;
  text-align: left;
}

.section-label {
  color: #f5a623;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #111;
  margin-bottom: 90px;
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.mentor-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  justify-content: center;
}

.mentor-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 30px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  position: relative;
  width: calc(50% - 15px); /* 2 cards per row */
  max-width: 500px;
  min-width: 500px;
  flex: 1 1 300px;
  transition: transform 0.3s ease;
}

.mentor-card:nth-child(3) {
  width: 100%; /* third card takes full row */
}

.mentor-card:hover {
  transform: translateY(-4px);
}

.mentor-card img {
  position: absolute;
  top: -40px;
  left: 30px;
  width: 100px;
  height: 100px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.mentor-content {
  margin-top: 50px;
}

.mentor-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #222;
}

.mentor-name {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  color: #333;
}

/*Course Css*/

.course-text-heading{
  padding: 30px 80px;
}

.course-title {
  color: #ffd700;
  margin-bottom: 20px;
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}

.course-title span {
  color: #000; 
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

.courses-section {
  position: relative;
  padding: 4rem 2rem;
  background: #ffffff;
  overflow: hidden;
}

.courses-section h2{
  color: #000;
  font-size: 30px;
  margin-bottom: 30px;
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.courses-section h2 span {
  color: #0E3C6E;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.blue-dots-bg {
  position: absolute;
  top: 0;
  right: 50px;
  width: 300px;
  opacity: 0.4;
  z-index: 0;
}

.courses-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6rem;
  position: relative;
  z-index: 1;
}

.course-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  width: 320px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-decoration: none;
  color: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.course-content {
  padding: 1rem;
}

.course-content .category {
  font-size: 0.8rem;
  color: #555;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.course-content h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #000000;
}

/*Final Testimonails */

.testies {
  padding: 80px 20px;
  background: #fefefe;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.testies-header {
  margin-bottom: 60px;
}

.testies-subtitle {
  color: #f4b400;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
}

.testies-title {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin: 30px 0;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.start-learning-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  border: 2px solid #2563eb;
  color: #2563eb;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.3s ease;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.start-learning-btn:hover {
  background-color: #2563eb;
  color: #fff;
}

.testies-cards {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.testies-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
  position: relative;
  text-align: left;
}

.testies-img {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  object-fit: cover;
  margin-bottom: 20px;
}

.testies-text {
  font-size: 16px;
  color: #111;
  margin-bottom: 20px;
  font-weight: 700;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.testies-name {
  font-weight: 800;
  font-size: 14px;
  color: #0360c4;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/*Ending bg*/

.access-section {
  background-image: url('./assets/bg-2.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 20px;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.access-wrapper {
  max-width: 800px;
}

.access-subtitle {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.2px;
  margin-bottom: 15px;
  opacity: 0.9;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.access-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.access-desc {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.access-btn {
  display: inline-block;
  background: #fff;
  color: #000;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.access-btn:hover {
  background: #2563eb;
  color: #fff;
}

/*Footer*/
.site-footer {
  background-color: #000;
  color: #fff;
  padding: 60px 20px;
  font-family: sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-branding {
  text-align: left;
}

.footer-logo {
  width: 50px;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #bbb;
}

.footer-socials a {
  color: #fff;
  font-size: 18px;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #2563eb;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #2563eb;
}

.footer-contact p {
  margin-bottom: 10px;
  font-size: 15px;
  color: #ccc;
}


/* Tablet devices (768px and below) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  nav {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .testimonial-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .testimonial-text {
    margin-left: 0;
    padding-top: 30px;
  }

  .girl-img {
    width: 100%;
    max-width: 320px;
  }

  .tech-icons {
    gap: 40px;
  }

  .course-text-heading {
    padding: 20px;
  }

  .courses-container {
    gap: 2rem;
  }

  .testies-title {
    font-size: 30px;
  }

  .testies-cards {
    gap: 40px;
  }

  .mentor-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 30px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    width: calc(50% - 15px);
    max-width: 400px;
    min-width: 100px;
    flex: 1 1 300px;
    transition: transform 0.3s ease;
  }
}

/* Mobile devices (480px and below) */
@media (max-width: 480px) {
  header {
    padding: 15px;
  }

  .logo span {
    font-size: 16px;
  }

  nav a {
    font-size: 16px;
  }

  .hero{
    padding-top: 20px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 0px;
  }

  .hero-image {
    flex: 1 1 0px;
    position: relative;
    max-width: 500px;
  }

  .description {
    font-size: 0.9rem;
  }

  .start-course,
  .view-courses {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .girl-img {
    max-width: 100%;
    width: 100%;
  }

  .testimonial-container {
    gap: 0px;
  }

  .mentor-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 30px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    width: calc(50% - 15px);
    max-width: 400px;
    min-width: 100px;
    flex: 1 1 300px;
    transition: transform 0.3s ease;
  }

  .testimonial-content {
    font-size: 20px;
  }

  .courses-section h2 {
    font-size: 24px;
  }

  .course-card {
    width: 100%;
  }

  .testies-title {
    font-size: 26px;
  }

  .testies-card {
    padding: 20px;
  }
}

/* Container to keep Telegram icon visible */
.telegram-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.telegram-fixed a {
  background-color: #0088cc;
  color: white;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: "Lexend", sans-serif;
  transition: all 0.3s ease;
}

.telegram-fixed i {
  background: white;
  color: #0088cc;
  border-radius: 50%;
  padding: 6px;
  margin-right: 8px;
  font-size: 16px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.telegram-fixed a:hover {
  background-color: #006f9e;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 480px) {
  .telegram-fixed a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .telegram-fixed i {
    width: 26px;
    height: 26px;
    font-size: 14px;
    padding: 5px;
  }
}

/* Mobile Nav Hidden by Default */
#myTopnav {
  display: flex;
  gap: 30px;
}

/* Hide nav & buttons on small screen */
@media (max-width: 992px) {
  #myTopnav {
    display: none;
    flex-direction: column;
    background-color: #003087;
    padding: 20px;
    position: absolute;
    top: 70px; /* adjust based on header height */
    left: 0;
    width: 100%;
    z-index: 999;
  }

  #myTopnav.responsive {
    display: flex;
  }

  #myTopnav nav a,
  #myTopnav .auth-buttons a {
    color: white;
    font-size: 16px;
    padding: 10px 0;
    text-decoration: none;
  }

  .auth-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }

  .mobile-nav {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
  }

  .menu-icon {
    font-size: 18px;
    color: #fff;
    background: #ffc107;
    padding: 10px 14px;
    border-radius: 8px;
  }
}

/* Keep desktop layout intact */
@media (min-width: 993px) {
  .mobile-nav {
    display: none;
  }

  #myTopnav {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
  }
}




