.hero-section {
  background: linear-gradient(#001E45, #12080817), url("/static/images/home/banner.eae0495c6272.png") no-repeat center center;
  background-size: cover;
  height: 120vh;
  margin-top: 0;
  padding-top: 0;
  position: relative;
  z-index: 0;
}

.hero-section h1 {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .hero-section {
    height: 100vh;
  }
}

.about-section {
  background: linear-gradient(to bottom right, #3E546E, #021B39);
}

.about-section .logo {
  justify-self: anchor-center;
  text-align: center;
  max-width: 100%;
}



.targeted-section {

  color: #fff;
  padding: 48px 0 130px;
  overflow: hidden;
  position: relative;
  min-height: 100vh;
}

/* SWAP CONTAINER - Contains both wraps */
.swap-container {
  position: relative;
  min-height: 840px;
  max-width: 1300px;
  margin: auto;
  /* Height for both sections */
}

/* LAYOUT CONTAINER */
.tp-wrap {
  margin: 0 auto;
  position: absolute;
  min-height: 420px;
  width: 100%;
  top: 0;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.7s ease;
}

/* Initial positions */
.tp-wrap:first-child {
  top: 0;
}

.tp-wrap:last-child {
  top: 450px;
  /* Position second section below first */
}

/* Diagonal swap animations */
.tp-wrap.swapping-down {
  transform: translate(0%, 110%);
  direction: rtl !important;
}

.tp-wrap.swapping-up {
  transform: translate(0%, -110%);
  direction: ltr !important;
}

/* LEFT PHOTO BLOCK */
.tp-photo {
  width: 360px;
  height: 420px;
  background:
    linear-gradient(0deg, rgba(16, 34, 54, .45), rgba(16, 34, 54, .45)),
    url("/static/images/home/targeted_projects.5df678b574e2.webp") center/cover no-repeat;
  border-radius: 2px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
  transition: transform 0.6s ease 0.1s, opacity 0.6s ease 0.1s;
}

.tp-photo-right {
  width: 360px;
  height: 420px;
  background:
    linear-gradient(0deg, rgba(16, 34, 54, .45), rgba(16, 34, 54, .45)),
    url("/static/images/home/national_impact.03da722ee600.webp") center/cover no-repeat;
  border-radius: 2px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
  transition: transform 0.6s ease 0.1s, opacity 0.6s ease 0.1s;
}

/* BIG TITLE THAT OVERLAPS TO THE RIGHT */
.tp-title {
  position: absolute;
  top: 10%;
  left: 12%;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 300;
  letter-spacing: .5px;
  margin: 0;
  line-height: 1.08;
  text-transform: uppercase;
  mix-blend-mode: screen;
  transition: transform 0.9s ease 0.5s, opacity 0.6s ease 0.2s;
}

.tp-wrap.swapping-down .tp-title {
  position: absolute;
  top: 10%;
  right: 12%;
  left: unset;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 300;
  letter-spacing: .5px;
  margin: 0;
  line-height: 1.08;
  text-transform: uppercase;
  mix-blend-mode: screen;
  transition: transform 0.9s ease 0.5s, opacity 0.6s ease 0.2s;
}

.tp-title-right {
  position: absolute;
  top: 10%;
  right: 12%;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 300;
  letter-spacing: .5px;
  margin: 0;
  line-height: 1.08;
  text-transform: uppercase;
  mix-blend-mode: screen;
  transition: transform 0.9s ease 0.5s, opacity 0.6s ease 0.2s;
}

.tp-wrap.swapping-up .tp-title-right {
  position: absolute;
  top: 10%;
  left: 12%;
  right: unset;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 300;
  letter-spacing: .5px;
  margin: 0;
  line-height: 1.08;
  text-transform: uppercase;
  mix-blend-mode: screen;
  transition: transform 0.9s ease 0.5s, opacity 0.6s ease 0.2s;
}

/* RIGHT CONTENT BLOCK */
.tp-content {
  margin-left: 420px;
  max-width: 630px;
  padding-top: clamp(120px, 16vw, 160px);
  position: absolute;
  top: 10%;
  left: -4%;
  font-size: 26px;
  color: #fff;
  text-align: start;
  transition: transform 0.6s ease 0.3s, opacity 0.6s ease 0.3s;
}

[lang="en"] .tp-content p {
  text-align: end;
}

.tp-content-right {
  margin-right: 420px;
  max-width: 630px;
  padding-top: clamp(120px, 16vw, 160px);
  position: absolute;
  top: 10%;
  right: -4%;
  font-size: 26px;
  color: #fff;
  text-align: start;
  transition: transform 0.6s ease 0.3s, opacity 0.6s ease 0.3s;
}

[lang="ar"] .tp-content-right p {
  text-align: right;
}

/* SMALL PILL BUTTON */
.tp-btn {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .6px;
  text-decoration: none;
  color: #e8f1ff;
  background: #0e2f57;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .15s ease, background .15s ease;
  margin-top: 20px;
}

.tp-btn:hover {
  background: #1a4c90;
  transform: translateY(-1px);
}

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  z-index: 1000;
}

/* RESPONSIVE TOUCHES */
@media (max-width: 820px) {

  .tp-content,
  .tp-content-right {
    max-width: 48ch;
  }
}

@media (max-width: 680px) {
  .tp-wrap {
    min-height: 540px;
    width: 90%;
    /* margin-right:  -69px; */
  }

  /* [lang="en"] .tp-wrap {
    /* margin-right: unset; */
  /* margin-left: 10px; */

  .tp-wrap.swapping-up {
    transform: translate(0%, -100%);
  }

  .tp-wrap.swapping-down {
    transform: translate(10%, 110%);
  }

  .tp-wrap:last-child {
    top: 570px;
  }

  .tp-wrap.swapping-down .tp-content {
    transform: translate(0%, 20%) !important
  }

  .tp-wrap.swapping-up .tp-content-right {
    transform: translate(10%, 20%) !important;
  }

  /* 
  .tp-wrap.swapping-down {
    transform: translate(100px, 570px);
  }

  .tp-wrap.swapping-up {
    transform: translate(-100px, -570px);
  } */

  .swap-container {
    min-height: 1140px;
  }

  .tp-photo,
  .tp-photo-right {
    width: 78vw;
    max-width: 420px;
    height: 360px;
  }

  .tp-title,
  .tp-title-right {
    left: 24px;
    top: 20px;
  }

  .tp-content,
  .tp-content-right {
    margin: 16px 0 0;
    padding-top: 16px;
  }
}

/* Enhanced stagger animation effects for child elements during diagonal swap */
.tp-wrap.swapping-down .tp-photo,
.tp-wrap.swapping-up .tp-photo-right {
  transform: scale(1.05) translateZ(0);
}

/* .tp-wrap.swapping-down .tp-title,
.tp-wrap.swapping-up .tp-title-right {
  transform: translate(40px, 15px);
} */

.tp-wrap.swapping-down .tp-content {
  transform: translate(-70px, -15px);
}


.tp-wrap.swapping-up .tp-content-right {
  transform: translate(70px, -15px);
}

/* Video Section */

.videos-section {
  /* padding: 60px 20px; */
  background: linear-gradient(to bottom, #3C526C, #102845);
}


.slanted-div {
  height: 60px;
  /* adjust */
  /* background: linear-gradient(90deg, #0b1e34, #2f3f55); 
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%); */
  background: linear-gradient(to right, #0B2341, #364C67);
  clip-path: polygon(0% 0%,
      /* left-top of stripe (near bottom) */
      0% 100%,
      /* left-bottom of stripe */
      100% 30%,
      /* right-bottom very close to top-right */
      100% 0%
      /* right-top exactly top-right corner */
    );

  margin-bottom: 60px;
}


/* swiper */

.swiper {
  width: 100%;
  margin: auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.video-slide {
  position: relative;
  width: 100%;
  height: 640px;
}

.video-slide iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.overlay-content {
  position: absolute;
  width: 100%;
  height: 100%;
  /* right: 30px; */
  bottom: 0px;
  color: white;
  /* text-align: right; */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 1));
  padding: 20px;
}

.swiper-content {
  position: absolute;
  bottom: 60px;
  position: absolute;
  bottom: 60px;
  padding-left: 20px;
  border-left: 3px solid #5ECCFF;
  right: 30%;
  line-height: 5;
}

.swiper-slide {
  width: 100%;
}

.overlay-content h3 {
  color: #5ECCFF;
  margin-bottom: 10px;
  bottom: 60px
}

.watch-btn {
  background: black;
  color: white;
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  line-height: normal;
  border: #fff 2px solid;

}

.watch-btn:hover {
  background: #5ECCFF;
  color: black;
  border: #5ECCFF 2px solid;
}

.modal-90 {
  max-width: 90%;
  width: 90%;
  height: 90%;
}

.modal-90 .modal-content {
  height: 100%;
  border-radius: 12px;
}

.video-frame {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* Carousel container adjustments */
.mySwiper {
  max-width: 1200px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.swiper-bottom-controls {
  width: 1200px;
  margin: auto;
  margin-top: 30px;
}

.videos-section .video-swiper-button-prev,
.videos-section .video-swiper-button-next {
  color: #b8e640;
  font-weight: bolder;
}

/* Custom arrows */
.videos-section .video-swiper-button-prev,
.videos-section .video-swiper-button-next {
  position: static;
  /* override default absolute positioning */
  width: 10px;
  height: 10px;
  background-color: transparent;
  /* border: 1px solid #0aa; */
  /* border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #065f63;
  ;
  font-size: 10px;
}

.videos-section .video-swiper-button-prev::after,
.videos-section .video-swiper-button-next::after {
  font-size: 15px !important;
}

/* Pagination dots */
.swiper-custom-pagination {
  text-align: center;
}

.swiper-custom-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #000;
  opacity: 1;
  margin: 0 5px;
  border-radius: 50%;
}

.swiper-custom-pagination .swiper-pagination-bullet-active {
  background-color: #fff;
}


.custom-scrollbar {
  height: 3px;
  background: #e0e0e0;
  border-radius: 2px;
  position: relative !important;
  max-width: 1075px !important;
}



.slanted-rev-div {
  height: 60px;
  /* adjust */
  /* background: linear-gradient(90deg, #0b1e34, #2f3f55); 
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%); */
  background: linear-gradient(to right, #002F51, #384E68);
  clip-path: polygon(0% 0%,
      /* left-top of stripe (near bottom) */
      0% 100%,
      /* left-bottom of stripe */
      100% 30%,
      /* right-bottom very close to top-right */
      100% 0%
      /* right-top exactly top-right corner */
    );

  margin-bottom: 60px;
}


.subsidiaries-section {
  background: linear-gradient(to bottom right, #0c2d4b, #163f5d), url("/static/images/home/subsidiaries-bg.017c9ff68f3e.svg");
  /* padding: 60px 20px; */
  padding-bottom: 50px;
  color: #fff;
  font-family: 'Cairo', sans-serif;
}

.section-title {
  font-size: 64px;
  font-weight: bold;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.card-box {
  background: linear-gradient(to left, #2c9cc3, #1b3e67);
  border-radius: 15px;
  padding: 20px;
  color: white;
}

.yellow:hover {
  background: linear-gradient(to left, #16406A, #FBE66F);
}

.purple:hover {
  background: linear-gradient(to left, #16406A, #B368C4);
}


.red:hover {
  background: linear-gradient(to left, #16406A, #B4191C);
}

.grey:hover {
  background: linear-gradient(to left, #16406A, #414141);
}

.orange:hover {
  background: linear-gradient(to left, #16406A, #BE8F63);
}



.card-content {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card-logo-container {
  background-color: white;
  border-radius: 15px;
  height: 100%;
  width: 30%;
}

.text {
  width: 60%;
}

.text h3 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  text-align: start;
}

.text p {
  margin-top: 10px;
  font-size: 14px;
}

.card-logo {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  margin-left: 10px;
}


/* mobile: single column, uniform marker after text */
@media (max-width:576px) {
  .hero-section {
    height: 100vh;
  }

  .hero-section h1 {
    top: 50%;
    font-size: 24px;
    line-height: 35px;
    text-align: start;
  }

  .section h2 {
    font-size: 20px;
  }

  .section p.lead {
    font-size: 18px
  }

  .vm-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .vm-list li {
    grid-column: auto;
    grid-row: auto;
  }
}


.services {
  padding: 80px 0;
  background-color: #233A55;
}

.services .section-title {
  font-size: 64px;
  font-weight: bold;
  color: #fff;
}


.services .slide-container {
  /* max-width: 1120px; */
  width: 100%;
  padding: 40px 0;
}

.services .slide-content {
  margin: 0 40px;
  overflow: hidden;
  border-radius: 25px;
}

.services .updates-slide-content {
  margin: 0 40px;
  overflow: hidden;
  border-radius: 25px;
}

.services .card {
  border-radius: 25px;
  min-height: 451px;
}

.services .image-content,
.services .card-content {
  display: flex;
  flex-direction: column;
  align-content: start;
  align-items: center;
  padding: 10px 40px;
}

.services .image-content {
  position: relative;
  row-gap: 5px;
  padding: 25px 0;
}

.services .overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 90%;
  background-color: #4070F4;
  /* border-radius: 25px 25px 0 25px; */
}

.services .card-image {
  position: relative;
  /* max-height: 200px; */
  width: 90%;
  /* background: #FFF; */
  padding: 3px;
}

.services .card-image .card-img {
  max-height: 281px;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.services .name {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-align: start;
}

.services .description {
  font-size: 14px;
  color: #707070;
  text-align: center;
}

.services .swiper-navBtn {
  color: #fff;
  background-color: #152C49;
  transition: color 0.3s ease;
}

.services .swiper-navBtn:hover {
  color: #fff;
}

.services .swiper-navBtn::before,
.services .swiper-navBtn::after {
  font-size: 35px;
}

.services .swiper-button-next,
.services .swiper-button-prev {
  position: relative !important;
  height: 40px;
  width: 40px;
  margin-top: unset;
}

/* Roadmap */

/* =========================
   Roadmap Section (RTL)
   ========================= */
:root {
  --rm-bg1: #214563;
  --rm-bg2: #172c44;
  --rm-cyan: #19a4b6;
  --rm-cyan-dark: #0e6f89;
  --rm-text: #eaf3ff;
  --rm-card: #cfe6f1;
  --rm-body: #124060;
  --rm-border: 1.5px;
}

.roadmap {
  background: radial-gradient(1200px 700px at 75% -10%, var(--rm-bg1), var(--rm-bg2));
  color: var(--rm-text);
  padding-bottom: 70px;
  /* padding: 40px 0 72px; */
}

.rm-wrap {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.rm-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  margin: 0 0 28px;
}

/* ===== Grid ===== */
.rm-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.rm-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Fallback if CSS Grid is unavailable */
@supports not (display: grid) {
  .rm-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
  }

  .rm-step {
    width: 100%;
  }

  @media (min-width: 600px) {
    .rm-step {
      width: calc(50% - 18px);
    }
  }

  @media (min-width: 1000px) {
    .rm-step {
      width: calc(25% - 27px);
    }
  }
}

/* ===== Top pills ===== */
.rm-pills {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.rm-pill {
  border: var(--rm-border) solid var(--rm-cyan);
  color: var(--rm-text);
  padding: 12px 18px;
  border-radius: 10px;
  line-height: 1;
  font-size: 14px;
  min-width: 170px;
  text-align: center;
  backdrop-filter: blur(.5px);
}

.rm-pill--year {
  opacity: .9;
}

/* ===== Connector ===== */
.rm-connector {
  display: block;
  height: 28px;
  width: 2px;
  background: var(--rm-cyan);
  margin: 10px auto 0;
}

/* ===== Number badge (ring + wedge) ===== */
.rm-badge {
  width: 68px;
  height: 68px;
  margin: -12px auto 0;
  position: relative;
  z-index: 2;
}

.rm-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.one::before {
  background:
    conic-gradient(var(--rm-cyan) 0 90deg, var(--rm-cyan-dark) 90deg 360deg);
}

.two::before {
  background:
    conic-gradient(var(--rm-cyan) 0 180deg, var(--rm-cyan-dark) 180deg 360deg);
}

.three::before {
  background:
    conic-gradient(var(--rm-cyan) 0 270deg, var(--rm-cyan-dark) 270deg 360deg);
}

.four::before {
  background:
    conic-gradient(var(--rm-cyan) 0 360deg, var(--rm-cyan-dark) 360deg 360deg);
}

.rm-badge::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #ffffff;
}

.rm-badge span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--rm-body);
  z-index: 1;
}

/* ===== Card ===== */
.rm-card {
  margin-top: -22px;
  background: var(--rm-card);
  color: var(--rm-body);
  border-radius: 14px;
  padding: 22px 22px 26px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  min-height: 210px;
  min-width: 195px;
}

.rm-card-title {
  margin: 12px 0 12px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

/* Bullets */
.rm-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rm-list li {
  position: relative;
  padding-inline-start: 18px;
  margin: 6px 0;
}

.rm-list li::before {
  content: "";
  position: absolute;
  top: .6em;
  inset-inline-start: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rm-body);
  opacity: .8;
}

/* ===== Responsiveness ===== */
@media (max-width: 1200px) {
  .rm-grid {
    gap: 28px;
  }
}

@media (max-width: 1000px) {
  .rm-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .rm-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rm-pill {
    min-width: 200px;
  }

  .rm-badge {
    width: 56px;
    height: 56px;
  }

  .rm-badge::after {
    inset: 6px;
  }

  .rm-card {
    padding: 18px;
    min-height: unset;
  }

  .rm-card-title {
    font-size: 16px;
  }

  .rm-list li {
    padding-inline-start: 14px;
  }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}


/* Services */

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ---- View All pill ---- */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border: 2px solid #DBFF83;
  border-radius: 999px;
  color: #DBFF83;
  text-decoration: none;
  background: transparent;
  font-weight: 600;
  line-height: 1;
}

.btn-view-all .chev {
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
}

.btn-view-all:hover {
  box-shadow: 0 0 0 3px color-mix(in oklab, #DBFF83 30%, transparent);
}

.btn-view-all:focus-visible {
  outline: 3px solid color-mix(in oklab, #DBFF83 60%, transparent);
  outline-offset: 3px;
}

/* ---- Swiper circular buttons ---- */
.swiper-navBtn {
  position: static !important;
  /* keep in the flow (same line) */
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #ffffff99;
  background: transparent;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  /* arrow color */
  cursor: pointer;
}

.swiper-navBtn:hover {
  background: rgba(255, 255, 255, .08);
}

.swiper-navBtn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .35);
  outline-offset: 3px;
}

/* Remove Swiper's default arrows and draw our own */
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  /* CSS mask arrow icon */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23000' d='M13.172 12 7.586 6.414 9 5l7 7-7 7-1.414-1.414z'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23000' d='M13.172 12 7.586 6.414 9 5l7 7-7 7-1.414-1.414z'/></svg>") no-repeat center / contain;
}

/* Make prev arrow point left (rotate the same glyph) */
.swiper-button-prev::after {
  transform: rotate(180deg);
}

/* Optional: tighter gap between all three controls */
.actions .swiper-navBtn {
  margin-inline-start: .25rem;
}


.services .bg-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: center / cover no-repeat var(--bg, #1a2a3a);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.services .bg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(0, 0, 0, .10) 0%, transparent 60%), linear-gradient(to top, rgba(5, 20, 35, .70) 0%, rgba(5, 20, 35, .35) 45%, rgba(5, 20, 35, 0) 75%);
  z-index: 0;
}

.services .card-title {
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: start;
  z-index: 1;
  margin: 0;
  color: #fff;
  padding: 16px 20px 18px;
  inline-size: 92%;
  font-weight: 600;
  line-height: 1.4;
  font-size: 19px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .20));
}

.services .bg-card:hover {
  transform: translateY(-2px);
  transition: transform .2s ease;
}


.partners-section {
  background: linear-gradient(to bottom, #1a324d, #0f2b47);
  color: #fff;
  padding: 80px 20px;
  /* text-align: center;  centers inline content */
  width: 100%;
}



.section-title {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 50px;
}

.section-text {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.btn-discover {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 30px;
  background: #3d8147;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-discover:hover {
  background: #2f6536;
}


.energy-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* adjust as needed */
  background: linear-gradient(to bottom, #001e4582, #12080817), url("/static/images/home/energy-bg.4e438816675e.webp") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  /* vertical centering */
  justify-content: center;
  text-align: center;
  color: #fff;
}

.energy-hero .overlay {
  position: absolute;
  inset: 0;
  /* cover the whole section */
  background: rgba(0, 0, 0, 0.35);
  /* optional dark overlay for contrast */
  display: flex;
  align-items: center;
  justify-content: center;
}

.energy-hero .container {
  max-width: 1300px;
  text-align: start;
  padding: 20px;
}

@media (max-width: 1520px) {
  .energy-hero .container {
    max-width: 70%;
  }

  .energy-hero .hero-text {
    font-size: 32px;
  }
}

.energy-hero .hero-text {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.6;
  color: #fff;
}



/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {

  .btn-view-all,
  .swiper-navBtn {
    transition: none;
  }
}

/* .services .swiper-button-next{
  right: 0;
}
.services .swiper-button-prev{
  left: 0;
} */
.services-swiper-pagination,
.updates-swiper-pagination{
margin: auto;
    margin-top: 20px;
    transform: unset !important;
}
.services .swiper-pagination-bullet {
  background-color: #cfdff0;
  opacity: 1;
      width: 10px;
    height: 10px;

}

.services .swiper-pagination-bullet-active{
  background-color: #2b80d4;
}

@media screen and (max-width: 768px) {
  .services .slide-content {
    margin: 0 10px;
  }

  .services .updates-slide-content {
    margin: 0 10px;
  }

  .services .swiper-navBtn {
    display: none;
  }
}

/* ✅ Responsive Design for Tablets and Mobile */
@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .card-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .card-content {
    flex-direction: row;
    align-items: flex-start;
    text-align: right;
  }

  .card-logo {
    align-self: flex-end;
    margin-left: 0;
    margin-top: 15px;
  }

  .text h3 {
    font-size: 1rem;
  }

  .text p {
    font-size: 0.85rem;
  }

  .energy-hero {
    min-height: 40vh;
  }

  .energy-hero .hero-text {
    font-size: 24px;
  }

  .services .section-title {
    font-size: 28px;
    margin-bottom: 20px;

  }

  .tp-content-right {
    margin-right: 0;
    right: unset;
  }

  .section-text {
    font-size: 24px;
  }
}