@import url("https://fonts.cdnfonts.com/css/chillax");

:root {
  --col-primary: #121212;
  --col-secondary: #3f543e;
  --col-white: #ffffff;
  --col-hover: #ffc107;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  font-family: "Chillax", sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

ul li {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1490px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col20 {
  max-width: 20%;
  flex: 0 0 20%;
  padding: 0 15px;
}

.col25 {
  max-width: 25%;
  flex: 0 0 25%;
  padding: 0 15px;
}

.col30 {
  max-width: 30%;
  flex: 0 0 30%;
  padding: 0 15px;
}

.col33 {
  max-width: 33.33%;
  flex: 0 0 33.33%;
  padding: 0 15px;
}

.col50 {
  max-width: 50%;
  flex: 0 0 50%;
  padding: 0 15px;
}

h1 {
  font-size: 70px;
  font-weight: 500;
  text-transform: capitalize;
  color: var(--col-secondary);
  letter-spacing: 1px;
}

h2,
.h2-title {
  font-size: 55px;
  font-weight: 400;
  text-transform: capitalize;
  color: var(--col-primary);
}

h3,
.h3-title {
  font-size: 37px;
  font-weight: 400;
  text-transform: capitalize;
  color: var(--col-secondary);
}

h4,
.h4-title {
  font-size: 22px;
  font-weight: 400;
  text-transform: capitalize;
  color: var(--col-primary);
}

h5,
.h5-title {
  font-size: 20px;
  font-weight: 500;
  text-transform: capitalize;
  color: var(--col-primary);
}

/* --Header section starts here-- */

header {
  width: 100%;
  background-color: var(--col-white);
}

header .container {
  max-width: 1850px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbox {
  display: flex;
}

.navbar {
  display: flex;
  align-items: center;
}

.navbar li {
  margin: 0 15px;
}

.navbar li a {
  font-weight: 400;
  color: var(--col-primary);
  text-transform: capitalize;
  letter-spacing: 1px;
}

.navbar .home a {
  font-weight: 400;
  color: var(--col-secondary);
  text-transform: capitalize;
  letter-spacing: 1px;
}

.navbar li a:hover {
  color: var(--col-hover);
}

.logo a img {
  display: block;
  width: 74px;
  height: 93px;
}

.cmn-btn {
  display: inline-block;
  text-transform: capitalize;
  background-color: var(--col-secondary);
  color: var(--col-white);
  border: 1px solid var(--col-secondary);
  padding: 15px 34px;
  border-radius: 100px;
  letter-spacing: 1px;
  transition: 0.8s ease all;
}

.navbox .cmn-btn:nth-child(2) {
  background-color: var(--col-white);
  color: var(--col-secondary);
}

.navbox .cmn-btn:hover {
  background: var(--col-white);
  color: var(--col-secondary);
}

.navbox .cmn-btn:nth-child(2):hover {
  background-color: var(--col-secondary);
  color: var(--col-white);
}

.menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu div {
  width: 25px;
  height: 4px;
  background-color: black;
  margin: 10px;
  transition: all 0.3s ease;
}

.offcanvas {
  position: fixed;
  top: 0;
  left: -250px; 
  width: 250px;
  height: 100%;
  background: #222;
  color: #fff;
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 1000;
}

.offcanvas.active {
  left: 0;
}

.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.offcanvas-header button {
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

.offcanvas-nav {
  list-style: none;
  padding: 0;
}

.offcanvas-nav li {
  margin: 15px 0;
}

.offcanvas-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}

.offcanvas-nav a:hover {
  color: gold;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
}

.overlay.active {
  display: block;
}

/* --Banner section starts here-- */

.banner {
  width: 100%;
  background: url(/image/Mask\ group.png) no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 810px;
  border-radius: 20px;
  display: flex;
  align-items: center;
}

.banner-head {
  max-width: 659px;
}

.banner-head span {
  display: block;
  color: var(--col-white);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.banner-head h1 {
  font-weight: 400;
  color: var(--col-white);
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.banner-head p {
  color: var(--col-white);
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.banner .cmn-btn {
  background-color: var(--col-white);
  color: var(--col-secondary);
}

.banner .cmn-btn:hover {
  background-color: transparent;
  color: var(--col-white);
}

.banner .swiper-button-next,
.banner .swiper-button-prev {
  top: 38%;
}

.banner .swiper-button-next::after,
.banner .swiper-button-prev::after {
  font-size: 15px;
}

/* --About section starts here-- */

.about {
  width: 100%;
  background: var(--col-white);
  padding: 100px 0;
}

.about .col30 img {
  width: 410px;
  height: 520px;
}

.about .col20 img {
  width: 284px;
  height: 520px;
}

.about .col50 {
  display: flex;
  align-items: center;
}

.about .col50 span {
  display: block;
  color: var(--col-secondary);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.about .col50 .h2-title {
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.about .col50 p {
  letter-spacing: 1px;
  color: var(--col-primary);
  margin-bottom: 20px;
}

.about .col50 .cmn-btn:hover {
  background-color: var(--col-white);
  color: var(--col-secondary);
}

/* --Service section starts here-- */

.services {
  width: 100%;
  background: var(--col-white);
}

.head {
  display: flex;
  justify-content: space-between;
}

.head span {
  display: block;
  color: var(--col-secondary);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.head .h2-title {
  color: var(--col-primary);
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.head .col30 p {
  color: var(--col-primary);
}

.services .card {
  background-color: var(--col-white);
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  transition: 0.8s ease all;
}

.services .card .h5-title,
.services .card p {
  color: var(--col-primary);
}

.services .middle {
  background-color: var(--col-secondary);
}

.services .middle .h5-title,
.services .middle p {
  color: var(--col-white);
}

.services .card:hover {
  transform: translateY(-5px);
}

.service-button {
  text-align: center;
}

.service-button .cmn-btn:hover {
  color: var(--col-secondary);
  background: var(--col-white);
}

/* --Testimonial section starts here-- */

.testimonials {
  text-align: center;
  margin: 40px 0;
  padding: 0 20px;
}

.testimonials span {
  display: block;
  color: var(--col-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.testimonials .h4-title {
  font-weight: 500;
  margin-bottom: 35px;
}

.testimonials .swiper {
  padding-bottom: 40px;
}

.testimonials .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-image {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 2px solid blueviolet;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  max-width: 788px;
  color: var(--col-primary);
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: bold;
  margin-bottom: 4px;
  color: var(--col-secondary);
}

.testimonial-role {
  font-size: 13px;
  color: var(--col-primary);
}

.testimonials .swiper-button-next,
.testimonials .swiper-button-prev {
  top: 20%;
}

.testimonials .swiper-button-next::after,
.testimonials .swiper-button-prev::after {
  font-size: 15px;
}

/* --Solutions section starts here-- */

.solutions {
  background-color: var(--col-secondary);
  color: var(--col-white);
  padding: 60px 0;
}

.left-content {
  margin-top: 20px;
}

.solutions-label {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 500;
}

.solutions .h2-title {
  color: var(--col-white);
}

.right-content p {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 40px;
}

.right-content .button {
  background-color: var(--col-white);
  padding: 12px 24px;
  border-radius: 25px;
  color: var(--col-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease all;
}

.right-content .button:hover {
  background-color: var(--col-primary);
}

/* --Footer section starts here-- */

footer {
  background-color: var(--col-white);
  color: var(--col-primary);
  padding: 40px 0;
}

.footer-logo img {
  display: block;
  width: 82px;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 16px;
}

.col25 .h4-title {
  margin-bottom: 15px;
  font-size: 20px;
}

.col25 ul li {
  margin-bottom: 10px;
}

.col25 ul li a {
  color: var(--col-secondary);
  font-size: 16px;
}

.col25 ul li a:hover {
  color: var(--col-hover);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: var(--col-secondary);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--col-secondary);
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--col-secondary);
  color: var(--col-white);
}

.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  color: var(--col-primary);
}

/* ==============================
   Responsive Media Queries
   ============================== */

/* Tablet & smaller desktops (≤ 991px) */
@media (max-width: 991px) {
  .col20,
  .col25,
  .col30,
  .col33,
  .col50 {
    max-width: 50%;
    flex: 0 0 50%;
    padding: 10px;
  }

  header .container {
    flex-wrap: wrap;
  }

  .navbar {
    display: none;
  }
  .menu {
    display: block;
  }

  .about .row,
  .services .row,
  footer .row {
    justify-content: center;
  }
}

/* Mobile landscape (≤ 768px) */
@media (max-width: 768px) {
  .col20,
  .col25,
  .col30,
  .col33,
  .col50 {
    max-width: 100%;
    flex: 0 0 100%;
    padding: 10px;
  }

  h1 {
    font-size: 42px;
  }
  h2,
  .h2-title {
    font-size: 34px;
  }
  h3,
  .h3-title {
    font-size: 26px;
  }
  h4,
  .h4-title {
    font-size: 18px;
  }
  h5,
  .h5-title {
    font-size: 16px;
  }

  .banner {
    min-height: auto;
    padding: 60px 20px;
    border-radius: 10px;
  }
  .banner-head {
    max-width: 100%;
  }

  .about {
    padding: 60px 20px;
  }

  .services .head {
    flex-direction: column;
    text-align: center;
  }

  .solutions {
    text-align: center;
  }
  .solutions .row {
    flex-direction: column;
    align-items: center;
  }
}

/* Extra small (≤ 480px) */
@media (max-width: 480px) {
  .cmn-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .testimonial-text {
    font-size: 14px;
    padding: 0 10px;
  }

  .social-icons a {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}

/* Very small (≤ 320px) */
@media (max-width: 320px) {
  body {
    font-size: 14px;
    line-height: 1.4;
  }

  h1 {
    font-size: 28px;
  }
  h2,
  .h2-title {
    font-size: 22px;
  }
  h3,
  .h3-title {
    font-size: 20px;
  }
  h4,
  .h4-title {
    font-size: 16px;
  }
  h5,
  .h5-title {
    font-size: 14px;
  }

  .banner-head p,
  .about .col50 p,
  .testimonial-text,
  .right-content p,
  .footer-logo p {
    font-size: 14px;
  }

  .cmn-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .testimonial-image {
    width: 100px;
    height: 100px;
  }

  .footer-logo img {
    width: 60px;
  }
}
