body {
  margin: auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 12%;
  background: url('Images/img-8918.jpg');
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.1) !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  z-index: 1000;
}

.logo {
  height: 10vh;
  width: auto;
  margin: 0 40px;
}

.header-nav{
  margin: 50px;
}

/* .head {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  width: 450px;
  left: 0;
}

.head .full {
  display: none;
  margin-left: 8px;
  transition: opacity 0.3s ease-in-out;
}

.head:hover .short {
  display: none;
}

.head:hover .full {
  font-size: 24px;
  display: inline;
  opacity: 1;
  font-family: 'Aclonica';
}

.brand {
  display: grid;
  align-items: center;
}

.brand>.short,
.brand>.full {
  grid-area: 1 / 1;
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.brand>.short {
  opacity: 1;
  transform: scale(1);
}

.brand>.full {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

.head:hover .brand>.short {
  opacity: 0;
  transform: scale(0.92);
}

.head:hover .brand>.full {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
} */

li {
  list-style: none;
  cursor: pointer;
  font-weight: bold;
}

ul {
  display: flex;
  flex-direction: row;
  gap: 50px;
}

ul li a {
  color: ivory;
  font-weight: bold;
  text-decoration: none;
  font-size: large;
}

.nav ul li a.active {
  color: goldenrod;
  font-weight: bold;
}

ul li a:hover {
  color: goldenrod;
  text-decoration: underline;
}

marquee {
  margin-top: 85px;
}

/* Carousel section */
.carousel {
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
  margin: auto;
}

.slides {
  display: flex;
  height: 100%;
  animation: slideAnim 25s infinite;
}

.slide {
  width: 100%;
  flex-shrink: 0;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.slide-content {
  position: absolute;
  bottom: 5%;
  left: 13%;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 20px;
  border-radius: 8px;
  text-align: left;
}

.slide-content h2 {
  font-size: 2rem;
  margin: 0 0 10px;
  color: goldenrod;
}

.slide-content p {
  font-size: 1.2rem;
  margin: 0;
}

/* Auto sliding animation */
@keyframes slideAnim {

  0%,
  20% {
    transform: translateX(0%);
  }

  25%,
  40% {
    transform: translateX(-100%);
  }

  45%,
  60% {
    transform: translateX(-200%);
  }

  65%,
  80% {
    transform: translateX(-300%);
  }

  85%,
  100% {
    transform: translateX(-400%);
  }
}

marquee {
  margin-top: 78px;
}

section {
  padding: 50px 20px;
  margin: auto;
}

/* about section */
.about {
  background-color: #ebebeb;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  padding-top: 30px;
  color: #d97706;
  font-size: 35px;
}

.about-container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  flex-direction: column;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  margin-top: 15px;
  color: orange;
}

.about-text ul {
  margin: 10px 0 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-text ul li {
  margin-bottom: 8px;
  list-style: disc;
}

/* .about-img {
  display: flex;
  width: 50vw;
  gap: 25%;
  margin-left: 20px;
  flex: 1;
  opacity: 0;
  transform: translateX(0);
  transition: all 2.2s ease-in-out;
} */

/* .about-img.show {
  opacity: 1;
  transform: translateX(0);
} */

.about-img {
  display: flex;
  /* justify-content: flex-end; */
  gap: 12%;
}

.about-img img {
  width: 100%;
  max-width: 45vw;
  margin-left: 15px;
  opacity: 0;
  transform: translateX(0);
  transition: all 3.0s ease-in-out;
}

/* Slide from left */
.about-img img.left-slide {
  transform: translateX(-100px);
}

.about-img img.left-slide.show {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.about-img img.right-slide {
  transform: translateX(100px);
}

.about-img img.right-slide.show {
  opacity: 1;
  transform: translateX(0);
}

.about-img img {
  width: 40vw;
  border-radius: 10px;
}

/* Product section */
.products {
  text-align: center;
  padding: 50px 20px;
  background-image: url('Images/img-8926.jpg');
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.62) !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  background-attachment: fixed;
}

.products h2 {
  font-size: 35px;
}

.card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  gap: 60px;
  margin-left: 40px;
}

.card {
  width: 325px;
  height: 230px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card.is-flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.card-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform .75s ease, box-shadow .25s ease;
}

.card-front:hover {
  transform: scale(1.2);
  transition: transform(0.3s) ease-in-out;
  color: goldenrod;
  border-bottom-style: solid;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.card-back {
  background: #ebebeb;
  color: #333;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-back h3 {
  margin-bottom: 10px;
}

.card-back p {
  font-size: 14px;
  margin-bottom: 15px;
}

.btn {
  padding: 8px 14px;
  color: #333;
  text-decoration: none;
  border: #3654ff 0.2em solid;
  border-radius: 5px;
  transition: all 0.6s ease;
}

.btn:hover {
  background: #3654ff;
  color: #fff;
  cursor: pointer;
}

/* Gallery section */
.gallery-container {
  position: relative;
  align-items: center;
  /* margin: 40px; */
}

.carousel-gallery {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: auto;
  /* padding: 20px; */
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  padding: 0;
  margin: 0;
  list-style: none;
}

.gallery-track .g-card {
  flex: 0 0 calc(33.33% - 20px);
  margin: 0 10px;
}

.gallery-track img {
  width: 100%;
  border-radius: 10px;
  display: block;
  height: 250px;
  object-fit: cover;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  height: 30px;
  width: 30px;
}

.gallery-prev {
  left: 0;
}

.gallery-next {
  right: 0;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Modal background */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

/* Modal image */
.modal-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  animation: zoomIn 0.3s ease;
}

/* Close button */
.close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* Prev/Next buttons inside modal */
.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
  transition: background 0.3s ease;
  z-index: 10000;
}

.modal-prev:hover,
.modal-next:hover {
  color: #3654ff;
}

/* Positioning */
.modal-prev {
  left: 30px;
}

.modal-next {
  right: 30px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .modal-prev,
  .modal-next {
    font-size: 1.8rem;
    padding: 6px 12px;
  }
  .close {
    font-size: 30px;
    right: 20px;
  }
}


/* Animation */
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Tablet: 2 items per view */
@media (max-width: 992px) {
  .gallery-track .card {
    flex: 0 0 calc(50% - 20px);
  }
}

/* why section */
.why-wrap {
  padding: 70px 20px;
  text-align: center;
  background-image: url('Images/slide-7.jpg');
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.62) !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  background-attachment: fixed;
}

.title {
  font-size: 35px;
  margin: 0 0 10px;
  color: #d97706;
}

.subtitle {
  margin: 0 auto 30px;
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}

.art-card {
  background: #ebebeb;
  height: 30vh;
  border-radius: 14px;
  padding: 25px 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform .25s ease, box-shadow .25s ease;
}

.art-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: goldenrod;
  border-bottom-style: solid;
}

.art-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #222;
}

.art-card p {
  margin: 0;
  color: #222;
  font-size: 14px;
  line-height: 1.5;
}

/* Testimonial Section */
#testimonials {
  padding: 60px 20px;
  background-color: #ebebeb;
  color: #fff;
  position: relative;
  box-shadow: 0px 2px 5px 0px goldenrod;
}

#testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.5); */
}

.testimonial-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: auto;
}

#testimonials h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #d97706;
  text-align: center;
}

#testimonials .sub-text {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #000;
  text-align: center;
}

/* Reviews Summary */
.reviews-summary {
  background: #fff;
  color: #000;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.reviews-summary img {
  height: 30px;
}

.reviews-summary .left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.reviews-summary .title {
  font-weight: bold;
  font-size: 1.2rem;
}

.reviews-summary .rating {
  font-size: 1rem;
}

.review-btn {
  background: #1a73e8;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
}

.review-btn:hover {
  background: #125ac4;
}

/* Review Carousel */
.review-carousel {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.review-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.review-card {
  background: #fff;
  color: #000;
  border-radius: 12px;
  padding: 20px;
  min-width: 280px;
  max-width: 300px;
  margin: 0 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex: 0 0 auto;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.user-info img {
  margin-left: 5px;
  width: 20px;
  height: 20px;
  margin-bottom: -5px;
}

.stars {
  color: #f1c40f;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.review-card p {
  max-height: 60px; /* default height (about 3 lines) */
  overflow: hidden;
  text-overflow: ellipsis;
  transition: max-height 0.3s ease;
  position: relative;
}

.review-card p.expanded {
  max-height: 500px; /* enough to show full text */
}

.more-btn {
  color: blue;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 5px;
  display: inline-block;
}


/* Arrows */
.review-carousel button {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.review-carousel .prev {
  left: 0;
}

.review-carousel .next {
  right: 0;
}

.review-carousel button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.user-info h4 {
  margin: auto;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  text-decoration: none;
  font-size: 32px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float i {
  color: white;
  margin-top: 13px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20b954;
}

/* Responsive visibility */
.whatsapp-float {
  display: block;
}
.mobile-only {
  display: none !important;
}

@media (max-width: 600px) {
  .whatsapp-float {
    display: none; 
  }
  .mobile-only {
    display: inline-flex !important; 
  }
}

/* footer */
.footer {
  background: #ebebeb;
  color: #222;
  padding: 50px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  color: #f59e0b;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-col p {
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #f59e0b;
}

.footer-logo {
  height: 85px;  
}

.footer-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  margin-top: 30px;
  font-size: 13px;
  color: #555;
}

.whatsapp-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 8px 14px;
  border-radius: 25px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s;
}

.whatsapp-footer:hover {
  background: #20b954;
}

/* Default: hide hamburger */
.hamburger {
  display: none;
  font-size: 24px;
  color: ivory;
  cursor: pointer;
}

/* Large screens (desktops < 1200px) */
@media (max-width: 1200px) {
  .card-container {
    gap: 30px;
    flex-wrap: wrap;
  }

  .carousel-gallery .gallery .card {
    width: 160px;
  }

  .footer iframe {
    width: auto;
  }
}

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .header {
    flex-direction: row;
    padding: 2px;
    text-align: center;
    /* width: auto; */
  }


  ul {
    flex-direction: row;
    gap: 5px;
    margin-top: 15px;
    margin-right: 25px;
  }

  .about-container {
    flex-direction: column;
    /* text-align: center; */
  }

  .about-img img {
    max-width: 80%;
    margin-left: 2rem;
  }

  .card-container {
    flex-wrap: wrap;
    justify-content: center;
    margin-right: 40px;
    gap: 20px;
  }

  .products {
    background-size: cover;
    background-position: 50%;
  }

  .products h2 {
    font-size: 26px;
  }

  .carousel-gallery .gallery {
    height: 200px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .art-card {
    height: 150px;
    width: 250px;
    padding: 20px;
    margin: auto;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {

  .header {
    display: flex;
    justify-content: space-evenly;
  }

  .carousel {
    height: 300px;
  }

  .carousel-gallery .gallery .card {
    width: 120px;
  }

  .products {
    background-size: cover;
    background-position: 50%;
  }

  .products h2 {
    font-size: 22px;
  }

  .card {
    width: 260px;
    height: 200px;
  }

  .about-text h3 {
    font-size: 18px;
  }

  .subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .footer-col h3 {
    font-size: 16px;
  }

  .footer-col p,
  .footer-col ul li a {
    font-size: 13px;
  }
}

@media (min-width: 320px) and (max-width: 600px) {
  .header {
    width: 100vw;
    height: auto;
    justify-content: space-between;
  }

  .logo {
    height:11vh;
    /* margin: 3px 10px; */
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100px;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px;
    margin: 0px;
    border-radius: 8px;
  }

  .header-nav.active {
    display: block;
  }

  .header-nav ul li a:hover {
    color: #f59e0b;
    text-decoration: underline;
  }

  .header-nav ul {
    margin: auto;
    gap: 25px;
  }

  .header-nav ul li a {
    font-size: 16px;
    color: white;
  }

  .hamburger {
    display: block;
    margin-right: 20px;
  }

  marquee {
    margin-top: 6rem;
  }

  .carousel {
    height: 400px;
  }

  .carousel-gallery {
    flex-direction: column;
  }

  .carousel-gallery .gallery .g-card {
    width: 100px;
  }

  .slide-content {
    max-height: 50px;
    margin-right: 20px;
  }

  .slide-content h2 {
    font-size: smaller;
    margin-top: -40px;
  }

  .slide-content p {
    font-size: small;
    font-style: italic;
    text-align: center;
  }

  .about-img {
    flex-direction: column;
    gap: 20px;
    margin: auto;
  }

  .about-img img {
    width: auto;
    border-radius: 10px;
  }

  .products {
    background-size: cover;
  }

  .products h2 {
    font-size: 20px;
  }

  .card {
    width: 220px;
    height: 180px;
  }

  h2 {
    font-size: 20px;
  }

  .title {
    font-size: 22px;
  }

  .art-card p {
    font-size: 13px;
  }

  .subtitle {
    width: 100%;
    height: 100%;
  }

  .gallery-track img{
    margin-left: -12px !important;
    /* right:0 !important; */
  }

  .gallery-track .g-card {
    flex: 0 0 100% !important;
    margin: 0 !important;
  }

  #testimonials h2 {
    font-size: 20px;
  }
  
  .review-card{
    width: 10px;
  }
  .reviews-summary {
    flex-direction: column;
    gap: 40px;
  }

  .footer {
    padding: 30px 10px;
  }
  .footer-logo{
   margin: auto;
  }
}