/* ===== INNER PAGES (Service Pages & Contact Page) ===== */

/* Page Banner - inherits .banner from index.css but inner variant is shorter */
.inner-page .banner {
  min-height: 55vh;
}

.inner-page .banner .content {
  padding-bottom: 3rem;
}

.inner-page .banner .content .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.inner-page .banner .content .breadcrumb span,
.inner-page .banner .content .breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 1 !important;
  transform: none !important;
  letter-spacing: 1px;
}

.inner-page .banner .content .breadcrumb span.sep {
  color: #6fbe44;
  margin: 0 6px;
}

.inner-page .banner .content .breadcrumb span.current {
  color: #13ea9d;
}

.inner-page .banner .content h1 {
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  opacity: 1 !important;
  transform: none !important;
  margin-bottom: 1rem;
}

.inner-page .banner .content p.lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 991px) {
  .inner-page .banner .content h1 {
    font-size: 34px;
  }
}

@media (max-width: 575px) {
  .inner-page .banner .content h1 {
    font-size: 26px;
  }
  .inner-page .banner {
    min-height: 45vh;
  }
}

/* ===== SERVICE OVERVIEW SECTION ===== */
.service-overview {
  padding: 80px 0;
  background-color: #fff;
}

.service-overview .section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #6fbe44;
  margin-bottom: 12px;
}

.service-overview h2 {
  font-size: 38px;
  font-weight: 800;
  color: #002538;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.2;
}

.service-overview p {
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-overview .overview-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.service-overview .overview-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .service-overview {
    padding: 60px 0;
  }
  .service-overview h2 {
    font-size: 28px;
  }
  .service-overview .overview-img {
    margin-top: 30px;
  }
  .service-overview .overview-img img {
    height: 280px;
  }
}

/* ===== WHAT WE OFFER SECTION ===== */
.what-we-offer {
  padding: 80px 0;
  background-color: #f8fafc;
}

.what-we-offer .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.what-we-offer .section-header .section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #6fbe44;
  margin-bottom: 10px;
}

.what-we-offer .section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #002538;
  text-transform: uppercase;
}

.offer-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-bottom-color: #6fbe44;
}

.offer-card .icon-wrap {
  width: 56px;
  height: 56px;
  background-color: rgba(32, 188, 237, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.offer-card .icon-wrap i {
  font-size: 22px;
  color: #6fbe44;
}

.offer-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: #002538;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.offer-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 991px) {
  .what-we-offer {
    padding: 60px 0;
  }
  .what-we-offer .section-header h2 {
    font-size: 28px;
  }
}

/* ===== WHY CHOOSE US (dark bg like solutions) ===== */
.why-choose-us {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  min-height: 60vh;
}

.why-choose-us .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(5, 38, 153, 0.92) 45%,
    rgba(5, 38, 153, 0.7)
  );
  z-index: 1;
}

.why-choose-us .content {
  position: relative;
  z-index: 2;
}

.why-choose-us h2 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.why-choose-us ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border: none;
}

.why-choose-us ul li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-transform: none;
  font-weight: 400;
}

.why-choose-us ul li i {
  color: #13ea9d;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.why-choose-us .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #6fbe44;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 28px;
}

.why-choose-us .cta-btn:hover {
  background-color: #13ea9d;
  color: #002438;
}

@media (max-width: 991px) {
  .why-choose-us {
    padding: 70px 0;
    min-height: auto;
  }
  .why-choose-us h2 {
    font-size: 28px;
  }
}

/* ===== RELATED SERVICES SECTION ===== */
.related-services {
  padding: 80px 0;
  background-color: #fff;
}

.related-services h2 {
  font-size: 32px;
  font-weight: 800;
  color: #002538;
  text-transform: uppercase;
  margin-bottom: 40px;
  text-align: center;
}

.related-card {
  display: block;
  background: #f8fafc;
  border-radius: 12px;
  padding: 28px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 4px solid #6fbe44;
  height: 100%;
}

.related-card:hover {
  background: #0a2e2a;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(5, 38, 153, 0.2);
}

.related-card h6 {
  font-size: 14px;
  font-weight: 700;
  color: #002538;
  text-transform: uppercase;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.related-card p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  transition: color 0.3s ease;
}

.related-card:hover h6,
.related-card:hover p {
  color: #fff;
}

/* RTL related cards */
:dir(rtl) .related-card {
  border-left: none;
  border-right: 4px solid #6fbe44;
}

@media (max-width: 991px) {
  .related-services {
    padding: 60px 0;
  }
  .related-services h2 {
    font-size: 24px;
  }
}

/* ===== CONTACT PAGE ===== */
.contact-nav-wrap {
  background: #0a2e2a;
  position: relative;
}

.contact-nav-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.35) 44%,
    rgba(0, 0, 0, 0.2)
  );
  pointer-events: none;
}

.contact-nav-wrap .container {
  position: relative;
  z-index: 2;
}

/* Contact body: addresses left + map right */
.contact-body {
  background: #fff;
  display: flex;
}

.contact-body > .row {
  width: 100%;
  margin: 0;
}

.contact-left-col {
  padding: 60px 56px;
  border-right: 1px solid #e5e7eb;
  overflow-y: auto;
}

.contact-page-title {
  font-size: 50px;
  font-weight: 800;
  color: #002538;
  text-transform: uppercase;
  margin-bottom: 44px;
  line-height: 1.1;
}

.contact-office {
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid #f0f0f0;
}

.contact-office:last-of-type {
  border-bottom: none;
}

.contact-office h3 {
  font-size: 18px;
  font-weight: 700;
  color: #002538;
  margin-bottom: 8px;
}

.contact-office .office-name {
  font-size: 14px;
  font-weight: 700;
  color: #002538;
  margin-bottom: 6px;
}

.contact-office p {
  font-size: 14px;
  color: #4a4a4a;
  margin-bottom: 2px;
  line-height: 1.7;
}

.contact-office a {
  color: #6fbe44;
  text-decoration: none;
  font-size: 14px;
}

.contact-office a:hover {
  color: #0a2e2a;
}

.contact-social-wrap {
  margin-top: 36px;
}

.contact-social-wrap h3 {
  font-size: 18px;
  font-weight: 700;
  color: #002538;
  margin-bottom: 16px;
}

.contact-social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.contact-social-icon:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.contact-social-icon.li {
  background: #0077b5;
  color: #fff;
}
.contact-social-icon.ig {
  background: #e4405f;
  color: #fff;
}
.contact-social-icon.fb {
  background: #1877f2;
  color: #fff;
}
.contact-social-icon.tw {
  background: #000;
  color: #fff;
}
.contact-social-icon.yt {
  background: #ff0000;
  color: #fff;
}

.contact-map-col {
  min-height: 700px;
  position: relative;
}

.contact-map-col iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 991px) {
  .contact-left-col {
    padding: 40px 24px;
    border-right: none;
  }
  .contact-page-title {
    font-size: 34px;
  }
  .contact-map-col {
    min-height: 400px;
    position: relative;
  }
}

@media (max-width: 575px) {
  .contact-page-title {
    font-size: 28px;
  }
}

/* ===== RTL ADJUSTMENTS ===== */
:dir(rtl) .service-overview .section-label,
:dir(rtl) .what-we-offer .section-header .section-label,
:dir(rtl) .contact-form-section .section-label {
  letter-spacing: 0;
}

:dir(rtl) .offer-card .icon-wrap,
:dir(rtl) .why-choose-us ul li {
  direction: rtl;
}

:dir(rtl) .service-overview p,
:dir(rtl) .offer-card p,
:dir(rtl) .contact-form-section p.desc {
  font-size: 15px;
  font-weight: 300;
}

:dir(rtl) .inner-page .banner .content .breadcrumb {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

/* Footer extra columns */
footer .footer-nav-col ul {
  border-left: 3px solid #6fbe44;
  padding-left: 1em;
}

:dir(rtl) footer .footer-nav-col ul {
  border-left: 0;
  border-right: 3px solid #6fbe44;
  padding-left: 0;
  padding-right: 1em;
}

footer .footer-nav-col ul li a {
  font-size: 13px;
  font-weight: 400;
}

/* Trim extra space when .our-values is the last section before footer */
.our-values:has(+ footer),
.our-values:has(+ .footer),
.our-values + footer {
  /* selector targets the section directly preceding footer */
}
.our-values:has(+ footer) {
  padding-bottom: 24px;
}
.our-values:has(+ footer) .our-values-content {
  margin-bottom: 1rem !important;
}
