/* ── HOME PAGE ── */

/* HERO — solid white left panel, photo visible on right, matching reference image exactly */
#hero{
  padding:0 !important;
  min-height:85vh;           /* matches reference — not full 100vh */
  display:flex;
  flex-direction:column;
  background:#fff;           /* white base shows on left behind the gradient */
  overflow:hidden;
  position:relative;
}
.hero-backdrop{position:absolute;inset:0}

/* Photo fills full area but only becomes visible where gradient fades away */
.hero-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:60% center; /* keep Kingdom Tower in view */
  pointer-events:none;
}

/* THE KEY EFFECT — matches reference image exactly:
   Left ~42%: fully opaque white (solid, text sits on pure white)
   42–58%:    white fades to transparent (soft blend zone)
   Right 42%: fully transparent (real photo, no tint at all) */
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to right,
    #ffffff 0%,
    #ffffff 20%,
    rgba(255,255,255,0.95) 25%,
    rgba(255,255,255,0.60) 40%,
    rgba(255,255,255,0.15) 62%,
    rgba(255,255,255,0) 70%
  );
}
/* RTL: mirror — solid white RIGHT, photo fades in from left */
body.rtl .hero-overlay{
  background:linear-gradient(
    to left,
    #ffffff 0%,
    #ffffff 20%,
    rgba(255,255,255,0.95) 25%,
    rgba(255,255,255,0.60) 40%,
    rgba(255,255,255,0.15) 62%,
    rgba(255,255,255,0) 70%
  );
}

.hero-inner{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:110px 0 60px;
  position:relative;
  z-index:2;
}
.hero-inner .container{all:unset;display:block;width:100%;padding:0 40px;box-sizing:border-box}

/* Text sits in the solid-white left zone — max-width keeps it there */
.hero-text{max-width:480px;margin-left:0;margin-right:auto;text-align:left}
body.rtl .hero-text{margin-left:auto;margin-right:0;text-align:right}
body.rtl .hero-btns{justify-content:flex-end}

/* Text colors — dark on pure white */
.hero-tag{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;color:var(--gold);letter-spacing:2px;text-transform:uppercase;margin-bottom:18px}
.hero-tag::before{content:'';display:block;width:28px;height:2px;background:var(--gold);flex-shrink:0}
/* LTR: tag sits at the left edge */
.hero-text .hero-tag{margin-left:0;margin-right:auto}
/* RTL: reverse the line+text order and anchor to the right edge */
body.rtl .hero-text .hero-tag{flex-direction:row-reverse;margin-left:auto;margin-right:0}
.hero-h1{font-size:clamp(32px,4vw,54px);font-weight:700;color:var(--navy);line-height:1.15;margin-bottom:18px}
.hero-h1 em{font-style:normal;color:var(--gold)}
.hero-p{font-size:15px;color:#4b5563;line-height:1.78;max-width:420px;margin-bottom:28px}
.hero-btns{display:flex;gap:12px;flex-wrap:wrap}

/* STATS BAR */
.stats-bar{background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border);position:relative;z-index:3}
.stats-inner{max-width:1300px;margin:0 auto;padding:0 40px;display:flex;align-items:center;flex-wrap:wrap}
.stat-item{flex:1;min-width:140px;display:flex;align-items:center;gap:14px;padding:22px 24px;border-right:1px solid var(--border)}
.stat-item:last-child{border-right:none}
.stat-ico{width:44px;height:44px;border-radius:8px;background:rgba(201,161,91,0.1);display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
.stat-num{font-size:26px;font-weight:700;color:var(--navy);line-height:1}
.stat-lbl{font-size:12.5px;color:var(--gray);margin-top:2px}

/* SERVICE STRIP — white background with navy text, gold accent on hover */
.service-strip{position:relative;z-index:3;background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.strip-row{max-width:1300px;margin:0 auto;padding:0 40px;display:flex;align-items:stretch;overflow-x:auto}
.strip-row::-webkit-scrollbar{height:0}
.strip-item{flex:1;min-width:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:18px 14px;color:var(--gray);font-size:12px;font-weight:600;text-align:center;border-right:1px solid var(--border);text-decoration:none;transition:var(--ease)}
.strip-item:last-child{border-right:none}
.strip-item:hover{background:rgba(201,161,91,0.06);color:var(--gold)}
.strip-icon{width:40px;height:40px;border-radius:8px;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:18px;transition:var(--ease);border:1px solid var(--border)}
.strip-item:hover .strip-icon{background:rgba(201,161,91,0.1);border-color:rgba(201,161,91,0.3)}

/* ABOUT */
#about-snap{background:#fff}
.abt-grid{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.abt-img-frame{border-radius:10px;overflow:hidden;height:400px;box-shadow:var(--sh3)}
.abt-img-frame img{width:100%;height:100%;object-fit:cover;display:block}
.abt-vals{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 26px}
.av{display:flex;align-items:center;gap:6px;background:var(--bg);border:1px solid var(--border);border-radius:6px;padding:7px 13px;font-size:13px;font-weight:600;color:var(--navy)}
.av-ico{font-size:14px}

/* SOLUTIONS GRID */
#solutions-sec{background:var(--bg)}
.sol-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:40px}
.sol-card{background:#fff;border-radius:10px;overflow:hidden;border:1px solid var(--border);transition:var(--ease);text-decoration:none;display:block}
.sol-card:hover{transform:translateY(-5px);box-shadow:var(--sh2);border-color:rgba(201,161,91,0.3)}
.sol-thumb{height:160px;overflow:hidden;position:relative}
.sol-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.sol-card:hover .sol-thumb img{transform:scale(1.06)}
.sol-body{padding:18px 16px 20px}
.sol-body h3{font-size:14.5px;font-weight:700;color:var(--navy);margin-bottom:7px}
.sol-body p{font-size:13px;color:var(--gray);line-height:1.6;margin-bottom:12px}
.sol-link{font-size:12.5px;font-weight:700;color:var(--gold);display:flex;align-items:center;gap:4px}
.sol-link .aw{font-size:13px}

/* WHY / EXCELLENCE — matches reference: text left, 5 icon cards right */
#why-sec{background:#fff}
.why-grid{display:grid;grid-template-columns:1fr 1.6fr;gap:64px;align-items:center}
/* 5 feature cards in a 3+2 wrap grid */
.why-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:0}
.why-card{background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:24px 18px;text-align:center;transition:var(--ease)}
.why-card:hover{border-color:var(--gold);box-shadow:var(--sh2);transform:translateY(-4px)}
.why-card-ico{width:52px;height:52px;border-radius:50%;background:rgba(201,161,91,0.12);border:1px solid rgba(201,161,91,0.25);display:flex;align-items:center;justify-content:center;font-size:22px;margin:0 auto 14px}
.why-card h4{font-size:13.5px;font-weight:700;color:var(--navy);line-height:1.35}

/* INDUSTRIES */
#industries-sec{background:var(--bg)}
.ind-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-top:40px}
.ind-card{border-radius:10px;overflow:hidden;position:relative;aspect-ratio:1/1.1;text-decoration:none;display:block}
.ind-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.ind-card:hover img{transform:scale(1.08)}
.ind-card::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(10,37,88,0.82) 0%,rgba(10,37,88,0.15) 60%,transparent 100%)}
.ind-lbl{position:absolute;bottom:12px;left:0;right:0;text-align:center;color:#fff;font-size:13px;font-weight:700;z-index:2;padding:0 8px}

/* PROJECTS CAROUSEL */
#projects-sec{background:#fff}
.proj-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px}
.proj-card{background:#fff;border:1px solid var(--border);border-radius:10px;overflow:hidden;transition:var(--ease)}
.proj-card:hover{transform:translateY(-4px);box-shadow:var(--sh2)}
.proj-thumb{height:170px;overflow:hidden}
.proj-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.proj-card:hover .proj-thumb img{transform:scale(1.06)}
.proj-body{padding:16px 18px 20px}
.proj-tag{font-size:11px;font-weight:700;color:var(--gold);text-transform:uppercase;letter-spacing:1px;margin-bottom:7px}
.proj-body h3{font-size:15px;font-weight:700;color:var(--navy);margin-bottom:4px}
.proj-meta{font-size:12.5px;color:var(--gray);margin-bottom:12px}
.proj-link{font-size:13px;font-weight:700;color:var(--navy);display:flex;align-items:center;gap:4px;transition:var(--ease)}
.proj-link:hover{color:var(--gold)}

/* PARTNERS STRIP — real brand image tiles */
#partners-sec{background:var(--bg)}
.partner-logos{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:36px;justify-content:center}
.partner-logo{background:#fff;border:1px solid var(--border);border-radius:8px;padding:12px 20px;transition:var(--ease);display:flex;align-items:center;justify-content:center;min-width:120px;height:70px}
.partner-logo:hover{border-color:var(--gold);box-shadow:var(--sh1);transform:translateY(-2px)}
.partner-logo img{max-height:36px;max-width:110px;width:auto;object-fit:contain;filter:grayscale(100%);opacity:0.65;transition:var(--ease)}
.partner-logo:hover img{filter:grayscale(0%);opacity:1}

/* TESTIMONIAL
#testimonial-sec{background:var(--navy)}
.test-inner{display:grid;grid-template-columns:auto 1fr;gap:32px;align-items:start;max-width:860px;margin:0 auto}
.test-quote{font-size:80px;font-weight:700;color:var(--gold);line-height:.8;font-family:Georgia,serif}
.test-text{font-size:17px;color:rgba(255,255,255,0.88);line-height:1.7;margin-bottom:20px;font-style:italic}
.test-author{display:flex;align-items:center;gap:14px}
.test-stars{color:var(--gold);font-size:16px;letter-spacing:2px;margin-bottom:6px}
.test-name{font-size:14px;font-weight:700;color:#fff}
.test-role{font-size:13px;color:rgba(255,255,255,0.5)} */
/* ── TESTIMONIAL CAROUSEL ── */
#testimonial-sec{background:var(--navy)}
.tcarousel-wrap{position:relative;padding:0 52px}
.tcarousel{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;padding:4px 0 16px;scrollbar-width:none}
.tcarousel::-webkit-scrollbar{display:none}
.tcard{flex:0 0 calc(33.333% - 14px);min-width:260px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);border-radius:14px;padding:28px 26px;scroll-snap-align:start;transition:border-color .25s,transform .25s;display:flex;flex-direction:column;gap:16px}
.tcard:hover{border-color:rgba(201,161,91,0.45);transform:translateY(-4px)}
.tcard-stars{color:var(--gold);font-size:15px;letter-spacing:3px}
.tcard-text{font-size:14.5px;color:rgba(255,255,255,0.82);line-height:1.75;font-style:italic;flex:1}
.tcard-text::before{content:'\201C';color:var(--gold);font-size:32px;font-family:Georgia,serif;line-height:0;vertical-align:-12px;margin-right:4px}
.tcard-author{display:flex;align-items:center;gap:12px;margin-top:auto}
.tcard-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,var(--gold),#a07830);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#fff;flex-shrink:0;letter-spacing:.5px}
.tcard-name{font-size:13.5px;font-weight:700;color:#fff}
.tcard-role{font-size:12px;color:rgba(255,255,255,0.5);margin-top:2px}
.tcar-btn{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.15);color:#fff;font-size:22px;cursor:pointer;transition:background .2s;display:flex;align-items:center;justify-content:center;z-index:2}
.tcar-btn:hover{background:var(--gold);border-color:var(--gold)}
.tcar-prev{left:0}.tcar-next{right:0}
.tcar-btn:disabled{opacity:0.25;cursor:default;pointer-events:none}
.tcar-dots{display:flex;justify-content:center;gap:8px;margin-top:20px}
.tcar-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,0.2);border:none;cursor:pointer;transition:background .2s,transform .2s;padding:0}
.tcar-dot.on{background:var(--gold);transform:scale(1.25)}
@media(max-width:900px){.tcard{flex:0 0 calc(50% - 10px)}.tcarousel-wrap{padding:0 44px}}
@media(max-width:600px){.tcard{flex:0 0 100%}.tcarousel-wrap{padding:0 36px}}

/* CTA BAND */
#cta-sec{background:var(--gold);padding:56px 0}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.cta-ico{width:60px;height:60px;background:rgba(255,255,255,0.2);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:26px;flex-shrink:0}
.cta-txt h2{font-size:clamp(22px,3vw,32px);font-weight:700;color:#fff;margin-bottom:6px}
.cta-txt p{font-size:15px;color:rgba(255,255,255,0.85)}
.btn-cta{background:#fff;color:var(--navy);border:none;padding:14px 32px;border-radius:6px;font-size:15px;font-weight:700;display:inline-flex;align-items:center;gap:8px;transition:var(--ease);white-space:nowrap}
.btn-cta:hover{background:var(--navy);color:#fff;transform:translateY(-2px)}

/* RESPONSIVE */
@media(max-width:1100px){.sol-grid{grid-template-columns:repeat(2,1fr)}.ind-grid{grid-template-columns:repeat(3,1fr)}.proj-strip{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.abt-grid{grid-template-columns:1fr;gap:40px}.why-grid{grid-template-columns:1fr;gap:36px}.why-cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.sol-grid{grid-template-columns:repeat(2,1fr)}.ind-grid{grid-template-columns:repeat(2,1fr)}.proj-strip{grid-template-columns:1fr}.strip-item{min-width:130px}.hero-inner .container{padding:0 20px}.stats-inner{flex-wrap:wrap}.stat-item{min-width:50%;border-bottom:1px solid var(--border)}.why-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.sol-grid{grid-template-columns:1fr}.partner-logos{gap:10px}.why-cards{grid-template-columns:1fr 1fr}}
