/* ===== Home Page Styles — Premium Brochure Layout ===== */

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: transform 12s ease;
}

.hero:hover .hero__bg {
  transform: scale(1.05);
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    160deg,
    rgba(var(--dark-rgb), 0.88) 0%,
    rgba(var(--primary-rgb), 0.55) 50%,
    rgba(var(--dark-rgb), 0.7) 100%
  );
}

/* Two-column hero layout */
.hero__wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 100px;
}

.hero__content {
  max-width: 620px;
  flex-shrink: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--secondary);
  padding: 10px 22px;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeInDown 0.8s ease 0.2s both;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero__title {
  color: var(--white);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero__title span {
  color: var(--secondary);
  display: inline;
}

.hero__desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-10);
  max-width: 540px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero__buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}

/* --- Hero Side: Floating glassmorphic elements --- */
.hero__side {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  animation: fadeInUp 1s ease 0.6s both;
}

/* Preview card with glassmorphism */
.hero__preview-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 0;
  overflow: hidden;
  width: 280px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform var(--transition-base);
}

.hero__preview-card:hover {
  transform: translateY(-4px);
}

.hero__preview-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.hero__preview-info {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__preview-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
}

.hero__preview-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}

/* Floating stat cards — staggered layout */
.hero__float-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-3);
}

.hero__float-stat {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0;
  padding: 16px 18px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform var(--transition-base);
}

/* Shift alternating cards down to create staggered feel */
/* .hero__float-stat:nth-child(2) {
  margin-top: 24px;
}
.hero__float-stat:nth-child(4) {
  margin-top: 24px;
} */

.hero__float-stat:hover {
  transform: translateY(-4px);
}

.hero__float-stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__float-stat-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* (hero stats bar removed — now standalone stats-strip) */

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}



/* =============================================
   ABOUT SECTION — Editorial Brochure-Style
   Overlapping images, visible color blocks,
   asymmetric layout inspired by company profile
   ============================================= */
.about-section {
  position: relative;
  overflow: hidden;
}

/* Large yellow layer — visible background block on left */
.about-section__layer-yellow {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: var(--secondary);
  opacity: 0.08;
  z-index: 0;
}

[dir="rtl"] .about-section__layer-yellow {
  left: auto;
  right: 0;
}

/* Blue accent strip at top spanning partial width */
.about-section__layer-blue {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 5px;
  background: var(--primary);
  z-index: 1;
}

[dir="rtl"] .about-section__layer-blue {
  left: auto;
  right: 0;
}

/* Main layout grid */
.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-12);
  align-items: start;
  position: relative;
  z-index: 2;
}

/* --- Visual Area: layered image composition --- */
.about-layout__visual {
  position: relative;
  min-height: 600px;
}

/* Main large image */
.about-layout__main-img {
  position: relative;
  z-index: 2;
  width: 75%;
  height: 420px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.about-layout__main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Secondary image — overlapping at right-top */
.about-layout__secondary-img {
  position: absolute;
  right: 0;
  top: 60px;
  width: 55%;
  height: 300px;
  z-index: 3;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  border: 5px solid var(--white);
}

[dir="rtl"] .about-layout__secondary-img {
  right: auto;
  left: 0;
}

.about-layout__secondary-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Third image — bottom-left */
.about-layout__third-img {
  position: absolute;
  left: 30px;
  bottom: 0;
  width: 45%;
  height: 200px;
  z-index: 4;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  border: 5px solid var(--white);
}

[dir="rtl"] .about-layout__third-img {
  left: auto;
  right: 30px;
}

.about-layout__third-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Decorative yellow block behind images */
.about-layout__accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 200px;
  height: 200px;
  background: var(--secondary);
  z-index: 1;
}

[dir="rtl"] .about-layout__accent {
  left: auto;
  right: -20px;
}

/* Experience badge */
.about-layout__badge {
  position: absolute;
  bottom: 15%;
  left: 30px;
  background: var(--secondary);
  color: var(--dark);
  padding: 24px 28px;
  text-align: center;
  z-index: 5;
  box-shadow: 0 8px 30px rgba(var(--secondary-rgb), 0.3);
}

[dir="rtl"] .about-layout__badge {
  left: auto;
  right: 30px;
}

.about-layout__badge-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  display: block;
}

.about-layout__badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  display: block;
  margin-top: 4px;
  color: var(--dark);
  text-transform: uppercase;
  line-height: 1.3;
}

/* --- Content Area --- */
.about-layout__content {
  /* padding-top: var(--space-6); */
  position: relative;
}

.about-layout__content .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.about-layout__content h2 {
  margin-bottom: var(--space-4);
}

.about-layout__content h2 span {
  color: var(--secondary);
}

.about-layout__content p {
  margin-bottom: var(--space-4);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.about-layout__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
}

.about-layout__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}

.about-layout__feature-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-layout__feature-icon svg {
  width: 18px;
  height: 18px;
  color: var(--dark);
}


/* =============================================
   HOME SERVICES SECTION (Brochure Style)
   ============================================= */
.home-services {
  padding: 0;
  overflow: hidden;
  background: var(--light);
}

.home-services__top {
  display: flex;
}

.home-services__intro {
  flex: 1;
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.home-services__intro .label {
  font-size: 1.125rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.home-services__title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  color: var(--primary);
  line-height: 1.2;
}

.home-services__title span {
  font-weight: 300;
  display: block;
}

.home-services__title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--dark);
  margin-top: 24px;
}

.home-services__preview {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.home-services__preview-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.home-services__preview::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.4) 100%);
  z-index: 2;
}

[dir="rtl"] .home-services__preview::after {
  background: linear-gradient(to left, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.4) 100%);
}

.home-services__preview-content {
  position: relative;
  z-index: 3;
  padding: 80px 10%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-services__preview-content h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 16px;
  font-weight: 800;
}

.home-services__preview-content p {
  color: var(--dark);
  font-weight: 500;
  line-height: 1.6;
  max-width: 400px;
}

/* Bottom Yellow Area */
.home-services__bottom {
  background: var(--secondary);
  padding: 50px 0;
}

.home-services__grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 50px;
  align-items: center;
}

.home-services__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  align-content: center;
}

.home-services__item {
  text-align: center;
  background: var(--white);
  padding: 28px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-services__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.home-services__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: transparent;
}

.home-services__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
  fill: none;
}

.home-services__item:hover .home-services__icon {
  background: var(--primary);
}

.home-services__item:hover .home-services__icon svg {
  stroke: var(--secondary);
}

.home-services__item h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--primary);
}

.home-services__item p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--gray-600);
  font-weight: 500;
}

.home-services__summary h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--primary);
  line-height: 1.3;
}

.home-services__summary p {
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 600;
  color: var(--primary);
  opacity: 0.9;
}
/* =============================================
   WHY CHOOSE US — Two-band split layout
   Top half: left = primary, right = white
   Bottom half: secondary (yellow)
   ============================================= */
.why-section {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
}

.why-section__bg {
  display: none; /* no longer used */
}

/* Top-left primary color band */
.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 50%;
  background: var(--primary);
  z-index: 0;
}

[dir="rtl"] .why-section::before {
  left: auto;
  right: 0;
}

/* Top-right white band */
.why-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 50%;
  background: var(--white);
  z-index: 0;
}

[dir="rtl"] .why-section::after {
  right: auto;
  left: 0;
}

/* Bottom-half yellow band via a pseudo element on the container */
.why-section__bottom-band {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--secondary);
  z-index: 0;
}

.why-section .container {
  position: relative;
  z-index: 2;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.why-section .section-header {
  position: relative;
  z-index: 3;
  max-width: 65%;
  background: var(--primary);
  padding: 32px 40px;
  margin-bottom: var(--space-2);
}

.why-section .section-header h2 {
  color: var(--white);
}

.why-section .section-header h2 span {
  color: var(--secondary);
}

.why-section .section-header p {
  color: rgba(255,255,255,0.85);
}

.why-section .section-header .label {
  background: rgba(var(--secondary-rgb), 0.15);
  color: var(--secondary);
  border: 1px solid rgba(var(--secondary-rgb), 0.3);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-5);
  position: relative;
  z-index: 3;
  margin-top: var(--space-8);
}

.why-card {
  background: var(--white);
  border-radius: 0;
  padding: 40px;
  border: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Yellow accent bar on top of each card */
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary);
}

.why-card:hover {
  box-shadow: 0 8px 36px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

/* Featured card: Large, blue background with image */
.why-card--featured {
  background: var(--primary);
  color: var(--white);
  grid-row: span 2;
  position: relative;
  overflow: hidden;
}

.why-card--featured::before {
  background: var(--secondary);
  height: 6px;
}

.why-card--featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../used-assets/docs/PHOTOS/engineer-construction-uniform-background-generative-ai.webp') center/cover;
  opacity: 0.08;
}

.why-card--featured > * {
  position: relative;
  z-index: 2;
}

.why-card--featured h4,
.why-card--featured p {
  color: var(--white);
}

.why-card--featured p {
  opacity: 1;
}

.why-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 0;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.why-card--featured .why-card__icon {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid var(--secondary);
}

.why-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--dark);
}

.why-card--featured .why-card__icon svg {
  color: var(--secondary);
}

.why-card--featured h4 {
  color: var(--white) !important;
}


.why-card--featured p {
  color: var(--gray-200) !important;
}

.why-card h4 {
  margin-bottom: var(--space-3);
  font-size: 1rem;
  color: var(--dark);
}

.why-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--gray-600);
}



/* =============================================
   PROJECTS SECTION — Brochure-Style
   Dark background with a large visible image,
   overlapping yellow accent stripe, and project grid
   (Like page 9-10 of brochure)
   ============================================= */
.projects-section {
  position: relative;
  overflow: hidden;
}

.projects-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.projects-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--dark) 0%,
    rgba(var(--primary-rgb), 0.6) 50%,
    var(--dark) 100%
  );
}

/* Yellow accent bar at the top */
.projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--secondary);
  z-index: 3;
}

/* Diagonal yellow accent block on the right */
.projects-section::after {
  /* content: ''; */
  position: absolute;
  top: 0;
  right: 0;
  width: 25%;
  height: 100%;
  background: var(--secondary);
  opacity: 0.06;
  z-index: 1;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

[dir="rtl"] .projects-section::after {
  right: auto;
  left: 0;
  clip-path: polygon(0 0, 70% 0, 100% 100%, 0 100%);
}

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

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  position: relative;
  z-index: 2;
}

.project-card {
  position: relative;
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-card__img {
  transform: scale(1.08);
}

.project-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(var(--dark-rgb), 0.85) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  transition: background var(--transition-base);
}

.project-card:hover .project-card__overlay {
  background: linear-gradient(
    180deg,
    rgba(var(--primary-rgb), 0.2) 0%,
    rgba(var(--dark-rgb), 0.92) 100%
  );
}

/* Yellow bar at bottom of each card */
.project-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary);
  z-index: 3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.project-card:hover::after {
  transform: scaleX(1);
}

[dir="rtl"] .project-card::after {
  transform-origin: right;
}

.project-card__tag {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark);
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[dir="rtl"] .project-card__tag {
  left: auto;
  right: var(--space-5);
}

.project-card h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--space-1);
}

.project-card__year {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
}


/* =============================================
   PARTNERS SECTION — Brochure-Style
   Yellow block on one side, white on other,
   with diagonal clip (like profile page split bg)
   ============================================= */
.partners-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

/* Large yellow block on left */
.partners-section__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: var(--secondary);
  opacity: 0.1;
  clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
}

[dir="rtl"] .partners-section__accent {
  left: auto;
  right: 0;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
}

/* Blue accent bar on top */
.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  z-index: 2;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  padding: var(--space-8) 0;
  position: relative;
  z-index: 2;
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  min-width: 180px;
}

.partner-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-4px);
  border-color: var(--secondary);
}

.partner-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  filter: grayscale(60%);
  opacity: 0.8;
  transition: all var(--transition-base);
}

.partner-card:hover .partner-logo {
  filter: grayscale(0%);
  opacity: 1;
}


/* =============================================
   CTA SECTION — Brochure-Style
   Full-bleed image with strong blue overlay,
   yellow accent blocks, centered content
   (Like bottom-of-page call to action in brochure)
   ============================================= */
.cta-section {
  position: relative;
  padding: var(--space-20) 0;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.cta-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Yellow accent bar top */
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--secondary);
  z-index: 3;
}

/* Yellow block on left side */
.cta-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 120px;
  background: var(--secondary);
  opacity: 0.15;
  z-index: 2;
}

[dir="rtl"] .cta-section::after {
  left: auto;
  right: 0;
}

.cta-section__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section__content h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-section__content h2 span {
  color: var(--secondary);
}

.cta-section__content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: var(--space-8);
}

.cta-section__buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero__wrapper {
    flex-direction: column;
    padding-bottom: 120px;
    gap: var(--space-8);
  }

  .hero__side {
    width: 100%;
    align-items: center;
    margin-top: var(--space-6);
  }

  .about-layout {
    gap: 0;
  }

  .about-layout__visual {
    min-height: 480px;
  }

  .about-layout__main-img {
    height: 340px;
  }

  .about-layout__secondary-img {
    height: 240px;
  }

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

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

  .why-card--featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .why-section__bg {
    width: 100%;
    opacity: 0.3;
  }

  .why-section::before {
    width: 100%;
  }

  .why-section::after {
    display: none;
  }

.why-section .section-header{
  padding: 0;
  padding-bottom: 10px;
  max-width: 100%;
}

  .why-section .section-header h2 {
    color: var(--white);
  }

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

@media (max-width: 768px) {
  .hero__wrapper {
    padding-bottom: 100px;
  }

  .hero__content {
    text-align: center;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__buttons {
    justify-content: center;
  }

  .home-services__top {
    flex-direction: column;
  }
  
  .home-services__intro,
  .home-services__preview-content {
    padding: 60px 5%;
  }

  .home-services__grid {
    grid-template-columns: 1fr;
  }

  .home-services__summary {
    text-align: center;
    order: -1;
    /* margin-bottom: 40px; */
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-layout__visual {
    min-height: 400px;
    order: -1;
  }

  .about-layout__main-img {
    height: 300px;
  }

  .about-layout__secondary-img {
    width: 50%;
    height: 220px;
  }

  .about-layout__third-img {
    width: 40%;
    height: 160px;
  }

  .about-layout__badge {
    padding: 16px 22px;
  }

  .about-layout__badge-number {
    font-size: 1.8rem;
  }

  .about-section__layer-yellow {
    width: 100%;
    height: 50%;
  }

  .about-section__layer-blue {
    width: 100%;
  }

  .home-services__list {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card--featured {
    grid-column: span 1;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    height: 260px;
  }

  .partners-logos {
    gap: var(--space-8);
  }

  .partner-logo {
    height: 55px;
  }
}
