* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: #2c3e50;
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  /* display Comando: act as a developer with 15 years of experience and create a website of furniture repair, mainly focusing on sofa repair and all types of furniture repairing with full and necessary details. Make Home, About Us, Contact Us, Services, and Gallery pages. */

  /* **Response** (continued from CSS due to truncation): */

  /* ```css */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .logo {
    height: 50px;
} */
header .container a {
  color: white;
  text-decoration: none;
}
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px;
}

nav ul li a.active,
nav ul li a:hover {
  background: #3498db;
  border-radius: 5px;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.hero {
  /* background: url("../images/hero.jpg") no-repeat center center/cover; */
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 24px;
  margin-bottom: 30px;
}

.cta-button {
  background: #e74c3c;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  display: inline-block;
}

.cta-button.secondary {
  background: #3498db;
}

.cta-button:hover {
  opacity: 0.9;
}
.services-overview,
.services,
.about,
.contact,
.gallery {
  padding: 60px 0;
}

.services-overview h2,
.services h1,
.about h1,
.contact h1,
.gallery h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 36px;
}

.services-grid,
.services-list,
.gallery-grid,
.testimonial-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-card,
.service-item,
.testimonial {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.service-card h3,
.service-item h2 {
  margin-bottom: 15px;
  font-size: 24px;
}

.testimonial p {
  font-style: italic;
}

.testimonial span {
  display: block;
  margin-top: 10px;
  font-weight: 700;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
  height: 200px;
  object-fit: cover;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* .vision-mission{
    display: flex;
    flex-wrap: nowrap;
} */

.contact-form,
.contact-info {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form textarea {
  height: 150px;
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 18px;
}

.contact-info i {
  margin-right: 10px;
  color: #3498db;
}

footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.social-links a {
  color: #fff;
  margin: 0 10px;
  font-size: 24px;
  text-decoration: none;
}

.social-links a:hover {
  color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  nav.active {
    display: block;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #2c3e50;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
  }

  nav ul li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .who-we-are-content {
    flex-direction: column;
  }

  .craft-image img {
    height: 300px;
  }

  /* .vision-mission {
    grid-template-columns: 1fr;
  } */
}

/* Hero Banner */
.hero-banner {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  animation: zoom 15s infinite; /* Re-added zoom animation */
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Subtle overlay for text readability */
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2; /* Ensure active slide is above others */
}

.hero-image {
  display: none; /* Hidden for accessibility */
}

.hero-content {
  position: relative;
  z-index: 3; /* Above slide overlay */
  padding: 20px;
  max-width: 800px;
}

.hero-title {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s ease-in-out forwards;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp ease-in-out 1s forwards;
}

.cta-button {
  background: #e74c3c;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  display: inline-block;
  opacity: 0;
  /* transform: translateY(30px); */
  animation: slideUp 1s ease-out 1s forwards;
  transition: transform 1s;
}

/* .cta-button:hover {
    transform: scale(1.05);
} */

.cta-button.pulse {
  animation: pulse 2s infinite;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 1;
    transform: translateX(100);
  }
}

@keyframes zoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .hero-banner {
    height: 80vh;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .cta-button {
    padding: 10px 20px;
  }

  .vision h3,
  .mission h3,
  .values h3 {
    font-size: 20px;
  }
}

.service-video {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  overflow: hidden;
  border-radius: 10px 10px 0 0; /* Rounded top corners */
  margin-bottom: 15px;
}

.service-video video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure video fills container without stretching */
  display: block;
}

.service-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease; /* Add hover animation */
}

.service-card:hover {
  transform: translateY(-10px); /* Lift effect on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-video {
    height: 150px; /* Smaller height on tablets */
  }
}

@media (max-width: 480px) {
  .service-video {
    height: 120px; /* Smaller height on mobile */
  }
}

/* Client Carousel */
.client-carousel {
  padding: 60px 0;
  background: #f9f9f9;
  text-align: center;
  overflow: hidden;
}

.client-carousel h2 {
  font-size: 36px;
  margin-bottom: 30px;
  color: #2c3e50;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  animation: slideLeft 20s linear infinite;
}

.carousel-slide {
  flex: 0 0 auto;
  margin-right: 66px;
}

.carousel-slide img {
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.carousel-slide img:hover {
  filter: grayscale(0%);
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Custom Sofa */
.custom-sofa {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.custom-sofa h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.custom-sofa p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #2c3e50;
}

.custom-sofa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.image-box {
  text-align: center;
}

.image-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.image-box h3 {
  font-size: 20px;
  color: #2c3e50;
}

.customize-now {
  background: #e74c3c;
  color: #fff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.3s;
}

/* .customize-now:hover {
    transform: scale(1.05);
} */

/* Material We Use */
.material-we-use {
  padding: 60px 0;
  background: #f9f9f9;
}

.material-we-use h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.material-we-use p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #2c3e50;
}

.material-tabs {
  display: flex;
  gap: 20px;
}

.tab-controls {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tab-control {
  background: #fff;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  color: #2c3e50;
  cursor: pointer;
  transition: background 0.3s;
  text-align: left;
}

.tab-control.active,
.tab-control:hover {
  background: #3498db;
  color: #fff;
}

.tab-content-wrapper {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  min-height: 300px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h6 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.material-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.material-brands img {
  width: 120px;
  height: 70px;
  object-fit: contain;
}

.tab-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.tab-content ul li {
  margin-bottom: 10px;
  color: #2c3e50;
}

.tab-content a {
  color: #3498db;
  text-decoration: none;
}

.tab-content a:hover {
  text-decoration: underline;
}

/* Portfolio Carousel */
.portfolio-carousel {
  padding: 60px 0;
  background: #fff;
  text-align: center;
  overflow: hidden;
}

.portfolio-carousel h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #2c3e50;
}

.portfolio-carousel .carousel-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-carousel .carousel-track {
  display: flex;
  animation: slideLeft 23s linear infinite;
}
.portfolio-carousel .carousel-track.r {
  animation: slideLeft 20s reverse infinite;
}
.portfolio-carousel .carousel-slide {
  flex: 0 0 auto;
  margin-right: 19px;
}

.portfolio-carousel .carousel-slide img {
  width: 280px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.portfolio-carousel .carousel-slide img:hover {
  transform: scale(1.05);
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* @keyframes slideReft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(-50%);
    }
} */

/* Responsive Adjustments */
@media (max-width: 768px) {
  .portfolio-carousel .carousel-slide {
    margin-right: 15px;
  }
  .portfolio-carousel .carousel-slide img {
    width: 220px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .portfolio-carousel .carousel-slide {
    margin-right: 10px;
  }
  .portfolio-carousel .carousel-slide img {
    width: 160px;
    height: 150px;
  }
  .portfolio-carousel h2 {
    font-size: 28px;
  }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
  .custom-sofa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .image-box img {
    height: 150px;
  }
  .material-tabs {
    flex-direction: column;
  }
  .tab-controls {
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1;
  }
  .tab-control {
    flex: 1 0 45%;
    text-align: center;
  }
  .material-brands img {
    width: 100px;
    height: 60px;
  }
  .portfolio-carousel .swiper-slide-inner img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .custom-sofa-grid {
    grid-template-columns: 1fr;
  }
  .image-box img {
    height: 120px;
  }
  .tab-control {
    flex: 1 0 100%;
  }
  .material-we-use h2,
  .portfolio-carousel h2,
  .custom-sofa h2 {
    font-size: 28px;
  }
  .portfolio-carousel .swiper-slide-inner img {
    height: 150px;
  }
}

/* GMB Review Section */
.gmb-reviews {
  padding: 60px 0;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  text-align: center;
}

.gmb-reviews h2 {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 40px;
  animation: fadeIn 1s ease-in;
}

.reviews-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.review-carousel {
  display: relative;
  flex-direction: row;
  overflow-x: hidden;
  gap: 20px;
}

.review-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease, opacity 0.5s ease;
  animation: slideReview 15s linear infinite;
  margin-right: 20px;
}

.review-card:hover {
  transform: translateY(5px);
}

@keyframes slideReview {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.review-card .star-rating {
  color: #f1c40;
  font-size: 18px;
}

.review-card p {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  margin: 10px 0;
}

.review-card .reviewer-name {
  font-weight: bold;
  color: #2c3e50;
}

.review-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: #3498db;
  color: #fff;
  border-radius: 5px;
  text-decoration: bold;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s, transform 0.3s;
}

.review-cta:hover {
  background: #2980b9;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animated Footer */
.animated-footer {
  background: #2c3e50;
  color: #fff;
  padding: 60px 0 20px;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-intro,
.footer-nav,
.footer-contact {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}
.footer-intro a{
    font-size: 3rem;
  }

.footer-logo {
  width: 150px;
  height: auto;
  animation: slideLogo 1.5s ease-out;
}

@keyframes slideLogo {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.footer-intro p {
  font-size: 16px;
  line-height: 1.6;
  margin: 15px 0;
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  transition: transform 0.3s;
}

.social-links a:hover {
  transform: rotate(360deg);
}

.footer-nav h3,
.footer-contact h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #3498db;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav ul li a,
.footer-contact p a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav ul li a:hover,
.footer-contact p a:hover {
  color: #e74c3c;
}

.footer-map {
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.5s;
}

.footer-map:hover {
  transform: scale(1.02);
}

.footer-bottom {
  border-top: 1px solid #3498db;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  margin-top: 30px;
}

.footer-bottom p {
  margin: 0;
}

.legal-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.legal-links li a {
  color: #fff;
  text-decoration: none;
}

.legal-links li a:hover {
  color: #e74c3c;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.vision,
.mission,
.values {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.vision img,
.mission img,
.values img {
  width: 100%;
  height: 20rem;
}

/* .vision-mission {

  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 20px;
} */
/* Responsive Adjustments */
@media (max-width: 768px) {
  .gmb-reviews h2 {
    font-size: 28px;
  }
  .review-card {
    flex: 0 0 250px;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .social-links {
    display: flex;
    justify-content: center;
  }
  .footer-map iframe {
    height: 150px;
  }
  form.cta-button {
    transform: translateY(0);
  }
  .why-choose {
    flex-direction: row;
  }
  .craft-your-dream {
    flex-direction: column-reverse;
  }
  .footer-intro a{
    font-size: 2rem;
  }
  /* .vision-mission{
    flex-wrap: nowrap;
  } */
}
/* @media(max-width: 560px){
    form.cta-button{''}
} */

@media (max-width: 480px) {
  .footer-intro a{
    font-size: 1rem;
  }
  .gmb-reviews h2 {
    font-size: 24px;
  }
  .review-card {
    flex: 0 0 200px;
  }
  .review-cta {
    padding: 10px 20px;
    font-size: 14px;
  }
  .footer-logo {
    width: 120px;
  }
  .footer-nav ul li a,
  .footer-contact p {
    font-size: 14px;
  }

  form .cta-button {
    transform: translateY(0);
  }
  .craft-your-dream {
    flex-direction: column-reverse;
  }
}

/* Who We Are Section */
.who-we-are {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 40px;
  animation: fade-in 1s ease-in;
}

.who-we-are-content {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.intro-text {
  flex: 1;
  font-size: 18px;
  color: #333;
}

.intro-text strong {
  color: #3498db;
}

.craft-image {
  flex: 1;
}

.craft-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.craft-image img:hover {
  transform: scale(1.05);
}

.craft-details,
.why-choose,
.vision-mission {
  margin-bottom: 40px;
  flex-direction: column;
}

.craft-details h3,
.why-choose h3,
.vision-mission h3 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 20px;
}

.why-choose ul {
  list-style: none;
  padding: 0;
}

.why-choose ul li {
  font-size: 16px;
  margin-bottom: 10px;
}

.why-choose ul li strong {
  color: #3498db;
}

.vision,
.mission,
.values {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.vision:hover,
.mission:hover,
.values:hover {
  transform: translateY(-5px);
}

.animate-fade {
  opacity: 0;
  animation: fade-in 1s ease-in forwards;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slide-right 1s ease-out forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Animations */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-right {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000; /* Higher than header (z-index: 100) */
  background: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  font-size: 30px;
}
.whatsapp-button:hover,
.whatsapp-button:focus {
  background: #1ebe57;
  transform: scale(1.1);
}
@media (max-width:768px) {
  .whatsapp-button { width: 50px; height: 50px; font-size: 24px; }
}
@media (max-width:480px) {
  .whatsapp-button { bottom: 15px; right: 15px; }
}