* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  display: block;
}

:root {
  --main-colour: #f2f1f0;
  --font-style1: Outfit;
  --font-style2: Poppins;
  --font-style3: Roboto;
  --font-style4: Montserrat;
  --section-width: min(1650px, 90%);
  --text-color: #454545;
  --text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

body {
  overflow-x: hidden;
  width: 100%;
}

.background {
  position: relative;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.01)),
    url("./INTEGRATED-COATINGS/ICL-Images/about-page-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 85vh;
}

.about-hero {
  padding: 3rem 5rem;
  gap: 2rem;
}

.about-hero h2 {
  font-size: 65px;
  font-weight: 600;
}

.about-hero p {
  font-size: 14px;
}

/* SECTION 1 STYLING */

.section1 {
  padding: 3rem;
}

.about-section1-header {
  padding: 0rem 0;
}

.about-section1-header h2 {
  font-family: var(--font-style4);
  font-size: 32px;
  font-weight: 700;
  padding: 1.8rem 0;
  text-shadow: var(--text-shadow);

  span {
    color: #1a3390;
  }
}

.about-section1-header p {
  font-size: 15.5px;
  font-family: var(--font-style3);
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.7rem;
  text-align: left;
  padding: 0.5rem 3rem 2rem 0;
}

.about-section1-header button {
  padding: 1rem 2rem;
  border-radius: 1rem;
  border: none;
  background-color: #1a3390;
  font-family: var(--font-style1);
  cursor: pointer;
}

.about-section1-header button a {
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.about-section1-header button:hover {
  background-color: #0d1b4c;
}

/* Section 2 styling */

.about-section2 {
  padding: 3rem;
  background-color: #f5f5f5;
}

.about-section2-header h2,
.sec2-box-header h2 {
  font-size: 36px;
  font-family: var(--font-style4);
  font-weight: 700;
  text-transform: capitalize;
  color: #292e3d;
  padding: 1rem 0;
}

.sec2-box-header {
  padding: 2rem 0 2rem 0;
}

.about-sec2img {
  height: 65px;
  width: 65px;
  margin-bottom: 2rem;
  position: relative;
}

.about-sec2img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.shadow::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 6px;
  background: rgba(85, 65, 124, 0.27);
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.bounce {
  animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
  0% {
    transform: translateY(15px);
  }

  50% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(15px);
  }
}

.about-section2-header p {
  font-size: 16px;
  font-family: var(--font-style3);
  padding: 0.5rem 3rem 2rem 0;
  font-weight: 400;
  line-height: 1.7rem;
  color: var(--text-color);
  text-align: left;
}

.about-section2-box {
  /* border: 2px solid black; */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.sec2-box {
  /* border: 2px solid red; */
  border-right: 1px solid #d7d7d7;
  height: 100%;
  width: 100%;
  padding: 1rem 3rem;
}

.sec2-box p {
  font-size: 16px;
  font-family: var(--font-style3);
  font-weight: 400;
  line-height: 1.7rem;
  color: var(--text-color);
}

.img2 {
  height: 120px;
  width: 120px;
}

.img2 img {
  height: 100%;
  width: 100%;
}

/* SECTION3 */

.about-section3-all {
  /* border: 2px solid black; */
  padding: 3rem 0;
}

.sec3-choose-us {
  /* border: 2px solid red; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem 3rem;
}

.about-section3-header h2 {
  font-size: 36px;
  font-family: var(--font-style4);
  color: #292e3d;
  font-weight: 700;
  padding: 1rem 3rem;
  text-transform: capitalize;
}

.sec3-reasons {
  /* border: 2px solid green; */
  height: 100%;
  width: 100%;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 2px 4px 6px 1px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.6s ease-in-out,
    box-shadow 0.3s ease;
}

.sec3-img {
  position: relative;
  height: 30vh;
}

.sec3-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.card-texts {
  padding: 1rem 1rem 4rem 1rem;
}

.card-texts h3 {
  font-family: var(--font-style4);
  font-size: 20px;
  color: #1a3390;
  text-transform: capitalize;
  font-weight: 650;
  padding: 1.5rem 0;
  text-shadow: var(--text-shadow);
}

.card-texts p {
  font-family: var(--font-style3);
  font-size: 15px;
  color: #454545;
  font-weight: 400;
  line-height: 1.8rem;
  padding-bottom: 2rem;
}

.sec3-reasons:hover {
  transform: translateY(-15px);
}

/* SECTION 4 */

.about-section4 {
  padding: 3rem 0;
}

/* SECTION 5 STYLING */
.about-section6 {
  margin-top: 2rem;
}

.about-section6-box {
  /* border: 2px solid red; */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 4rem;
}

.sec6-box {
  /* border: 2px solid #454545; */
  height: 100%;
  width: 100%;
  padding: 2rem 0;
  border-radius: 10px;
  box-shadow: 4px 2px 8px 4px rgba(0, 0, 0, 0.25);
}
.sec6-icontexts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 2rem;
}
.sec6-icontexts i {
  font-size: 30px;
  color: #1a3390;
  font-weight: 700;
  padding-bottom: 1.5rem;
}

.sec6-icontexts h3 {
  color: #292e3d;
  font-family: var(--font-style4);
  font-size: 20px;
  font-weight: 700;
  text-transform: capitalize;
  padding: 0.5rem 0;
}
.sec6-icontexts p {
  font-family: var(--font-style3);
  font-size: 16px;
  font-weight: 400;
  color: #454545;
  line-height: 1.9rem;
}
.sec6-second {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2rem;
}
.sec6-second p {
  font-family: var(--font-style3);
  font-size: 16px;
  font-weight: 400;
  color: #454545;
  line-height: 1.9rem;
}

.section6-header h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  font-family: var(--font-style4);
  padding: 2rem;
}

.sec6-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.sec6-button button {
  padding: 1rem 2rem;
  border-radius: 1rem;
  border: none;
  background-color: #1a3390;
  font-family: var(--font-style1);
  cursor: pointer;
}

.sec6-button button a {
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.sec6-button button:hover {
  background-color: #0d1b4c;
}

@media only screen and (max-width: 1030px) {
   .sec3-choose-us {
    grid-template-columns: repeat(2, 1fr);
    padding-inline: 2rem;
    gap: 2rem;
  }

  .about-section6-box  {
    padding-inline: 1rem;
    padding-top: 1rem;
    gap: 1.5rem;
  }

}

@media only screen and (max-width: 920px) {
  .sec3-choose-us {
    grid-template-columns: repeat(2, 1fr);
    padding-inline: 2rem;
    gap: 1.5rem;
  }

  .about-section6-box {
    grid-template-columns: repeat(2, 1fr);
    padding-inline: 1rem;
    padding-top: 1rem;
    gap: 1.5rem;
  }
}

@media only screen and (max-width: 580px) {
   
  .about-hero {
    padding: 0 1rem;
  }
  .about-section2-box {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }
  .sec2-box {
    border-right: none;
    padding: 1rem 0;
  }
  .about-section6-box {
    grid-template-columns: repeat(1, 1fr);
  }
  .sec3-choose-us {
    grid-template-columns: repeat(1, 1fr);
    padding-inline: 2rem;
    gap: 2rem;
  }
  .section5-all {
    padding-inline: 0rem;
  }
}
