* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f7f8fa;
}

/* =========================
   HEADER
========================= */

.top-navbar {
  background: #ffffff;
  padding: 18px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

.brand-text h2 {
  font-size: 34px;
  font-weight: 700;
  color: #0b2d4a;
  margin-bottom: 0;
  line-height: 1;
}

.brand-text h2 span {
  color: #f7931e;
}

.brand-text p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #f7931e;
}

.login-btn {
  background: #0d6efd;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
}

/* =========================
   SEARCH SECTION
========================= */

.search-section {
  padding: 20px 0;
}

.search-title {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
  line-height: 1.3;
}

.search-title span {
  color: #0d6efd;
}

.location-box,
.search-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.location-box {
  padding: 12px 16px;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-box select {
  border: none;
  outline: none;
  width: 100%;
  background: transparent;
  font-size: 16px;
}

.search-box {
  flex: 1;
  padding: 8px 10px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  background: transparent;
  font-size: 16px;
}

.search-btn {
  background: #ff5a00;
  border: none;
  color: #fff;
  width: 42px;
  height: 40px;
  border-radius: 8px;
}

.download-btn {
  background: #fff;
  border: 1px solid #222;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

/* =========================
   HERO SECTION
========================= */

.hero-section {
  padding: 20px 0;
}

.hero-card {
  background: linear-gradient(135deg, #082b57, #0c3c78);
  border-radius: 24px;
  padding: 50px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 700;
}

.hero-content h1 span {
  color: #f7b23b;
}

.hero-content h3 {
  font-size: 24px;
  font-weight: 500;
  color: #ffd57a;
  margin: 15px 0 25px;
}

.hero-btn {
  background: #f7931e;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
}

.hero-image img {
  width: 320px;
  max-width: 100%;
  border-radius: 18px;
}

/* =========================
   CATEGORY SECTION
========================= */

.category-section {
  padding: 50px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 34px 28px;
}

.category-card {
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.category-card:hover {
  transform: translateY(-6px);
}

.icon-box {
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.icon-box i {
  font-size: 34px;
}

.title {
  font-size: 15px;
  font-weight: 500;
  color: #111;
  line-height: 1.45;
}

.popular-box {
  border: 1.5px solid #111;
}

.popular-box i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1677c8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* Colors */
.teal {
  color: #14b8a6;
}

.blue {
  color: #3b82f6;
}

.gold {
  color: #eab308;
}
.orange { color: #ff9f1a; }
.blue { color: #2d7ff9; }
.green { color: #2cc36b; }
.pink { color: #ff4fa3; }
.red { color: #ff5d5d; }
.purple { color: #8b5cf6; }
.teal { color: #14b8a6; }

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-card {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

/* =========================
   best college SECTION
========================= */
.college-section {
      padding: 60px 0;
    }

    .section-title {
      font-size: 42px;
      font-weight: 700;
      margin-bottom: 40px;
      color: #000;
    }

    .slider-wrapper {
      position: relative;
    }

    .college-slider {
      display: flex;
      gap: 25px;
      overflow-x: auto;
      scroll-behavior: smooth;
      padding: 10px 5px;
    }

    .college-slider::-webkit-scrollbar {
      display: none;
    }

    .college-card {
      min-width: 220px;
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.12);
      transition: 0.3s;
      flex-shrink: 0;
    }

    .college-card:hover {
      transform: translateY(-5px);
    }

    .college-card img {
      width: 100%;
      height: 140px;
      object-fit: cover;
    }

    .college-content {
      padding: 18px;
      text-align: center;
    }

    .college-content h5 {
      font-weight: 700;
      margin-bottom: 8px;
    }

    .college-content p {
      color: #777;
      margin: 0;
    }

    .slider-btn {
      position: absolute;
      top: 45%;
      transform: translateY(-50%);
      width: 55px;
      height: 100px;
      border: none;
      background: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,0.15);
      font-size: 28px;
      color: #b3b3b3;
      z-index: 10;
      border-radius: 10px;
    }

    .slider-btn:hover {
      background: #f8f8f8;
    }

    .prev-btn {
      left: -20px;
    }

    .next-btn {
      right: -20px;
    }

    @media (max-width: 768px) {
      .section-title {
        font-size: 28px;
      }

      .college-card {
        min-width: 180px;
      }

      .slider-btn {
        width: 45px;
        height: 80px;
      }
    }

/* =========================
   End best college SECTION
========================= */

/* =========================
   engineering imag all SECTION
========================= */
.education-box {
      background: #fff;
      border: 1px solid #dcdcdc;
      border-radius: 18px;
      padding: 30px;
      height: 100%;
      transition: 0.3s;
    }

    .education-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

    .education-title {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 25px;
      color: #111;
    }

    .education-items {
      display: flex;
      gap: 25px;
      flex-wrap: wrap;
    }

    .education-card {
      flex: 1;
      min-width: 180px;
      text-align: center;
    }

    .education-card img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 16px;
      transition: 0.3s;
    }

    .education-card img:hover {
      transform: scale(1.04);
    }

    .education-card h5 {
      margin-top: 14px;
      font-size: 18px;
      font-weight: 600;
      color: #111;
    }

    @media (max-width: 768px) {
      .education-items {
        flex-direction: column;
      }

      .education-card {
        min-width: 100%;
      }
    }
/* =========================
   endengineering imag all SECTION
========================= */
/* =========================
   top 10 engineering college
========================= */
.college-section{
      padding: 70px 0;
    }

    .section-title{
      text-align: center;
      font-size: 42px;
      font-weight: 700;
      margin-bottom: 15px;
      color: #111;
    }

    .section-subtitle{
      text-align: center;
      color: #666;
      margin-bottom: 50px;
      font-size: 18px;
    }

    .subject-tabs{
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 15px;
      margin-bottom: 40px;
    }

    .subject-btn{
      border: none;
      padding: 12px 24px;
      border-radius: 50px;
      background: #fff;
      font-weight: 600;
      color: #333;
      box-shadow: 0 3px 10px rgba(0,0,0,0.08);
      transition: 0.3s;
      cursor: pointer;
    }

    .subject-btn:hover,
    .subject-btn.active{
      background: #0d6efd;
      color: #fff;
    }

    .college-grid{
      display: grid;
      grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
      gap: 25px;
    }

    .college-card{
      background: #fff;
      border-radius: 18px;
      padding: 25px;
      box-shadow: 0 5px 18px rgba(0,0,0,0.08);
      transition: 0.3s;
      border-top: 5px solid #0d6efd;
    }

    .college-card:hover{
      transform: translateY(-6px);
    }

    .college-rank{
      width: 45px;
      height: 45px;
      background: #0d6efd;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      font-weight: 700;
      margin-bottom: 18px;
    }

    .college-name{
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 10px;
      color: #111;
    }

    .college-location{
      color: #666;
      font-size: 15px;
      margin-bottom: 12px;
    }

    .college-rating{
      color: #ff9800;
      font-weight: 600;
    }

    @media(max-width:768px){
      .section-title{
        font-size: 30px;
      }

      .subject-btn{
        width: 100%;
      }
    }

/* =========================
  End top 10 engineering college
========================= */


/* =========================
  Trending Courses 
========================= */

.courses-section{
      padding: 70px 0;
    }

    .section-title{
      text-align: center;
      font-size: 42px;
      font-weight: 700;
      color: #111;
      margin-bottom: 15px;
    }

    .section-subtitle{
      text-align: center;
      color: #666;
      margin-bottom: 50px;
      font-size: 18px;
    }

    .course-card{
      background: #fff;
      border-radius: 18px;
      padding: 22px 20px;
      display: flex;
      align-items: center;
      gap: 15px;
      box-shadow: 0 5px 18px rgba(0,0,0,0.08);
      transition: 0.3s;
      height: 100%;
      cursor: pointer;
      border: 1px solid #ececec;
    }

    .course-card:hover{
      transform: translateY(-5px);
      background: #0d6efd;
      color: #fff;
    }

    .course-card:hover .course-icon{
      background: #fff;
      color: #0d6efd;
    }

    .course-card:hover .course-name{
      color: #fff;
    }

    .course-icon{
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: #e8f1ff;
      color: #0d6efd;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      transition: 0.3s;
      flex-shrink: 0;
    }

    .course-name{
      font-size: 17px;
      font-weight: 600;
      color: #111;
      margin: 0;
      transition: 0.3s;
    }

    @media(max-width:768px){

      .section-title{
        font-size: 30px;
      }

      .course-card{
        padding: 18px;
      }

      .course-name{
        font-size: 15px;
      }

    }

/* =========================
  End Trending Courses 
========================= */
/* =========================
        footer upor
    ========================= */
.ask-section{
      padding: 80px 0;
      background: linear-gradient(135deg,#0f172a,#111827,#1e293b);
      position: relative;
      overflow: hidden;
    }

    .ask-section::before{
      content: "";
      position: absolute;
      width: 500px;
      height: 500px;
      background: rgba(255,255,255,0.04);
      border-radius: 50%;
      top: -250px;
      right: -150px;
    }

    .ask-section::after{
      content: "";
      position: absolute;
      width: 400px;
      height: 400px;
      background: rgba(255,255,255,0.03);
      border-radius: 50%;
      bottom: -200px;
      left: -120px;
    }

    .ask-wrapper{
      position: relative;
      z-index: 2;
    }

    .ask-heading{
      color: #fff;
      font-size: 40px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .ask-subtitle{
      color: rgba(255,255,255,0.75);
      font-size: 17px;
      margin-bottom: 40px;
    }

    .ask-box{
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 22px;
      padding: 20px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.35);
    }

    .input-group-custom{
      display: flex;
      align-items: center;
      gap: 18px;
      background: #fff;
      border-radius: 18px;
      padding: 14px 14px 14px 22px;
    }

    .input-icon{
      color: #0d6efd;
      font-size: 22px;
    }

    .question-input{
      flex: 1;
      border: none;
      outline: none;
      font-size: 18px;
      color: #111;
      background: transparent;
    }

    .question-input::placeholder{
      color: #888;
    }

    .ask-btn{
      border: none;
      padding: 16px 34px;
      border-radius: 14px;
      background: linear-gradient(135deg,#ff7b00,#ff5500);
      color: #fff;
      font-size: 17px;
      font-weight: 600;
      transition: 0.3s;
      white-space: nowrap;
    }

    .ask-btn:hover{
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(255,123,0,0.4);
    }

    .feature-list{
      display: flex;
      gap: 30px;
      margin-top: 30px;
      flex-wrap: wrap;
    }

    .feature-item{
      color: rgba(255,255,255,0.85);
      font-size: 15px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .feature-item i{
      color: #00d084;
    }

    /* =========================
        RESPONSIVE
    ========================= */

    @media(max-width:768px){

      .ask-heading{
        font-size: 28px;
      }

      .input-group-custom{
        flex-direction: column;
        align-items: stretch;
      }

      .ask-btn{
        width: 100%;
      }

      .question-input{
        width: 100%;
      }

    }


    /* =========================
        End footer upor
    ========================= */
    /* =========================
       pre footer and footer
    ========================= */
.footer-section{
    background: #4d4d4d;
    padding: 80px 0 20px;
    color: #fff;
  }

  .footer-title{
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
  }

  .footer-links{
    list-style: none;
    padding: 0;
  }

  .footer-links li{
    margin-bottom: 14px;
  }

  .footer-links a{
    color: #e5e5e5;
    text-decoration: none;
    transition: 0.3s;
    font-size: 15px;
  }

  .footer-links a:hover{
    color: #0d6efd;
    padding-left: 5px;
  }

  .app-text{
    color: #ddd;
    margin-bottom: 20px;
  }

  .store-btn{
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 12px 22px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 15px;
    transition: 0.3s;
  }

  .store-btn:hover{
    background: #fff;
    color: #111;
  }

  .footer-bottom{
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 60px;
    padding-top: 20px;
  }

  .footer-bottom p{
    color: #ddd;
    margin: 0;
  }

  .social-icons{
    display: flex;
    justify-content: end;
    gap: 15px;
  }

  .social-icons a{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
  }

  .social-icons a:hover{
    background: #0d6efd;
    transform: translateY(-4px);
  }

  /* =========================
      RESPONSIVE
  ========================= */

  @media(max-width:768px){

    .pre-footer-content h2{
      font-size: 30px;
    }

    .pre-footer-section{
      text-align: center;
    }

    .footer-section{
      text-align: center;
    }

    .store-btn{
      margin-left: auto;
      margin-right: auto;
    }

    .social-icons{
      justify-content: center;
      margin-top: 20px;
    }

  }


    /* =========================
       End pre footer and footer
    ========================= */