.ph-hero {
  margin-top: 40px;
}

:root {
  --red: #e0110f;
  --blue: #2f5bd3;
  --darkblue: #082880;
  --white: #ffffff;
  --background: #f5f6f8;
  --text-color: #5b6575;
  --black: #000000;
}

body {
  margin: 0;
  padding-top: 75px;
  font-family: "Noto Sans", sans-serif;
  color: var(--text-color);
}

html {
  scroll-padding-top: 90px;
}

main {
  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  font-family: "Noto Serif", serif;
  font-weight: bold;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.text-red {
  color: var(--red);
}

.text-white {
  color: var(--white) !important;
}

.text-black {
  color: var(--black) !important;
}

/* ------------------------------
   SHARED ANIMATIONS
------------------------------ */

.animate-up,
.animate-left,
.animate-right {
  opacity: 0;
  transition: 0.8s ease;
}

.animate-up {
  transform: translateY(40px);
}

.animate-left {
  transform: translateX(-40px);
}

.animate-right {
  transform: translateX(40px);
}

.show {
  opacity: 1;
  transform: translate(0);
}

/*------------------------------
  Banner Background
--------------------------------*/

.hero-background {
  position: relative;
  background: #f5f6f8;
  padding: 40px 0;
  overflow: visible;
  z-index: 0;
}

.hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#d5dced 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

.hero-background::after {
  content: "";
  position: absolute;
  bottom: -38px;
  right: 0;
  top: 0;
  width: 25%;
  max-width: 100%;
  background: #e9ebef8a;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: -2;
  pointer-events: none;
}

/* ------------------------------
   Hero Image Slider
------------------------------*/
.hero-section > div:first-child,
.hero-image,
.hero-section > .process-side {
  flex: 1 1 0;
  min-width: 0;
}

.hero-image {
  position: relative;
}

.image-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 700 / 485;
  border-radius: 3%;
  overflow: hidden;
  z-index: 1;
}

.image-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.2s ease,
    transform 6s ease;
}

.image-slider .slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.image-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slider-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dot.active {
  background: var(--white);
  box-shadow: 0 0 0 2px var(--red);
}

a:focus-visible,
button:focus-visible,
.slider-dot:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--darkblue);
  outline-offset: 2px;
}

.process-image {
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 18px;
}

.process-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.process-image:hover img {
  transform: scale(1.08);
}

/*------------------------------
    Tittle 
------------------------------*/

.hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/*------------------------------
   h1
------------------------------*/

.hero-title {
  font-size: 48px;
  line-height: 48px;
  color: var(--black);
  margin-bottom: 0px;
  margin-top: 10px;
}

/*------------------------------
   h2
------------------------------*/

.section-title {
  font-size: 36px;
  line-height: 40px;
  color: var(--red);
  margin: 0;
}

/*------------------------------
   h3
------------------------------*/

.subsection-title {
  font-size: 24px;
  line-height: 32px;
  color: var(--black);
  margin: 0;
  text-align: left;
}

/*------------------------------
   h4
------------------------------*/

.small-section-title {
  font-size: 20px;
  line-height: 28px;
  color: var(--black);
  margin: 0;
}

/*------------------------------
      Description 
------------------------------*/

.hero-description {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: var(--text-color);
}

.body-description {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--text-color);
}

.lead-body-description {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

.small-text {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  margin: 0;
}

.accent-text {
  font-size: 16px;
  line-height: 24px;
  font-weight: 800;
  margin: 0;
}

alt {
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
}

.caption {
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
  color: var(--darkblue);
}

.label {
  color: var(--darkblue);
  font-weight: 700;
  margin-bottom: 20px;
}

.certified-quality {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 10;
  bottom: -44px;
  right: 0px;
  width: max-content;
  max-width: 80%;
  padding: 20px 8px;
}

.badge {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.overline {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--text-color);
  padding-right: 10px;
}

.check-icon {
  background-color: var(--background);
  color: var(--darkblue);
  padding: 15px;
  border-radius: 50%;
}

/*--------------------------------
   Icons  
---------------------------------*/

.icon {
  width: 89px;
  height: 81px;
}

img {
  max-width: 100%;
}

/*------------------------------
      Buttons
------------------------------*/

.button-section {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  align-items: flex-start;
}

.button-section .btn-primary,
.hero-buttons .btn-primary {
  margin-right: 0;
}

/* Primary Button (Outline Red) */
.btn-primary {
  width: fit-content;
  flex: 0 0 auto;
  border: 1px solid transparent;
  padding: 11px 20px;
  border-radius: 6px;
  background-color: var(--darkblue);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

/* Hover Effects */
.btn-primary:hover {
  border: 1px solid var(--darkblue);
  background-color: transparent;
  color: var(--darkblue);
}

.btn-cta {
  border: 1px solid transparent;
  padding: 11px 20px;
  border-radius: 6px;
  background-color: var(--darkblue);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

/* Hover Effects */
.btn-cta:hover {
  background-color: transparent;
  border-color: var(--darkblue);
  color: var(--darkblue);
}

.what-we-do-link {
  display: inline-block;
  margin-left: 14px;
  margin-top: 10px;
  color: var(--darkblue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--darkblue);
  padding-bottom: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.what-we-do-link:hover {
  color: #e0110f;
  border-bottom-color: #e0110f;
}
/* ------------------------------
   RESPONSIVE LAYERS
   ------------------------------ */

/* ------------------------------
   1024px and below -  small laptop
   ------------------------------ */
@media (max-width: 1024px) {
  .hero-section {
    gap: 30px;
  }

  .hero-title {
    font-size: 34px;
    line-height: 40px;
    padding-right: 0;
  }

  .hero-description {
    font-size: 16px;
    line-height: 24px;
    padding-right: 0;
  }

  .section-title {
    font-size: 32px;
    line-height: 38px;
  }

  .subsection-title {
    font-size: 21px;
    line-height: 29px;
  }

  .small-section-title {
    font-size: 18px;
    line-height: 26px;
  }

  .lead-body-description {
    font-size: 18px;
  }

  .icon {
    width: 72px;
    height: 66px;
  }

  .btn-primary {
    display: flex;
    margin-right: 0;
    text-align: center;
  }

  .btn-cta {
    padding: 11px 18px;
    margin-right: 0;
    text-align: center;
  }

  .certified-quality {
    bottom: -30px;
    padding: 16px 14px;
  }

  .check-icon {
    padding: 10px;
  }

  .badge {
    font-size: 14px;
    line-height: 20px;
  }

  .overline {
    font-size: 10px;
    line-height: 14px;
  }
}

/* ------------------------------
   900px and below 
   ------------------------------ */
@media (max-width: 900px) {
  .hero-background {
    padding: 0px 0px 60px;
  }

  .hero-title {
    font-size: 30px;
    line-height: 36px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 23px;
  }

  .section-title {
    font-size: 28px;
    line-height: 34px;
  }

  .subsection-title {
    font-size: 19px;
    line-height: 27px;
  }

  .small-section-title {
    font-size: 16px;
    line-height: 24px;
  }

  .body-description {
    font-size: 15px;
    line-height: 23px;
  }

  .lead-body-description {
    font-size: 16px;
  }

  .icon {
    width: 60px;
    height: 55px;
  }
}

/* ------------------------------
   767px and below 
   ------------------------------ */
@media (max-width: 767px) {
  .hero-section > div:first-child,
  .hero-image,
  .hero-section > .process-side {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .hero-section {
    gap: 32px;
  }

  h1,
  .hero-title {
    font-size: 30px;
    line-height: 38px;
  }

  h2,
  .section-title {
    font-size: 26px;
    line-height: 32px;
  }

  .subsection-title {
    font-size: 20px;
    line-height: 28px;
  }

  .small-section-title {
    font-size: 16px;
    line-height: 25px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 23px;
    margin-bottom: 0;
  }

  .icon {
    width: 64px;
    height: 58px;
  }

  .certified-quality {
    bottom: -26px;
    right: 16px;
  }

  .button-section,
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .button-section,
  .btn-primary,
  .button-section,
  .hero-buttons,
  .btn-primary,
  .hero-buttons {
    display: block;
    width: 100%;
    margin-right: 0;
    text-align: center;
  }

  .btn-cta {
    padding: 11px 18px;
    margin-right: 0;
    text-align: center;
  }

  .button-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .what-we-do-link {
    display: inline-block !important;
    width: fit-content !important;
    max-width: fit-content !important;
    margin: 20px 0 0 0 !important;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--darkblue);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
  }
}

/* ------------------------------
   425px and below 
   ------------------------------ */
@media (max-width: 425px) {
  .container {
    padding-inline: 16px;
  }

  .hero-background {
    padding: 0px 0px 60px;
  }

  .hero-background::after {
    background-color: transparent;
  }

  .hero-title {
    font-size: 26px;
    line-height: 34px;
  }

  .section-title {
    font-size: 24px;
    line-height: 30px;
  }

  .hero-description,
  .small-text {
    font-size: 14px;
  }

  .subsection-title {
    font-size: 19px;
    line-height: 27px;
  }

  .icon {
    width: 56px;
    height: 51px;
  }

  .certified-quality {
    bottom: 12px;
    right: 12px;
    padding: 12px 12px;
  }
}
