@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

header a img {
  width: 3rem;
}

.header-logo a {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.header-logo a h1 {
  font-size: 1rem;
}

header {
  padding: 1rem;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: rgba(45, 52, 89, 0.95);
  z-index: 1000;
}

header nav ul {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
  gap: 5%;
}

header nav ul li {
  list-style: none;
}

header nav ul li a {
  text-decoration: none;
  color: #ddd;
  margin-left: 2rem;
}

.hamburger {
  display: none;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3 ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #ddd;
}

@media (max-width: 900px) {
  header {
    width: 100%;
    line-height: 6;
    padding: 0;
  }

  header nav ul a {
    margin-left: 0;
  }

  header nav {
    align-items: center;
    background-color: #07070f;
    position: fixed;
    top: -100%;
    right: -100%;
    padding: 5rem 0;
    width: 100%;
    height: 100%;
    transition: 0.3s;
    z-index: 1000;
  }

  header nav.active {
    top: 0;
    right: 0;
  }

  header nav ul li a {
    color: #fff;
  }

  header nav ul {
    flex-direction: column;
  }

  .hamburger {
    cursor: pointer;
    display: block;
    z-index: 1000;
    padding: 0.5rem;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #fff;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #fff;
  }
}

/* Hero */

.hero {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(rgba(4, 9, 30, 0.6), rgba(4, 9, 30, 0.6)),
    url(./src/hero-img.JPG);
  background-position: center;
  background-size: cover;
  position: relative;
}

.hero .hero-title {
  width: 70%;
  color: #fff;
  position: absolute;
  top: 52%;
  left: 40%;
  transform: translate(-50%, -50%);
}

.hero-title h1 {
  font-size: 3.5rem;
  line-height: 1.35;
}

.hero-title p {
  font-size: 1.2rem;
  font-weight: 100;
  line-height: 1.5rem;
  letter-spacing: 2px;
}

.highlight {
  position: relative;
}

.highlight::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  content: "";
  transform: scale(1.07, 1.05) skewX(-15deg);
  background: #ffa500;
  opacity: 0.7;
  z-index: -1;
}

@media (max-width: 900px) {
  .hero .hero-title {
    width: 100%;
    left: 50%;
    text-align: center;
    padding: 2rem;
  }

  .hero-title h1 {
    font-size: 2.3rem;
    margin-bottom: 2rem;
  }

  .hero-title p {
    font-size: 1rem;
  }
}

/* Container */

.container {
  width: 80%;
  margin: auto;
  display: flex;
  align-items: center;
  padding: 100px 0;
}

.container .container-about h2 {
  font-size: 3rem;
  font-weight: 100;
  margin-bottom: 3rem;
}

.container .container-about h2 span {
  font-weight: 700;
}

.container .container-about p {
  line-height: 2rem;
  font-size: 1.2rem;
}

.container .container-image {
  margin-left: 3rem;
}

.container .container-image img {
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

@media (max-width: 900px) {
  .container {
    display: block;
  }

  .container .container-about h2 {
    font-size: 2rem;
  }

  .container .container-about p {
    font-size: 1rem;
  }

  .container .container-image {
    margin-left: 0;
  }

  .container img {
    width: 100%;
    margin-top: 3rem;
  }
}

/* Why Choose Us */

.main {
  border-bottom: 1px solid #ddd;
}

.choose-us {
  width: 80%;
  margin: auto;
  padding: 70px 0;
  display: flex;
}

.choose-us .choose {
  margin-left: 3rem;
}

.choose-us .choose h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-weight: 100;
  text-align: center;
}

.choose-us .choose span {
  font-weight: 700;
}

.choose-us .choose .check {
  display: flex;
}

.choose-us .choose .check p {
  line-height: 1.2rem;
  font-size: 1.2rem;
  margin-left: 0.5rem;
}

.choose-us .choose .check i {
  color: #ffa500;
}


@media (max-width: 900px) {
  .choose-us {
    display: block;
  }

  .choose-us .choose {
    margin-left: 0;
    margin-top: 3rem;
  }

  .choose-us .choose h2 {
    font-size: 2rem;
  }

  .choose-us .choose .check p {
    font-size: 1rem;
  }

  .choose-us .image img {
    width: 100%;
  }
}

/* Container item */

.container-item {
  background-color: #ecf0f3;
  background: linear-gradient(rgba(2, 3, 7, 0.6), rgba(2, 3, 7, 0.6)),
    url(./src/cont-img.JPG);
  background-position: center;
  background-size: cover;
  /* padding: 100px 0; */
  max-width: 100rem;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.container-item .items {
  overflow: auto;
  display: flex;
  justify-content: space-between;
  scroll-snap-type: x mandatory;
  position: relative;
  gap: 2rem;
  padding: 50px 0;
}

.container-item .item {
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 10px;
  transition: 0.3s;
}

.container-item h2 {
  color: #ddd;
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-weight: 100;
  font-size: 3rem;
}

.container-item .container-text {
  text-align: center;
  color: #ddd;
  font-size: 1.5rem;
  background: linear-gradient(to right, #ffd700, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container-item h2 span {
  font-weight: 700;
}

.container-item .items p {
  text-align: center;
  color: #ddd;
}

.container-item .items .item p {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.container-item .items .item img {
  border-radius: 5px;
}

@media (max-width: 900px) {
  .container-item h2 {
    font-size: 2rem;
  }

  .container-item .container-text {
    font-size: 1rem;
  }

  .container-item .item {
    width: 100%;
  }
  .container-item .items .item img {
    width: 100%;
  }
}

/* Inspiration */

.inspiration {
  padding: 100px 0;
  width: 80%;
  margin: auto;
}

.inspiration .inspiration-text {
  text-align: center;
  width: 70%;
  margin: auto;
  margin-bottom: 2rem;
}

.inspiration .inspiration-text h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.inspiration .colorful {
  background: rgba(56, 87, 157, 0.9);
  padding: 3rem;
  width: 100%;
  height: 20rem;
  position: relative;
  color: #ddd;
}

.inspiration .colorful h3 {
  font-size: 1.5rem;
  line-height: 2;
  margin-top: 2rem;
}

.inspiration .colorful p {
  text-transform: uppercase;
  font-size: 1rem;
  opacity: 0.6;
}

.inspiration .inspiration-items {
  display: flex;
  position: relative;
  gap: 2rem;
}

.inspiration .inspiration-item .text {
  font-size: 0.8rem;
  background: rgba(246, 215, 57, 0.9);
  width: 20%;
  padding: 10px;
  position: absolute;
  bottom: 2rem;
}

.inspiration .inspiration-item {
  width: 100%;
  cursor: pointer;
}

.inspiration img {
  width: 100%;
}

@media (max-width: 900px) {
  .inspiration .inspiration-text {
    width: 100%;
  }

  .inspiration .inspiration-text h2 {
    font-size: 1.3rem;
  }

  .inspiration .inspiration-items {
    flex-direction: column;
  }

  .inspiration .colorful {
    margin-top: -3.5rem;
  }

  .inspiration .colorful h3 {
    font-size: 1.2rem;
  }

  .inspiration .colorful p {
    font-size: 0.8rem;
  }

  .inspiration .inspiration-item .text {
    width: 60%;
    position: relative;
    bottom: 6rem;
  }
}

/* Testimponials */

.slider {
  max-width: 100rem;
  /* height: 50rem; */
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonials {
  min-height: 90vh;
  background: linear-gradient(rgba(4, 9, 30, 0.6), rgba(4, 9, 30, 0.6)),
    url(./src/testi-img.PNG);
  background-position: center;
  background-size: cover;
  padding: 60px 0;
}

.testimonial-title {
  text-align: center;
  width: 50%;
  margin: auto;
  padding: 10px;
}

.testimonials h2 {
  margin-bottom: 1rem;
  font-size: 3rem;
  color: #ddd;
}

.testimonials p.text {
  margin-bottom: 1rem;
  color: #ddd;
}

.testimonial {
  width: 65%;
  position: relative;
  margin: auto;
  background: rgba(233, 235, 248, 0.95);
  padding: 10px;
  text-align: center;

  flex-shrink: 0;
  scroll-snap-align: start;
}

.testimonial .details {
  padding: 30px 0;
}

.slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  scroll-snap-type: x mandatory;
  overflow: auto;

  /* This create the animation */
  transition: transform 1s;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -5.7rem;
  left: -6.8rem;
  line-height: 1;
  font-size: 15rem;
  font-family: inherit;
  color: #ffa500;
}

.testimonials img {
  width: 5rem;
  border-radius: 50%;
  border: 3px solid #ddd;
}

.testimonial .details h3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.testimonial .details span {
  color: gray;
  line-height: 2rem;
}

.slide__btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  border: none;
  font-family: inherit;
  color: #fff;
  border-radius: 50%;
  font-size: 5rem;
  cursor: pointer;
}

.slide__btn--right {
  right: 6%;
  transform: translate(-50%, -50%);
}

.slide__btn--left {
  left: 6%;
  transform: translate(-50%, -50%);
}

.dots {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dots__dot {
  border: none;
  background-color: #fff;
  opacity: 0.7;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  margin-right: 1.75rem;
  cursor: pointer;
  transition: all 0.5s;
}

.dots__dot:last-child {
  margin: 0;
}

.dots__dot--active {
  background-color: #ffa500;
  opacity: 1;
}

@media (max-width: 900px) {
  .testimonial-title {
    width: 100%;
  }

  .testimonials {
    padding: 50px 0;
  }

  .testimonials h2 {
    font-size: 1.5rem;
  }

  .testimonial {
    width: 80%;
    top: -2%;
  }

  .testimonial img {
    width: 3rem;
  }

  .testimonial .details h3 {
    font-size: 0.9rem;
  }

  .testimonial .details p {
    font-size: 0.8rem;
  }

  .testimonial .details span {
    font-size: 0.7rem;
  }

  .testimonial::before {
    font-size: 10rem;
    top: -4rem;
    left: 0;
  }

  .slide {
    margin-top: -1rem;
  }

  .slide__btn {
    font-size: 2rem;
  }

  .slide__btn--right {
    right: -1rem;
  }

  .slide__btn--left {
    left: 4%;
  }

  .dot {
    bottom: 5%;
  }

  .dots__dot {
    height: 0.5rem;
    width: 0.5rem;
  }
}

/* Footer */

.footer {
  background-color: #000;
  color: #fff;
}

.footer-container {
  width: 80%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 0;
}

.footer .footer-container .logo {
  display: flex;
  align-items: center;
}

.footer .footer-container .logo h1 {
  margin-left: 0.3rem;
  font-size: 1rem;
}

.footer-container img {
  width: 2.75rem;
}

p.copy-right {
  color: #888;
  text-align: center;
  padding: 10px;
}

.footer .footer-container h3 {
  margin-bottom: 2rem;
  color: #ddd;
}

.footer .footer-container .contact {
  display: flex;
  margin-top: 2rem;
}

.footer .footer-container .contact h3 {
  color: #888;
}

.footer .footer-container .contact a {
  text-decoration: none;
  margin-left: 0.5rem;
  justify-content: center;
  color: #888;
}

.footer .footer-container .footer-address .add {
  line-height: 2rem;
  font-size: 0.8rem;
  color: #888;
}

.footer .footer-container .footer-navs .navs li {
  list-style: none;
  line-height: 2rem;
}

.footer .footer-container .footer-navs .navs li a {
  text-decoration: none;
  color: #888;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .footer-container {
    display: block;
  }

  p.copy-right {
    font-size: 0.7rem;
  }

  .footer .footer-container .footer-address h3 {
    margin-bottom: 1rem;
    margin-top: 2rem;
  }

  .footer .footer-container .footer-navs h3 {
    margin-bottom: 1rem;
    margin-top: 2rem;
  }

  .footer .footer-container .contact h3 {
    font-size: 1rem;
  }

  .footer .footer-container .contact a {
    font-size: 0.8rem;
  }
}

