@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-dark: #062B5A;
  --secondary-navy: #103A68;
  --teal: #1DA7B2;
  --light-teal: #38C4C9;
  --light-bg: #EDEDED;
  --guide-gray: #C9D4D8;
  --white: #ffffff;

  /* ADD THESE */
  --dark: #062B5A;
  --primary: #38C4C9;
  --accent: #1DA7B2;
  --muted: #EDEDED;
  --transition: 0.4s ease;
}

/* ---------- GLOBAL ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

section {
  width: 100%;
  padding: 100px 0;
  position: relative;
}


.container-section {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

/* Fade-in on scroll */
.container-section {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- HERO SECTION ---------- */


/* HERO SECTION */
.services-hero {
  height: 70vh;
  min-height: 420px;

  background:
    linear-gradient(
      rgba(6, 43, 90, 0.88),
      rgba(16, 58, 104, 0.92)
    ),
    url('../img/procurement/bg1.jpeg') center/cover no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: var(--white);

  padding: 0 20px;
  position: relative;

  animation: fadeIn 1.5s ease forwards;
}

/* HEADING */
.services-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--light-teal);

  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;

  margin-bottom: 18px;

  text-shadow: 0 0 12px rgba(56, 196, 201, 0.35);

  animation: fadeSlide 1.5s ease forwards;
}

.services-hero h1::after {
  content: "";
  display: block;

  width: 90px;
  height: 4px;

  background: linear-gradient(
    90deg,
    var(--teal),
    var(--light-teal)
  );

  margin: 16px auto 0;
  border-radius: 5px;
}

/* DESCRIPTION */
.services-hero p {
  font-size: clamp(1rem, 2.3vw, 1.15rem);

  color: var(--light-bg);

  max-width: 760px;
  margin: 10px auto 25px;

  line-height: 1.8;
  font-weight: 400;

  animation: fadeSlide 2s ease forwards;
}

/* BACK BUTTON */
.back-btn {
  display: inline-block;
  padding: 12px 30px;

  background: linear-gradient(
    135deg,
    #1DA7B2,
    #38C4C9
  );

  color: #ffffff !important;   /* FORCE WHITE */
  text-decoration: none !important;

  border-radius: 30px;

  font-size: 0.95rem;
  font-weight: 600;

  transition: all 0.4s ease;

  box-shadow: 0 6px 18px rgba(29, 167, 178, 0.35);
}

/* HOVER */
.back-btn:hover {
  background: linear-gradient(
    135deg,
    #062B5A,
    #103A68
  );

  color: #ffffff !important;

  transform: translateY(-3px);
}


/* ---------- WHY CHOOSE US ---------- */
.service-section {
  background: linear-gradient(135deg, #062B5A, #103A68);
  margin-top: 40px;
  border-radius: 30px;
  color: #ffffff;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

/* HEADING */
.service-section h2 {
  color: #38C4C9;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

/* PARAGRAPH */
.service-section p {
  max-width: 760px;
  margin: 0 auto 55px;
  color: #EDEDED;
  text-align: center;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* GRID */
.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  padding: 0;
  margin: 0;
}

/* CARDS */
.service-list li {
  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(56, 196, 201, 0.25);

  padding: 32px 24px;

  border-radius: 18px;

  color: #ffffff;
  text-align: center;

  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;

  backdrop-filter: blur(8px);

  transition: all 0.4s ease;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* HOVER */
.service-list li:hover {
  transform: translateY(-8px);

  background: linear-gradient(
    135deg,
    rgba(29, 167, 178, 0.22),
    rgba(56, 196, 201, 0.15)
  );

  border-color: #38C4C9;

  box-shadow: 0 14px 30px rgba(29, 167, 178, 0.25);
}

/* ---------- WHAT WE PROCURE ---------- */
.sub-section {
  background: #EDEDED;
  padding: 100px 0;
}

/* SECTION HEADING */
.sub-section h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);

  color: #062B5A;

  font-weight: 700;

  text-align: center;

  margin-bottom: 20px;

  position: relative;
}

/* UNDERLINE */
.sub-section h3::after {
  content: "";

  width: 90px;
  height: 4px;

  background: linear-gradient(
    90deg,
    #1DA7B2,
    #38C4C9
  );

  display: block;

  margin: 15px auto 0;

  border-radius: 10px;
}

/* GRID */
.services-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 30px;

  margin-top: 60px;
}

/* CARD */
.card {
  height: 260px;

  border-radius: 18px;

  background-size: cover;
  background-position: center;

  position: relative;

  overflow: hidden;

  transition: all 0.5s ease;

  border: 1px solid rgba(29, 167, 178, 0.18);

  box-shadow: 0 10px 24px rgba(6, 43, 90, 0.12);
}

/* DARK OVERLAY */
.card::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(6, 43, 90, 0.9),
    rgba(16, 58, 104, 0.2)
  );

  transition: all 0.5s ease;
}

/* CARD TEXT */
.card span {
  position: absolute;

  bottom: 22px;
  left: 20px;
  right: 20px;

  color: #ffffff;

  font-size: 1.08rem;
  font-weight: 600;

  line-height: 1.5;

  z-index: 2;

  transition: all 0.4s ease;
}

/* HOVER EFFECT */
.card:hover {
  transform: translateY(-10px) scale(1.02);

  box-shadow: 0 18px 36px rgba(29, 167, 178, 0.28);
}

/* HOVER OVERLAY */
.card:hover::after {
  background: linear-gradient(
    to top,
    rgba(29, 167, 178, 0.82),
    rgba(56, 196, 201, 0.18)
  );
}

/* TEXT MOVE */
.card:hover span {
  transform: translateY(-4px);
}

/* ---------- PROCESS ---------- */
.process-section {
  background: linear-gradient(
    135deg,
    #062B5A,
    #103A68
  );

  color: #ffffff;

  position: relative;

  overflow: hidden;
}

/* HEADING */
.process-section h3 {
  color: #38C4C9;

  font-size: clamp(2rem, 3vw, 2.5rem);

  font-weight: 700;

  text-align: center;

  margin-bottom: 55px;

  position: relative;
}

/* UNDERLINE */
.process-section h3::after {
  content: "";

  width: 90px;
  height: 4px;

  background: linear-gradient(
    90deg,
    #1DA7B2,
    #38C4C9
  );

  display: block;

  margin: 15px auto 0;

  border-radius: 10px;
}

/* STEPS WRAPPER */
.process-steps {
  display: flex;
  flex-wrap: wrap;

  justify-content: center;

  gap: 30px;
}

/* STEP CARD */
.step {
  background: rgba(255, 255, 255, 0.08);

  padding: 35px 25px;

  width: min(240px, 90%);

  border-radius: 18px;

  border: 1px solid rgba(56, 196, 201, 0.18);

  color: #ffffff;

  text-align: center;

  font-weight: 600;

  transition: all 0.4s ease;

  backdrop-filter: blur(8px);

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* NUMBER */
.step span {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  margin: 0 auto 18px;

  background: linear-gradient(
    135deg,
    #1DA7B2,
    #38C4C9
  );

  color: #ffffff;

  border-radius: 50%;

  font-weight: 700;

  font-size: 1.2rem;

  box-shadow: 0 6px 16px rgba(29, 167, 178, 0.35);
}

/* HOVER */
.step:hover {
  transform: translateY(-10px);

  background: linear-gradient(
    135deg,
    rgba(29, 167, 178, 0.18),
    rgba(56, 196, 201, 0.12)
  );

  border-color: #38C4C9;

  box-shadow: 0 18px 36px rgba(29, 167, 178, 0.22);
}

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(
    135deg,
    #EDEDED,
    #C9D4D8
  );

  text-align: center;

  color: #062B5A;

  position: relative;

  overflow: hidden;
}

/* HEADING */
.cta-section h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);

  color: #062B5A;

  font-weight: 700;

  margin-bottom: 20px;
}

/* PARAGRAPH */
.cta-section p {
  margin: 0 auto 35px;

  max-width: 700px;

  color: #103A68;

  font-size: 1.08rem;

  line-height: 1.8;
}

/* BUTTON */
.cta-btn {
  display: inline-block;

  background: linear-gradient(
    135deg,
    #1DA7B2,
    #38C4C9
  );

  color: #ffffff;

  padding: 15px 34px;

  border-radius: 12px;

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 0.5px;

  text-decoration: none;

  transition: all 0.4s ease;

  box-shadow: 0 10px 24px rgba(29, 167, 178, 0.22);
}

/* HOVER */
.cta-btn:hover {
  background: linear-gradient(
    135deg,
    #062B5A,
    #103A68
  );

  color: #ffffff;

  transform: translateY(-4px);

  box-shadow: 0 16px 34px rgba(6, 43, 90, 0.28);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .services-hero { height: 60vh; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .services-hero { height: 55vh; padding: 80px 15px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .services-grid, .service-list { grid-template-columns: 1fr; }
  .card { height: 200px; }
  .process-steps { flex-direction: column; align-items: center; }
}

@media (max-width: 380px) {
  .services-hero { padding: 120px 10px; height: auto; }
  .services-hero h1 { font-size: 1.6rem; }
  .services-hero p { font-size: 0.9rem; }
}



@media (max-width: 768px) {
  .back-btn{
    margin-top:55px;
  }
}


/* FIX FOOTER AFFECTED BY HR SECTION */

footer,
.footer,
.site-footer {
  position: relative;
  z-index: 1;
}

footer img,
.footer img,
.site-footer img {
  max-width: 180px;
  height: auto;
  display: block;
}

footer span,
.footer span,
.site-footer span {
  position: static !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  background: none !important;
}

footer ul,
.footer ul,
.site-footer ul {
  list-style: disc;
}

footer li,
.footer li,
.site-footer li {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}


/* ===== FORCE HEADER STYLE ===== */

.top-bar{
    background:#062B5A !important;
}

.navbar{
    background:#ffffff !important;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.nav-links a{
    color:#062B5A !important;
    font-weight:600;
}

.nav-links a.active,
.nav-links a:hover{
    color:#1DA7B2 !important;
}

.quote-btn{
    background:linear-gradient(90deg,#062B5A,#1DA7B2) !important;
    color:#fff !important;
}

.quote-btn:hover{
    opacity:0.9;
}
