/* ==========================================================================
   Girish Enterprise — Stylesheet
   Palette: Red #f90000 | Blue #000c7d | Black #000000 | White #fff | Gray #f8f9fa
   Headings: Poppins | Body: Inter
   ========================================================================== */

:root{
  --red: #f90000;
  --blue: #000c7d;
  --black: #000000;
  --white: #ffffff;
  --gray-light: #f8f9fa;
  --gray-mid: #6b7280;
  --gray-border: #e5e7eb;

  --gradient-main: linear-gradient(135deg, var(--red) 0%, var(--blue) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(249,0,0,0.08) 0%, rgba(0,12,125,0.08) 100%);

  --shadow-sm: 0 4px 14px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 32px rgba(0,12,125,0.12);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.14);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: 'Inter', sans-serif;
  color: #1f2430;
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6{
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

a{ text-decoration: none; color: inherit; }
img{ max-width: 100%; display:block; }

/* Cosmetic typography: align paragraph text evenly on both edges. */
p{
  text-align: justify !important;
  text-justify: inter-word;
  text-align-last: left !important;
  hyphens: auto;
  overflow-wrap: break-word;
}

::selection{ background: var(--red); color:#fff; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 10px 0;
}
.skip-link:focus{ left: 0; top: 0; }

.text-gradient{
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 16px;
  color:#000c7d ;
}

.eyebrow1{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(249,0,0,0.07);
  border: 1px solid rgba(249,0,0,0.15);
  border-radius: 50px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.section-title{
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-lead{
  color: black;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 50px;
}

.section-lead-center {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}
.section{
  padding: 96px 0;
  position: relative;
}

.section1{
  padding: 60px 0;
  position: relative;
}

.section-head{ margin-bottom: 56px; }

/* ==========================================================================
   LOADER
   ========================================================================== */
#loader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
#loader.loaded{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-mark{ position: relative; width: 120px; height: 120px; display:flex; align-items:center; justify-content:center; }
.loader-g{
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--white);
  z-index: 2;
}
.loader-ring{
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.loader-ring circle{
  fill: none;
  stroke: var(--red);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  animation: loaderSpin 1.1s var(--ease) infinite;
}
@keyframes loaderSpin{
  0%{ stroke-dashoffset: 326.7; transform: rotate(-90deg); }
  50%{ stroke-dashoffset: 60; }
  100%{ stroke-dashoffset: 326.7; transform: rotate(270deg); }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
#mainNav{
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  z-index: 1050;
}
#mainNav.scrolled{
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,0.92);
}
.navbar-brand{
  display: flex;
  align-items: center;
  padding: 0;
}
.client-logo-full{ height: 130px; width: auto; }
.brand-logo-full{ height: 40px; width: auto; }
.brand-logo-full1{ height: 80px; width: auto; }
.brand-logo-icon{ display: none; height: 36px; width: auto; }
.navbar-nav .nav-link{
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: #262c3d;
  position: relative;
  padding: 8px 4px;
  margin: 0 8px;
}
.navbar-nav .nav-link::after{
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gradient-main);
  transition: width 0.3s var(--ease);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus-visible::after{ width: 100%; }
.navbar-nav .nav-link:hover{ color: var(--red); }

.toggler-bar{
  display:block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  margin: 5px 0;
  transition: all 0.3s var(--ease);
}
.navbar-toggler{ border: none; padding: 4px; }
.navbar-toggler:focus{ box-shadow: none; }

.btn-cta{
  background: var(--gradient-main);
  color: #fff !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 26px;
  border-radius: 10px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 8px 20px rgba(249,0,0,0.25);
}
.btn-cta:hover, .btn-cta:focus-visible{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(249,0,0,0.35);
  color: #fff;
}
/* Ripple */
.btn-cta .ripple, .btn-outline-hero .ripple{
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  background: rgba(255,255,255,0.55);
  pointer-events: none;
}
@keyframes rippleAnim{
  to{ transform: scale(3); opacity: 0; }
}

.btn-outline-hero{
  border: 2px solid var(--blue);
  color: var(--blue);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 26px;
  border-radius: 10px;
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.btn-outline-hero:hover, .btn-outline-hero:focus-visible{
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 82% 8%, rgba(0,12,125,0.05), transparent 60%),
    var(--white);
}
/* Subtle product-style dot grid, faded toward the edges */
.hero::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,12,125,0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 60% 30%, #000 40%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 60% 30%, #000 40%, transparent 78%);
  z-index: 0;
}
#particles{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}
.hero-glow{
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  opacity: 0.16;
}
.hero-glow-1{
  width: 420px; height: 420px;
  background: var(--red);
  top: -140px; right: -120px;
}
.hero-glow-2{
  width: 380px; height: 380px;
  background: var(--blue);
  bottom: -160px; left: -140px;
}
.hero-inner{ position: relative; z-index: 1; padding: 60px 0; }

.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  border-radius: 50px;
  padding: 7px 16px 7px 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  color: #33394a;
  margin-bottom: 22px;
}
.hero-badge .dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
}

.hero-title{
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.14;
  margin-bottom: 20px;
}
.hero-sub{
  font-size: 1.1rem;
  color: var(--gray-mid);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }

.hero-stats .stat-num{
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--blue);
  line-height: 1;
}
.hero-stats .stat-label{
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin-top: 4px;
}

/* -------------------- Dashboard mockup (hero signature element) -------------------- */
.dash-wrap{ position: relative; max-width: 480px; margin: 0 auto; }

.dash-card{
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.dash-wrap:hover .dash-card{ transform: perspective(1400px) rotateY(-2deg) rotateX(0.5deg); }

.dash-titlebar{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-border);
  background: var(--gray-light);
}
.dash-dots{ display: flex; gap: 6px; }
.dash-dots span{ width: 9px; height: 9px; border-radius: 50%; background: #d7dae0; }
.dash-dots span:first-child{ background: #f90000; opacity: 0.55; }
.dash-tab{
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--gray-mid);
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 5px 12px;
}
.dash-tab i{ color: var(--red); font-size: 0.75rem; }

.dash-body{ padding: 22px; display: flex; flex-direction: column; gap: 16px; }

.dash-kpis{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-kpi{
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 12px 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.dash-kpi-label{ font-size: 0.68rem; color: var(--gray-mid); font-family: 'Poppins',sans-serif; }
.dash-kpi-value{ font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--black); }
.dash-kpi-delta{ font-size: 0.7rem; font-weight: 600; display: flex; align-items: center; gap: 3px; }
.dash-kpi-delta.up{ color: #16a34a; }
.dash-kpi-delta.down{ color: #16a34a; }

.dash-chart-panel{
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 14px 16px 6px;
}
.dash-chart-head{
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 8px;
  color: #33394a;
}
.dash-chart-range{ font-weight: 400; color: var(--gray-mid); font-size: 0.7rem; }
.dash-chart-svg{ width: 100%; height: 90px; display: block; }
.dash-line{
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  animation: drawLine 1.8s var(--ease) forwards 0.5s;
}
@keyframes drawLine{ to{ stroke-dashoffset: 0; } }
.dash-area{ opacity: 0; animation: fadeIn 1s ease forwards 1.4s; }
@keyframes fadeIn{ to{ opacity: 1; } }
.dash-line-end{ animation: pulseDot 1.8s ease-in-out infinite 1.6s; }
@keyframes pulseDot{
  0%,100%{ r: 5; opacity: 1; }
  50%{ r: 8; opacity: 0.5; }
}

.dash-row{ display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.dash-mini-panel{
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 12px 14px;
}
.dash-mini-head{
  display: flex; align-items: center; gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.74rem;
  color: #33394a;
  margin-bottom: 10px;
}
.dash-mini-head i{ color: var(--red); }
.dash-bars{ display: flex; align-items: flex-end; gap: 5px; height: 46px; }
.dash-bars span{
  flex: 1;
  height: var(--h);
  background: var(--gradient-main);
  border-radius: 4px 4px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  animation: barGrow 0.8s var(--ease) forwards;
}
.dash-bars span:nth-child(1){ animation-delay: 0.5s; }
.dash-bars span:nth-child(2){ animation-delay: 0.6s; }
.dash-bars span:nth-child(3){ animation-delay: 0.7s; }
.dash-bars span:nth-child(4){ animation-delay: 0.8s; }
.dash-bars span:nth-child(5){ animation-delay: 0.9s; }
.dash-bars span:nth-child(6){ animation-delay: 1.0s; }
@keyframes barGrow{ to{ transform: scaleY(1); } }

.dash-ring{ position: relative; display: flex; align-items: center; justify-content: center; height: 46px; }
.dash-ring svg{ width: 56px; height: 56px; transform: rotate(-90deg); }
.ring-track{ fill: none; stroke: var(--gray-border); stroke-width: 7; }
.ring-progress{
  fill: none;
  stroke: var(--red);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 201;
  stroke-dashoffset: 201;
  animation: ringFill 1.4s var(--ease) forwards 0.6s;
}
@keyframes ringFill{ to{ stroke-dashoffset: 28; } }
.dash-ring-value{
  position: absolute;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--black);
}

.dash-float-chip{
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-md);
  padding: 10px 16px;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--blue);
  animation: floatY 5s ease-in-out infinite;
}
.dash-float-chip i{ color: #16a34a; font-size: 0.75rem; }
.dash-float-chip.chip-2 i{ color: var(--red); }
.dash-float-chip.chip-1{ top: -18px; left: -24px; animation-delay: 0s; }
.dash-float-chip.chip-2{ bottom: -18px; right: -20px; animation-delay: 1s; }

@keyframes floatY{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}
.float-slow{ animation: floatY 6s ease-in-out infinite; }
.float-med{ animation: floatY 4.5s ease-in-out infinite; }
.float-fast{ animation: floatY 3.2s ease-in-out infinite; }

.scroll-cue{
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--blue);
  border-radius: 20px;
  z-index: 1;
  opacity: 0.6;
}
.scroll-cue span{
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  background: var(--red);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: scrollCue 1.6s ease-in-out infinite;
}
@keyframes scrollCue{
  0%{ opacity: 1; top: 6px; }
  100%{ opacity: 0; top: 20px; }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-section{
  position: relative;
  overflow: hidden;
  padding: 88px 0 84px;
  background:
    radial-gradient(circle at 9% 18%, rgba(0,12,125,0.045) 0 2px, transparent 2.5px) 0 0 / 13px 13px,
    linear-gradient(135deg, #f8f9ff 0%, #cacfff 100%);
}
.about-section::before{
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  top: -330px;
  right: -220px;
  border-radius: 50%;
  background: rgba(0,12,125,0.045);
  pointer-events: none;
}
.about-section::after{
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  bottom: -250px;
  left: -190px;
  border-radius: 50%;
  background: rgba(249,0,0,0.03);
  pointer-events: none;
}
.about-container{
  position: relative;
  z-index: 1;
}
.about-hero-row{
  --bs-gutter-x: 4rem;
}

.about-media{
  position: relative;
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
}
.about-photo{
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(0,12,125,0.08);
  box-shadow: 0 24px 55px rgba(0,12,125,0.15);
}
.about-photo-primary{
  height: 530px;
}
.about-photo-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease);
}
.about-photo:hover .about-photo-img{
  transform: scale(1.025);
}

.about-badge{
  position: absolute;
  right: -16px;
  bottom: -12px;
  min-width: 150px;
  padding: 17px 18px 16px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(249,0,0,0.22);
  border-top: 3px solid var(--red);
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(0,12,125,0.16);
  text-align: center;
}
.about-badge-num{
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}
.about-badge-label{
  display: block;
  max-width: 112px;
  margin: 0 auto;
  color: #202637;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.about-copy{
  max-width: 740px;
}
.about-eyebrow{
  padding: 0;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.98rem;
  font-weight: 700;
}
.about-title{
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
}
.about-title-accent{
  display: block;
  width: 52px;
  height: 3px;
  margin: 0 0 22px;
  border-radius: 20px;
  background: var(--red);
}
.about-intro{
  max-width: 720px;
}
.about-intro p{
  margin: 0 0 15px;
  color: #30364a;
  font-size: 0.96rem;
  line-height: 1.76;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
}
.about-intro p:last-child{
  margin-bottom: 0;
}

.about-card-row{
  margin-top: 52px;
}
.about-card{
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  height: 100%;
  min-height: 238px;
  padding: 30px 30px 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,12,125,0.09);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(0,12,125,0.09);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.about-card:hover{
  transform: translateY(-4px);
  border-color: rgba(0,12,125,0.16);
  box-shadow: 0 20px 44px rgba(0,12,125,0.13);
}
.about-card-icon{
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffe9ed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(249,0,0,0.06);
}
.about-card-body{
  min-width: 0;
}
.about-card h3{
  margin: 1px 0 8px;
  font-size: 1.2rem;
}
.about-card-accent{
  display: block;
  width: 38px;
  height: 2px;
  margin-bottom: 12px;
  border-radius: 20px;
  background: var(--red);
}
.about-card p{
  margin: 0;
  color: #4e566a;
  font-size: 0.92rem;
  line-height: 1.72;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
}

.about-timeline{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 54px;
  padding-top: 0;
}
.about-timeline::before{
  content: '';
  position: absolute;
  top: 8px;
  left: 2.5%;
  right: 2.5%;
  height: 1px;
  background: #c8d0eb;
}
.timeline-item{
  position: relative;
  min-width: 0;
  padding: 34px 24px 0 24px;
  border-left: 1px solid rgba(0,12,125,0.10);
}
.timeline-item:first-child{
  border-left: 0;
}
.timeline-dot{
  position: absolute;
  z-index: 2;
  top: 0;
  left: 22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid #ffd7dc;
  box-shadow: 0 0 0 1px rgba(249,0,0,0.18);
}
.timeline-content{
  min-height: 132px;
}
.timeline-year{
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.timeline-content p{
  margin: 0;
  color: #3f4658;
  font-size: 0.9rem;
  line-height: 1.62;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
}
.timeline-item-current .timeline-dot{
  background: var(--blue);
  border-color: #dbe1ff;
  box-shadow: 0 0 0 1px rgba(0,12,125,0.18);
}
.timeline-item-current .timeline-content{
  min-height: 132px;
  margin-top: -10px;
  padding: 10px 14px 14px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(0,12,125,0.11);
  border-radius: 10px;
}

/* ==========================================================================
   SERVICES / TAB GRID (2 rows x 5 columns on desktop)
   ========================================================================== */
.service-tabs{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.service-tab{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 22px 12px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.service-tab:hover{
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}
.service-tab.active{
  background: var(--gradient-main);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.service-tab-icon{
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gradient-soft);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  transition: all 0.3s var(--ease);
}
.service-tab.active .service-tab-icon{
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.service-tab-label{
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: #262c3d;
  line-height: 1.3;
  transition: color 0.3s var(--ease);
}
.service-tab.active .service-tab-label{ color: #fff; }

.service-panels{
  margin-top: 32px;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.service-panel{ display: none; }
.service-panel.active{
  display: block;
  animation: servicePanelIn 0.4s var(--ease);
}
@keyframes servicePanelIn{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}
.service-panel-head{ margin-bottom: 24px; }
.service-panel-head h3{ font-size: 1.3rem; margin-bottom: 6px; }
.service-panel-head p{ color: var(--gray-mid); margin: 0; font-size: 0.95rem; }

.mini-service{
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  height: 100%;
}
.mini-service:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}
.mini-service i{
  color: var(--red);
  font-size: 1.3rem;
  margin-top: 2px;
  min-width: 26px;
}
.mini-service h4{ font-size: 1rem; margin-bottom: 4px; }
.mini-service p{ font-size: 0.88rem; color: var(--gray-mid); margin: 0; }

/* ==========================================================================
   CLIENTS / LOGO MARQUEE
   ========================================================================== 
.clients-section{ overflow: hidden; } */
.clients-section{ background:
    radial-gradient(circle at 9% 18%, rgba(0,12,125,0.045) 0 2px, transparent 2.5px) 0 0 / 13px 13px,
    linear-gradient(135deg, #f8f9ff 0%, #cacfff 100%); }
.logo-marquee{
  display: flex;
  gap: 20px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track{
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  animation: marqueeScroll 34s linear infinite;
}
.logo-marquee:hover .logo-track{ animation-play-state: paused; }
@keyframes marqueeScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-100%); }
}
.logo-card{
  min-width: 160px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.logo-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.logo-card i{ font-size: 1.8rem; color: #b8bcc6; transition: color 0.3s var(--ease); }
.logo-card:hover i{ color: var(--blue); }
.logo-card span{ font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.85rem; color: #33394a; }

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-section{ background: var(--gray-light); }
.why-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  height: 100%;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.why-card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.why-icon{
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--gradient-main);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.why-card h3{ font-size: 1.15rem; margin-bottom: 10px; }
.why-card p{ color: var(--gray-mid); font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews-section { background:
    radial-gradient(circle at 9% 18%, rgba(0,12,125,0.045) 0 2px, transparent 2.5px) 0 0 / 13px 13px,
    linear-gradient(135deg, #f8f9ff 0%, #cacfff 100%);}
.testimonial-slider{ max-width: 760px; margin: 0 auto; overflow: hidden; }
.testimonial-track{
  display: flex;
  transition: transform 0.55s var(--ease);
}
.testimonial-slide{ min-width: 100%; padding: 6px; }
.testi-card{
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.testi-stars{ color: #ffb400; font-size: 1rem; margin-bottom: 18px; letter-spacing: 3px; }
.testi-text{
  font-size: 1.15rem;
  color: #333;
  font-style: italic;
  margin-bottom: 26px;
  line-height: 1.7;
}
.testi-person{ display: flex; align-items: center; justify-content: center; gap: 14px; }
.testi-avatar{
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}
.testi-person h4{ font-size: 1rem; margin-bottom: 2px; }
.testi-person span{ font-size: 0.85rem; color: var(--gray-mid); }

.testi-controls{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.testi-btn{
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-border);
  background: var(--white);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.testi-btn:hover{ background: var(--gradient-main); color: #fff; border-color: transparent; }
.testi-dots{ display: flex; gap: 8px; }
.testi-dot{
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gray-border);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  padding: 0;
}
.testi-dot.active{ background: var(--red); width: 24px; border-radius: 6px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-map-wrap{
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
}
.contact-info-list{ display: flex; flex-direction: column; gap: 20px; }
.contact-info-item{ display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item i{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient-soft);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.contact-info-item h4{ font-size: 0.95rem; margin-bottom: 2px; }
.contact-info-item p{ margin: 0; color: var(--gray-mid); font-size: 0.92rem; }
.contact-info-item a{ color: var(--gray-mid); }
.contact-info-item a:hover{ color: var(--red); }

.contact-form{
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form .form-label{
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 6px;
}
.contact-form .form-control,
.contact-form .form-select{
  border-radius: 10px;
  border: 1px solid var(--gray-border);
  padding: 11px 14px;
  font-size: 0.95rem;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus{
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,12,125,0.12);
}
.contact-form .form-check-input:checked{
  background-color: var(--red);
  border-color: var(--red);
}

/* Submit button loading spinner */
#contactSubmitBtn{ position: relative; }
.btn-spinner{
  display: inline-block;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
}
@keyframes btnSpin{ to{ transform: rotate(360deg); } }

/* Form status message */
.form-status{
  margin-top: 14px;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.25s var(--ease);
}
.form-status:empty{ margin-top: 0; }
.form-status-success{
  padding: 12px 16px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: #15803d;
}
.form-status-error{
  padding: 12px 16px;
  background: rgba(249,0,0,0.06);
  border: 1px solid rgba(249,0,0,0.2);
  color: var(--red);
}

/* WhatsApp fallback link */
.form-alt-contact{
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin: 14px 0 0;
}
.form-alt-contact a{
  color: #16a34a;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.form-alt-contact a:hover{ text-decoration: underline; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 24px;
}
.footer-brand{
  display: inline-flex;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 16px;
}
.footer-brand img{ height: 36px; width: auto; }
.footer-tagline{ font-size: 0.92rem; margin-bottom: 20px; color: rgba(255,255,255,0.55); }
.footer-social{ display: flex; gap: 12px; }
.footer-social a{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.footer-social a:hover{ background: var(--gradient-main); border-color: transparent; transform: translateY(-4px); }

.site-footer h5{
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-links{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; }
.footer-links a{ color: rgba(255,255,255,0.65); transition: color 0.3s var(--ease); }
.footer-links a:hover{ color: var(--red); }
.footer-links li{ color: rgba(255,255,255,0.65); }

.footer-divider{ border-color: rgba(255,255,255,0.1); margin: 44px 0 20px; }
.footer-bottom{ text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.45); }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
#whatappus{
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: green;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s var(--ease);
  z-index: 900;
}
#whatappus.show{ opacity: 1; visibility: visible; transform: translateY(0); }
#whatappus:hover{ transform: translateY(-6px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px){
  .navbar-collapse{
    background: rgba(255,255,255,0.98);
    border-radius: var(--radius-md);
    margin-top: 14px;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }
  .navbar-nav .nav-link{ margin: 4px 0; }
  .navbar-nav li.ms-lg-2{ margin-top: 10px; }
  .hero{ min-height: auto; padding-bottom: 60px; }
  .dash-card{ transform: none; }
  .dash-float-chip{ display: none; }
  .service-tabs{ grid-template-columns: repeat(3, 1fr); }
  .section{ padding: 72px 0; }
  .about-section{ padding: 74px 0 70px; }
  .about-hero-row{ --bs-gutter-x: 1.5rem; }
  .about-media{ max-width: 640px; }
  .about-photo-primary{ height: 500px; }
  .about-badge{ right: 18px; bottom: -14px; }
  .about-copy{ max-width: none; }
  .about-card-row{ margin-top: 44px; }
  .about-timeline{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
    margin-top: 46px;
  }
  .about-timeline::before{ display: none; }
  .timeline-item,
  .timeline-item:first-child{
    padding: 28px 20px 20px;
    border-left: 0;
    border-top: 1px solid #c8d0eb;
  }
  .timeline-dot{ top: -8px; left: 18px; }
}

@media (max-width: 767.98px){
  .hero-actions{ flex-direction: column; }
  .hero-actions .btn{ width: 100%; text-align: center; }
  .testi-card{ padding: 28px; }
  .contact-form{ padding: 26px; }
  .about-media{ max-width: 520px; }
  .about-photo-primary{ height: 430px; }
  .about-badge{ right: 14px; bottom: -14px; }
  .about-title{ font-size: clamp(1.85rem, 6vw, 2.35rem); }
  .about-card-row{ margin-top: 40px; }
  .about-card{ min-height: 0; }
  .about-timeline{
    display: block;
    margin-top: 42px;
    margin-left: 8px;
    padding-left: 24px;
    border-left: 1px solid #c8d0eb;
  }
  .timeline-item,
  .timeline-item:first-child{
    padding: 0 0 26px 6px;
    border: 0;
  }
  .timeline-item:last-child{ padding-bottom: 0; }
  .timeline-dot{ top: 5px; left: -33px; }
  .timeline-content{ min-height: 0; }
  .timeline-item-current .timeline-content{ min-height: 0; margin-top: -4px; }
  .service-tabs{ grid-template-columns: repeat(2, 1fr); }
  .service-panels{ padding: 24px; }
  .dash-kpis{ grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .dash-kpi{ padding: 10px 8px; }
  .dash-kpi-value{ font-size: 1rem; }
}

@media (max-width: 575.98px){
  .section-title{ font-size: 1.6rem; }
  .about-section{ padding: 62px 0 58px; }
  .about-title{ font-size: 1.75rem; }
  .about-photo-primary{ height: 340px; }
  .about-badge{
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: fit-content;
    margin: -34px auto 0;
  }
  .about-card{
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px;
  }
  .about-card-icon{ width: 52px; height: 52px; }
  .about-intro p{ font-size: 0.93rem; line-height: 1.7; }
  .logo-card{ min-width: 130px; padding: 20px 14px; }
  .dash-row{ grid-template-columns: 1fr; }
}

@media (max-width: 420px){
  .brand-logo-full{ display: none; }
  .brand-logo-icon{ display: block; }
}

/* ========================================================================== 
   REV-04 — CONSISTENT CENTRED SECTION HEADERS
   Content paragraphs remain fully justified; short section introductions are
   deliberately centred as display copy.
   ========================================================================== */
.section-head{
  width: 100%;
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-head .section-title{
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .section-lead,
.section-head > p:not(.eyebrow):not(.eyebrow1){
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center !important;
  text-align-last: center !important;
  text-justify: auto;
}

.section-head .eyebrow,
.section-head .eyebrow1{
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  justify-content: center !important;
  align-items: center;
  text-align: center !important;
  text-align-last: center !important;
}

.section-head .brand-logo-full1{
  display: block;
  width: auto;
  max-width: min(280px, 80vw);
  height: 76px;
  margin: 0 auto 8px;
  object-fit: contain;
}

#clients .section-head,
#why-us .section-head,
#contact .section-head{
  max-width: 760px !important;
}

@media (max-width: 767.98px){
  .section-head{
    max-width: calc(100% - 24px) !important;
    margin-bottom: 38px;
  }
  .section-head .section-lead,
  .section-head > p:not(.eyebrow):not(.eyebrow1){
    max-width: 560px;
    font-size: 0.98rem;
    line-height: 1.65;
  }
  .section-head .brand-logo-full1{
    height: 62px;
  }
}

/* ========================================================================== 
   REV-04 — UNIFIED SECTION-HEADER CENTERING
   Body/card paragraphs remain fully justified. Short introductory copy inside
   section headers is intentionally centered as a heading element.
   ========================================================================== */
.section-head{
  width: 100%;
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-head .section-title{
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center !important;
}

.section-head .section-lead{
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 12px;
  text-align: center !important;
  text-align-last: center !important;
  line-height: 1.75;
}

.section-head .eyebrow{
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  justify-content: center !important;
  text-align: center !important;
  text-align-last: center !important;
}

.section-head .brand-logo-full1{
  display: block;
  width: auto;
  max-width: min(290px, 82vw);
  height: auto;
  margin: 0 auto;
}

/* Keep substantive paragraphs justified on both edges. */
.why-card p,
.about-intro p,
.about-card p,
.timeline-content p,
.service-panel-head p,
.mini-service p,
.testi-text,
.contact-info-item p,
.contact-form p,
footer p{
  text-align: justify !important;
  text-align-last: left !important;
}

@media (max-width: 767.98px){
  .section-head{
    max-width: calc(100% - 28px) !important;
    margin-bottom: 40px;
  }
  .section-head .section-lead{
    padding: 0;
    font-size: 1rem;
  }
  .section-head .brand-logo-full1{
    max-width: min(240px, 78vw);
  }
}

/* ========================================================================== 
   REV-05 — NO WORD SPLITTING OR AUTOMATIC HYPHENATION
   Normal paragraphs remain justified, while complete words move to the next
   line. Short section introductions remain centred.
   ========================================================================== */
p,
.about-intro p,
.about-card p,
.why-card p,
.timeline-content p,
.service-panel-head p,
.mini-service p,
.testi-text,
.contact-info-item p,
.contact-form p,
footer p {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
}

/* Display copy is centred rather than justified and also never split. */
.section-head .section-lead,
.section-head > p:not(.eyebrow):not(.eyebrow1) {
  text-align: center !important;
  text-align-last: center !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
