:root {
  --blue-main: #0b5ed7;
  --blue-dark: #08356b;
  --blue-soft: #eef5ff;
  --yellow: #ffc107;
  --line: #d7e6ff;
}

* { box-sizing: border-box; }

body {
  font-family: "Cairo", sans-serif;
  background: #f5f9ff;
  color: #1c3552;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.95);
  transition: opacity .35s ease, visibility .35s ease;
}

.loader.hide { opacity: 0; visibility: hidden; }

.loader-box {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 16px 35px rgba(11, 94, 215, .15);
}

.gov-strip {
  background: linear-gradient(90deg, #042a57, #0b4b98);
  color: #dbeaff;
  font-size: .9rem;
  padding: .42rem 0;
}

.gov-strip i { color: #ffc107; margin-left: .3rem; }

.hero-section {
  background: linear-gradient(130deg, rgba(8, 53, 107, .95), rgba(11, 94, 215, .92));
  min-height: 60vh;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/roads.jpg") center 34% / cover no-repeat;
  opacity: .52;
  transform: scale(1.08);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 42, 84, .18));
  pointer-events: none;
}

.hero-section .container { position: relative; z-index: 2; }

.brand-logo-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .42);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(1, 17, 43, .22);
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #fff;
  border-radius: 11px;
  padding: 4px;
}

.hero-content {
  padding: 1.15rem 0 2.2rem;
}

.hero-content .row {
  padding: 1.2rem 1rem;
  border-radius: 24px;
  background: linear-gradient(115deg, rgba(8, 53, 107, .34), rgba(11, 94, 215, .22));
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.hero-content h1 {
  font-size: clamp(2.1rem, 3.2vw, 3.5rem);
  line-height: 1.2;
}

.hero-kicker { color: #ffc107; font-weight: 700; letter-spacing: .2px; margin-bottom: .4rem; }
.hero-text { color: #ddebff; line-height: 1.95; max-width: 760px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.hero-badges span {
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #fff;
  padding: .35rem .72rem;
  font-size: .9rem;
  background: rgba(255, 255, 255, .08);
}

.hero-badges i { color: #ffc107; margin-left: .3rem; }

.hero-logo {
  width: 245px;
  max-width: 100%;
  background: #fff;
  border-radius: 28px;
  padding: 18px;
  border: 2px solid rgba(255, 255, 255, .95);
  box-shadow: 0 20px 44px rgba(0, 18, 44, .36);
  animation: float 3.2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.hero-logo-stage {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 7, .32), rgba(255, 193, 7, 0) 64%);
  filter: blur(3px);
  top: -28px;
  z-index: 1;
}

.hero-logo-caption {
  margin-top: .85rem;
  color: #dceaff;
  font-weight: 700;
  font-size: .92rem;
}

.ticker-wrap {
  margin-top: .55rem;
  position: relative;
  z-index: 8;
}
.ticker-bar {
  background: linear-gradient(90deg, #ffffff, #f5f9ff);
  border: 1px solid #c8dcff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(11,94,215,.16);
  display: flex;
  overflow: hidden;
  min-height: 62px;
}

.ticker-label-wrap {
  min-width: 205px;
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  justify-content: center;
  background: linear-gradient(110deg, #ffd24a, #ffc107);
  border-left: 1px solid rgba(0, 0, 0, .08);
  padding: .7rem;
}

.ticker-label {
  color: #4d3900;
  font-weight: 800;
  letter-spacing: .2px;
}

.ticker-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d90429;
  box-shadow: 0 0 0 0 rgba(217, 4, 41, .6);
  animation: pulseDot 1.5s infinite;
}

.ticker-track { overflow: hidden; flex: 1; position: relative; }
.ticker-track::before,
.ticker-track::after {
  content: "";
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.ticker-track::before {
  right: 0;
  background: linear-gradient(to left, #f5f9ff, transparent);
}

.ticker-track::after {
  left: 0;
  background: linear-gradient(to right, #f5f9ff, transparent);
}

.ticker-move {
  display: inline-flex;
  gap: 2.5rem;
  padding: .75rem 1rem;
  white-space: nowrap;
  animation: ticker linear infinite;
}

.ticker-track:hover .ticker-move {
  animation-play-state: paused;
}

.ticker-move span::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-left: .6rem;
  border-radius: 50%;
  background: url("../img/logo.png") center/contain no-repeat;
  vertical-align: middle;
  opacity: .92;
}

.ticker-move span:first-child::before {
  content: none;
}

.main-content { padding: 1.3rem 0 2.4rem; }

.section-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
  margin-top: 1rem;
  box-shadow: 0 10px 24px rgba(11,94,215,.08);
  animation: rise .8s ease both;
}

.section-title {
  color: var(--blue-dark);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: .95rem;
  border-right: 4px solid #ffc107;
  padding-right: .55rem;
}

.infra-box {
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
}

.infra-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  height: 100%;
  background: #fff;
}

.infra-card img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 10px;
  background: #f2f8ff;
  padding: .35rem;
}

.infra-card h3 {
  font-size: 1.1rem;
  margin: 0 0 .35rem;
  color: var(--blue-dark);
  font-weight: 800;
}

.infra-card p { margin: 0; color: #4d6f98; line-height: 1.8; }

.director-img {
  width: 100%;
  max-width: 270px;
  border-radius: 18px;
  border: 4px solid #fff;
  box-shadow: 0 14px 30px rgba(11,94,215,.2);
}

.info-card, .achievement-card {
  border: 1px solid #d5e6ff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.info-card:hover, .achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(11,94,215,.14);
}

.achievement-card img { height: 180px; object-fit: cover; }

.project-carousel {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d2e3ff;
  box-shadow: 0 16px 30px rgba(11, 94, 215, .12);
}

.project-carousel .carousel-item img {
  height: 420px;
  object-fit: cover;
}

.project-carousel .carousel-caption {
  left: 4%;
  right: 4%;
  bottom: 1.2rem;
  text-align: right;
  background: linear-gradient(180deg, rgba(6, 35, 76, .45), rgba(6, 35, 76, .78));
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  padding: .7rem .9rem;
}

.project-carousel .carousel-caption h5 {
  margin: 0 0 .3rem;
  font-weight: 800;
}

.project-carousel .carousel-caption p {
  margin: 0;
  color: #d9e7ff;
}

.project-carousel .carousel-control-next,
.project-carousel .carousel-control-prev {
  width: 8%;
}

.logo-strip-box {
  padding: .7rem .9rem;
  background: linear-gradient(180deg, #ffffff, #f0f6ff);
  position: relative;
  overflow: hidden;
}

.logo-strip-header {
  display: flex;
  align-items: center;
  margin-bottom: .7rem;
  padding: 0 .3rem;
}

.logo-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: linear-gradient(110deg, #0b5ed7, #08356b);
  color: #fff;
  font-weight: 800;
  font-size: .92rem;
  padding: .42rem .85rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(11, 94, 215, .28);
  letter-spacing: .3px;
}

.logo-strip-badge i {
  color: #ffc107;
  font-size: 1rem;
}

.logo-strip-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: pulseDotGreen 1.5s infinite;
}

@keyframes pulseDotGreen {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .65); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/*--------------------------------------------------------------
# Swiper Clients Section
--------------------------------------------------------------*/
.clients .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  max-height: 80px; /* Limit height to match original look roughly */
}

.clients .swiper-slide:hover img {
  opacity: 1;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #0880e8;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #0880e8;
}


.stat-card {
  background: linear-gradient(180deg, #fff, #f2f7ff);
  border: 1px solid #d5e5ff;
  border-radius: 16px;
  padding: .9rem;
  display: flex;
  gap: .8rem;
  align-items: center;
  height: 100%;
}

.stat-asset {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  border-radius: 12px;
  background: #edf5ff;
  border: 1px solid #d5e5ff;
  display: grid;
  place-items: center;
}

.stat-asset img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.stat-meta h3 {
  margin: .15rem 0 .2rem;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue-dark);
}

.stat-meta p { margin: 0; color: #4a6f99; font-weight: 700; }

.stat-icon {
  display: inline-flex;
  width: 31px;
  height: 31px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: #0d6efd;
  color: #fff;
}

.site-footer {
  background: linear-gradient(140deg, #08356b, #0b5ed7);
  color: #fff;
  padding: 2rem 0 1.1rem;
}

.social-list { display: flex; flex-wrap: wrap; gap: .5rem; }

.social-list a {
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: .35rem .7rem;
  transition: background .2s ease, transform .2s ease;
}

.social-list a:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-2px);
}

.map-wrap { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.35); }
.map-wrap iframe { width: 100%; min-height: 190px; border: 0; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(217, 4, 41, .65); }
  70% { box-shadow: 0 0 0 10px rgba(217, 4, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0); }
}

@media (max-width: 991px) {
  .hero-content { padding-bottom: 1.2rem; }
  .hero-logo { width: 210px; }
  .hero-logo-glow { width: 270px; height: 270px; }
  .hero-section {
    min-height: 54vh;
  }
  .hero-section::before {
    background-size: cover;
    opacity: .38;
    transform: scale(1.03);
  }
  .hero-content .row {
    padding: .95rem .85rem;
  }
  .project-carousel .carousel-item img { height: 340px; }
}

@media (max-width: 767px) {
  .ticker-label-wrap { min-width: 138px; font-size: .8rem; padding: .55rem; }
  .stat-card { flex-direction: column; text-align: center; }
  .gov-strip .container { justify-content: center !important; }
  .hero-logo { width: 180px; border-radius: 20px; }
  .hero-logo-glow { width: 220px; height: 220px; top: -20px; }
  .hero-content h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .project-carousel .carousel-item img { height: 260px; }
  .logo-chip { width: 74px; height: 74px; flex: 0 0 74px; }
  .logo-chip img { width: 60px; height: 60px; }
  .logo-strip-badge { font-size: .8rem; padding: .35rem .65rem; }
  .logo-strip-move { gap: .8rem; }
  .logo-strip-track::before,
  .logo-strip-track::after { width: 30px; }
}
