* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background color: rgba(238, 235, 224, 1);
    color: #222;
}


/* =================
   NAVBAR
================= */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
    font-family: sans-serif;
    background-color: rgba(100, 29, 0, 0.49);
   
}

.logo {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    font-size: 40px;
    margin: auto 15px;
    font-family: serif;
    font-weight: bolder;
    color: azure;
}

.menu-btn {
    background: none;
    border: none;

    color: white;
    font-size: 28px;

    cursor: pointer;
}

.nav-links {
    display: none;
     list-style: none;
}

.nav-links.active {
    display: flex;

    position: absolute;
    top: 77px;
    left: 0;

    width: 100%;

    background: rgba(100, 29, 0, 0.49);

    flex-direction: column;
    text-align: center;

    padding: 20px;
    gap: 20px;
}

.nav-links a {
    color: blue;
    text-decoration: none;
      
    font-weight: bold; }
     .nav-links a:hover {
  color: lightpink;
   transform: translateX(4px);
}
  

/* =================
   HERO
================= */

.hero {
    min-height: 100vh;
    display: flex;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    text-align: center;
    background: url(image.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no;
    z-index: -2;
    position: flex-direction;

}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 30px;
    margin-left: 30px;
    margin-top: 15px;
            
           margin-bottom: 10px;
           text-shadow: 2px 2px 4px azure;
}

.hero p {

    font-size: 18px;
    line-height: 1.6px;
    margin-bottom: 30px;
    margin-left: 15px;
    margin-top: 10px;
    text-shadow: 1px 1px 3px azure;
}
.search-form {
    display: flex;
    width: 100%;
    max-width: 500px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
 }

 .search-input {
    margin-left: 15px;
    flex: 1;
    padding: 15px 20px;
    font-size: 1rem;
    font-family: sans-serif;
    border-radius: 50px;
    outline: none;
     }

 .search-button {
    border-radius: 50px;
    max-width: 500px;
    padding: 30px;
    background-color: cyan;
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
 }

.hero-btn {
    background: white;
    color: #007bff;

    border: none;
    border-radius: 8px;

    padding: 12px 25px;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}


/* =================
   SERVICES
================= */

.services {
    padding: 50px 20px;
    text-align: center;
}

.services h2 {
    font-size: 30px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 30px;
    text-shadow: 10px;
    color: blue;
}

.cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.card b{
    font-size: 20px;
    padding: 5px;
    text-shadow: 10px;
}

.card {
    background color: rgba(238, 235, 224, 1);
    padding: 0px;
    border-radius: 10px;
}

.card h3 {
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    color: skyblue;
}

.card p {
    line-height: 1.6;
    color: #666;
    text-transform: capitalize;
    text-align: justify;
    text-indent: 2em;
    font-family: sans-serif;
    font-weight: bold;
}
.cards {
    display: flex;
    gap: 20px;
}

.card {
    flex: 1;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card p {
    margin-top: 10px;
    font-size: 16px;
}

.slider {
  width: 100%;
  overflow: hidden;
  background: rgba(238, 235, 224, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slide-track {
  display: flex;
  width: max-content;
  animation: slide 25s linear infinite;
}

.slide {
  position: relative;
  width: 350px;
  height: 240px;
  flex-shrink: 0;
  margin-right: 15px;
  overflow: hidden;
  border-radius: 12px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide p{
    margin-top: 15px;
    text-align: center;
    text-transform: uppercase;
    font-family: sans-serif;
    font-size: 15px;
}

.tag {
    margin-top: 10;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  color: black;
  font-size: 18px;
  font-weight: bold;
  background: linear-gradient(transparent, rgba(238, 235, 224, 1));
}

/* Continuous movement */
@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-20%);
  }
}

/* Pause when mouse is over it */
.slider:hover .slide-track {
  animation-play-state: paused;
}

/* Testimonial Section */
    .testimonials {
      padding: 70px 20px;
      text-align: center;
    }

    .testimonials h2 {
      font-size: 36px;
      color: #222;
      margin-bottom: 10px;
    }

    .testimonials > p {
      color: #777;
      margin-bottom: 40px;
    }

    /* Carousel */
    .carousel {
      position: relative;
      max-width: 900px;
      margin: auto;
      overflow: hidden;
      border-radius: 20px;
    }

    .testimonial-track {
      display: flex;
      transition: transform 0.6s ease-in-out;
    }

    /* Testimonial Card */
    .testimonial {
      min-width: 100%;
      background: white;
      padding: 45px 80px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .testimonial img {
      width: 90px;
      height: 90px;
      object-fit: cover;
      border-radius: 50%;
      margin-bottom: 20px;
      border: 4px solid #4f46e5;
    }

    .stars {
      color: #fbbf24;
      font-size: 22px;
      margin-bottom: 20px;
    }

    .testimonial p {
      font-size: 20px;
      line-height: 1.7;
      color: #555;
      font-style: italic;
      margin-bottom: 20px;
    }

    .testimonial h3 {
      color: #222;
      font-size: 20px;
      margin-bottom: 5px;
    }

    .testimonial span {
      color: #888;
      font-size: 14px;
    }

    /* Buttons */
    .prev,
    .next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 45px;
      height: 45px;
      border: none;
      border-radius: 50%;
      background: #4f46e5;
      color: white;
      font-size: 25px;
      cursor: pointer;
      z-index: 5;
      transition: 0.3s;
    }

    .prev {
      left: 15px;
    }

    .next {
      right: 15px;
    }

    .prev:hover,
    .next:hover {
      background: #3730a3;
      transform: translateY(-50%) scale(1.1);
    }

    /* Dots */
    .dots {
      margin-top: 25px;
    }

    .dot {
      display: inline-block;
      width: 10px;
      height: 10px;
      margin: 0 5px;
      border-radius: 50%;
      background: #ccc;
      cursor: pointer;
      transition: 0.3s;
    }

    .dot.active {
      width: 25px;
      border-radius: 10px;
      background: #4f46e5;
    }

    /* Mobile */
    @media (max-width: 600px) {

      .testimonials h2 {
        font-size: 28px;
      }

      .testimonial {
        padding: 35px 55px;
      }

      .testimonial p {
        font-size: 16px;
      }

      .prev,
      .next {
        width: 38px;
        height: 38px;
        font-size: 20px;
      }
    }



/* =================
   FOOTER
================= */

.footer {
  background: rgba(100, 29, 0, 0.49);
  color: azure;
  padding: 70px 7% 25px;
  margin-top: 80px;
  font-family: serif;
    font-weight: bolder;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 50px;
}

.footer-brand h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-brand p,
.footer-newsletter p {
  color: black;
  line-height: 1.7;
  max-width: 320px;
}

.footer-column h3,
.footer-newsletter h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: #aaa79e;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-column a:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Social links */

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.social-links a {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #3a3833;
  border-radius: 50%;

  color: #f5f3eb;
  text-decoration: none;
  font-size: 12px;

  transition: 0.3s ease;
}

.social-links a:hover {
  background: #f5f3eb;
  color: #181714;
  transform: translateY(-3px);
}

/* Newsletter */

.footer-newsletter form {
  display: flex;
  margin-top: 20px;
  max-width: 400px;
}

/* Social linkIn */

.social-linkIn {
      width: 90%;
      max-width: 800px;
      margin: 20px auto;
      padding: 20px;
      background-color: white;
      color: white;
      box-sizing: border-box;
    }

    @media (max-width: 600px) {
      .responsive-box {
        width: 100%;
        padding: 15px;
      }
    }

.social-linkIn {
  display: flex;
  gap: 40px;
  margin-top: 20px;  
}

.social-linkIn a {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #3a3833;
  border-radius: 50%;

  color: blue;
  text-decoration: none;
  font-size: 30px;

  transition: 0.3s ease;
  text-align: center;
}

.social-linkIn a:hover {
  background: black;
  color: white;
  transform: translateY(-1px);
}

/* Newsletter */

.footer-newsletter form {
  display: flex;
  margin-top: 20px;
  max-width: 400px;
}
.footer-newsletter input {
  flex: 1;
  min-width: 0;

  padding: 14px 16px;

  background: #25231f;
  border: 1px solid #3a3833;
  border-right: none;

  color: #fff;
  outline: none;
}

.footer-newsletter input::placeholder {
  color: #77746d;
}

.footer-newsletter input:focus {
  border-color: #77736a;
}

.footer-newsletter button {
  padding: 14px 20px;

  border: none;
  background: #f5f3eb;
  color: #181714;

  font-weight: 600;
  cursor: pointer;

  transition: 0.3s ease;
}

.footer-newsletter button:hover {
  background: #fff;
}

/* Bottom */

.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 25px;

  border-top: 1px solid #302e29;

  display: flex;
  justify-content: space-between;
  gap: 20px;

  color: #77746d;
  font-size: 13px;
}

/* Responsive */

@media (max-width: 850px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-newsletter {
    grid-column: span 2;
  }
}

@media (max-width: 550px) {
  .footer {
    padding: 50px 6% 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-brand,
  .footer-newsletter {
    grid-column: span 1;
  }

  .footer-newsletter form {
    flex-direction: column;
    gap: 10px;
  }

  .footer-newsletter input {
    border-right: 1px solid #3a3833;
  }

  .footer-bottom {
    flex-direction: column;
    margin-top: 40px;
  }
}


/* =================
   TABLET / DESKTOP
================= */

@media (min-width: 768px) {

    .menu-btn {
        display: none;
    }

    .nav-links {
        display: flex;

        gap: 30px;
        list-style: none;
    }

    .nav-links.active {
        position: static;
        flex-direction: row;

        width: auto;

        padding: 0;
    }

    .cards {
        flex-direction: row;
        justify-content: center;
    }

    .card {
        width: 30%;
    }

    .hero h1 {
        font-size: 50px;
    }
}
.cards {
    display: flex;
    gap: 20px;
}

.card {
    flex: 1;
}

@media (max-width: 600px) {
    .cards {
        flex-direction: column;
    }
}