/* =========================================================
   GLOBAL UTILITIES
========================================================= */

.section-label{
  display:inline-block;

  margin-bottom:24px;

  color:#0a3a8b;

  font-size:13px;
  font-weight:700;
  letter-spacing:3px;

  text-transform:uppercase;
}

.section-text{
  color:#475569;

  line-height:1.9;
}

.section-title{
  color:#08245c;

  font-family:'Playfair Display', serif;

  font-size:64px;
  line-height:0.96;
  letter-spacing:-3px;
}

/* =========================================================
   HERO
========================================================= */

.hero{
  position:relative;
  overflow:hidden;

  padding:120px 0 90px;

  background:#ffffff;
}

/* GRID OVERLAY */

.hero-overlay-grid{
  position:absolute;
  inset:0;

  background-image:
    linear-gradient(rgba(15,23,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.04) 1px, transparent 1px);

  background-size:60px 60px;
}

/* LAYOUT */

.hero-grid{
  position:relative;
  z-index:2;

  display:grid;
  grid-template-columns:0.9fr 1.1fr;

  gap:40px;

  align-items:center;
}

/* CONTENT */

.hero-content{
  max-width:540px;
}

.hero-tag{
  display:inline-block;

  margin-bottom:28px;

  color:#003b8e;

  letter-spacing:4px;
  font-size:13px;
  font-weight:700;
}

.hero-content h1{
  font-size:82px;
  line-height:0.94;

  color:#08275c;

  margin-bottom:30px;

  letter-spacing:-4px;

  font-family:'Playfair Display', serif;
}

.hero-content p{
  font-size:18px;
  line-height:1.9;

  color:#475569;

  margin-bottom:38px;

  max-width:480px;
}

/* VISUAL */

.hero-image-wrapper{
  position:relative;

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

/* IMAGE */

.hero-image{
  position:relative;
  z-index:2;

  width:100%;
  max-width:820px;

  display:block;

  border-radius:2px;

  box-shadow:
    0 25px 60px rgba(15,23,42,0.08);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.hero-image,
.hero-content,
.hero-overlay-grid{
  will-change:transform;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section{
  position:relative;

  padding:140px 0;

  background:#f5f7fb;
}

/* GRID */

.services-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);

  gap:24px;
}

/* CARD */

.service-card{
  background:white;

  min-height:220px;

  padding:40px 30px;

  border:1px solid rgba(15,23,42,0.06);

  display:flex;
  flex-direction:column;
  justify-content:space-between;

  transition:all 0.35s ease;
}

/* ICON */

.service-card i{
  font-size:42px;

  color:#003b8e;
}

/* TITLE */

.service-card h3{
  font-size:30px;
  line-height:1.2;

  color:#08275c;

  font-weight:600;
}


/* =========================================================
   EXPERTISE
========================================================= */

.expertise-section{
  display:grid;
  grid-template-columns:1fr 1fr;

  align-items:center;

  min-height:760px;

  background:#ffffff;

  overflow:hidden;

  border-top:1px solid rgba(15,23,42,0.04);
}

/* LEFT */

.expertise-left{
  padding:120px 8%;

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

  max-width:760px;
}

.expertise-left h2{
  font-family:'Playfair Display', serif;

  font-size:64px;
  line-height:0.96;
  letter-spacing:-3px;

  margin-bottom:32px;

  color:#08245c;
}

.expertise-left p{
  font-size:20px;
  line-height:1.9;

  color:#475569;

  max-width:620px;

  margin-bottom:46px;
}

.expertise-left ul{
  list-style:none;

  display:flex;
  flex-direction:column;
  gap:18px;
}

.expertise-left li{
  position:relative;

  padding-left:30px;

  font-size:17px;
  font-weight:500;

  color:#0f172a;
}

/* CUSTOM BULLET */

.expertise-left li::before{
  content:"";

  position:absolute;

  left:0;
  top:11px;

  width:10px;
  height:10px;

  border-radius:50%;

  background:#0a3a8b;
}

/* RIGHT */

.expertise-right{
  position:relative;

  height:100%;

  overflow:hidden;
}

/* IMAGE */

.expertise-right img{
  width:100%;
  height:100%;

  display:block;

  object-fit:cover;
  object-position:center;

  transform:scale(1.02);
}

/* SUBTLE OVERLAY */

.expertise-right::after{
  content:"";

  position:absolute;
  inset:0;

  background:
    linear-gradient(
      90deg,
      rgba(248,250,252,0.12),
      rgba(248,250,252,0)
    );
}

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

@media(max-width:1100px){

  .expertise-section{
    grid-template-columns:1fr;
  }

  .expertise-right{
    min-height:500px;
  }

}

@media(max-width:768px){

  .expertise-left{
    padding:90px 7%;
  }

  .expertise-left h2{
    font-size:52px;
    letter-spacing:-2px;
  }

  .expertise-left p{
    font-size:18px;
  }

  .expertise-right{
    min-height:380px;
  }

}

/* =========================================
   WORKFLOW
========================================= */

.workflow-section{
  position:relative;

  padding:140px 0;

  background:#ffffff;

  overflow:hidden;
}

/* GRID OVERLAY */

.workflow-section::before{
  content:"";

  position:absolute;
  inset:0;

  background-image:
    linear-gradient(
      rgba(15,23,42,0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(15,23,42,0.03) 1px,
      transparent 1px
    );

  background-size:60px 60px;

  pointer-events:none;
}

/* CONTENT */

.workflow-section .container{
  position:relative;
  z-index:2;
}

/* HEADER */

.workflow-heading{
  max-width:760px;

  margin-bottom:80px;
}

.workflow-heading h2{
  margin-bottom:28px;

  color:#08245c;

  font-size:64px;
  line-height:0.95;
  letter-spacing:-3px;

  font-family:'Playfair Display', serif;
}

.workflow-heading p{
  max-width:620px;

  color:#475569;

  font-size:20px;
  line-height:1.9;
}

/* GRID */

.workflow-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);

  gap:28px;
}

/* CARD */

.workflow-card{
  position:relative;

  min-height:320px;

  padding:42px 36px;

  background:#ffffff;

  border:
    1px solid rgba(15,23,42,0.06);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* NUMBER */

.workflow-number{
  margin-bottom:40px;

  color:#0a3a8b;

  font-size:18px;
  font-weight:700;
  letter-spacing:2px;
}

/* TITLE */

.workflow-card h3{
  margin-bottom:22px;

  color:#08245c;

  font-size:34px;
  line-height:1.05;

  font-family:'Playfair Display', serif;
}

/* TEXT */

.workflow-card p{
  color:#475569;

  font-size:16px;
  line-height:1.9;
}

/* RESPONSIVE */

@media(max-width:1200px){

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

}

@media(max-width:768px){

  .workflow-section{
    padding:100px 0;
  }

  .workflow-heading h2{
    font-size:50px;
    letter-spacing:-2px;
  }

  .workflow-heading p{
    font-size:18px;
  }

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

  .workflow-card{
    min-height:auto;
  }

}

/* =========================================
   TOOL STACK
========================================= */

.tool-stack-section{
  position:relative;

  padding:140px 0;

  background:#f5f7fb;

  overflow:hidden;
}

/* BLUEPRINT GRID */

.tool-stack-section::before{
  content:"";

  position:absolute;
  inset:0;

  background-image:
    linear-gradient(
      rgba(15,23,42,0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(15,23,42,0.03) 1px,
      transparent 1px
    );

  background-size:64px 64px;

  pointer-events:none;
}

/* CONTENT */

.tool-stack-section .container{
  position:relative;
  z-index:2;
}

/* HEADER */

.tool-stack-header{
  max-width:760px;

  margin-bottom:70px;
}

.tool-stack-header h2{
  margin-bottom:28px;

  color:#08245c;

  font-size:64px;
  line-height:0.95;
  letter-spacing:-3px;

  font-family:'Playfair Display', serif;
}

.tool-stack-header p{
  max-width:640px;

  color:#475569;

  font-size:20px;
  line-height:1.9;
}

/* GRID */

.tool-stack-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);

  gap:22px;
}

/* TOOL */

.tool-item{
  display:flex;
  align-items:center;
  justify-content:center;

  min-height:120px;

  padding:20px;

  border:1px solid rgba(15,23,42,0.06);

  background:white;

  color:#08245c;

  font-size:22px;
  font-weight:600;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* RESPONSIVE */

@media(max-width:1200px){

  .tool-stack-grid{
    grid-template-columns:repeat(3,1fr);
  }

}

@media(max-width:768px){

  .tool-stack-section{
    padding:100px 0;
  }

  .tool-stack-header h2{
    font-size:50px;
    letter-spacing:-2px;
  }

  .tool-stack-header p{
    font-size:18px;
  }

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

  .tool-item{
    min-height:100px;

    font-size:18px;
  }

}


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

@media(max-width:1200px){

  .hero-content h1{
    font-size:72px;
  }

  .services-grid{
    grid-template-columns:repeat(3,1fr);
  }

}

@media(max-width:992px){

  /* HERO */

  .hero-grid{
    grid-template-columns:1fr;

    gap:70px;
  }

  .hero-content{
    max-width:100%;
  }

 .hero-image-wrapper{
  position:relative;

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

  /* SERVICES */

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

  /* EXPERTISE */

  .expertise-section{
    grid-template-columns:1fr;

    height:auto;
  }

  .expertise-left{
    padding:80px 40px;
  }

  .expertise-right{
    height:500px;
  }

}

@media(max-width:768px){

  /* HERO */

  .hero{
    padding:90px 0 70px;
  }

  .hero-content h1{
    font-size:50px;
    letter-spacing:-2px;
  }

  .hero-content p{
    font-size:17px;
  }

  /* SERVICES */

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

  .service-card h3{
    font-size:26px;
  }

  /* EXPERTISE */

  .expertise-left{
    padding:60px 30px;
  }

  .expertise-left h2{
    font-size:46px;
  }

  .expertise-right{
    height:340px;
  }

}

/* =========================================
   HERO ENHANCEMENTS
========================================= */

/* META */

.hero-meta{
  display:flex;
  align-items:center;
  gap:40px;

  margin-top:50px;
}

/* COUNTER */

.hero-counter{
  display:flex;
  align-items:center;
  gap:14px;

  color:#08245c;

  font-size:15px;
  font-weight:600;
}

.hero-divider{
  width:60px;
  height:1px;

  background:#08245c;
}

/* TAGS */

.hero-tags{
  display:flex;
  gap:12px;

  flex-wrap:wrap;
}

.hero-tags span{
  padding:10px 18px;

  border:
    1px solid rgba(8,36,92,0.12);

  border-radius:40px;

  background:white;

  color:#08245c;

  font-size:14px;
  font-weight:500;
}

/* =========================================================
   DELIVERY MODEL
========================================================= */

.delivery-model-section{
  padding:120px 80px;

  background:#f5f7fb;
}

.delivery-model-container{
  max-width:1400px;

  margin:0 auto;
}

.delivery-model-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:80px;

  margin-top:30px;
  margin-bottom:80px;
}

.delivery-model-header h2{
  font-size:56px;
  line-height:1.1;

  color:#0a0a0a;

  max-width:700px;
}

.delivery-model-header p{
  max-width:520px;

  font-size:18px;
  line-height:1.8;

  color:#5e6470;
}

.delivery-model-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);

  gap:24px;
}

.delivery-model-card{
  background:white;

  padding:40px 35px;

  border-radius:18px;

  min-height:320px;

  display:flex;
  flex-direction:column;
  justify-content:space-between;

  transition:0.3s ease;

  border:1px solid rgba(0,0,0,0.06);
}

.delivery-number{
  font-size:14px;
  font-weight:600;
  letter-spacing:2px;

  color:#003b8e;
}

.delivery-model-card h3{
  font-size:28px;
  line-height:1.3;

  margin:40px 0 20px;

  color:#0a0a0a;
}

.delivery-model-card p{
  font-size:16px;
  line-height:1.8;

  color:#5e6470;
}

/* RESPONSIVE */

@media(max-width:1200px){

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

  .delivery-model-header{
    flex-direction:column;
    align-items:flex-start;

    gap:30px;
  }
}

@media(max-width:768px){

  .delivery-model-section{
    padding:90px 24px;
  }

  .delivery-model-header h2{
    font-size:40px;
  }

  .delivery-model-grid{
    grid-template-columns:1fr;
  }

  .delivery-model-card{
    min-height:auto;
  }
}

/* =========================================================
   METRICS
========================================================= */

.metrics-section{
  padding:100px 80px;

  background:#032a63;

  color:white;

  position:relative;

  overflow:hidden;
}

.metrics-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);

  gap:24px;
}

.metric-card{
  border:1px solid rgba(255,255,255,0.08);

  padding:50px 30px;

  border-radius:18px;

  background:rgba(255,255,255,0.04);

  transition:0.3s ease;
}

.metric-card:hover{
  transform:translateY(-6px);

  border-color:rgba(255,255,255,0.18);

  background:rgba(255,255,255,0.06);
}

.metric-card h2{
  font-size:68px;
  line-height:1;

  font-weight:600;

  margin-bottom:18px;

  color:white;
}

.metric-card p{
  font-size:16px;
  line-height:1.7;

  color:rgba(255,255,255,0.72);

  max-width:180px;
}

/* =========================================================
   WHY VALORASTAFF
========================================================= */

.why-section{
  padding:120px 80px;

  background:#ffffff;

  position:relative;
}

.why-header{
  margin-bottom:70px;
}

.why-header h2{
  font-size:56px;
  line-height:1.1;

  max-width:700px;

  color:#0a0a0a;
}

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

  gap:24px;
}

.why-item{
  background:#f5f7fb;

  border:1px solid rgba(0,0,0,0.05);

  border-radius:18px;

  padding:45px 40px;

  transition:0.3s ease;
}

.why-item h3{
  font-size:28px;
  line-height:1.3;

  margin-bottom:20px;

  color:#0a0a0a;
}

.why-item p{
  font-size:16px;
  line-height:1.9;

  color:#5e6470;

  max-width:500px;
}


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

@media(max-width:1200px){

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

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


@media(max-width:768px){

  .metrics-section,
  .why-section{
    padding:90px 24px;
  }

  .metrics-grid{
    grid-template-columns:1fr;

    gap:20px;
  }

  .metric-card h2{
    font-size:54px;
  }

  .why-header{
    margin-bottom:50px;
  }

  .why-header h2{
    font-size:40px;
  }

  .why-item{
    padding:35px 28px;
  }

  .why-item h3{
    font-size:24px;
  }
}

/* =========================================================
   FAQ
========================================================= */

.faq-section{
  padding:120px 80px;

  background:#f5f7fb;

  position:relative;
}

.faq-header{
  max-width:760px;

  margin-bottom:70px;
}

.faq-header h2{
  font-size:56px;
  line-height:1.05;

  color:#08245c;

  letter-spacing:-2px;

  font-family:'Playfair Display', serif;
}

.faq-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);

  gap:24px;
}

.faq-item{
  background:white;

  padding:40px;

  border-radius:18px;

  border:1px solid rgba(15,23,42,0.05);

  transition:0.3s ease;
}

.faq-item h3{
  margin-bottom:20px;

  color:#08245c;

  font-size:26px;
  line-height:1.35;

  font-weight:600;
}

.faq-item p{
  color:#475569;

  font-size:16px;
  line-height:1.9;
}


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

@media(max-width:992px){

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

}

@media(max-width:768px){

  .faq-section{
    padding:90px 24px;
  }

  .faq-header{
    margin-bottom:50px;
  }

  .faq-header h2{
    font-size:40px;
  }

  .faq-item{
    padding:32px 28px;
  }

  .faq-item h3{
    font-size:22px;
  }

}

/* =========================================================
   PROCESS TIMELINE
========================================================= */

.timeline-section{
  position:relative;

  padding:120px 80px;

  background:#ffffff;

  overflow:hidden;
}

.timeline-header{
  max-width:760px;

  margin-bottom:90px;
}

.timeline-header h2{
  margin-bottom:28px;

  color:#08245c;

  font-size:64px;
  line-height:0.96;
  letter-spacing:-3px;

  font-family:'Playfair Display', serif;
}

.timeline-header p{
  max-width:620px;

  color:#475569;

  font-size:18px;
  line-height:1.9;
}

/* WRAPPER */

.timeline-wrapper{
  position:relative;

  display:grid;
  grid-template-columns:repeat(5,1fr);

  gap:24px;
}

/* LINE */

.timeline-line{
  position:absolute;

  top:34px;
  left:0;
  right:0;

  height:1px;

  background:
    rgba(15,23,42,0.12);

  z-index:1;
}

/* ITEM */

.timeline-item{
  position:relative;

  z-index:2;
}

/* STEP */

.timeline-step{
  width:68px;
  height:68px;

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

  margin-bottom:32px;

  border-radius:50%;

  background:#032a63;

  color:white;

  font-size:15px;
  font-weight:700;
  letter-spacing:1px;

  box-shadow:
    0 10px 30px rgba(3,42,99,0.18);
}

/* TITLE */

.timeline-item h3{
  margin-bottom:16px;

  color:#08245c;

  font-size:28px;
  line-height:1.2;

  font-family:'Playfair Display', serif;
}

/* TEXT */

.timeline-item p{
  color:#475569;

  font-size:16px;
  line-height:1.9;

  max-width:220px;
}


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

@media(max-width:1200px){

  .timeline-wrapper{
    grid-template-columns:repeat(2,1fr);

    row-gap:50px;
  }

  .timeline-line{
    display:none;
  }

}

@media(max-width:768px){

  .timeline-section{
    padding:90px 24px;
  }

  .timeline-header{
    margin-bottom:60px;
  }

  .timeline-header h2{
    font-size:42px;

    letter-spacing:-2px;
  }

  .timeline-header p{
    font-size:17px;
  }

  .timeline-wrapper{
    grid-template-columns:1fr;
  }

  .timeline-item h3{
    font-size:24px;
  }

}

/* =========================================================
   TIMELINE ACTIVE STATES
========================================================= */

.timeline-line{
  overflow:hidden;
}

.timeline-progress{
  position:absolute;

  top:0;
  left:0;

  width:0%;
  height:100%;

  background:#032a63;

  z-index:2;
}

.timeline-step{
  transition:
    transform 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.timeline-item.active .timeline-step{
  background:#003b8e;

  transform:scale(1.08);

  box-shadow:
    0 18px 40px rgba(3,42,99,0.28);
}

.timeline-item h3,
.timeline-item p{
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.timeline-item{
  opacity:0.45;

  transform:translateY(20px);

  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.timeline-item.active{
  opacity:1;

  transform:translateY(0);
}

/* =========================================================
   PREMIUM CARD INTERACTIONS
========================================================= */

.service-card,
.workflow-card,
.why-item,
.faq-item,
.delivery-model-card,
.tool-item{
  position:relative;

  overflow:hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;

  will-change:
    transform,
    box-shadow;
}

/* LIGHT SWEEP */

.service-card::after,
.workflow-card::after,
.why-item::after,
.faq-item::after,
.delivery-model-card::after,
.tool-item::after{
  content:"";

  position:absolute;
  inset:0;

  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(37,99,235,0.16),
      transparent
    );

  opacity:0;

  transition:opacity 0.35s ease;

  pointer-events:none;
}

/* HOVER */

.service-card:hover,
.workflow-card:hover,
.why-item:hover,
.faq-item:hover,
.delivery-model-card:hover,
.tool-item:hover{
  transform:
    translateY(-10px)
    scale(1.02);

  border-color:
    rgba(0,59,142,0.14);

  background:
    linear-gradient(
      180deg,
      #ffffff,
      #f1f5ff
    );

  box-shadow:
    0 25px 60px rgba(0,0,0,0.12);
}

/* ACTIVATE SWEEP */

.service-card:hover::after,
.workflow-card:hover::after,
.why-item:hover::after,
.faq-item:hover::after,
.delivery-model-card:hover::after,
.tool-item:hover::after{
  opacity:1;
}

/* =========================================================
   METRIC CARD HOVER
========================================================= */

.metric-card{
  position:relative;

  overflow:hidden;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

/* LIGHT SWEEP */

.metric-card::after{
  content:"";

  position:absolute;
  inset:0;

  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(255,255,255,0.08),
      transparent
    );

  opacity:0;

  transition:opacity 0.35s ease;

  pointer-events:none;
}

/* HOVER */

.metric-card:hover{
  transform:
    translateY(-8px)
    scale(1.015);

  border-color:
    rgba(255,255,255,0.18);

  background:
    rgba(255,255,255,0.08);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.18);
}

/* ACTIVATE SWEEP */

.metric-card:hover::after{
  opacity:1;
}