/* .cover::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  background-color: rgba(26, 49, 84, 0.79);
  width: 100%;
  height: 100%;
} */

.bg_cover {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.about_area {
  position: relative;
  z-index: 5;
}

.about_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: -1;
  opacity: 0.2;
  padding-right: 280px;
}
.about_bg .about_bg_image {
  width: 100%;
  height: 100%;
}

.about_image img {
  width: 100%;
  border-radius: 40px;
  height: 300px;
  border-bottom-right-radius: 0;
}
.title {
  font-size: 38px;
  font-weight: 400;
}
.about_content {
  padding-left: 45px;
}
.sub_title {
  font-size: 38px;
  font-weight: 400;
  position: relative;
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .sub_title {
    font-size: 32px;
  }
}
@media (max-width: 767px) {
  .sub_title {
    font-size: 24px;
  }
}
.sub_title::before {
  position: absolute;
  content: "";
  width: 9px;
  height: 100%;
  left: -45px;
  top: 0;
  background-color: #095c92;
}
.sub_title span {
  font-size: 70px;
  font-weight: 800;
  color: #095c92;
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .about_content .sub_title span {
    font-size: 60px;
  }
}
@media (max-width: 767px) {
  .about_content .sub_title span {
    font-size: 44px;
  }
}
.about_content .main_title {
  font-size: 40px;
  margin-top: 25px;
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .about_content .main_title {
    font-size: 32px;
  }
}
@media (max-width: 767px) {
  .about_content .main_title {
    font-size: 24px;
  }
}
.about_content p {
  margin-top: 25px;
}
.about_content .main-btn {
  margin-top: 45px;
}

/* Services */

.services-section {
  /* background: #f8f9fa; */
}

.service-card {
  perspective: 1000px;
  height: 400px;
}
.service-card h3 {
  font-size: 28px;
  font-weight: 400;
}
.service-card h4 {
  font-size: 22px;
  font-weight: 400;
}

.service-card i {
  color: #095c92;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
}

.service-card-back {
  transform: rotateY(180deg);
  overflow-y: auto;
}

.icon-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.flip-hint {
  position: absolute;
  bottom: 1rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

.service-features {
  text-align: left;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.service-features li {
  margin-bottom: 0.5rem;
  position: relative;
  color: #333;
}

.service-features li:before {
  content: "•";
  color: var(--bs-primary);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.fas {
  display: inline-block;
}

.back-header {
  flex-shrink: 0;
  border-bottom: 1px solid #eee;
}

.back-content {
  flex-grow: 1;
  overflow-y: auto;
  padding-top: 0;
}

.service-features {
  text-align: left;
  padding-left: 1rem;
  margin: 0;
}

.service-features li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.flip-hint {
  position: absolute;
  bottom: 1rem;
  font-size: 0.8rem;
  opacity: 0.8;
  width: 100%;
  text-align: center;
}

/* Custom scrollbar */
.back-content::-webkit-scrollbar {
  width: 5px;
}

.back-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.back-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}
.single_services:hover {
  transform: translateY(-4px);
  -webkit-box-shadow: 0px 3px 20px 0px rgba(213, 213, 213, 0.4);
  -moz-box-shadow: 0px 3px 20px 0px rgba(213, 213, 213, 0.4);
  box-shadow: 0px 3px 20px 0px rgba(213, 213, 213, 0.4);
  transition: all 0.5s ease-out 0s;
}

.timeline-title {
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  gap: 20px;
}

.timeline:before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 3px;
  background: #095c92;
  z-index: 1;
  display: none; /* hide by default for small screens */
}

.timeline-step {
  flex: 1 1 calc(33.33% - 20px); /* 3 per row default */
  text-align: center;
  position: relative;
  z-index: 2;
  min-width: 120px;
}

.timeline-icon {
  width: 40px;
  height: 40px;
  background: #095c92;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  font-weight: bold;
}

.timeline-step h6 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 14px;
}

.timeline-step p {
  color: #7f8c8d;
  font-size: 12px;
  line-height: 1.4;
  padding: 0 5px;
}

/* Large Screens - show horizontal line */
@media (min-width: 992px) {
  .timeline {
    flex-wrap: nowrap;
  }

  .timeline:before {
    display: block;
  }

  .timeline-step {
    flex: 1;
  }
}

/* Medium Screens - 2 per row */
@media (max-width: 991px) and (min-width: 600px) {
  .timeline-step {
    flex: 1 1 calc(50% - 20px);
  }
}

/* Small Screens - 1 per row */
@media (max-width: 599px) {
  .timeline-step {
    flex: 1 1 100%;
  }
}

.hero_area {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-bottom-right-radius: 200px;
}

.counter_area {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-top-left-radius: 150px;
  border-bottom-right-radius: 150px;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .counter_area {
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
  }
}
@media (max-width: 767px) {
  .counter_area {
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
  }
  .hero_area {
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
  }
}

.hero_area::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  background-color: rgba(55, 57, 59, 0.79);
  width: 100%;
  height: 100%;
}

.counter_area::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  background-color: rgba(26, 49, 84, 0.79);
  width: 100%;
  height: 100%;
}

#site-header.scrolled a {
  color: #000 !important;
}

#site-header.scrolled svg {
  fill: #000 !important;
}

#site-header.scrolled .bg-blue-600 {
  background-color: #1d4ed8 !important; /* Optional: Keep button blue */
  color: white !important;
}

#site-header.scrolled .border-white {
  border-color: #000 !important;
}

#site-header.scrolled .md\\:bg-transparent {
  background-color: transparent !important;
}

.why-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

.team-section {
  text-align: center;
  padding: 50px 20px;
}

.team-section h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.team-member {
  background: #fff;
  color: #333;
  border-radius: 10px;
  width: 350px;
  overflow: hidden;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.team-member img {
  width: 40%;
  border-radius: 50%;
  margin-bottom: 10px;
}

.team-member h3 {
  margin: 10px 0 5px;
  color: #007bff;
}

.team-member .designation {
  font-size: 0.9em;
  color: #555;
}

.member-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  text-align: left;
  font-size: 0.9em;
  margin-top: 10px;
}

.team-member:hover .member-details {
  max-height: 500px;
  opacity: 1;
}

/* Contact us */
p.form-message.success,
p.form-message.error {
  font-size: 16px;
  color: #085b90;
  background: #f7f7fd;
  padding: 10px 15px;
  margin-top: 30px;
}
p.form-message.success.form-message.error,
p.form-message.error.form-message.error {
  color: #f00;
}

.contact_form .single_form {
  margin-top: 30px;
}
.contact_form .single_form textarea,
.contact_form .single_form input {
  width: 100%;
  height: 55px;
  padding: 0 25px;
  border: 1px solid #677284;
  border-radius: 5px;
}
.contact_form .single_form textarea:focus,
.contact_form .single_form input:focus {
  border: 1px solid #065b91;
}
.contact_form .single_form textarea {
  padding-top: 15px;
  resize: none;
  height: 125px;
}

.contact_info p {
  margin-top: 15px;
}

.single_info {
  margin-top: 30px;
}
.single_info .info_icon i {
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  font-size: 20px;
  border-radius: 5px;
  background-color: #085b90;
  color: #fff;
}

.main-btn {
  background-color: #085b90;
  color: #fff;
  padding: 10px 30px;
  border-radius: 5px;
}
@media (max-width: 767px) {
  .single_info .info_icon i {
    width: 35px;
    height: 35px;
    line-height: 35px;
  }
}
.single_info .info_content {
  padding-left: 15px;
}
.single_info .info_content p {
  margin-top: 0;
}
@media (max-width: 767px) {
  .single_info .info_content p {
    font-size: 14px;
  }
}
@media only screen and (min-width: 576px) and (max-width: 767px) {
  .single_info .info_content p {
    font-size: 16px;
  }
}
.footer_area {
  background-color: #f4f6fb;
}
