.service-page .breadcrumb-wrapper .page-heading,
.services-index-page .breadcrumb-wrapper .page-heading,
.content-page .breadcrumb-wrapper .page-heading {
  padding: 150px 0 125px;
}

.float-wrapper {
  position: fixed;
  top: 55%;
  left: 0;
  transform: translateY(-50%);
  z-index: 9999;
}

.float-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.4s ease;
}

.float-icons.hide {
  transform: translateX(-100%);
}

.float-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 55px;
  height: 55px;
  border-radius: 0 30px 30px 0;
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: visible;
  cursor: pointer;
  transition: all 0.3s ease;
}

.float-item i {
  width: 55px;
  text-align: center;
  font-size: 20px;
}

.float-item .label {
  position: absolute;
  left: 0;
  background: #fff;
  color: #333;
  padding: 6px 12px;
  border-radius: 20px;
  transform: translateX(-120%);
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.float-item.mail .label {
  max-width: calc(100vw - 85px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.float-item:hover .label {
  transform: translateX(60px);
  opacity: 1;
}

.phone {
  background: #4caf50;
}

.whatsapp {
  background: #25d366;
}

.mail {
  background: #e74c3c;
}

.close-btn {
  background: #3b5998;
}

.open-btn {
  position: absolute;
  left: 0;
  top: 0;
  width: 45px;
  height: 45px;
  background: #1f2b3a;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
}

.float-icons.hide + .open-btn {
  display: flex;
}

.service-page .breadcrumb-wrapper .page-heading h1,
.services-index-page .breadcrumb-wrapper .page-heading h1,
.content-page .breadcrumb-wrapper .page-heading h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: 52px;
  line-height: 1.15;
}

.service-page .breadcrumb-wrapper .page-heading .breadcrumb-items,
.services-index-page .breadcrumb-wrapper .page-heading .breadcrumb-items,
.content-page .breadcrumb-wrapper .page-heading .breadcrumb-items {
  flex-wrap: wrap;
}

.service-detail-main .details-image {
 
  overflow: hidden;
  border-radius: 8px;
  background: #eef3fb;
}

.service-detail-main .details-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-main .details-content {
  margin-top: 0 !important;
}

.service-copy p {
  margin-top: 18px;
  line-height: 1.75;
}

.service-highlights {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #dfe7f3;
  border-radius: 8px;
  background: #f7f9fd;
}

.service-highlights h4 {
  margin-bottom: 16px;
  font-size: 22px;
}

.service-highlight-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.service-highlight-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-color);
  line-height: 1.6;
  list-style: none;
}

.service-highlight-list i {
  margin-top: 5px;
  color: var(--theme);
}

.content-page .simple-page-image {
  overflow: hidden;
  border-radius: 8px;
  background: #eef3fb;
}

.content-page .simple-page-image img {
  width: 100%;
  height: auto;
  display: block;
}

.content-page .content-copy h3 {
  margin-bottom: 18px;
}

.content-page .content-copy h4 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 22px;
}

.content-page .content-copy p {
  margin-top: 14px;
  line-height: 1.75;
}

.content-page .content-copy ul {
  margin-top: 14px;
  padding-left: 0;
}

.content-page .content-copy li {
  list-style: none;
  margin-bottom: 10px;
  color: var(--text-color);
  line-height: 1.7;
}

.content-page .content-copy li strong {
  color: var(--header);
}

.content-page .contact-details {
  margin-top: 18px;
}

.content-section-soft {
  background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 44%);
}

.image-panel {
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0, 43, 152, 0.08);
}

.content-lead-panel,
.contact-intro-panel,
.contact-form-card,
.contact-copy-card {
  padding: 34px;
  border: 1px solid #dfe7f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 43, 152, 0.07);
}

.content-lead-panel h3,
.contact-intro-panel h3,
.contact-address-card h3,
.contact-copy-card h3,
.values-section h3 {
  position: relative;
  padding-bottom: 14px;
}

.content-lead-panel h3::after,
.contact-intro-panel h3::after,
.contact-address-card h3::after,
.contact-copy-card h3::after,
.values-section h3::after,
.contact-form-card h4::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  height: 3px;
  content: "";
  border-radius: 99px;
  background: var(--theme);
}

.contact-address-card h3::after {
  background: #fff;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.info-card,
.value-card,
.why-contact-card,
.contact-detail-card {
  border: 1px solid #dfe7f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 43, 152, 0.06);
}

.info-card {
  padding: 30px;
}

.info-card.accent-card {
  background: linear-gradient(135deg, #293a92 0%, #3c72fc 100%);
}

.info-card.accent-card h4,
.info-card.accent-card p {
  color: #fff;
}

.card-icon,
.value-card i,
.why-contact-card i,
.contact-detail-card i {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #eef3ff;
  color: var(--theme);
  font-size: 22px;
}

.accent-card .card-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.info-card p,
.value-card p,
.why-contact-card p {
  margin-top: 10px;
  line-height: 1.7;
}

.values-section {
  margin-top: 44px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.value-card {
  padding: 24px;
}

.value-card h4,
.why-contact-card h4 {
  margin: 0;
  font-size: 20px;
}

.closing-note {
  margin-top: 28px !important;
  padding: 22px 26px;
  border-left: 4px solid var(--theme);
  border-radius: 8px;
  background: #eef3ff;
  color: var(--header);
}

.service-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-chip-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #dfe7f3;
  border-radius: 8px;
  background: #f7f9fd;
  color: var(--header);
  font-weight: 600;
  line-height: 1.4;
}

.contact-detail-grid,
.why-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.contact-main-row {
  margin-bottom: 44px;
}

.contact-address-card {
  height: 100%;
  padding: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #293a92 0%, #1f2b65 100%);
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 43, 152, 0.16);
}

.contact-address-card h3,
.contact-address-card p,
.contact-address-card span,
.contact-address-card strong {
  color: #fff;
}

.contact-address-card p {
  margin-top: 18px;
  line-height: 1.75;
}

.contact-detail-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-detail-item > div {
  min-width: 0;
}

.contact-detail-item i {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  color: var(--theme);
  font-size: 20px;
}

.contact-detail-item span {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  opacity: 0.78;
}

.contact-detail-item strong {
  display: block;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-detail-card {
  min-height: 172px;
  padding: 24px;
}

.contact-detail-card span {
  display: block;
  color: var(--text-color);
  font-size: 14px;
}

.contact-detail-card strong {
  display: block;
  margin-top: 6px;
  color: var(--header);
  line-height: 1.5;
}

.why-contact-card {
  padding: 22px;
}

.contact-form-card {
  height: 100%;
  position: static;
}

.contact-form-card h4 {
  position: relative;
  padding-bottom: 14px;
  margin-top: 0;
}

.contact-form {
  margin-top: 24px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--header);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dfe7f3;
  border-radius: 8px;
  background: #f7f9fd;
  color: var(--header);
  padding: 14px 16px;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--theme);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(41, 58, 146, 0.08);
}

.contact-form textarea {
  resize: vertical;
}

.contact-image-panel {
  display: none;
}

.contact-other-section {
  margin-top: 4px;
}

.contact-copy-card {
  height: 100%;
}

.contact-copy-card h3 {
  margin-bottom: 20px;
}

.services-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-list-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid #dfe7f3;
  border-radius: 8px;
  background: #fff;
  transition: all 0.3s ease;
}

.service-list-card:hover {
  border-color: var(--theme);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 43, 152, 0.09);
}

.service-list-card .thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef3fb;
}

.service-list-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-list-card:hover .thumb img {
  transform: scale(1.04);
}

.service-list-card .icon {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 43, 152, 0.16);
}

.service-list-card .icon img {
  width: 34px;
  height: 34px;
}

.service-list-card .body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.service-list-card .body h3 {
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.service-list-card .body p {
  margin-bottom: 20px;
  line-height: 1.65;
}

.service-list-card .body .theme-btn-2 {
  margin-top: auto;
}

@media (max-width: 1199px) {
  .services-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form-card {
    position: static;
  }
}

@media (max-width: 767px) {
  .service-page .breadcrumb-wrapper .page-heading,
  .services-index-page .breadcrumb-wrapper .page-heading,
  .content-page .breadcrumb-wrapper .page-heading {
    padding: 115px 0 90px;
  }

  .services-list-grid {
    grid-template-columns: 1fr;
  }

  .content-lead-panel,
  .contact-intro-panel,
  .contact-address-card,
  .contact-form-card,
  .contact-copy-card,
  .info-card,
  .value-card,
  .why-contact-card,
  .contact-detail-card {
    padding: 22px;
  }

  .mission-vision-grid,
  .value-grid,
  .contact-detail-grid,
  .why-contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-detail-card {
    min-height: auto;
  }

  .service-page .breadcrumb-wrapper .page-heading h1,
  .services-index-page .breadcrumb-wrapper .page-heading h1,
  .content-page .breadcrumb-wrapper .page-heading h1 {
    font-size: 36px;
  }

  .about-page .content-section-soft.section-padding {
    padding: 48px 0;
  }

  .about-page .row.g-5 {
    --bs-gutter-y: 24px;
  }

  .about-page .image-panel {
    padding: 10px;
  }

  .about-page .content-lead-panel,
  .about-page .info-card,
  .about-page .value-card {
    padding: 18px;
  }

  .about-page .mission-vision-grid {
    gap: 14px;
    margin-top: 24px;
  }

  .about-page .values-section {
    margin-top: 28px;
  }

  .about-page .value-grid {
    gap: 14px;
    margin-top: 18px;
  }

  .about-page .card-icon,
  .about-page .value-card i {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    font-size: 18px;
  }

  .about-page .value-card h4 {
    font-size: 18px;
  }

  .about-page .value-card p,
  .about-page .info-card p {
    margin-top: 6px;
    line-height: 1.55;
  }

  .about-page .closing-note {
    margin-top: 18px !important;
    padding: 16px 18px;
  }
}

@media (max-width: 575px) {
  .contact-address-card {
    padding: 16px;
  }

  .contact-detail-item {
    gap: 10px;
    padding: 10px;
  }

  .contact-detail-item i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 16px;
  }

  .contact-detail-item > div {
    flex: 1 1 auto;
    max-width: calc(100% - 50px);
  }

  .contact-detail-item span {
    font-size: 13px;
  }

  .contact-detail-item strong,
  .contact-detail-item strong a {
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: normal;
    white-space: nowrap;
    word-break: normal;
  }
}
