body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: rgb(254, 255, 255);
}

/* Custom navbar enhancements */
.navbar {
  background-color: rgb(10, 75, 135);
  border-radius: 20px;
  margin-top: 20px;
}

.navbar:hover {
  box-shadow: red;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #333;
  margin-right: 10px;
  border-radius: 5px;
}

.navbar-nav .nav-link:hover {
  color: #ff4500;
}

@media (max-width: 991.98px) {
  .navbar-nav {
    margin-top: 1rem;
  }

  .navbar .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}


.btn-outline-primary:hover {
  background-color: #4f46e5;
  color: white;
  border-color: #4f46e5;
}

/* .carousel-inner img {
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
  }
  .carousel{
    height: 400px;
    width: 1295px;
    align-items: center;
  } */

/* Popular Section */

.popular-section {
  padding: 60px 15px;
  text-align: center;
  position: relative;
}

.popular-title {
  font-size: 2rem;
  font-weight: bold;
}

.popular-title span {
  background: rgb(204, 5, 5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.popular-btn {
  display: inline-block;
  margin: 20px auto;
  padding: 10px 25px;
  font-size: 16px;
  color: white;
  background: rgb(1, 54, 63);
  border: none;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  /* transform: rotate(-3deg); */
}

.area-base {
  display: inline-block;
  margin: 20px auto;
  padding: 10px 25px;
  font-size: 16px;
  color: white;
  background: linear-gradient(to right, #ff416c, #ff4b2b);
  border: none;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  transform: rotate(-3deg);
}

.popular-card {
  border: none;
  border-radius: 20px;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  position: relative;
  height: 100%;
  transition: transform 0.2s ease-in-out;
}

/*
  .popular-card:hover {
    transform: translateY(-5px);
  }

  .popular-icon {
    font-size: 40px;
    margin-bottom: 10px;
  } */

.tuition-count {
  color: #ff4b2b;
  font-weight: 600;
  font-size: 0.9rem;
}

.arrow-box {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #fff3e0;
  color: #ff5722;
  border-radius: 10px;
  padding: 4px 6px;
  font-size: 12px;
}

.view-all {
  border: 1px solid #ff4b2b;
  padding: 6px 16px;
  border-radius: 8px;
  color: #ff4b2b;
  font-weight: 500;
  margin-top: 10px;
  transition: background 0.3s;
}

.view-all:hover {
  background-color: #c22a00;
  color: white;
  font-weight: bold;
}

@media (max-width: 576px) {
  .popular-title {
    font-size: 1.5rem;
  }

  .popular-btn {
    font-size: 14px;
    transform: rotate(0deg);
  }
}

/* Service Section */
.service-section {
  padding: 60px 20px;
  text-align: center;
}

/* .service-container {
    background-color: #1a000d;
    border-radius: 30px;
    padding: 50px 20px;
  } */

/* .service-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    margin-bottom: 30px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  } */

/* .service-card:hover {
    transform: translateY(-5px);
  } */

/* .service-icon {
  font-size: 50px;
  margin-bottom: 15px;
} */

.gradient-btn {
  background: rgb(202, 57, 0);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 20px;
  font-weight: bold;
  font-size: 14px;
  transition: 0.3s ease;
}

.gradient-btn:hover {
  opacity: 0.9;
}

.section-title span {
  color: #ff3e3e;
  font-weight: bold;
}


@media (min-width: 768px) {
  .angle-btn {
    display: inline-block;
    margin-top: 10px;
    transform: rotate(-3deg);
  }
}

/* Area Based Tutor */
.header h1 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}

.btn-outline-warning {
  border-color: #ff6200;
  color: #ff6200;
  font-weight: bold;
}

.btn-outline-warning:hover {
  background-color: #ff6200;
  color: #fff;
}

.select-area .btn-danger {
  background-color: #ff4500;
  border: none;
  font-weight: bold;
}

.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img-top {
  height: 150px;
  object-fit: cover;
}

.card-body {
  padding: 10px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.card-text {
  font-size: 0.9rem;
  color: #666;
}

.card-body span {
  font-size: 1.2rem;
  color: #ff6200;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .header h1 {
    font-size: 1.4rem;
  }

  .btn-outline-warning {
    font-size: 0.9rem;
  }

  .card-img-top {
    height: 120px;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-text {
    font-size: 0.8rem;
  }
}

/* footer section */

.footer-section {
  width: 100% !important;
  font-size: 14px;
  background-color: #f2f6fd;
  border-radius: 0;
  color: #000;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.footer-links a {
  color: #000;
  text-decoration: none;
  display: block;
  padding: 4px 0;
}

.footer-links a:hover {
  color: #ff6600;
}

/* .footer-section .btn-outline-light {
  border-color: #5e5e5e;
  color: #2f2f2f;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 22px;
  padding: 6px;
  font-size: 14px;
} */
.footer-section .btn-outline-light img{
    width: 35px;
    height: 35px;
    margin-left: -10px;
}


/* .footer-section .btn-outline-light:hover {
  background-color: #ff6600;
  border-color: #ff6600;
  color: white;
} */

/* filter job */
.job-card,
.filter-box {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
}

.form-check-label i {
  margin-left: 10px;
  color: #ff5722;
  /* Optional: matches your theme */
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.location {
  font-weight: 600;
  color: #2c2c54;
  /* margin-bottom: -30px; */
}

.job-id {
  font-size: 0.8rem;
  color: #8e44ad;
  border: 1px solid #8e44ad;
  border-radius: 10px;
  padding: 4px 10px;
}

.job-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #11006f;
  margin-top: 12px;
}

.badges {
  margin-top: 8px;
}

.badge-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 10px;
  background-color: #3f9cff;
  color: rgb(255, 255, 255);
  border-radius: 20px;
  font-size: 14px;
}

.badge-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 10px;
  background-color: #734ea5;
  color: white;
  border-radius: 20px;
  font-size: 14px;
}

.label-title {
  color: #444;
  font-size: 0.9rem;
}

.value-text {
  font-weight: 600;
  color: #000;
}

.subject-tags span {
  background-color: rgb(223, 219, 221);
  color: #000000;
  padding: 4px 10px;
  font-size: 0.75rem;
  margin-right: 6px;
  border-radius: 6px;
}

.salary {
  font-size: 1.25rem;
  font-weight: bold;
  color: #6a1b9a;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 0.9rem;
}

.view-btn {
  background: rgb(224, 104, 6);
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
}

.view-btn:hover {
  opacity: 0.9;
}

.form-check-icon {
  margin-left: 6px;
  color: #6c757d;
}

@media (max-width: 992px) {
  .row-flex {
    flex-direction: column;
  }
}

/* Our Tutor Section */
.filter-card {
  border: 1px solid #f4f4f4;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  background: #fff;
}

.filter-header {
  background-color: #e9f1ff;
  color: #000000;
  padding: 15px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.filter-header .total-count {
  font-weight: bold;
  font-size: 1.2rem;
}

.search-section {
  padding: 15px;
}

.search-section select,
.search-section .form-select {
  margin-bottom: 10px;
}

.clear-btn {
  width: 100%;
}

@media (max-width: 768px) {
  .filter-header {
    text-align: center;
  }
}

.tutor-card {
  border: 1px solid #8d8b8b;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
}

.tutor-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.details-btn {
  background-color: #f44303;
  color: white;
}

.details-btn:hover {
  background-color: #d63600;
}

/* Our tutor */
.text-orange {
  color: #f44303;
}

.filter-card h6 {
  font-size: 1rem;
  color: #f44303;
}

.filter-card .form-select {
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
}
span.select2-selection.select2-selection--single {
    padding: 20px 0px 20px 0px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 28px;
    margin-top: -13px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px !important;
}

.clear-btn {
  width: 100%;
  font-weight: 500;
}

.tutor-card h5 i {
  font-size: 0.9rem;
  margin-left: 4px;
}

.details-btn {
  font-size: 0.9rem;
  font-weight: 600;
}

.tutor-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
  transition: 0.5s ease-in-out;
}


/* Tutor Board Section */

.info-card {
  background: #fff;
  border-radius: .5rem;
  padding: 1rem;
}

.info-card::shadow {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-card .title {
  background: #ff3b00;
  color: #fff;
  padding: .5rem 1rem;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
  margin: -1rem -1rem 1rem;
}

.info-card .list dt {
  font-weight: 600;
}

.info-card .list dd {
  margin: 0 0 1rem 0;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(222, 19, 19, 0.1);
}

.profile-card {
  background-color: #3e1f00;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  padding-bottom: 1rem;
  color: #fff;
}

.teaching-box {
  background: linear-gradient(135deg, #b25600, #005500);
  border-radius: .5rem;
  padding: 1rem 2rem 3rem 2rem;
  margin: 2rem 7rem 0;
  color: #fff;
}

.profile-card .avatar {
  position: absolute;
  top: calc(1rem + 1.5rem);
  left: 1.5rem;
  width: 80px;
  height: 80px;
  border: 3px solid #fff;
  border-radius: 50%;
  overflow: hidden;
  background-color: #fff;
}

.profile-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-section {
  background: #fff;
  color: #333;
  border-radius: .5rem;
  margin: -2rem 1rem 0;
  padding: 1.5rem;
  position: relative;
}

.info-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.info-header h4 {
  color: #dc3545;
}

.info-header .badges>* {
  margin-left: .5rem;
}

.badge-role {
  background-color: #f0e7ff;
  color: #6f42c1;
}

.badge-exp {
  background-color: #fff7cd;
  color: #856404;
}

.badge-id {
  background-color: #dc3545;
  color: #fff;
}

.description {
  font-size: .9rem;
}

.footer-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding: 0 1.5rem;
  font-size: .9rem;
}

.footer-stats .stat {
  flex: 1 1 45%;
  margin-bottom: .5rem;
}

.footer-stats .stat strong {
  opacity: .8;
}

.footer-stats .stat i {
  margin-right: .5rem;
}

.footer-stats .stat:nth-child(2) {
  text-align: center;
}

.footer-stats .stat:nth-child(3) {
  text-align: right;
}

.footer-stats .stat:nth-child(3) i {
  margin-left: .5rem;
  margin-right: 0;
}

/* about us section  */

.job-portal-section {
  /* background: url('about-us.png') no-repeat center center/cover; */
  /* color: white; */
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  border-radius: 20px;
}

.job-portal-section::before {
  content: '';
  position: absolute;
  inset: 0;
  ;
  z-index: 0;
}

.job-portal-content {
  position: relative;
  z-index: 1;
  /* max-width: 900px; */
  margin: 0 auto;
}

.job-portal-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e60013;
}

/* .job-portal-section h2 {
      font-weight: 600;
      margin-bottom: 20px;
      color: #ffe600;
    } */

.job-portal-section p {
  font-size: 1.1rem;
  line-height: 1.8;
}

@media (max-width: 576px) {
  .job-portal-section h1 {
    font-size: 1.8rem;
  }

  .job-portal-section h4 {
    font-size: 1rem;
  }

  .job-portal-section p {
    font-size: 0.95rem;
  }
}

.trust-section {
  text-align: center;
  padding: 60px 20px 30px;
}

.trust-section h2 {
  font-weight: 700;
  color: #0f0f28;
}

.trust-section .highlight-orange {
  color: #ff5200;
}

.trust-section .highlight-green {
  color: #00b700;
}

.stat-card {
  border-radius: 12px;
  background: rgb(228, 213, 138);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px 20px;
  margin: 15px 0;
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a95ff;
}

.stat-label {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #6c757d;
}

/* FAQ Section */

.faq-search {
  max-width: 600px;
  margin: 30px auto 20px;
  display: flex;
}

.faq-search input {
  border-radius: 4px 0 0 4px;
  border-right: none;
}

.faq-search .btn {
  border-radius: 0 4px 4px 0;
  background-color: #3b0056;
  color: white;
}

.faq-tabs {
  justify-content: center;
  margin-bottom: 30px;
}

.faq-tabs .nav-link {
  border: 1px solid #3b0056;
  margin: 0 5px;
  color: #3b0056;
  background: #fff;
}

.faq-tabs .nav-link.active {
  background-color: #3b0056;
  color: white;
}

.accordion-button::after {
  background-image: none;
  content: '▼';
  font-size: 12px;
}

.accordion-button:not(.collapsed)::after {
  content: '▲';
}

.accordion-item {
  border: none;
  border-bottom: 1px solid #ddd;
}

.accordion-button {
  font-weight: 600;
}

@media (max-width: 576px) {
  .faq-search {
    flex-direction: column;
  }

  .faq-search input,
  .faq-search .btn {
    width: 100%;
    border-radius: 4px;
  }

  .faq-search .btn {
    margin-top: 10px;
  }
}


#accordionGeneral {
  background-color: #f5f7fa;
  padding: 20px;
  border-radius: 10px;
}

.accordion-item {
  background-color: #ffffff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-button {
  background-color: #e9f1ff;
  color: #0d2c54;
  font-weight: 600;
  border: none;
  transition: background-color 0.3s ease;
}

.accordion-button.collapsed {
  background-color: #f2f2f2;
  color: #333;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  background-color: #ffffff;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 15px 20px;
}

@media (max-width: 768px) {
  .accordion-button {
    font-size: 0.95rem;
    padding: 12px 16px;
  }

  .accordion-body {
    font-size: 0.9rem;
  }
}
