@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

:root {
  --color-bg-1: #121212;
  --color-bg-2: #242424;
  --color-brand: #e7b837;
  --color-brand-2: #e55252;
  --color-brand-light: #dbb959;
  --color-brand-light-2: #cb4343;
  --color-body: #c0c0c0;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-heading: #fff;
  --cultured-2: hsl(192, 24%, 96%);
  --white: hsl(0, 0%, 100%);
  --cadet: hsl(200, 15%, 43%);
  --black: hsl(0, 0%, 0%);
  --dark-jungle-green: hsl(188, 63%, 7%);
  --transition: 0.25s ease;
  --misty-rose: hsl(7, 56%, 91%);
  --orange-soda: hsl(9, 100%, 62%);
  --opal: hsl(180, 20%, 62%);
  --font-main: "Plus Jakarta Sans", sans-serif;
  --fs-5: 0.875rem;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-800: 800;
  --border-radius: 32px;
  --section-padding: 100px;
  --shadow-2: 0 16px 32px hsla(188, 63%, 7%, 0.1);
  --hue-value-1: 0;
  --hue-value-2: 230;
  --main-color: hsl(var(--hue-value-1), 74%, 61%);
  --main-color: #e55252;
  --button-hover-color: hsl(var(--hue-value-1), 57%, 53%);
  --button-hover-color: #cb4343;
  --body-bg-color: hsl(var(--hue-value-1), 63%, 97%);
  --border-color-2: hsl(var(--hue-value-1), 40%, 93%);
  --shadow: 0 0 10px hsl(var(--hue-value-1), 40%, 90%);
  --body-gradient-bg-color-1: hsla(var(--hue-value-1), 100%, 50%, 0.2);
  --body-gradient-bg-color-2: hsla(var(--hue-value-2), 100%, 50%, 0.2);
  --decoration-bg-color-1: hsl(var(--hue-value-1), 100%, 70%);
  --decoration-bg-color-2: hsl(var(--hue-value-2), 100%, 70%);
  --orange: hsl(36, 80%, 50%);
  --white: hsl(0, 0, 100%);
  --WHITE: hsl(0, 0%, 100%);
  --BLACK: hsl(0, 0%, 0%);
  --black-90: hsl(0, 0%, 10%);
  --black-70: hsl(0, 0%, 30%);
  --black-alpha-40: hsl(0, 0%, 0%, 0.4);
  --yellow-light: hsl(44, 95%, 83%);
  --green-light: hsl(158, 68%, 75%);
  --red-light: hsl(0, 84%, 80%);
  --orange-light: hsl(22, 85%, 80%);
  --select-box-bg-color: hsl(0, 0%, 100%);
  --border-color-1: hsl(0, 0%, 90%);
}

body {
  background-color: var(--color-bg-1);
  color: var(--color-body);
  font-family: var(--font-main);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--fw-700);
  color: var(--color-heading);
}

a {
  transition: all 0.4s ease;
  text-decoration: none;
  color: var(--color-body);
}

a:hover {
  color: var(--color-brand);
}

img {
  max-width: 100%;
}

/* -------SECTION STYLING -------- */

section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.section-title {
  margin-bottom: 40px;
}


.section-title p {
  max-width: 700px;
}

/*-----------------------------------*\
  #NAVBAR
\*-----------------------------------*/

.navbar {
  background-color: var(--color-bg-1);
  border-bottom: 1px solid var(--color-border);
}
.navbar-nav .nav-link.active {
  color: var(--color-brand);
}

.btn-brand {
  background-color: var(--color-brand);
  color: var(--color-bg-1);
  font-weight: 700;
  padding: 8px 20px;
}

.btn-brand:hover {
  background-color: var(--color-brand-light);
  border-color: var(--color-brand-light);
  color: var(--color-bg-1);
  box-shadow: 0 0 2px var(--color-brand);
}

.btn-theme {
  background-color: var(--color-brand-2);
  color: var(--WHITE);
  font-size: 16px;
  text-transform: capitalize;
  font-weight: var(--fw-500);
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.btn-theme:hover {
  color: var(--WHITE);
  background-color: var(--button-hover-color);
}

.btn-theme:focus {
  box-shadow: 0 0 8px var(--main-color);
}

/*-----------------------------------*\
  #HERO
\*-----------------------------------*/
#hero h1 {
  font-weight: var(--fw-800);
}

#hero p {
  max-width: 600px;
  margin: 24px auto;
}

#hero .btn {
  margin-top: 10px;
  margin-bottom: 160px;
}

.bg-image {
  min-height: 450px;
  background-image: url(./img/hero.png);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about .contain {
  padding-inline: 15px;
}

.about-banner > img {
  margin-bottom: 40px;
  background: url(./img/about-us.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: max-content;
  width: 100%;
}

.about .section-subtitle {
  color: var(--WHITE);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  padding: 5px 20px;
  background: var(--color-brand-light-2);
  width: max-content;
  border-radius: 50px;
  margin-inline: auto;
  margin-bottom: 60px;
}

.about .section-title {
  --margin-bottom: 30px;
  text-align: left;
  margin-bottom: var(--margin-bottom);
}

.about-text {
  color: var(--main-color);
  font-size: var(--fs-5);
  line-height: 1.7;
  margin-bottom: 40px;
}

.about-list {
  margin-bottom: 30px;
}

.about-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  position: relative;
}

.about-item-icon {
  background: var(--misty-rose);
  height: 45px;
  min-width: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.about-item-icon ion-icon {
  color: red;
  font-size: 18px;
}

.about-item-text {
  font-size: var(--fs-5);
  position: absolute;
  left: 60px;
  top: 10px;
}

.about .callout {
  background: hsla(7, 78%, 53%, 0.05);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  line-height: 1.8;
  padding: 20px 25px;
  border-left: 4px solid var(--color-brand-light-2);
  margin-top: 110px;
  margin-bottom: 60px;
}

/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service {
  background: var(--cultured-2);
}

.service .contain {
  padding-inline: 15px;
  /* margin-right: 30px; */
}

.service .section-subtitle {
  color: var(--WHITE);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  padding: 5px 20px;
  background: var(--color-brand-2);
  width: max-content;
  border-radius: 50px;
  margin-inline: auto;
  margin-bottom: 15px;
}

.service .section-title {
  text-align: var(--text-align, center);
  margin-bottom: var(--margin-bottom, 50px);
  color: var(--BLACK);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  position: relative;
  background: var(--white);
  text-align: center;
  padding: 40px 30px;
  box-shadow: var(--shadow-2);
}

/* .service-card:nth-child(1) {
  width: 245px;
} */

.service-card .card-icon {
  width: max-content;
  margin-inline: auto;
  margin-bottom: 20px;
}

.service-card .card-title {
  margin-bottom: 15px;
  color: var(--BLACK);
}

.service-card .card-text {
  color: var(--cadet);
  font-size: var(--fs-5);
  line-height: 1.8;
  margin-bottom: 25px;
}

.service-card .card-link {
  color: var(--opal);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.service-card:is(:hover, :focus) .card-link {
  color: var(--color-brand-light-2);
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--color-brand-light-2);
  transition: var(--transition);
}

.service-card:is(:hover, :focus)::after {
  width: 100%;
}



/*-----------------------------------*\
  #REVIEWS-CAROUSEL
\*-----------------------------------*/

#reviews {
  background-image: url(./img/review.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

#reviews h2 {
  background-color: var(--color-bg-1);
  padding: 8px 16px;
  border-radius: 100px;
  color: var(--color-brand);
  display: inline-block;
  font-size: 18px;
  font-weight: var(--fw-800);
}


.reviews-carousel {
  max-width: 700px;
  background-color: var(--color-bg-1);
}

.review img {
  width: 65px;
  border-radius: 100px;
}

.carousel-control-prev,
.carousel-control-next {
  margin: auto;
  width: 40px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--color-brand);
}

.carousel-control-prev {
  border-right: 1px solid var(--color-border);
}

.carousel-control-next {
  border-left: 1px solid var(--color-border);
}



/*-----------------------------------*\
  #PARTNER
\*-----------------------------------*/
.partner-section {
  padding: 80px 0;
  min-height: 680px;
}

.partner-text h2 {
  font-size: 20px;
  color: var(--main-color);
  font-weight: 400;
}

.partner-text h3 {
  font-size: 40px;
  font-weight: 700;
}

.partner-section .container {
  --bs-gutter-x: 15px;
  max-width: 1140px;
}

.partner-section .row {
  --bs-gutter-x: 30px;
}

.circular-img {
  max-width: 360px;
  margin: auto;
}

.circular-img-inner {
  text-align: center;
  border-radius: 0 0 180px 180px;
  overflow: hidden;
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/
.footer {
  background: var(--cultured-2);
}

.footer-top {
  padding: 50px 0 20px;
  border-top: 1px solid var(--black);
}

.footer-item {
  margin: 0 0 30px;
}

.footer-item h3 {
  text-transform: capitalize;
  margin: 0 0 20px;
  color: var(--orange-soda);
  font-weight: 500;
}

.footer-item ul {
  padding: 0;
}

.footer-item .h3-icon,
.footer ul .social-icon {
  padding-left: 70px;
}

.footer-item ul li:not(:last-child) {
  margin-bottom: 15px;
}

.footer-item ul span .contact-icon {
  margin-right: 10px;
  color: var(--cadet);
  border-radius: 10%;
  padding: 0 2px;
}

.footer-item ul a {
  text-transform: capitalize;
  color: var(--cadet);
  transition: color 0.3s ease;
  position: relative;
}

.footer-item ul span {
  color: var(--cadet);
  transition: color 0.3s ease;
  position: relative;
}

.footer-item ul span i {
  position: absolute;
  right: 100%;
}

.footer-item ul li a:hover,
.footer-item ul li span:hover {
  color: var(--main-color);
}

.footer-item ul li a.social-href::before {
  content: "";
  position: absolute;
  left: 70px;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: var(--main-color);
  transition: width 0.3s ease;
}

.footer-item ul li a.social-href:hover::before {
  width: calc(100% - 70px);
}

.footer-item ul a .social-icon {
  margin-right: 15px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color-2);
}

.footer-bottom p {
  font-size: 14px;
  color: var(--opal);
}

/*-----------------------------------*\
  MEDIA QUERIES
\*-----------------------------------*/

@media screen and (min-width: 320px) {
  .service .contain {
    margin-right: 30px;
  }

  .circular-img {
    max-width: 270px;
    margin-bottom: 30px;
  }

  .circular-img img {
    max-width: 250px;
  }

  .footer-queries-contact,
  .footer-queries {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .footer-queries > img {
    margin-bottom: 30px;
  }

  .footer-queries-contact ul li {
    text-align: justify;
    width: 50%;
    margin-left: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-item h3 {
    padding-left: 10px;
  }

  .footer-item .h3-icon,
  .footer ul .social-icon {
    padding-left: 70px;
    margin-right: 70px;
  }

  .footer ul .social-href {
    margin-right: 40px;
  }
}

@media screen and (min-width: 440px) {
  .footer-queries-contact ul li {
    margin-left: 120px;
  }

  .footer ul .social-href {
    margin-right: 30px;
  }
}

@media screen and (min-width: 600px) {
  .service .contain {
    max-width: 550px;
    margin-inline: auto;
  }

  .service-list > li {
    width: calc(50% - 15px);
  }
}

@media (min-width: 768px) {
  .service .contain {
    max-width: 720px;
  }
}

@media screen and (max-width: 767px) {
  .partner-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .partner-text h2{
    font-size: 22px;
    width: 70%;
  }

  .partner-text h3{
    font-size: 25px;
    padding-bottom: 5px;
  }

  .partner-text p{
    font-size: 18px;
    padding-bottom: 5px;
  }

  .partner-text .btn {
    padding: 5px 15px;
    font-size: 14px;
  }
}

@media screen and (min-width: 992px) {
  .contain {
    max-width: 970px;
    margin-inline: auto;
  }

  .service .contain {
    max-width: 970px;
    margin-inline: auto;
  }

  .about .contain {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
  }

  .service-list > li {
    width: calc(33.33% - 20px);
  }

  .footer-queries-contact ul li {
    margin-left: 90px;
  }

  .footer ul .social-href {
    margin-right: 10px;
  }

  .footer-item ul a .social-icon {
    margin-right: 30px;
  }
}

@media screen and (min-width: 1200px) {
  .contain {
    min-width: 1200px;
}

