/* ==========================================================================
   Al Aman Equipment Rental LLC - shared styles
   ========================================================================== */

:root{ --gold:#D4AF37; --gold-lt:#F0D98C; --navy:#0B142B; }

body{ font-family:'Poppins','Inter',sans-serif; overflow-x:clip; }
h1,h2,h3,h4,h5,.head{ font-family:'Montserrat',sans-serif; font-weight:800; letter-spacing:-.015em; }
/* editorial serif used for the hero and the about lockup */
.display{ font-family:'Playfair Display',Georgia,serif; font-weight:800; letter-spacing:.005em; }
.script{ font-family:'Dancing Script',cursive; }

/* ---------- gold treatments ---------- */
.gold-text{
  background:linear-gradient(100deg,#8F6F1F 0%,#D4AF37 25%,#F7E7A8 45%,#D4AF37 65%,#B8912A 100%);
  background-size:200% auto;
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.gold-bg{ background:linear-gradient(100deg,#C9A233 0%,#E2C24D 20%,#F7E9B4 50%,#E2C24D 80%,#C9A233 100%); background-size:200% auto; }
.gold-bg:hover{ animation:shine 3s linear infinite; }
.gold-line{ background:linear-gradient(90deg,transparent,#D4AF37,#F3E1A0,#D4AF37,transparent); }

/* ---------- shapes ---------- */
/* the logo shelf: outline traced from the reference, running off the left edge */
/* The logo plate carries its own border, curve and shelf, so it simply hangs
   from the top-left of the bar. A spacer reserves room so the nav starts clear
   of the wordmark; the plate's empty sweep is allowed to run on underneath it. */
/* About copy: the dark wedge is painted by a pseudo-element BEHIND the text.
   Clipping the container itself cut the paragraph and badges off mid-word. */
.text-content{ position:relative; padding:20px; }
.text-content > *{ position:relative; z-index:1; }
.text-content::before{
  content:''; position:absolute; z-index:0;
  inset:0 -1.75rem;                       /* bleed to the section edges when stacked */
  background:linear-gradient(165deg, rgba(0,0,0,.94), rgba(0,0,0,.62));
}
@media (min-width:1024px){
  .text-content::before{
    inset:0;
    clip-path:polygon(0 0, 97% 0%, 74% 100%, 0% 100%);
    background:linear-gradient(165deg, #000, #00000003);
  }
}

/* Stats strip: the slanted, over-wide plate only works beside the photo.
   Stacked layouts get it back in flow at full width. */
.batch-design{
  position:relative; z-index:10;        /* the photo is absolute at z-0 and would cover it */
  width:100%; background:#000;
}
@media (min-width:1024px){
  /* sits across the base of the photo, slanted on its left edge, leaving the
     copy column and the UAE badge clear beside it */
  .batch-design{
    position:absolute; bottom:0; right:0; width:68%;
    clip-path:polygon(9% 0%, 100% 0%, 100% 100%, 0 100%, 0 100%);
  }
}
   .header-plate{
     display:block; width:auto; height:68px;
     filter:drop-shadow(0 12px 22px rgba(4,8,18,.28));
     transition:transform .3s ease;
    }
    .group:hover > .header-plate{ transform:translateY(1px) scale(1.01); }
    .header-plate-space{ width:187px; }
    .header-plate-link{ position:absolute; left:0rem; top:0; z-index:2; line-height:0; }
    @media (min-width:640px){
      .header-plate-link{ position:absolute; left:-4rem; top:0; z-index:2; line-height:0; }
      .header-plate{ height:84px; }
  .header-plate-space{ width:231px; }

}
@media (min-width:1024px){
  .header-plate{ height:104px; }
  .header-plate-space{ width:286px; }
}
/* the plate grows only where the nav has room to sit beside it */
@media (min-width:1440px){
  .header-plate{ height:120px; }
  .header-plate-space{ width:330px; }
}
@media (min-width:1536px){
  .header-plate{ height:120px; }
  .header-plate-space{ width:280px; }
}

.curve-bottom{ border-bottom-left-radius:50% 54px; border-bottom-right-radius:50% 42px; }

/* the slider's curved foot, also traced, with its shadow cast up onto the photo */
.slider-foot{ position:absolute; left:0; right:0; bottom:-1px; height:116px; display:block; pointer-events:none; }
.slider-foot .foot-face{ fill:#fff; }
.dark .slider-foot .foot-face{ fill:#070E20; }
.pattern-gold{ background-image:repeating-linear-gradient(115deg, rgba(212,175,55,.12) 0 1px, transparent 1px 12px); }

/* warm, frosted header bar - white through the middle, cream at both edges */
.headbar{
  background:linear-gradient(90deg, rgba(246,240,226,.97) 0%, rgba(254,253,251,.95) 12%, rgba(255,255,255,.94) 50%, rgba(253,252,249,.95) 88%, rgba(245,239,229,.97) 100%);
}
.dark .headbar{
  background:linear-gradient(90deg, rgba(9,16,36,.97) 0%, rgba(11,20,43,.94) 50%, rgba(9,16,36,.97) 100%);
}

/* ---------- extracted assets design integration ---------- */
/* The gold ribbon is a standalone divider, not a section fill: it straddles the
   seam so its cream underside lands on the white section and the gold rides the
   join. The negative margin pulls the next section up under it. */
.slider-bottom-curve-wrap {
  position: relative;
  width: 100%;
  pointer-events: none;
  z-index: 20;
  line-height: 0;
  margin-top: -1px;
  margin-bottom: -46px;
}
.slider-bottom-curve-wrap img {
  width: 100%;
  height: 84px;
  object-fit: fill;
  display: block;
}
@media (min-width: 640px) {
  .slider-bottom-curve-wrap { margin-bottom: -58px; }
  .slider-bottom-curve-wrap img { height: 106px; }
}
@media (min-width: 1024px) {
  .slider-bottom-curve-wrap { margin-bottom: -72px; }
  .slider-bottom-curve-wrap img { height: 132px; }
}
.categories-about-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  z-index: 20;
  overflow: hidden;
}
.categories-about-divider img {
  width: 100%;
  height: 56px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
@media (min-width: 640px) {
  .categories-about-divider img { height: 90px; }
}
@media (min-width: 1024px) {
  .categories-about-divider img { height: 120px; }
}
.industries-bg {
  background: linear-gradient(rgb(12 11 11 / 19%), rgba(255, 255, 255, 0.8)), url(../img/extracted/industries_we_serve_bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.projects-bg {
  background: linear-gradient(rgb(12 11 11 / 19%), rgba(255, 255, 255, 0.8)), url('../img/extracted/our_projects_bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#trusted-by-industry-leaders{
  background: url('../img/extracted/trusted-by_leaders_top_bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.image img {
    height: 340px;
    width: 100%;
}
.image {
    position: absolute;
    right: -43px;
    width: 60%;
}
/* the plate carries its own gold frame and rounded corners, so it is stretched
   to the card's exact box and the card adds no border or radius of its own */
.cta-card-extracted1 {
  padding-top: 40px;
    padding-left: 80px;
}
.cta-card-extracted {
  background: url('../img/extracted/testimonials_left_bg.webp');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.footer-extracted-bg {
  background-color: #030B14;
  background-image: url('../img/extracted/footer.webp');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
/* the plate's gold line work runs bright across the footer's base, so the
   bottom bar gets its own scrim to keep the small print legible */
.footer-bottom-scrim { position: relative; }
.footer-bottom-scrim::before {
  content: ''; position: absolute; inset: -0.5rem -100vw -0.5rem -100vw;
  background: linear-gradient(180deg, rgba(3,11,20,0) 0%, rgba(3,11,20,.82) 30%, rgba(3,11,20,.88) 100%);
  pointer-events: none;
}
.footer-bottom-scrim > * { position: relative; }

/* ---------- horizontal rails ---------- */
.rail{ --rail-gap:1rem; display:flex; gap:var(--rail-gap); min-width:0; max-width:100%; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; -ms-overflow-style:none; scrollbar-width:none; padding-bottom:.5rem; }
.rail::-webkit-scrollbar{ display:none; }
.rail > *{ scroll-snap-align:start; flex:0 0 auto; }

/* one testimonial fills the rail at every width */
.rail.rail-1 > *{ width:100%; }

/* On wide screens the rails show exactly the number of cards in the design:
   8 categories, 6 advantages, 4 equipment cards, 4 projects. */
@media (min-width:1280px){
  .rail.rail-8 > *{ width:calc((100% - 7 * var(--rail-gap)) / 8); }
  .rail.rail-6 > *{ width:calc((100% - 5 * var(--rail-gap)) / 6); }
  .rail.rail-4 > *{ width:calc((100% - 3 * var(--rail-gap)) / 4); }
}

/* client logo strip: a continuously drifting slider with a duplicated track
   so the loop is seamless; the arrows step it and hovering pauses the drift */
.logo-slider{
  min-width:0; overflow-x:auto; -ms-overflow-style:none; scrollbar-width:none;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
}
.logo-slider::-webkit-scrollbar{ display:none; }
.logo-slider-track{ display:flex; align-items:center; gap:2.5rem; width:max-content; padding:.5rem 0; }
@media (min-width:640px){ .logo-slider-track{ gap:4rem; } }
.logo-slider-track > *{ flex:0 0 auto; }

/* hero arrows sit on the section's left and right edges, vertically centred */
.hero-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:20;
}
#heroPrev.hero-arrow{ left:1rem; }
#heroNext.hero-arrow{ right:1rem; }
@media (min-width:1536px){
  #heroPrev.hero-arrow{ left:2rem; }
  #heroNext.hero-arrow{ right:2rem; }
}
@media (max-width:640px){
  /* the skyline sits behind the CTA copy, not over it */
  .image {
    position: absolute;
    right: 0px;
    width: 119%;
    bottom: 40px;
    z-index: 0;
}
.image::after{
    content:''; position:absolute; inset:0; border-radius:inherit;
    background:linear-gradient(105deg, rgba(4,8,16,.93) 0%, rgba(4,8,16,.78) 48%, rgba(4,8,16,.5) 100%);
}
.cta-card-extracted1 {
    padding-top: 2px;
    padding-left: 5px;
}
.image img {
    height: 404px;
    width: 100%;
}
}

/* hero slide indicators */
.hero-dot{
  width:9px; height:9px; border-radius:9999px; border:1px solid rgba(212,175,55,.75);
  background:transparent; transition:.3s; cursor:pointer; padding:0;
}
.hero-dot:hover{ background:rgba(212,175,55,.5); }
.hero-dot[aria-current="true"]{ width:26px; background:#D4AF37; border-color:#D4AF37; }

.arrow-btn{ width:2.25rem; height:2.25rem; display:grid; place-items:center; border-radius:9999px; border:1px solid rgba(212,175,55,.55); transition:.25s; }
.arrow-btn:hover{ background:var(--gold); color:#0B142B; border-color:var(--gold); }

/* ---------- motion ---------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

.slide{ opacity:0; transition:opacity 1.1s ease; }
.slide.active{ opacity:1; }
.slide img{ transform:scale(1); transition:transform 8s linear; }
/* .slide.active img{ transform:scale(1.09); } */

/* ---------- client logo strip ---------- */
.client-logo{ opacity:.92; transition:.3s; }
.client-logo:hover{ opacity:1; transform:scale(1.06); }
.dark .client-logo{ mix-blend-mode:normal; background:#fff; padding:.3rem .55rem; border-radius:.4rem; opacity:.85; }
.dark .client-logo:hover{ opacity:1; }

/* ---------- product shots sit on light tiles in both themes ---------- */
.shot{ mix-blend-mode:multiply; }
.dark .shot{ mix-blend-mode:normal; }

/* ---------- accordion ---------- */
.acc-body{ max-height:0; overflow:hidden; transition:max-height .45s cubic-bezier(.4,0,.2,1); }
.acc-item.open .acc-body{ max-height:420px; }
.acc-item.open .acc-icon{ transform:rotate(45deg); background:var(--gold); color:#0B142B; }
.acc-icon{ transition:.3s; }

/* ---------- header dropdown ---------- */
.has-drop > .drop{ opacity:0; visibility:hidden; transform:translateY(10px); transition:.25s; }
.has-drop:hover > .drop, .has-drop:focus-within > .drop{ opacity:1; visibility:visible; transform:translateY(0); }

/* ---------- misc ---------- */
.no-scroll{ overflow:hidden; }
.step-line::after{
  content:''; position:absolute; top:2.25rem; left:calc(50% + 2.75rem); right:calc(-50% + 2.75rem); height:2px;
  background:repeating-linear-gradient(90deg, rgba(212,175,55,.6) 0 8px, transparent 8px 16px);
}
@media (max-width:1023px){ .step-line::after{ display:none; } }

/* ---------- reference-matched details ---------- */

/* soft gold halo sitting just above the hero's curved edge */
.curve-glow{ background:linear-gradient(180deg, rgba(212,175,55,0), rgba(240,208,120,.55)); }

/* hero script line sits dark on the bright sky, with a soft halo */
.hero-script{ text-shadow:0 2px 18px rgba(255,255,255,.55), 0 1px 3px rgba(255,255,255,.7); }

/* the about panel is near-black in the reference, not navy */
.panel-ink{ background:#070D15; }
.panel-ink-soft{ background:linear-gradient(105deg,#05080f 0%,#080e18 45%,#0a121e 100%); }

/* gold lattice down the left edge of the about panel */
.lattice-gold{
  background-image:
    repeating-linear-gradient(115deg, rgba(212,175,55,.62) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(65deg, rgba(212,175,55,.42) 0 1px, transparent 1px 7px);
  -webkit-mask-image:linear-gradient(90deg,#000 15%,transparent);
  mask-image:linear-gradient(90deg,#000 15%,transparent);
}

/* the same lattice, riding the gold seam on the diagonal */
.seam-lattice{
  background-image:repeating-linear-gradient(115deg, rgba(90,66,10,.5) 0 1px, transparent 1px 6px);
}

/* the gold seam running down the diagonal between copy and photo */
.about-seam{ background:linear-gradient(180deg,#8F6F1F 0%,#E2C24D 25%,#F7E9B4 50%,#D4AF37 75%,#B8912A 100%); }

/* About: the dark copy panel is a clip-path wedge over the photo. The angle is
   traced from the design - 44.7% across at the top, 35.6% at the base - and the
   seam layer sits behind it, ~0.7% wider, so only its gold edge shows. */
.about-panel{ background:linear-gradient(105deg,#05080f 0%,#080e18 45%,#0a121e 100%); }
.about-seam-clip{
  background:linear-gradient(180deg,#8F6F1F 0%,#E2C24D 22%,#F7E9B4 48%,#D4AF37 74%,#B8912A 100%);
  filter:drop-shadow(2px 0 10px rgba(212,175,55,.35));
}
/* stacked layouts have no wedge, so the copy gets a flat scrim instead */
.about-scrim{
  background:linear-gradient(180deg, rgba(5,8,15,.94) 0%, rgba(8,14,24,.88) 45%, rgba(10,18,30,.94) 100%);
}
@media (min-width:1024px){
  .about-panel{ clip-path:polygon(0 0, 44.7% 0, 35.6% 100%, 0 100%); }
  .about-seam-clip{ clip-path:polygon(0 0, 45.05% 0, 35.95% 100%, 0 100%); }
}

/* small gold ring used around the about-section trust marks */
.gold-ring{
  width:1.5rem; height:1.5rem; display:grid; place-items:center; border-radius:9999px;
  border:1px solid rgba(212,175,55,.7); color:#D4AF37; font-size:.62rem; flex:0 0 auto;
}

/* soft gold disc used behind the advantage icons */
.gold-soft{
  background:radial-gradient(120% 120% at 30% 25%, #FBF0CC 0%, #EBD388 45%, #D9B948 100%);
  box-shadow:0 6px 16px -10px rgba(212,175,55,.9);
}

/* full gold frame around the CTA panel, heaviest down the left and bottom */
.cta-gold-edge{ border-radius:30px; padding:5px; background:linear-gradient(145deg,#8F6F1F 0%,#D4AF37 18%,#F7E9B4 42%,#D4AF37 62%,#B8912A 85%,#F0D98C 100%); }
.cta-gold-edge > *{ border-radius:25px; }

/* one wide testimonial, quoted top-left and closed bottom-right */
/* keeps CTA copy readable where the plate's skyline runs bright */
.cta-legible{ text-shadow:0 1px 5px rgba(3,8,18,.95), 0 0 16px rgba(3,8,18,.85); }

.testi-card{ position:relative; }
.testi-card::after{
  content:'”'; position:absolute; right:1.1rem; bottom:.1rem;
  font-family:'Playfair Display',Georgia,serif; font-size:3.2rem; line-height:1;
  color:rgba(212,175,55,.2); pointer-events:none;
}
.testi-nav{ color:#5b6478; font-size:1.6rem; line-height:1; transition:.25s; }
.testi-nav:hover{ color:#D4AF37; }
.dark .testi-nav{ color:#8d97ac; }

/* ---------- long-form article body ---------- */
.post{ font-size:15px; line-height:1.85; color:#3d4558; }
.dark .post{ color:#c3ccdd; }
.post .lead{ font-size:17px; line-height:1.8; color:#1d2739; font-weight:500; }
.dark .post .lead{ color:#e6ecf7; }
.post h2{
  font-family:'Montserrat',sans-serif; font-weight:800; font-size:26px; line-height:1.25;
  margin:2.2rem 0 .85rem; color:#0B142B; position:relative; padding-left:1rem;
}
.dark .post h2{ color:#fff; }
.post h2::before{
  content:''; position:absolute; left:0; top:.28em; bottom:.28em; width:4px; border-radius:2px;
  background:linear-gradient(180deg,#F3E1A0,#D4AF37);
}
.post p{ margin:0 0 1.05rem; }
.post ul, .post ol{ margin:0 0 1.2rem 0; padding-left:1.25rem; }
.post ul{ list-style:none; padding-left:0; }
.post ul li{ position:relative; padding-left:1.6rem; margin-bottom:.55rem; }
.post ul li::before{
  content:'\f00c'; font-family:'Font Awesome 6 Free'; font-weight:900; font-size:.72em;
  position:absolute; left:0; top:.35em; color:#D4AF37;
}
.post ol{ list-style:decimal; }
.post ol li{ margin-bottom:.55rem; padding-left:.35rem; }
.post ol li::marker{ color:#D4AF37; font-weight:700; }
.post blockquote{
  margin:1.6rem 0; padding:1.1rem 1.3rem; border-left:4px solid #D4AF37; border-radius:0 .9rem .9rem 0;
  background:rgba(212,175,55,.09); font-weight:600; color:#1d2739;
}
.dark .post blockquote{ color:#f0f4fb; background:rgba(212,175,55,.12); }
.post .spec-table{ overflow-x:auto; margin:1.5rem 0; }
.post table{ width:100%; min-width:520px; border-collapse:collapse; font-size:13.5px; }
.post thead th{
  font-family:'Montserrat',sans-serif; font-weight:700; text-align:left; font-size:12px;
  text-transform:uppercase; letter-spacing:.04em; padding:.7rem .8rem; background:rgba(212,175,55,.16);
}
.post tbody td{ padding:.7rem .8rem; border-top:1px solid rgba(11,20,43,.09); }
.dark .post tbody td{ border-top-color:rgba(255,255,255,.1); }
.post tbody tr:nth-child(even){ background:rgba(11,20,43,.025); }
.dark .post tbody tr:nth-child(even){ background:rgba(255,255,255,.03); }

/* ---------- mobile menu submenus ---------- */
.msub{ max-height:0; overflow:hidden; transition:max-height .35s cubic-bezier(.4,0,.2,1); }
.msub-item.msub-open .msub{ max-height:360px; }
.msub-toggle i{ transition:transform .3s ease; }
.msub-item.msub-open .msub-toggle i{ transform:rotate(180deg); }
.msub-toggle{ cursor:pointer; -webkit-tap-highlight-color:transparent; }
