/* =============================================
   BESTMARK EA — DESIGN SYSTEM
   Palette: Navy #060D1F | Crimson #C40000 | Warm White #F9F7F4
   Display: Syne | Body: Inter
   Signature: diagonal red slash accent
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ── */
:root{
  --red:     #C40000;
  --red-dk:  #9B0000;
  --red-lt:  rgba(196,0,0,.1);
  --navy:    #060D1F;
  --navy-md: #0D1A35;
  --navy-lt: #1A2A4A;
  --cream:   #F9F7F4;
  --white:   #FFFFFF;
  --slate:   #667085;
  --border:  rgba(6,13,31,.08);
  --shadow-sm:  0 2px 12px rgba(6,13,31,.06);
  --shadow-md:  0 8px 32px rgba(6,13,31,.10);
  --shadow-lg:  0 20px 60px rgba(6,13,31,.14);
  --radius:  16px;
  --radius-lg: 28px;
  --speed:   .35s;
}

/* ── RESET ── */
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family:'Inter',sans-serif;
  background:var(--cream);
  color:var(--navy);
  overflow-x:hidden;
  line-height:1.7;
}
img{ width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }

/* ── CONTAINER ── */
.container{
  width:90%;
  max-width:1280px;
  margin:auto;
}

/* ── SECTION SPACING ── */
.section{ padding:110px 0; }

/* ── TYPOGRAPHY ── */
h2,h3,h4,h5{
  font-family:'Syne',sans-serif;
  line-height:1.15;
  color:var(--navy);
}

/* ── SLASH ACCENT (signature motif) ── */
.slash-accent{
  display:inline-block;
  position:relative;
}
.slash-accent::before{
  content:'';
  position:absolute;
  left:-14px; top:50%;
  transform:translateY(-50%) rotate(-15deg);
  width:6px; height:130%;
  background:var(--red);
  border-radius:4px;
}

/* ── SECTION LABEL ── */
.label{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  font-weight:700;
  letter-spacing:2.5px;
  text-transform:uppercase;
  color:var(--red);
  margin-bottom:18px;
}
.label::before{
  content:'';
  display:block;
  width:28px; height:3px;
  background:var(--red);
  border-radius:3px;
}

/* ── BUTTONS ── */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:15px 32px;
  border-radius:50px;
  font-family:'Inter',sans-serif;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  border:none;
  transition:var(--speed) ease;
  text-decoration:none;
}
.btn-primary{
  background:var(--red);
  color:#fff;
  box-shadow:0 12px 30px rgba(196,0,0,.28);
}
.btn-primary:hover{
  background:var(--red-dk);
  transform:translateY(-3px);
  box-shadow:0 18px 40px rgba(196,0,0,.35);
}
.btn-ghost{
  background:rgba(255,255,255,.12);
  color:#fff;
  border:1.5px solid rgba(255,255,255,.3);
  backdrop-filter:blur(8px);
}
.btn-ghost:hover{
  background:#fff;
  color:var(--navy);
  border-color:#fff;
  transform:translateY(-3px);
}
.btn-dark{
  background:var(--navy);
  color:#fff;
}
.btn-dark:hover{
  background:var(--red);
  transform:translateY(-3px);
}
.btn i{ transition:transform var(--speed); }
.btn:hover i{ transform:translateX(4px); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOP BAR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.topbar{
  background:var(--navy);
  color:rgba(255,255,255,.75);
  padding:11px 0;
  font-size:13px;
}
.topbar-content{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.top-item{
  display:flex;
  align-items:center;
  gap:8px;
}
.top-item i{
  color:var(--red);
  font-size:12px;
}
.top-item strong{
  color:#fff;
  font-weight:600;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER / NAV
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  transition:box-shadow var(--speed);
}
.header.scrolled{
  box-shadow:var(--shadow-md);
}
.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 0;
}

/* LOGO */
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.logo img{
  height:58px;
  width:auto;
  object-fit:contain;
}
.logo-text{
  font-family:'Syne',sans-serif;
  font-size:26px;
  font-weight:800;
  color:var(--navy);
  letter-spacing:-0.5px;
}
.logo-text span{ color:var(--red); }

/* NAV LINKS */
.nav-links{
  display:flex;
  align-items:center;
  gap:36px;
}
.nav-links a{
  font-size:14px;
  font-weight:600;
  color:var(--navy);
  position:relative;
  padding-bottom:4px;
  transition:color var(--speed);
}
.nav-links a::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background:var(--red);
  border-radius:2px;
  transition:width var(--speed);
}
.nav-links a:hover,
.nav-links a.active{ color:var(--red); }
.nav-links a:hover::after,
.nav-links a.active::after{ width:100%; }

/* HAMBURGER */
.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  padding:4px;
  border:none;
  background:none;
}
.menu-toggle span{
  display:block;
  width:26px; height:2.5px;
  background:var(--navy);
  border-radius:2px;
  transition:var(--speed);
}
.menu-toggle.open span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity:0; }
.menu-toggle.open span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

/* HERO */
.hero{
  position:relative;
  width:100%;
  height:90vh;
  overflow:hidden;
}

/* SLIDE */
.hero-slide{
  position:absolute;
  width:100%;
  height:100%;
  opacity:0;
  transition:opacity 1.5s ease-in-out;
}

/* ACTIVE */
.hero-slide.active{
  opacity:1;
  z-index:2;
}

/* IMAGE */
.hero-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* DARK OVERLAY */
.hero-overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.45);

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;

  text-align:center;
  color:#fff;

  padding:20px;
}

/* SMALL TITLE */
.hero-overlay h4{
  font-size:24px;
  margin-bottom:20px;
  letter-spacing:1px;
}

/* MAIN TITLE */
.hero-overlay h1{
  font-size:70px;
  max-width:900px;
  line-height:1.1;
  margin-bottom:25px;
}

.hero-overlay h1 span{
    color:#ff4d4d;

    position:relative;
}

.hero-content h1 span::after{
    content:'';

    position:absolute;

    left:0;
    bottom:-8px;

    width:100%;
    height:4px;

    background:#ff4d4d;

    border-radius:10px;
}

/* TEXT */
.hero-overlay p{
  font-size:20px;
  max-width:800px;
  margin-bottom:35px;
  line-height:1.7;
}

/* BUTTON */
.hero-btn{
  background:#c21818;
  color:#fff;
  padding:15px 35px;
  text-decoration:none;
  border-radius:5px;
  font-weight:bold;
  transition:0.3s;
}

.hero-btn:hover{
  background:#fff;
  color:#c21818;
}

/* MOBILE */
@media(max-width:768px){

  .hero{
    height:80vh;
  }

  

  .hero-overlay h4{
    font-size:18px;
  }

  .hero-overlay p{
    font-size:16px;
  }

}

/* INTRO SECTION */
.intro{
  padding:90px 0;
  background:#f7f7f7;
}

/* CENTERED CONTAINER STYLE */
.intro-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;

  /* 🔥 THIS IS THE KEY FIX */
  max-width:1100px;
  margin:auto;
  padding:0 20px;
}

/* TEXT */
.intro-text{
  text-align:left;
}

/* HEADINGS */
.intro-text h2{
  font-size:36px;
  color:#b60909;
  margin-bottom:10px;
}

.intro-text h3{
  font-size:26px;
  margin-bottom:20px;
}

/* PARAGRAPH */
.intro-text p{
  color:#444;
  line-height:1.9;
  font-size:16px;
}

/* IMAGE */
.intro-image img{
  width:100%;
  border-radius:15px;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
  transition:0.4s;
}

/* HOVER */
.intro-image img:hover{
  transform:scale(1.03);
}

/* MOBILE */
@media(max-width:768px){
  .intro-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .intro-text{
    text-align:center;
  }
}

/* WHY US */
.why-us{
  padding:70px 0;
  background:#e7d6d6;
}

/* GRID */
.why-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
}

/* CARD */
.why-card{
  background:#fff;
  padding:25px 18px;
  border-radius:12px;
  text-align:center;
  box-shadow:0 4px 15px rgba(0,0,0,0.08);
  transition:0.3s;
}

/* HOVER */
.why-card:hover{
  transform:translateY(-5px);
}
/* SECTION TITLE */
.section-title{
  text-align:center;
  margin-bottom:50px;
}

.section-title h4{
  color:#c21818;
  font-size:20px;
  margin-bottom:10px;
}

.section-title h2{
  font-size:42px;
  color:#050505;
  margin-bottom:15px;
}

.section-title p{
  max-width:700px;
  margin:auto;
  color:#666;
  line-height:1.8;
  font-size:16px;
}

/* ICON */
.why-icon{
  width:60px;
  height:60px;
  background:#c21818;
  border-radius:50%;

  display:flex;
  justify-content:center;
  align-items:center;

  margin:auto;
  margin-bottom:18px;
}

/* ICON STYLE */
.why-icon i{
  color:#fff;
  font-size:24px;
}

/* NUMBERS */
.why-card h2{
  font-size:38px;
  color:#c21818;
  margin-bottom:8px;
}

/* TITLE */
.why-card h3{
  font-size:18px;
  margin-bottom:12px;
  color:#0a1f44;
}

/* TEXT */
.why-card p{
  font-size:14px;
  line-height:1.6;
  color:#666;
}

/* TABLET */
@media(max-width:992px){

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

}

/* MOBILE */
@media(max-width:576px){

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

}


/* =========================
BRANDS SECTION
========================= */

.brands-home{
background:var(--navy);
padding:120px 0;
position:relative;
overflow:hidden;
}

.brands-home::after{
content:'';
position:absolute;
width:600px;
height:600px;
background:var(--red);
opacity:.08;
filter:blur(180px);
bottom:-250px;
left:-250px;
border-radius:50%;
}

.brands-home .container{
position:relative;
z-index:2;
}

/* =========================
SECTION HEADER
========================= */

.brands-home .section-header{
text-align:center;
margin-bottom:70px;
}

.brands-home .section-header .label{
color:rgba(255,255,255,.75);
}

.brands-home .section-header .label::before{
background:var(--red);
}

.brands-home .section-header h2{
color:#fff;
font-size:52px;
margin-bottom:20px;
}

.brands-home .section-header p{
max-width:700px;
margin:auto;
color:rgba(255,255,255,.75);
line-height:1.8;
}

/* =========================
GRID
========================= */

.brands-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

/* =========================
FLIP CARD
========================= */

.brand-flip-card{
height:320px;
perspective:1200px;
}

.brand-flip-inner{
position:relative;
width:100%;
height:100%;
transform-style:preserve-3d;
transition:transform .7s ease;
}

.brand-flip-card:hover .brand-flip-inner{
transform:rotateY(180deg);
}

/* =========================
FRONT & BACK
========================= */

.brand-front,
.brand-back{
position:absolute;
inset:0;
border-radius:28px;
backface-visibility:hidden;
-webkit-backface-visibility:hidden;
}

/* =========================
FRONT
========================= */

.brand-front{
background:#ffffff;
display:flex;
justify-content:center;
align-items:center;
padding:40px;
box-shadow:0 15px 40px rgba(0,0,0,.15);
}

/* LOGO */

.brand-front img{
width:auto;
max-width:200px;
max-height:120px;
object-fit:contain;

/* Keep original logo colors */
filter:none;

opacity:1;

}

/* =========================
BACK
========================= */

.brand-back{
background:linear-gradient(
135deg,
var(--red-dk),
var(--red)
);

color:#fff;

display:flex;
flex-direction:column;
justify-content:center;
align-items:center;

padding:35px;
text-align:center;

transform:rotateY(180deg);

}

.brand-back h3{
color:#fff;
font-size:26px;
margin-bottom:15px;
}

.brand-back p{
color:rgba(255,255,255,.9);
font-size:15px;
line-height:1.8;
}

/* =========================
HOVER EFFECT
========================= */

.brand-flip-card:hover{
transform:translateY(-6px);
}

/* =========================
BUTTON
========================= */

.brands-btn{
text-align:center;
margin-top:60px;
}

.brands-btn .btn{
display:inline-flex;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:992px){


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


}

@media(max-width:768px){


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

.brands-home .section-header h2{
    font-size:38px;
}

.brand-flip-card{
    height:300px;
}


}


/* =========================
CLIENTS SECTION
========================= */

.clients-section{
    position:relative;
    padding:120px 0;
    background:
    linear-gradient(to bottom,#ffffff,#f5f7fb);
    overflow:hidden;
}

.clients-section::before{
    content:'';
    position:absolute;
    width:420px;
    height:420px;
    background:#c40000;
    border-radius:50%;
    filter:blur(140px);
    opacity:.08;
    top:-180px;
    right:-100px;
}

.clients-title{
    text-align:center;
    margin-bottom:70px;
}

.clients-title span{
    display:inline-block;
    color:#c40000;
    font-size:14px;
    font-weight:800;
    letter-spacing:2px;
    margin-bottom:18px;
}

.clients-title h2{
    font-size:52px;
    line-height:1.2;
    font-weight:800;
    color:#111827;
    margin-bottom:18px;
}

.clients-title h2 u{
    text-decoration-color:#c40000;
    text-decoration-thickness:4px;
}

.clients-title p{
    max-width:700px;
    margin:auto;
    color:#667085;
    font-size:18px;
    line-height:1.8;
}

/* =========================
SLIDER WRAPPER
========================= */

.clients-slider-wrapper{
    position:relative;
    display:flex;
    align-items:center;
    gap:25px;
}

/* =========================
TRACK
========================= */

.clients-track{
    display:flex;
    gap:28px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding:15px 5px;
    scrollbar-width:none;
}

.clients-track::-webkit-scrollbar{
    display:none;
}

/* =========================
CLIENT CARD
========================= */

.client-card{
    min-width:240px;
    height:150px;
    background:rgba(255,255,255,.75);
    border:1px solid rgba(255,255,255,.4);
    backdrop-filter:blur(16px);
    border-radius:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px;
    transition:.45s ease;
    box-shadow:0 15px 35px rgba(0,0,0,.06);
    position:relative;
    overflow:hidden;
}

.client-card::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        135deg,
        rgba(196,0,0,.08),
        transparent
    );
    opacity:0;
    transition:.4s;
}

.client-card:hover::before{
    opacity:1;
}

.client-card:hover{
    transform:translateY(-10px) scale(1.03);
    box-shadow:0 25px 50px rgba(0,0,0,.12);
}

.client-card img{
    max-width:150px;
    max-height:80px;
    object-fit:contain;
    filter:grayscale(100%);
    opacity:.75;
    transition:.45s ease;
}

.client-card:hover img{
    filter:grayscale(0%);
    opacity:1;
    transform:scale(1.05);
}

/* =========================
ARROWS
========================= */

.slider-btn{
    width:58px;
    height:58px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#111827;
    font-size:18px;
    cursor:pointer;
    transition:.4s;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    flex-shrink:0;
}

.slider-btn:hover{
    background:#c40000;
    color:#fff;
    transform:translateY(-3px);
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:768px){

    .clients-title h2{
        font-size:38px;
    }

    .client-card{
        min-width:190px;
        height:130px;
    }

    .slider-btn{
        display:none;
    }

}

/* CTA */
.cta{
  background:#0a1f44;
  color:#fff;
  text-align:center;
  padding:70px 20px;
}

/* =========================
FOOTER
========================= */

.footer{
    background:#09111f;
    color:#fff;
    padding-top:90px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:50px;
}

.footer-logo{
    font-size:34px;
    font-weight:800;
    margin-bottom:18px;
}

.footer-logo span{
    color:#ff3d3d;
}

.footer-about{
    color:#c4c8cf;
    max-width:380px;
}

.footer h4{
    margin-bottom:22px;
    font-size:20px;
    position:relative;
    display:inline-block;
}

.footer h4::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-8px;
    width:45px;
    height:3px;
    background:#c40000;
    border-radius:20px;
}

.footer-links a{
    display:block;
    margin-bottom:14px;
    color:#c4c8cf;
    transition:.3s;
    text-decoration:none;
}

.footer-links a:hover{
    color:#fff;
    transform:translateX(5px);
}

.footer p{
    color:#c4c8cf;
    margin-bottom:12px;
}

.footer-bottom{
    margin-top:70px;
    border-top:1px solid rgba(255,255,255,.08);
    padding:25px 0;
    text-align:center;
    color:#9ca3af;
}
.footer-social{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.footer-social a{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#ffffff15;
    color:#fff;
    text-decoration:none;
    font-size:18px;
    transition:all .3s ease;
}

.footer-social a:hover{
    background:#ffffff;
    color:#0d2c54; /* change to your brand color */
    transform:translateY(-3px);
}


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

  .feature-grid,
  .stats-grid,
  .service-grid,
  .brand-grid,
  .footer-grid{
    grid-template-columns:1fr 1fr;
  }

}

@media(max-width:768px){

  .nav-links{
    display:none;
  }

  .menu-toggle{
    display:block;
  }

  .hero-overlay h1{
    font-size:40px;
  }

  .feature-grid,
  .stats-grid,
  .service-grid,
  .brand-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  /* PAGE BANNER */
.page-banner{
  background:#0a1f44;
  color:#fff;
  text-align:center;
  padding:120px 20px;
}

.page-banner h1{
  font-size:55px;
  margin-bottom:15px;
}

/* SERVICES PAGE */
.services-page{
  padding:90px 0;
}

/* GRID */
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

/* BOX */
.service-box{
  background:#fff;
  padding:40px 30px;
  border-radius:15px;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
  transition:0.3s;
}

/* HOVER */
.service-box:hover{
  transform:translateY(-10px);
}

/* ICON */
.service-box i{
  font-size:45px;
  color:#c21818;
  margin-bottom:20px;
}

/* TITLE */
.service-box h2{
  margin-bottom:18px;
  color:#0a1f44;
}

/* TEXT */
.service-box p{
  color:#666;
  line-height:1.8;
  margin-bottom:20px;
}

/* LIST */
.service-box ul{
  padding-left:20px;
}

.service-box ul li{
  margin-bottom:10px;
  color:#444;
}

}
