@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* =========================================
   Workline Solution – Master Stylesheet
   ========================================= */

/* ---------- 1. BRAND TOKENS ---------- */
:root{
  --primary:#0B2D5C;
  --primary-dark:#071C3A;
  --accent:#F57C00;

  --bg:#F6F8FC;
  --white:#ffffff;
  --text:#0F172A;
  --muted:#64748B;
  --border: rgba(11,45,92,0.12);

  --radius:14px;
  --shadow: 0 12px 24px -8px rgba(11,45,92,0.12),
            0 6px 14px -10px rgba(0,0,0,0.14);
  --shadow-hover: 0 22px 36px -12px rgba(11,45,92,0.22),
                  0 10px 18px -10px rgba(0,0,0,0.18);

  --container:1200px;
  --section:92px;
}

/* ---------- 2. RESET + BASE ---------- */
*{ margin:0; padding:0; box-sizing:border-box; }

html, body{ height:100%; }

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.6;
  overflow-x:hidden;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

img{ max-width:100%; height:auto; display:block; }
a{ text-decoration:none; color:inherit; transition:.25s ease; }
ul{ list-style:none; }

h1,h2,h3,h4{
  color:var(--primary);
  font-weight:900;
  line-height:1.15;
  letter-spacing:-0.4px;
}

p{ color:var(--muted); }

/* ---------- 3. UTILITIES ---------- */
.container{
  width:92%;
  max-width:var(--container);
  margin:0 auto;
}

.section-padding{ padding:var(--section) 0; }
.text-center{ text-align:center; }
.text-white{ color:var(--white)!important; }

/* ---------- 4. BUTTONS ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 28px;
  border-radius:12px;
  font-weight:800;
  border:2px solid transparent;
  cursor:pointer;
  transition:all .25s ease;
}

.btn-accent{
  background:var(--accent);
  color:#111827;
}

.btn-accent:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(245,124,0,0.35);
}

.btn-outline-white{
  background:transparent;
  color:var(--white);
  border-color:rgba(255,255,255,.6);
}

.btn-outline-white:hover{
  background:rgba(255,255,255,.12);
}

.btn-outline-primary{
  background:transparent;
  border-color:rgba(11,45,92,0.25);
  color:var(--primary);
}

.btn-outline-primary:hover{
  background:rgba(11,45,92,0.06);
}

/* ---------- 5. NAVBAR ---------- */
.navbar{
  position:fixed;
  top:0; left:0;
  width:100%;
  z-index:1000;
  background:rgba(11,45,92,.92);
  backdrop-filter:blur(10px);
  box-shadow:0 10px 22px rgba(2,12,27,.14);
}

.nav-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.brand-lockup{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo-container{
  width:48px;
  height:48px;
  padding:6px;
  background:var(--white);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.logo-container img{
  width:100%;
  height:100%;
  object-fit:contain;
}

/* Brand text */
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.company-name{
  color:var(--white);
  font-size:1.35rem;
  font-weight:900;
}

/* ===== PREMIUM TAGLINE (UPDATED) ===== */
.tagline{
  font-size:0.78rem;
  font-weight:800;
  letter-spacing:0.3px;
  color:rgba(255,255,255,0.92);
  margin-top:3px;

  opacity:0;
  transform:scale(0.96);
  animation:taglineReveal .8s ease-out forwards;
  animation-delay:.35s;
}

/* Highlight only “right ✔” */
.highlight-right{
  color:var(--accent);
  font-weight:900;
}

.tick-mark{
  margin-left:4px;
  font-weight:900;
  color:var(--accent);
  text-shadow:
    0 0 6px rgba(245,124,0,0.55),
    0 0 12px rgba(245,124,0,0.25);
}

@keyframes taglineReveal{
  from{ opacity:0; transform:scale(0.96); }
  to{ opacity:1; transform:scale(1); }
}

/* Nav menu */
.nav-menu{
  display:flex;
  gap:24px;
}

.nav-link{
  color:rgba(255,255,255,.82);
  font-weight:800;
}

.nav-link.active{
  color:var(--accent);
}

.nav-cta-mobile{ display:none; }

/* ---------- 6. HERO ---------- */
.hero{
  margin-top:78px;
  height:88vh;
  min-height:680px;
  display:flex;
  align-items:center;
  background:url("../assets/1.png") center/cover no-repeat;
  position:relative;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(7,28,58,.78),rgba(11,45,92,.68));
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:860px;
}

.hero h1{
  color:#fff;
  font-size:3.8rem;
  margin-bottom:18px;
}

.hero-lead{
  color:rgba(255,255,255,.88);
  font-size:1.18rem;
  margin-bottom:34px;
}

/* ---------- 7. CARDS ---------- */
.grid-3{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:26px;
}

.feature-card,
.service-card{
  background:var(--white);
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  transition:.35s ease;
}

.feature-card:hover,
.service-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-hover);
}

.feature-card{
  padding:34px 28px;
}

.icon-box{
  width:62px;
  height:62px;
  border-radius:14px;
  background:rgba(245,124,0,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
}

/* ---------- 8. FOOTER ---------- */
footer{
  background:var(--primary-dark);
  color:rgba(255,255,255,.7);
  text-align:center;
  padding:26px 0;
  margin-top:auto;
}

/* ---------- 9. WHATSAPP ---------- */
.whatsapp-float{
  position:fixed;
  width:56px;
  height:56px;
  bottom:24px;
  right:24px;
  background:#25D366;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 24px rgba(0,0,0,.28);
  z-index:2000;
}

/* ---------- 10. RESPONSIVE ---------- */
@media (max-width:992px){
  .nav-menu{ display:none; }
  .nav-cta-mobile{ display:inline-flex; }
  .hero h1{ font-size:3rem; }
}

@media (max-width:768px){
  .tagline{ display:none; }
  .hero{ padding:110px 0 70px; height:auto; }
  .hero h1{ font-size:2.35rem; }
  .grid-3{ grid-template-columns:1fr; }
}

/* =========================================================
   INDUSTRIES PAGE – MODERN CLIENT LOGO RAIL (MOBILE FRIENDLY)
   (Compatible with your current base theme)
   ========================================================= */

.wl-hero-lite{
  background: linear-gradient(180deg, rgba(245,124,0,0.06), rgba(246,248,252,0));
}

.wl-badge{
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 12px;
}

/* --- Logo Rail Container --- */
.wl-logo-rail{
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 0;
}

/* Soft fade edges */
.wl-logo-rail::before,
.wl-logo-rail::after{
  content:"";
  position:absolute;
  top:0;
  width:70px;
  height:100%;
  z-index:2;
  pointer-events:none;
}

.wl-logo-rail::before{
  left:0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}

.wl-logo-rail::after{
  right:0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}

/* Moving track */
.wl-logo-track{
  display:flex;
  gap:18px;
  align-items:center;
  width:max-content;
  animation: wlMarquee 22s linear infinite;
}

/* Pause on hover (desktop) */
.wl-logo-rail:hover .wl-logo-track{
  animation-play-state: paused;
}

/* Each logo tile */
.wl-logo-item{
  width: 170px;
  height: 72px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px;

  /* Important: NOT grayscale by default (mobile has no hover) */
  filter: none;
  opacity: 1;

  box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.wl-logo-item img{
  max-height: 44px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Optional hover lift (only on devices that support hover) */
@media (hover:hover){
  .wl-logo-item:hover{
    transform: translateY(-2px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.10);
  }
}

/* Animation */
@keyframes wlMarquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* Mobile speed + sizing */
@media (max-width:768px){
  .wl-logo-item{
    width: 150px;
    height: 66px;
  }
  .wl-logo-track{
    animation-duration: 16s;
  }
}

/* ✅ Map your WhatsApp class names together (important)
   You already have .whatsapp-float in CSS
   Industries uses .wl-whatsapp in HTML
   So this ensures BOTH work */
.wl-whatsapp{
  position:fixed;
  width:56px;
  height:56px;
  bottom:24px;
  right:24px;
  background:#25D366;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 24px rgba(0,0,0,.28);
  z-index:2000;
  color:#fff;
  font-size:28px;
}
.wl-whatsapp:hover{ transform: translateY(-2px); color:#fff; }
/* Keep navbar height consistent across all pages */
.navbar { height: 76px; }
.nav-container { height: 76px; }

.nav-container{
  padding: 0 !important;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* ===== Mobile Menu (Workline) ===== */
.wl-menu-toggle{ display:none; }

.wl-mobile-menu{
  display:none;
  position: fixed;
  top: 76px; /* must match navbar height */
  left: 0;
  right: 0;
  background: rgba(11,45,92,.98);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,.12);
}

.wl-mobile-menu a{
  display:block;
  padding: 12px 10px;
  border-radius: 10px;
  color: rgba(255,255,255,.92);
  font-weight: 800;
}

.wl-mobile-menu a:hover{
  background: rgba(255,255,255,.10);
  color: #fff;
}

.wl-mobile-cta{
  margin-top: 8px;
  background: var(--accent);
  color:#111827 !important;
  text-align:center;
}

@media (max-width:992px){
  .nav-cta-mobile{ display:inline-flex; }
  .nav-menu{ display:none; }
  #wlMenuToggle:checked ~ .wl-mobile-menu{ display:block; }
}

/* ===== Modern Service Cards ===== */
.service-card{
  overflow:hidden;
}

.service-card .service-img{
  height: 210px;
  width: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}

.service-card:hover .service-img{
  transform: scale(1.06);
}

.service-card .service-body{
  padding: 22px 20px;
}

.service-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(245,124,0,.12);
  border: 1px solid rgba(245,124,0,.25);
  font-weight: 800;
  color: var(--primary);
  font-size: .82rem;
}

.service-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
}

.service-meta span{
  font-size: .82rem;
  font-weight: 800;
  color: var(--muted);
  background: rgba(11,45,92,.06);
  border: 1px solid rgba(11,45,92,.10);
  padding: 6px 10px;
  border-radius: 999px;
}
/* =========================================================
   HOME PAGE – MODERN SERVICES CARDS (DROP-IN)
   Works with your existing grid-3 + service-card base
   ========================================================= */

.wl-service-card{
  overflow:hidden;
  position:relative;
}

.wl-service-media{
  position:relative;
}

.wl-service-img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
  transition: transform .35s ease, filter .35s ease;
  border-bottom: 3px solid var(--accent);
}

/* subtle top overlay for premium feel */
.wl-service-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.00) 40%, rgba(0,0,0,.12) 100%);
  pointer-events:none;
}

.wl-service-pill{
  position:absolute;
  left:14px;
  bottom:14px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(11,45,92,.12);
  font-weight:900;
  font-size:.82rem;
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.wl-service-body{
  padding: 22px 20px 20px;
}

.wl-service-body h3{
  margin-bottom:10px;
  font-size:1.25rem;
}

.wl-service-body p{
  margin-bottom:14px;
}

/* Feature chips */
.wl-service-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom: 16px;
}

.wl-service-meta span{
  font-size:.80rem;
  font-weight:900;
  color: var(--muted);
  background: rgba(11,45,92,.06);
  border: 1px solid rgba(11,45,92,.10);
  padding: 6px 10px;
  border-radius:999px;
}

/* Modern link */
.wl-service-link{
  font-weight: 900;
  letter-spacing: .2px;
}

/* Hover polish */
.wl-service-card:hover .wl-service-img{
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.08);
}

.wl-service-card:hover{
  border-color: rgba(245,124,0,.35);
}

/* Mobile */
@media (max-width:768px){
  .wl-service-img{ height: 200px; }
}

/* ===== Bootstrap navbar collision fix (for pages that load Bootstrap) ===== */
header.navbar{
  display: block !important;       /* Bootstrap sets flex; we don't want it */
  padding: 0 !important;           /* Bootstrap adds padding */
  flex-wrap: nowrap !important;
}

header.navbar .nav-container{
  padding: 14px 0 !important;      /* restore your intended spacing */
  align-items: center !important;
}

header.navbar .brand-lockup{
  align-items: center !important;
}

header.navbar .logo-container img{
  display:block;
}


/* ===== Navbar link vertical alignment consistency (esp. on Bootstrap pages) ===== */
.nav-menu{
  align-items: center;
}

.nav-link{
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding: 10px 0;   /* keeps same baseline everywhere */
}

/* ===== Industries: client list rows ===== */
.wl-client-row{
  border:1px solid rgba(11,45,92,0.10);
  border-radius:14px;
  padding:12px 14px;
  background:#fff;
  box-shadow: 0 .35rem 1rem rgba(0,0,0,.04);
}
.wl-client-group h6{
  letter-spacing: .2px;
}


