@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--background);
  color: var(--text);
}

:root {
  --primary: #164E8C;
  --primary-dark: #0D355F;
  --accent: hsl(209, 85%, 50%);
  --accent-dark: hsl(209, 80%, 28%);
  --accent-lignt: hsl(209, 60%, 50%);
  --background: #F1F5F9;
  --surface: hsl(212, 39%, 94%);
  --surface-light: #F8FAFC;
  --surface-light-blue: rgb(233, 244, 253);
  --surface-light-blue-text: rgb(10, 66, 199);
  --navbar-clr: hsla(215, 40%, 90%, 0.5125);
  --banner-btn-active: linear-gradient(135deg, #2563EB, #3B82F6);
  --text: #172B3A;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --border: #D5DEE8;
  --margin-btm: clamp(.625rem, 1.25rem, 1.625rem);
  --p-font-size: clamp(0.875rem, 2.2vw, 1rem);
  --subtitle-font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  --subtitle-font-size-big: clamp(0.875rem, 2vw, 1rem);
  --heading-font-size: clamp(.9125rem, 4vw, 1.215rem);
  --heading-font-size-sm: clamp(.9125rem, 3.5vw, 1.25rem);
  --preview-bk: rgba(0, 0, 123, 0.2);
  --heading-font-size-big: clamp(.9125rem, 4.5vw, 1.3125rem);
  --heading-p-font-size: clamp(.5rem, 4vw, .825rem);
  --heading-font-size-xx: clamp(.9125rem, 5vw, 1.625rem);
}

/* =========================
   NAVBAR
   ========================= */

.navbar {
  min-height: 3.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--navbar-clr);
  backdrop-filter: blur(1rem);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 1.25rem;
}

.navbar h5 {
  margin: 0;
  white-space: nowrap;
}

.navbar > .nav-side-menu {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.5rem, 1.5vw, 1.25rem);
  list-style: none;
  margin: 0 auto;
}

.nav-menu a {
  display: block;
  padding: .45rem .55rem;
  text-decoration: none;
  color: var(--text);
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: .45rem;
  transition: background-color .2s ease, color .2s ease;
}

.nav-menu a:hover {
  color: var(--primary);
  background: var(--surface-light-blue);
}
.nav-cta a,
.nav-side-cta a{
  color: var(--text-light);
  text-decoration: none;
}
.nav-cta,
.nav-side-cta {
  border: none;
  border-radius: 1rem;
  padding: 10px 20px;
  background-color: var(--accent);
  color: white;
  cursor: pointer;
  white-space: nowrap;
}
.nav-cta:hover,
.nav-side-cta:hover {
  background-color: var(--primary);
}

.nav-cta:active,
.nav-side-cta:active {
  background-color: var(--primary-dark);
  transform: scale(.98);
}

.menu-toggle,
.menu-close,
.nav-overlay {
  display: none;
}
/* hero */
.hero{
    background: url(/images/service\ banner.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-text{
    color: white;
}
.hero-text h5{
    text-transform: uppercase;
    color: rgb(255, 190, 69);
}
.hero-text h1{
    line-height: 1.2;
    margin-bottom: 10px;
    font-size: var(--heading-font-size-xx);
}
.hero-text h1 span{
    color: rgb(255, 190, 69);
}
.hero-text p{
    font-size: var(--heading-p-font-size);
    margin-bottom: var(--margin-btm);
    color: var(--text-light);
    letter-spacing: 1;
}
.hero-btn a{
  color: var(--text);
  text-decoration: none;
}
.hero-btn{
    padding: 0.625rem 1.5rem;
    border-radius: 1rem;
    border: none;
    background-color: hsl(39, 100%, 64%);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: .5rem;
    transition: all 300ms cubic-bezier(0.62, -0.63, 0, 2.31);
}
.hero-btn i{
  transition: all 300ms cubic-bezier(0.62, -0.63, 0, 2.31);
}
.hero-btn:hover i{
  translate: 5px;
}
.hero-btn:hover{
  background-color: hsl(39, 100%, 70%);
  translate: 0 -5px;
}
.hero-btn:active{
  background-color: hsl(39, 90%, 85%);
  scale: .98;
}
/* main content */
.main-content{
    overflow-x: hidden;
}
.main-header{
    display: grid;
    place-items: center;
    width: 100vw;
    margin-bottom: var(--margin-btm);
    margin-top: var(--margin-btm);
}
.main-header h6{
    text-transform: uppercase;
    color: var(--accent-dark);
    font-size: var(--p-font-size);
}
.main-header h2{
    text-transform: capitalize;
    margin-bottom: min(.5rem, 3%);
}
.main-header .subtitle{
    color: var(--text-muted);
    text-align: center;
    font-size: var(--subtitle-font-size);
    width: 270px;
    max-width: 280px;
}
/* Services */
.our-services{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 1rem;
    margin-left: var(--margin-btm);
    margin-right: var(--margin-btm);
    margin-bottom: var(--margin-btm);
}
.service-item{
  padding: min(2rem, 15%);
  border-radius: 2px solid var(--border);
  background-color: var(--surface);
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.125);
  text-align: center;
  position: relative;
  width: auto;
  transition: all 298ms ease;
}
.service-item:hover i{
   transform: translateY(-6px) rotate(10deg) scale(1.12);
}
.service-item::after{
  content: '';
  position: absolute;
  transition: all 309ms ease;
  /* height: .3125rem;
  width: 20%;
  background-color: var(--primary);
  bottom: 0;
  border-radius: .5rem; */
}
.service-item:hover::after{
  height: .3125rem;
  width: 20%;
  background-color: var(--primary);
  bottom: 0;
  left: 0;
  transform: translateX(205%);
  border-radius: .5rem;
}
.service-item:hover{
  scale: 1;
  translate: 0 -10px;
}
.service-item h3{
  margin-bottom: 10px;
  color: var(--accent-dark);
  margin-top: var(--margin-btm);
}
.service-item p{
  font-size: var(--subtitle-font-size);
  color: var(--text-muted);
}
.service-item i{
  margin: auto;
  height: 4rem;
  width: 4rem;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background-color: var(--surface-light-blue);
  padding: .5rem;
  border-radius: 50%;
  transition: transform 400ms cubic-bezier(.34, 1.56, .64, 1);
}
/* reason */
.reason {
  margin: 0 auto;
  background-color: var(--surface);
  width: min(1500px, 92%);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  margin-bottom: var(--margin-btm);
}

.reason h4 {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.7rem;
  text-align: center;
  margin-bottom: 1.2rem;
}

/* Each reason */
.values {
  display: flex;
  align-items: center;
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 0.7rem 0;
}

/* Icon */
.values i {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;

  color: var(--text-light);
  background-color: var(--primary-dark);
  border-radius: 50%;

  font-size: 1rem;
}

/* Text area */
.value-text {
  flex: 1;
  margin-left: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border);
}

/* Heading inside each reason */
.reason h4{
  text-transform: uppercase;
  letter-spacing: 1.5;
  color: var(--accent);
  font-weight: bolder;
  font-size: smaller;
  text-align: center;
  margin-bottom: var(--p-font-size);
}
.reason h6{
  font-size: var(--heading-p-font-size);
  font-weight: 600;
  text-align: center;
}
/* Description */
.values p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.65rem;
}
/* responsiveness */
/* ======================
========= NAVBAR ======== */
@media (max-width: 704px) {
  body{
    overflow-x: hidden;
  }
  .navbar {
    height: 3.8rem;
    padding: 0 1rem;
  }

  .navbar > .nav-side-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 360px);
    height: 100vh;
    padding: 5rem 1.5rem 2rem;
    background: rgba(248,250,252,.96);
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
    transform: translateX(100%);
    transition: transform 350ms cubic-bezier(.4,0,.2,1);
    z-index: 1050;
  }

  .navbar.menu-open .nav-side-menu {
    transform: translateX(0);
  }

  .navbar > .nav-side-menu .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: .5rem;
    margin: 0;
  }

  .nav-menu a {
    width: 100%;
    padding: 1rem;
    font-size: .9rem;
  }

  .nav-side-cta {
    width: 100%;
    margin-top: auto;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-left: auto;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1100;
  }

  .menu-close {
    display: flex;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--surface);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    height: 100vh;
    inset: 0;
    background: rgba(0,0,0,.3125);
    backdrop-filter: blur(1rem);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
    z-index: 1001;
  }

  .navbar.menu-open .nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  .navbar > .nav-cta {
    display: none;
  }

  body.menu-open {
    overflow: hidden;
  }

}