/* =====================================================
   DEVNOVATECH SOFTWARE DEVELOPERS
   Stylesheet
   ===================================================== */

:root{
  --navy:        #1A2B4A;
  --navy-dark:   #0D1526;
  --red:         #E8332A;
  --red-dark:    #C4251D;
  --white:       #FFFFFF;
  --offwhite:    #F5F6F8;
  --border:      #E2E5EA;
  --text:        #1A2233;
  --text-muted:  #6B7280;
  --text-soft:   #8891A0;
  --whatsapp:    #25D366;

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, Segoe UI, Roboto, sans-serif;

  --radius: 8px;
  --container: 1180px;
  --shadow: 0 8px 32px rgba(26,43,74,0.10);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
:focus-visible{ outline: 3px solid var(--red); outline-offset: 2px; }

.container{
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 13px 26px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn svg{ width:18px; height:18px; flex-shrink:0; }
.btn-primary{ background: var(--red); color: var(--white); box-shadow: 0 4px 18px rgba(232,51,42,0.30); }
.btn-primary:hover{ background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 26px rgba(232,51,42,0.40); }
.btn-outline{ background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover{ background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-outline-white{ background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover{ background: rgba(255,255,255,0.14); }

/* ---------- Eyebrow / section labels ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.eyebrow::before{ content:""; width: 22px; height: 2px; background: var(--red); display:inline-block; flex-shrink:0; }

.section-head{ max-width: 640px; margin-bottom: 46px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.section-head p{ color: var(--text-muted); font-size: 16px; line-height: 1.7; }

/* =====================================================
   PAGE LOADER
   ===================================================== */
.page-loader{
  position: fixed; inset: 0; z-index: 9999;
  background: var(--white);
  display:flex; align-items:center; justify-content:center;
  transition: opacity .4s ease;
  opacity: 1;
}
.page-loader.loaded{ opacity: 0; pointer-events:none; }
.loader-spinner{
  width: 52px; height: 52px;
  border: 4px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: loader-spin .8s linear infinite;
}
@keyframes loader-spin{ to{ transform: rotate(360deg); } }

/* =====================================================
   FLOATING WHATSAPP BUTTON
   ===================================================== */
.whatsapp-float{
  position: fixed; bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 500;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover{ transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.whatsapp-float svg{ width:30px; height:30px; color:var(--white); }

@media (max-width: 560px){
  .whatsapp-float{ width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .whatsapp-float svg{ width:26px; height:26px; }
}

/* =====================================================
   HOME — HERO (matches VallTech: centered content)
   ===================================================== */
.hero{
  position: relative;
  min-height: 520px;
  display:flex;
  align-items:center;
  justify-content:center;
  background-image:
    linear-gradient(180deg, rgba(13,21,38,0.45) 0%, rgba(13,21,38,0.32) 45%, rgba(13,21,38,0.58) 100%),
    url('../img/bgweb1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 56px 0 48px;
  overflow: hidden;
}
.hero .container{
  display:flex;
  justify-content:center;
}
.hero-copy{
  max-width: 720px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.hero .eyebrow{ justify-content:center; }
.hero h1{
  color: var(--white);
  font-size: clamp(26px, 3.6vw, 42px);
  margin-bottom: 14px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.hero p.lead{
  font-family: var(--font-body);
  text-transform: none;
  font-size: 15.5px;
  color: #F1F4F9;
  max-width: 500px;
  margin: 0 auto 22px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; margin-bottom:26px; }

.hero-stats{ display:flex; gap: 40px; flex-wrap: wrap; justify-content:center; }
.hero-stats div{ text-align:center; }
.hero-stats div strong{
  display:block;
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-stats div span{
  font-family: var(--font-body);
  font-size: 11.5px;
  color: #E4EAF3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Trust strip ---------- */
.trust-strip{
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--offwhite);
}
.trust-strip .container{
  display:flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding: 26px 24px;
}
.trust-item{
  display:flex; align-items:center; gap:12px;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
}
.trust-item svg{ width:24px; height:24px; color: var(--red); flex-shrink:0; }

/* =====================================================
   SERVICES GRID
   ===================================================== */
.services{ padding: 90px 0; background: var(--white); }
.services-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.service-card:hover{ border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon{
  width: 54px; height:54px;
  border-radius: var(--radius);
  background: var(--offwhite);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
}
.service-icon svg{ width:28px; height:28px; color: var(--red); }
.service-card h3{ font-size: 18px; margin-bottom: 10px; }
.service-card p{ font-family: var(--font-body); text-transform:none; letter-spacing:normal; font-size: 14.5px; color: var(--text-muted); margin-bottom: 16px; }
.service-card a{
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  display:inline-flex; align-items:center; gap:6px;
}
.service-card a svg{ width:14px; height:14px; }

/* =====================================================
   WHY CHOOSE US — 3 circle-icon cards
   ===================================================== */
.why{ padding: 88px 0; background: var(--offwhite); }
.why-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
}
.why-card:hover{ box-shadow: var(--shadow); transform: translateY(-3px); }
.why-icon{
  width: 64px; height:64px;
  border-radius: 50%;
  background: var(--navy);
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 18px;
}
.why-icon svg{ width:28px; height:28px; color: var(--white); }
.why-card h3{ font-size: 17px; margin-bottom: 10px; }
.why-card p{ font-family: var(--font-body); text-transform:none; letter-spacing:normal; font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* =====================================================
   PROCESS
   ===================================================== */
.process{ padding: 90px 0; background: var(--white); }
.process-steps{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-step{ text-align:center; padding: 0 18px; position: relative; }
.process-step .step-icon{
  width: 64px; height:64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--red);
  display:flex; align-items:center; justify-content:center;
  position: relative; z-index: 2;
}
.process-step .step-icon svg{ width:28px; height:28px; color: var(--red); }
.process-step .step-no{
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  display:block;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.process-step h3{ font-size:16px; margin-bottom:8px; }
.process-step p{ font-family: var(--font-body); text-transform:none; letter-spacing:normal; font-size:13.5px; color:var(--text-muted); }
.process-connector{
  position:absolute; top: 32px;
  left: calc(12.5% + 32px); right: calc(12.5% + 32px);
  height: 18px; z-index: 1;
}
.process-connector path{ stroke: var(--red); stroke-width:2; fill:none; stroke-dasharray: 6 7; stroke-linecap:round; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials{ padding: 90px 0; background: var(--offwhite); }
.testi-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid var(--border);
}
.testi-stars{ display:flex; gap:4px; margin-bottom:16px; }
.testi-stars svg{ width:16px; height:16px; color: var(--red); }
.testi-card p{ font-family: var(--font-body); text-transform:none; letter-spacing:normal; font-size: 14.5px; color: var(--text); margin-bottom: 20px; line-height:1.7; }
.testi-person{ display:flex; align-items:center; gap:12px; }
.testi-avatar{
  width: 42px; height:42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  display:flex; align-items:center; justify-content:center;
  font-size: 15px; font-weight:700;
}
.testi-person strong{ display:block; font-family: var(--font-body); font-size:14px; font-weight:700; color: var(--navy); }
.testi-person span{ font-family: var(--font-body); font-size:12.5px; color: var(--text-muted); }

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner{
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 56px 0;
}
.cta-banner .container{
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap: wrap; gap: 24px;
}
.cta-banner h2{ color: var(--white); font-size: clamp(22px,3vw,28px); max-width:560px; }
.cta-banner p{ font-family: var(--font-body); text-transform:none; letter-spacing:normal; color:#C9D6E8; margin-top:8px; font-size:15px; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* =====================================================
   RESPONSIVE — HOME
   ===================================================== */
@media (max-width: 980px){
  .hero{ min-height: 460px; padding: 48px 0 42px; }
  .services-grid{ grid-template-columns: repeat(2,1fr); }
  .why-grid{ grid-template-columns: repeat(2,1fr); }
  .process-steps{ grid-template-columns: repeat(2,1fr); gap: 40px 0; }
  .process-connector{ display:none; }
  .testi-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 620px){
  .services-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .process-steps{ grid-template-columns: 1fr; }

  .hero{
    min-height: auto;
    padding: 26px 0 22px;
    background-position: center 25%;
  }
  .hero h1{ font-size: clamp(22px, 6.8vw, 28px); margin-bottom: 10px; }
  .hero p.lead{ font-size: 13px; margin-bottom: 16px; }
  .hero-actions{ width:100%; flex-direction:column; gap:10px; margin-bottom:16px; }
  .hero-actions .btn{ width:100%; justify-content:center; font-size:13px; padding:12px 20px; }
  .hero-stats{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
  .hero-stats div strong{ font-size:17px; }
  .hero-stats div span{ font-size:9px; }

  .trust-strip .container{ justify-content:flex-start; }
  .trust-item{ font-size:12.5px; }
}
@media (max-width: 400px){
  .hero .eyebrow{ font-size:11px; }
  .hero h1{ font-size: clamp(20px, 7vw, 26px); }
}
@media (max-width: 480px){
  .section-head h2{ font-size: 22px; }
  .section-head p{ font-size: 14px; }
  .services, .why, .process, .testimonials{ padding: 56px 0; }
  .cta-banner h2{ font-size: 20px; }
  .cta-banner p{ font-size: 13.5px; }
}