/* ==========================================================================
   EP Business Theme — front-end design system
   Palette: vibrant blue + deep navy + fresh green
   Type: Poppins (headings) / Inter (body)
   ========================================================================== */

:root{
  --navy:        #0A1F44;
  --navy-soft:   #0F2A5C;
  --blue:        #1565FF;
  --blue-dark:   #0D47C4;
  --blue-tint:   #E8F1FF;
  --green:       #16C784;
  --green-dark:  #0EA46A;
  --green-tint:  #E4FBF1;
  --ink:         #0A1F44;
  --ink-soft:    #4B5875;
  --ink-faint:   #8B96AC;
  --bg:          #F5F8FC;
  --bg-alt:      #EFF4FA;
  --card:        #FFFFFF;
  --line:        #E1E9F4;
  --white:       #FFFFFF;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(10,31,68,.06);
  --shadow-md: 0 14px 34px rgba(10,31,68,.12);
  --shadow-lg: 0 26px 60px rgba(10,31,68,.18);
  --maxw: 1240px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,h5{
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--navy);
}
p{ margin: 0 0 1em; color: var(--ink-soft); }

:focus-visible{ outline: 3px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section{ padding: 88px 0; }
.section--tight{ padding: 56px 0; }
.section--alt{ background: var(--bg-alt); }
.section--navy{ background: linear-gradient(135deg, var(--navy-soft), var(--navy)); color: #fff; }
.section--navy p{ color: #C6D2EA; }
.section--navy h2, .section--navy h3{ color: #fff; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px; font-family:'Inter',sans-serif; font-weight:700;
  font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--blue);
  background: var(--blue-tint); padding:6px 14px 6px 10px; border-radius:99px; margin-bottom:16px;
}
.eyebrow::before{ content:''; width:7px; height:7px; border-radius:50%; background:var(--green); }
.section--navy .eyebrow{ background: rgba(255,255,255,.1); color: var(--green); }

.section-head{ max-width:640px; margin:0 0 44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(28px,3.4vw,40px); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px; font-family:'Poppins',sans-serif;
  font-weight:600; font-size:15px; padding:14px 28px; border-radius:99px; border:2px solid transparent;
  cursor:pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; white-space:nowrap;
}
.btn-primary{ background:var(--blue); color:#fff; box-shadow:0 10px 24px rgba(21,101,255,.32); }
.btn-primary:hover{ background:var(--blue-dark); transform:translateY(-2px); }
.btn-green{ background:var(--green); color:#06301F; box-shadow:0 10px 24px rgba(22,199,132,.32); }
.btn-green:hover{ background:var(--green-dark); color:#fff; transform:translateY(-2px); }
.btn-ghost{ background:transparent; color:var(--navy); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--blue); color:var(--blue); transform:translateY(-2px); }
.section--navy .btn-ghost{ color:#fff; border-color:rgba(255,255,255,.3); }
.section--navy .btn-ghost:hover{ border-color:var(--green); color:var(--green); }
.btn-sm{ padding:10px 18px; font-size:13.5px; }

/* ---------- top utility bar (optional) ---------- */
.topbar{ background:var(--navy); color:#C6D2EA; font-size:13px; }
.topbar .container{ display:flex; justify-content:space-between; align-items:center; padding-top:8px; padding-bottom:8px; }
.topbar a{ color:#C6D2EA; }
.topbar a:hover{ color:#fff; }

/* ---------- header: logo | search | call us ---------- */
.site-header{ background:#fff; border-bottom:1px solid var(--line); }
.header-row{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:20px 0; }
.header-logo img{ height:42px; width:auto; }
.header-search{ flex:1; max-width:480px; margin:0 32px; }
.header-search form{ display:flex; align-items:center; background:var(--bg-alt); border:1px solid var(--line); border-radius:99px; padding:6px 6px 6px 20px; }
.header-search input{ flex:1; border:none; background:none; outline:none; font-size:14.5px; color:var(--ink); }
.header-search input::placeholder{ color:var(--ink-faint); }
.header-search button{ display:flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; background:var(--blue); border:none; color:#fff; cursor:pointer; flex-shrink:0; }
.header-search button:hover{ background:var(--blue-dark); }
.header-search svg{ width:18px; height:18px; }

.header-call{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.header-call .icon-badge{ width:46px; height:46px; border-radius:50%; background:var(--green-tint); color:var(--green-dark); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.header-call .icon-badge svg{ width:22px; height:22px; }
.header-call .call-text span{ display:block; font-size:12px; color:var(--ink-faint); }
.header-call .call-text strong{ font-family:'Poppins',sans-serif; font-size:17px; color:var(--navy); }
.header-call a:hover strong{ color:var(--blue); }

/* ---------- primary nav bar: centered, hover colors ---------- */
.nav-bar{ background:var(--navy); }
.nav-row{ display:flex; align-items:center; justify-content:center; position:relative; }
.primary-nav{ display:flex; align-items:center; gap:4px; }
.primary-nav li a{
  display:block; padding:18px 26px; font-family:'Poppins',sans-serif; font-weight:600; font-size:15px; color:#fff;
  position:relative; transition: color .2s ease;
}
.primary-nav li a::after{
  content:''; position:absolute; left:26px; right:26px; bottom:10px; height:3px; border-radius:3px;
  background: linear-gradient(90deg, var(--blue), var(--green)); transform:scaleX(0); transition: transform .22s ease;
}
.primary-nav li a:hover{ color: var(--green); }
.primary-nav li.current-menu-item a{ color: var(--green); }
.primary-nav li a:hover::after, .primary-nav li.current-menu-item a::after{ transform:scaleX(1); }
.nav-toggle{ display:none; background:none; border:none; color:#fff; padding:16px; cursor:pointer; }
.nav-toggle span{ display:block; width:24px; height:2px; background:#fff; margin:5px 0; }

@media (max-width: 860px){
  .header-search{ display:none; }
  .primary-nav{ position:fixed; inset:0 0 0 auto; width:280px; background:var(--navy); flex-direction:column; align-items:stretch;
    transform:translateX(100%); transition:transform .25s ease; padding:80px 20px 20px; z-index:200; gap:0; }
  .primary-nav.open{ transform:translateX(0); }
  .primary-nav li a{ padding:16px 10px; border-bottom:1px solid rgba(255,255,255,.08); }
  .nav-toggle{ display:block; }
}

/* ---------- hero slider ---------- */
.hero-slider{ position:relative; overflow:hidden; }
.hero-slide{ position:relative; display:none; }
.hero-slide.active{ display:block; }
.hero-slide img{ width:100%; height:min(72vh,640px); object-fit:cover; }
.hero-slide-caption{ position:absolute; inset:0; display:flex; align-items:center; }
.hero-slide-caption .container{ color:#fff; }
.hero-arrows{ position:absolute; top:50%; left:0; right:0; display:flex; justify-content:space-between; transform:translateY(-50%); padding:0 24px; z-index:5; }
.hero-arrow{ width:48px; height:48px; border-radius:50%; background:rgba(255,255,255,.15); backdrop-filter:blur(4px); border:1.5px solid rgba(255,255,255,.4); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; transition: background .2s ease; }
.hero-arrow:hover{ background:var(--blue); border-color:var(--blue); }
.hero-arrow svg{ width:20px; height:20px; }
.hero-dots{ position:absolute; bottom:26px; left:0; right:0; display:flex; justify-content:center; gap:10px; z-index:5; }
.hero-dot{ width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.4); border:none; cursor:pointer; transition: background .2s ease, transform .2s ease; }
.hero-dot.active{ background:var(--green); transform:scale(1.25); }

/* ---------- breadcrumb ---------- */
.breadcrumb-bar{ background:var(--bg-alt); border-bottom:1px solid var(--line); }
.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--ink-faint); padding:14px 0; }
.breadcrumb a{ color:var(--blue); }
.breadcrumb a:hover{ text-decoration:underline; }
.breadcrumb .sep{ opacity:.5; }
.breadcrumb .current{ color:var(--ink); font-weight:600; }

/* ---------- intro split ---------- */
.intro-split{ display:grid; grid-template-columns:1.1fr .9fr; gap:64px; align-items:center; }
@media (max-width:900px){ .intro-split{ grid-template-columns:1fr; } }
.intro-split .check-list li{ display:flex; gap:12px; margin-bottom:14px; font-size:15px; align-items:flex-start; }
.intro-split .tick{ flex-shrink:0; width:24px; height:24px; border-radius:50%; background:var(--green); color:#06301F; display:flex; align-items:center; justify-content:center; font-size:12px; margin-top:2px; }
.intro-media{ position:relative; }
.intro-media img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); }
.intro-media::before{ content:''; position:absolute; inset:-16px -16px auto auto; width:120px; height:120px; border:8px solid var(--blue-tint); border-radius:50%; z-index:-1; }

/* ---------- carousel (products / services): 4 columns with scroll arrows ---------- */
.carousel-head{ display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:36px; gap:20px; flex-wrap:wrap; }
.carousel-arrows{ display:flex; gap:10px; flex-shrink:0; }
.carousel-arrow{ width:44px; height:44px; border-radius:50%; border:2px solid var(--line); background:#fff; color:var(--navy); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all .2s ease; }
.carousel-arrow:hover{ background:var(--blue); border-color:var(--blue); color:#fff; }
.carousel-arrow svg{ width:18px; height:18px; }
.carousel-track{ display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding-bottom:8px; -ms-overflow-style:none; scrollbar-width:none; }
.carousel-track::-webkit-scrollbar{ display:none; }
.carousel-card{ scroll-snap-align:start; flex:0 0 calc(25% - 18px); min-width:240px; background:var(--card); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; transition: transform .2s ease, box-shadow .2s ease; }
.carousel-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
@media (max-width:1100px){ .carousel-card{ flex-basis: calc(50% - 12px); } }
@media (max-width:620px){ .carousel-card{ flex-basis: 82%; } }
.carousel-media{ aspect-ratio:4/3; overflow:hidden; }
.carousel-media img{ width:100%; height:100%; object-fit:cover; transition: transform .3s ease; }
.carousel-card:hover .carousel-media img{ transform:scale(1.06); }
.carousel-body{ padding:22px; }
.carousel-body .kicker{ font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--green-dark); font-weight:700; margin-bottom:6px; }
.carousel-body h3{ font-size:18px; margin-bottom:8px; }
.carousel-body p{ font-size:14px; margin-bottom:14px; }
.carousel-body .card-link{ font-size:13.5px; font-weight:700; color:var(--blue); display:inline-flex; align-items:center; gap:6px; }
.carousel-body .card-link::after{ content:'\2192'; transition: transform .15s ease; }
.carousel-card:hover .card-link::after{ transform:translateX(4px); }

/* ---------- projects grid: plain 4 columns ---------- */
.projects-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
@media (max-width:1100px){ .projects-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .projects-grid{ grid-template-columns:1fr; } }
.project-card{ position:relative; border-radius:var(--radius-md); overflow:hidden; aspect-ratio:4/5; box-shadow:var(--shadow-sm); }
.project-card img{ width:100%; height:100%; object-fit:cover; transition: transform .35s ease; }
.project-card:hover img{ transform:scale(1.08); }
.project-overlay{ position:absolute; inset:0; background:linear-gradient(0deg, rgba(10,31,68,.92) 0%, rgba(10,31,68,.15) 55%, rgba(10,31,68,0) 100%); display:flex; flex-direction:column; justify-content:flex-end; padding:22px; }
.project-overlay .kicker{ font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:var(--green); font-weight:700; margin-bottom:6px; }
.project-overlay h3{ color:#fff; font-size:17px; margin:0; }

/* ---------- two-column CTA ---------- */
.cta-two{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
@media (max-width:860px){ .cta-two{ grid-template-columns:1fr; } }
.cta-card{ position:relative; border-radius:var(--radius-lg); overflow:hidden; min-height:280px; display:flex; align-items:flex-end; padding:36px; color:#fff; }
.cta-card img.bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.cta-card::before{ content:''; position:absolute; inset:0; background:rgba(10,31,68,.35); z-index:1; }
.cta-card-content{ position:relative; z-index:2; }
.cta-card h3{ color:#fff; font-size:26px; max-width:320px; }
.cta-card p{ color:#E4EAF6; max-width:340px; }

/* ---------- single CTA banner ---------- */
.cta-banner{ position:relative; border-radius:var(--radius-lg); overflow:hidden; padding:70px 50px; text-align:center; }
.cta-banner img.bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.cta-banner::before{ content:''; position:absolute; inset:0; background:rgba(10,31,68,.55); z-index:1; }
.cta-banner-content{ position:relative; z-index:2; }
.cta-banner h2{ color:#fff; font-size:clamp(26px,3.2vw,36px); max-width:640px; margin:0 auto .5em; }
.cta-banner p{ color:#E4EAF6; max-width:520px; margin:0 auto 28px; }

/* ---------- partners marquee ---------- */
.partners-wrap{ overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.partners-track{ display:flex; gap:70px; width:max-content; align-items:center; animation:scroll-left 30s linear infinite; }
.partners-track img{ height:26px; width:auto; opacity:.6; filter:grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.partners-track img:hover{ opacity:1; filter:grayscale(0); }
@keyframes scroll-left{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- footer ---------- */
.site-footer{ background:var(--navy); color:#C6D2EA; padding-top:60px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:44px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h5{ color:#fff; font-size:13.5px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:18px; }
.footer-grid li{ margin-bottom:11px; font-size:14px; }
.footer-grid a:hover{ color:var(--green); }
.footer-logo{ display:inline-block; margin-bottom:16px; }
.footer-about p{ font-size:14px; max-width:300px; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition: background .15s ease; }
.footer-social a:hover{ background:var(--blue); }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); padding:20px 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; font-size:13px; color:#8FA0C4; }

/* ---------- misc ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }
.check-list{ margin: 20px 0; }
