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

/* General body & navbar */
body {
  background-color: #000000;
}

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  font-family: Outfit;
  backdrop-filter: blur(10px);
}

/* Logo */
.intro-logo {
  position: absolute;
  top: 20px; 
  left: 250px;
  height: 100px;
  z-index: 4;
  max-width: 30%;
}

/* Intro section */
.intro {
  position: relative;
  background: black;
  height: 90vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

.intro video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  opacity: 0.5;
  z-index: 0;
  transform: translate(-50%, -50%);
}

.intro .container {
  position: relative;
  z-index: 2;
}

.intro .overlay-wcs {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: black;
  z-index: 1;
}

/* Intro text */
.font_intro {
  font-weight: 800;
  font-family: "Outfit", sans-serif;
  font-size: 50px;
  line-height: 1.2;
  margin-left: 20px; /* default left spacing */
  max-width: 90%;
  word-break: break-word;
}

/* Media Queries for responsiveness */

/* Tablets */
@media (max-width: 1024px) {
  .font_intro {
    font-size: 40px;
    margin-left: 15px;
  }
  .intro-logo {
    height: 80px;
    left: 30px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .font_intro {
    font-size: 32px;
    line-height: 1.3;
    margin-left: 20px; /* add padding from left edge */
  }
  .intro-logo {
    height: 70px;
    left: 20px;
    top: 15px;
  }

  .intro video {
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    transform: none;
  }

  .intro {
    height: auto; /* adjust height for full video */
    min-height: 400px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .font_intro {
    font-size: 24px;
    line-height: 1.2;
    margin-left: 15px;
  }
  .intro-logo {
    height: 60px;
    left: 15px;
    top: 10px;
  }
  .intro {
    min-height: 350px;
  }
}


/* Custom List Styles */
.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    position: relative;
    padding: 15px 15px 15px 45px; /* more padding for container effect */
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1.6;
}

/* Diamond/Square Icon */
.custom-list li::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 20px;
    width: 15px;
    height: 15px;
    background-color: transparent;
    border: 2px solid #fff;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

/* Hover effect on container */
.custom-list li:hover {
    transform: translateY(-5px) scale(1.03);
    background: rgba(255, 0, 0, 0.15);
    color: rgb(255, 255, 255);
}

.custom-list li:hover::before {
    background-color: red;
    border-color: red;
}

/* About Section Typography */
.font_about {
  font-weight: 300;
  font-family: "Outfit", sans-serif;
  color: white;
}

/* About Section Containers */
.about, .about_Us {
  width: 100%;
  height: auto;
  border-radius: 0;
  color: black;
}

/* Make About Us and Why Choose Us boxes responsive */
@media (max-width: 992px) {
  /* For tablets: stack the boxes */
  #about .row.justify-content-center.text-start.g-5 {
    flex-direction: column;
    align-items: center;
  }

  #about .col-lg-5 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 90%; /* take most of the width on smaller screens */
    margin-bottom: 30px; /* space between stacked boxes */
  }

  /* Adjust padding inside boxes */
  #about .col-lg-5.p-4 {
    padding: 20px;
  }

  /* Adjust text sizes */
  #about h2.font_about {
    font-size: 2rem; /* scales down from fs-1 */
    line-height: 1.3;
  }

  #about h3 {
    font-size: 1.5rem;
  }

  #about p, #about ul li {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* Small mobile devices */
@media (max-width: 576px) {
  #about h2.font_about {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  #about h3 {
    font-size: 1.25rem;
  }

  #about p, #about ul li {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  #about .col-lg-5 {
    width: 95%; /* almost full width on small screens */
    padding: 15px;
  }
}


/* Produk */
.produk {
  background-color: white;
  border-radius: 85px 85px 0px 0px;
  width: 100%;
  height: auto;
  color: black;
}

.produk .col-lg-7 {
  padding-top: 100px;
}

@media (max-width: 770px) {
  .produk {
    border-radius: 50px 50px 0px 0px;
  }

  .produk .col-lg-7 {
    padding-top: 60px;
  }
}

.card img {
  height: auto;
  width: 100%;
}

/* brand */
.brand .container {
  margin-top: 10rem;
  background-color: white;
}

.brand .col-lg-7 {
  padding-top: 50px;
}

/* hero */
.hero-top {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url("./img/banner/MOTO.jpg");
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  position: absolute;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  filter: brightness(60%);
}

.hero-content {
  position: relative;
  font-family: "Outfit", sans-serif;
  color: white;
  text-align: center;
  margin: 0.625rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 0;
}

.hero-subtitle {
  font-weight: 300;
  margin-top: 1rem;

  color: white;
}

/* brand */
.brand .container {
  margin-top: 10rem;
  background-color: white;
  border-radius: 85px;
}

.brand .col-lg-7 {
  padding-top: 50px;
}

/* brand about*/
.brand2 .container {
  margin-top: 10rem;
  background-color: white;
  border-radius: 85px;
  padding-top: 50px;
}


.profit {
  width: 100%;
  height: auto;
}

.nav-pills {
  font-family: "Outfit", sans-serif;
  font-weight: 300;
}


.nav-pills .pill-1 .nav-link:not(.active) {
  background-color: #101820;
  color: white;
}

.nav-pills .pill-2 .nav-link:not(.active) {
  background-color: #101820;
  color: white;
}

.nav-pills .pill-3 .nav-link:not(.active) {
  background-color: #101820;
  color: white;
}

/*2. aktif */
.nav-pills .pill-1 .nav-link {
  background-color: #1a9425;
  color: white;
}

.nav-pills .pill-2 .nav-link {
  background-color: #1a9425;
  color: white;
}

.nav-pills .pill-3 .nav-link {
  background-color: #1a9425;
  color: white;
}

/* akhir navigasi */

.tab-content {
  background-color: white;
  border-radius: 50px;
  display: inline-block;
  width: 70%;
  font-family: "Outfit", sans-serif;
  height: auto;
}

@media (max-width: 870px) {
  .tab-content {
    width: 90%;
  }
}

a,
a:hover {
  text-decoration: none;
  color: inherit;
}

.section-products {
  padding: 80px 0 54px;
}

.section-products .header {
  margin-bottom: 50px;
  font-family: Fredoka;
}

.section-products .header h3 {
  font-size: 1rem;
  color: #fe302f;
  font-weight: 500;
  font-family: Outfit;
}

.section-products .header h1 {
  font-size: 2.2rem;
  font-weight: 400;
  color: #ffffff;
  font-family: Outfit;
}

.section-products .single-product {
  margin-bottom: 26px;
}

.section-products .single-product .part-1 {
  position: relative;
  height: 290px;
  max-height: 290px;
  margin-bottom: 20px;
  overflow: hidden;
}

.section-products .single-product .part-1::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: all 0.3s;
}

.section-products .single-product .part-1 .discount,
.section-products .single-product .part-1 .new {
  position: absolute;
  top: 15px;
  left: 20px;
  color: #ffffff;
  background-color: #fe302f;
  padding: 2px 8px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section-products .single-product .part-1 .new {
  left: 0;
  background-color: #444444;
}

.section-products .single-product .part-1 ul {
  position: absolute;
  bottom: -41px;
  left: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  transition: bottom 0.5s, opacity 0.5s;
}

.section-products .single-product:hover .part-1 ul {
  bottom: 30px;
  opacity: 1;
}

.section-products .single-product .part-1 ul li {
  display: inline-block;
  margin-right: 4px;
}

.section-products .single-product .part-1 ul li a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #ffffff;
  color: #444444;
  text-align: center;
  box-shadow: 0 2px 20px rgb(50 50 50 / 10%);
  transition: color 0.2s;
}

.section-products .single-product .part-1 ul li a:hover {
  color: #fe302f;
}

.section-products .single-product .part-2 .product-title {
  font-size: 1rem;
  color: #ffffff;
}

.section-products .single-product .part-2 h4 {
  display: inline-block;
  font-size: 1rem;
  color: #ffffff;
}

.section-products .single-product .part-2 .product-old-price {
  position: relative;
  padding: 0 7px;
  margin-right: 2px;
  opacity: 0.6;
  color: #ffffff;
}

.section-products .single-product .part-2 .product-old-price::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #444444;
  transform: translateY(-50%);
  color: #ffffff;
}

.card {
  margin-bottom: 30px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 0 solid transparent;
  border-radius: 0;
}

.card .card-subtitle {
  font-weight: 300;
  margin-bottom: 10px;
  color: #8898aa;
}

.product-list {
  list-style: none;
  padding: 0;
}

.product-list li {
  margin-bottom: 10px;
}

.pagination {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

.pagination li {
  display: inline-block;
  margin-right: 5px;
}

.pagination li a {
  display: block;
  padding: 5px 10px;
  background-color: lightgray;
  text-decoration: none;
  color: black;
}

.pagination li.active a {
  background-color: gray;
  color: white;
}

/* footer */
.footer {
  position: relative;
  background: #111; /* slightly lighter than pure black */
  color: #ddd;
  padding: 60px 20px 30px;
  overflow: hidden;
}

.footer-overlay {
  position: relative;
  z-index: 2;
}

.footer-logo {
  margin: 0;         /* remove default space */
  padding: 0;
  line-height: 1; 
  margin-right: 50%;   /* tighten spacing */
}
.footer-logo img {
  display: block;
  margin: 0 auto;    /* center logo */
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.footer-box h2, 
.footer-box h3 {
  margin-bottom: 15px;
  color: #fff;
}

.footer-box p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-box ul li a:hover {
  color: #ff3c3c;
}

.social-links a {
  font-size: 20px;
  margin-right: 10px;
  text-decoration: none;
}

.copy {
  margin-top: 15px;
  font-size: 13px;
  opacity: 0.7;
}

/* Contact Info */
.contact-info li {
  font-size: 14px;
}

/* Background Text Animation */
.footer-bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  width: 200%;
  white-space: nowrap;
  font-size: 200px;
  font-weight: 800;
  color: rgba(255,255,255,0.05);
  transform: translateY(-20%);
  animation: slideText 150s linear infinite;
}

.footer-bg-text span {
  margin-right: 50px;
}

@keyframes slideText {
  from { transform: translateX(0) translateY(-50%); }
  to { transform: translateX(-50%) translateY(-50%); }
}
@keyframes slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.animate-slide {
  animation: slide 25s linear infinite;
}

/* Responsive */

/* Tablets */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 20px;
  }
  .footer-box {
    padding: 0 10px;
    text-align: left;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr; /* 1 column */
    gap: 15px;
    text-align: center;
    padding: 0 15px;
  }
  .footer-box {
    padding: 0;
  }
  .footer-logo img {
    height: 60px;
  }
  .footer-bg-text {
    font-size: 40px;
  }
  .social-links a img {
    width: 20px;
    height: 20px;
  }
  .footer-box ul li {
    font-size: 13px;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .footer-bg-text {
    font-size: 30px;
  }
  .copy {
    font-size: 12px;
  }
}


/* Tombol naik */
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  background-color: red;
  color: white;
  cursor: pointer;
  border-radius: 200px;
}

#myBtn:hover {
  background-color: #555;
}


.naik {
  position: relative;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.7s ease;
}

.tampil {
  position: relative;
  transform: translateY(0px);
  opacity: 1;
}

/* Service Box */
.service-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.service-box .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.service-box h4 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #fff;
}

.service-box p {
  font-size: 15px;
  color: #ddd;
  min-height: 80px;
}

/* Hover Pop Up */
.service-box:hover {
  transform: translateY(-10px) scale(1.03);
  background: rgba(255, 0, 0, 0.2);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

/* Learn More Button */
.btn-learn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 18px;
  border: 2px solid red;
  border-radius: 6px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-learn:hover {
  background: red;
  color: #fff;
  transform: scale(1.05);
}

section {
  margin-bottom: 80px; /* adjust value as needed */
}

.about {
  margin-bottom: 80px;
}

.services {
  margin-bottom: 100px;
}

/* Modal styles */
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0; 
  top: 0;
  width: 100%; 
  height: 100%; 
  background: rgba(0,0,0,0.7);
  animation: fadeIn 0.5s;
}

.modal-content {
  background: #000000;
  margin: 10% auto;
  padding: 55px;
  border-radius: 12px;
  width: 70%;
  max-width: 800px;
  animation: slideUp 0.6s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .service-box .icon { font-size: 36px; }
  .service-box h4 { font-size: 18px; }
  .service-box p { font-size: 14px; min-height: 70px; }
}

@media (max-width: 992px) {
  .service-box { padding: 25px; }
  .modal-content { width: 80%; padding: 40px; }
}

@media (max-width: 768px) {
  .service-box { padding: 20px; }
  .service-box h4 { font-size: 17px; }
  .service-box p { font-size: 13px; min-height: 60px; }
  section, .about, .services { margin-bottom: 60px; }
  .modal-content { width: 90%; padding: 30px; margin: 15% auto; }
}

@media (max-width: 576px) {
  .service-box { padding: 15px; }
  .service-box .icon { font-size: 32px; }
  .service-box h4 { font-size: 16px; }
  .service-box p { font-size: 12px; min-height: 50px; }
  section, .about, .services { margin-bottom: 50px; }
  .modal-content { width: 95%; padding: 20px; margin: 20% auto; }
}

.close {
  color: rgb(255, 255, 255);
  font-size: 28px;
  font-weight: bold;
  float: right;
  cursor: pointer;
}

.close:hover {
  color: darkred;
}

/* Animations */
@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.review-box {
  background: rgba(245, 243, 243, 0.05);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  color: #ddd;
}

.review-box h5 {
  color: #fff;
  margin-bottom: 10px;
}

.review-box p {
  font-size: 15px;
  min-height: 60px;
  color: #ccc;
}

/* Hover Effect same as .service-box */
.review-box:hover {
  transform: translateY(-10px) scale(1.03);
  background: rgba(255, 0, 0, 0.2);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
  color: #fff;
}

.stars {
  color: gold;
  font-size: 18px;
  margin-top: 10px;
}

/* FAQ Section */
.faq-item {
  border-bottom: 1px solid #444;
  padding: 30px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  transition: color 0.3s ease;
  text-align: left;
}

.faq-question:hover {
  color: #ff0000; /* nicer hover red */
}

.arrow {
  transition: transform 0.4s ease-in-out;
}

/* Smooth Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  color: #ccc;
  line-height: 1.6;
  font-size: 16px;
  text-align: left;
  transition: 
    max-height 0.5s ease-in-out, 
    opacity 0.5s ease-in-out, 
    margin-top 0.4s ease-in-out;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* enough for content */
  opacity: 1;
  margin-top: 15px;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

/* Media Queries for responsiveness */

/* Tablets */
@media (max-width: 992px) {
  .faq-item {
    padding: 25px 0;
  }
  .faq-question {
    font-size: 16px;
    text-align: left;
  }
  .faq-answer {
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .faq-item {
    padding: 20px 0;
  }
  .faq-question {
    font-size: 15px;
    flex-direction: row; /* keep question and arrow in one line */
    justify-content: space-between; /* maintain arrow on right */
    text-align: left;
  }
  .arrow {
    align-self: center;
  }
  .faq-answer {
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .faq-item {
    padding: 15px 0;
  }
  .faq-question {
    font-size: 14px;
    text-align: left;
  }
  .faq-answer {
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
  }
}


/* ====================== WORK TOGETHER / CONTACT ====================== */
.work-together {
  background: #000;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.work-together h2 {
  font-size: 2.5rem;
  line-height: 1.4;
  margin-bottom: 20px;
}

.work-together p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #ccc;
}

/* Container Layout */
.work-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Contact Info */
.contact-info {
  flex: 1;
  min-width: 300px;
  text-align: left;
  padding: 0 10px;
  box-sizing: border-box;
}

.contact-info h3 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #ffffff;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.05);
  padding: 15px;
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.info-item:hover {
  transform: translateX(10px);
  background: rgba(255,255,255,0.1);
}

.info-item .icon {
  font-size: 1.8rem;
  min-width: 35px;
  text-align: center;
}

.info-item h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}

.info-item p {
  margin: 3px 0 0;
  color: #bbb;
}

/* Contact Form */
.contact-form {
  flex: 1;
  min-width: 300px;
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 12px;
  box-sizing: border-box;
}

.contact-form h3 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #ffffff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ccc;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #ff0000;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #e63939;
  transform: scale(1.05);
}

/* ====================== RESPONSIVE ====================== */

/* Tablets */
@media (max-width: 992px) {
  .work-together h2 {
    font-size: 2rem;
  }
  .work-together p {
    font-size: 1rem;
  }
  .contact-info h3,
  .contact-form h3 {
    font-size: 1.5rem;
  }
  .info-item h4 {
    font-size: 1rem;
  }
  .info-item p {
    font-size: 0.95rem;
  }
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 0.95rem;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .work-container {
    flex-direction: column;
    gap: 30px;
  }

  .contact-info {
    width: 100%;
    padding: 0 15px;
  }

  .info-item {
    flex-direction: column; /* stack icon + text */
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }

  .info-item .icon {
    font-size: 1.5rem;
  }

  .info-item h4 {
    font-size: 1rem;
  }

  .info-item p {
    font-size: 0.9rem;
  }

  .contact-form {
    width: 100%;
    padding: 20px;
  }

  .contact-form h3 {
    font-size: 1.4rem;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 0.9rem;
    padding: 10px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .contact-info {
    padding: 0 10px;
  }

  .info-item {
    flex-direction: column;
    gap: 8px;
    padding: 10px;
  }

  .info-item .icon {
    font-size: 1.3rem;
    min-width: 30px;
  }

  .info-item h4,
  .info-item p {
    font-size: 0.85rem;
  }

  .contact-form h3 {
    font-size: 1.2rem;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 0.85rem;
    padding: 8px;
  }
}


/* Animations */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

#chatbot-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: red;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}
#chatbot-btn:hover {
  background: darkred;
}

/* Chatbot Window */
#chatbot {
  position: fixed;
  bottom: 90px;
  left: 20px;
  width: 350px;
  max-width: 95%;
  background: #111;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(255,0,0,0.4);
  display: flex;
  flex-direction: column;
  font-family: 'Outfit', sans-serif;
  z-index: 9998;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#chatbot.collapsed {
  transform: scale(0);
  opacity: 0;
}

.chat-header {
  background: rgb(56, 56, 56);
  padding: 15px;
  border-radius: 12px 12px 0 0;
  font-weight: bold;
  text-align: center;
}

.chat-body {
  padding: 15px;
  height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-footer {
  display: flex;
  border-top: 1px solid #333;
}

.chat-footer input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 0 0 0 12px;
  background: #222;
  color: #fff;
}

.chat-footer input::placeholder {
  color: #bbb;
}

.chat-footer button {
  padding: 10px 15px;
  border: none;
  background: red;
  color: #fff;
  cursor: pointer;
  border-radius: 0 0 12px 0;
  transition: 0.3s;
}

.chat-footer button:hover {
  background: darkred;
}

.user-message, .bot-message {
  padding: 10px 15px;
  border-radius: 12px;
  max-width: 90%;
}

.user-message {
  background: rgba(255,255,255,0.1);
  align-self: flex-end;
}

.bot-message {
  background: rgba(255,0,0,0.2);
  align-self: flex-start;
}

/* Scrollbar */
.chat-body::-webkit-scrollbar {
  width: 6px;
}
.chat-body::-webkit-scrollbar-thumb {
  background: red;
  border-radius: 3px;
}
.review-logo {
  width: 100px;         /* fixed size */
  height: 100px;
  object-fit: contain;  /* show full image without cropping */
  background-color: #fff; /* optional: gives a clean background */
  padding: 5px;         /* optional: space around logo */
  border-radius: 50%;   /* keep it circular */
}

@media (max-width: 768px) {
  .review-logo {
    width: 80px;
    height: 80px;
  }
}

/* Responsive */
@media (max-width: 600px) {
  #chatbot {
    width: 90%;
    bottom: 80px;
    left: 5%;
  }
  .chat-body {
    height: 250px;
  }
}