body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  }
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px 40px !important;
}
  
.navLink {
  color: #000033 !important;
}
  
.btn-primary {
  padding: 8px 16px !important;
  background-color: transparent !important;
  border: 2px solid rgb(97, 97, 97) !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  color: black !important;
  cursor: pointer !important;
  outline: none !important;
}
  
.navLink::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: #E28527;
  transition: width .4s ease-in;
}
  
.navLink:hover {
  font-weight: 600;
}
  
.navLink:hover::after {
  width: 100%;
}
  
  
.phone-number {
  margin-top: 8px;
  margin-left: -11px;
  margin-right: 25px;
}
  
@media only screen and (min-width: 320px) and (max-width: 767px) {

.main-section {
  padding: 2rem;
}
  
.navbar {
  padding: 20px !important;
}
  
.logoImg {
  width: 150px;
}
  
.contactBtn {
  display: none !important;
}
  
.navList {
  display: inline;
  text-align: right;
}
}

.mentorHeading {
  background-color: #FFF3E4;
  padding: 2rem 0 2rem 0;
}
  
.mentorHeading h1 {
  text-align: center;
}
  
.search-bar {
  position: relative;
  display: block;
  margin-inline: auto;
  width: 80%;
  margin-top: 3rem;
}
  
.search-input {
  width: 100%;
  padding: 11px;
  border: 2px solid #ccc;
  border-radius: 5px;
  outline: none;
}
  
.search-icon {
  position: absolute;
  top: 26px;
  right: 26px;
  transform: translateY(-50%);
  cursor: pointer;
  border: navajowhite;
  background-color: snow;
}

.blog-container {
  display: flex;
  gap: 20px;
  padding: 40px;
}
  

.blog-left {
  flex: 1;
  padding-right: 20px;
}
  
.recent-posts-title {
  font-size: 24px;
  margin-bottom: 15px;
}
  
.recent-post-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}
  
.small-text {
  font-size: 14px;
  color: gray;
  margin-bottom: 10px;
}
  
.blog-heading {
  font-size: 18px;
  margin-bottom: 10px;
}
  
.blog-description {
  font-size: 16px;
  margin-bottom: 15px;
}
  
.blog-tags {
  display: flex;
  gap: 10px;
}
  
.tag-btn {
  border: 1px solid black;
  border-radius: 20px;
  padding: 5px 15px;
  background: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}
  
.tag-btn:hover {
  background-color: #eee;
}
  
  /* Right Section */
.blog-right {
  flex: 1.5;
  margin-top: 33px;
}
  
.blog-post {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
  
.blog-image {
  width: 100%; 
  max-width: 220px; 
  height: auto;
  border-radius: 8px;
}
  
.blog-info {
  display: flex;
  flex-direction: column;
}
  
.blog-info .small-text {
  font-size: 12px;
  color: gray;
}
  

@media (max-width: 768px) {
.blog-container {
  flex-direction: column;
  padding: 20px;
}
  
.blog-left {
  margin-bottom: 20px;
}
  
.blog-post {
  flex-direction: column;
}
  
.blog-image {
  width: 100%; 
  max-width: 300px; 
  height: auto; 
  margin-bottom: 15px;
}
  
.tag-btn {
  margin: 5px 0;
}
}
  
  
.tab-section {
  padding: 20px;
}
  
.tabs-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid grey; 
}
  
.tabs {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap; 
}
  
.tab {
  padding: 10px 20px;
  border: none;
  background: none;
  font-size: 16px; 
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}
  
.tab.active {
  color: orange;
}
  
.tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px; 
  background-color: orange;
}
  
.search-icon2 {
  transform: translateY(-50%);
  cursor: pointer;
  border: none;
  background-color: transparent;
}
  
.search-icon img {
  width: 24px;
  height: 24px;
}
  
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 23px;
    justify-content: space-between;
  }
  
  .content-rectangle {
    flex: 1 1 calc(50% - 20px); 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .content-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
  }
  
  .content-date {
    font-size: 14px;
    color: gray;
  }
  
  .content-title {
    font-size: 18px;
    font-weight: bold;
  }
  
  @media (max-width: 768px) {
    .tabs-container {
      flex-direction: row;
      align-items: center;
    }
  
    .tabs {
      flex-direction: row; 
      gap: 10px;
      flex-wrap: nowrap; 
    }
  
    .tab {
        font-size: 12px;
        padding: 4px;
    }
    .content-grid {
      flex-direction: column;
      gap: 20px;
      margin-top: 23px;
    }
  
    .content-rectangle {
      flex: 1 1 100%; 
    }
  }
  
  @media (min-width: 1440px) {
    .tab {
      font-size: 18px; 
    }
  }





  .mobileFooterSection {
    display: none;
  }
  
  /* FooterSection */
  
  .footerSection {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    background-color: #223545;
    color: #fff;
    padding: 2rem;
  }
  
  .footerLogoSection {
    display: flex;
    flex-direction: column;
    column-gap: 1rem;
  }
  
  .footerLogoImg {
    width: 235px;
    height: 100%;
  }
  
  .socialSection {
    list-style: none;
    display: flex;
    column-gap: 1rem;
    padding: 0;
    margin: 2rem 0;
  }
  
  .socialSection .socialIcons {
    padding: 6px;
    display: flex;
    color: #FFF;
  }
  
  .socialSection .socialIcons:hover {
    background: #fff;
    border-radius: 50%;
    color: #000;
  }
  
  .footerLogoSection p {
    color: #D1D1D1;
    margin-top: 0;
  }
  .courseSection h3,
  .quickLinkSection h3 {
    margin-top: 0;
    font-size: 22px;
  }
  
  .courseSection ul,
  .quickLinkSection ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
  }
  
  .courseSection ul a,
  .quickLinkSection ul a {
    color: #fff;
    text-decoration: none;
  }
  .course-link {
    text-decoration: none; 
    color: #333; 
    font-weight: bold; 
  }
  
  .course-link:hover {
    color: #E28527; 
    text-decoration: underline; 
  }

  /* Footer */
  @media only screen and (min-width: 320px) and (max-width: 767px) {

  .mobileFooterSection {
    padding-inline: 2rem;
  }

  .footerSection {
    display: none;
  }

  .mobileFooterSection {
    display: block;
    background-color: #223545;
    color: #fff;
    padding-block: 1.5rem;
  }

  .mobileFooterSection .footerLogoSection {
    margin-bottom: 2rem;
  }

  .linksSection {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .courseSection ul a,
  .quickLinkSection ul a {
    font-size: 14px;
  }

  .courseSection h3,
  .quickLinkSection h3 {
    font-size: 16px;
  }

  .socialSection {
    margin: 1rem 0;
  }

  .footerContent p {
    font-size: 14px;
  }

}