/* ============================================================
   Mallow for All — Clean & Optimized CSS
   Organized by Functional Sections
   ============================================================ */

/* ------------------- 1. GLOBAL VARIABLES ------------------- */
:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #666666;
  --accent: #000000;
  --radius: 14px;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  font-family: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

/* ------------------- 2. HEADER & NAVBAR ------------------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  border-bottom: 1px solid #eee;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: 'Cinzer', serif;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: var(--fg);
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--muted);
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--fg);
}

/* Cart Icon */
.cart {
  position: relative;
  cursor: pointer;
}

.cart svg {
  width: 24px;
  height: 24px;
  stroke: var(--fg);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  font-size: 0.7rem;
  padding: 2px 6px;
  line-height: 1;
}

/* ------------------- 3. HERO SECTION ------------------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 50px;
  gap: 40px;
  min-height: 80vh;
}

.hero img {
  width: 40%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-text {
  width: 65%;
  max-width: 500px;
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-text p {
  color: var(--muted);
  margin-bottom: 22px;
}

.btn {
  background: var(--accent);
  color: var(--bg);
  padding: 10px 22px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.8;
}

/* ------------------- 4. PRODUCT GRID ------------------- */
.section {
  padding: 60px 48px;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.product-card .btn {
  width: 100%;
  margin-top: 10px;
  background: var(--fg);
  color: var(--bg);
}

/* ------------------- 5. MOBILE GRID ------------------- */
/* ------------------- 4B. FLIPKART-STYLE GRID VIEW ------------------- */
@media (max-width: 900px) {
  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: px;
  }

  .product-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    height: 290px; /* uniform height */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
  }

  .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  }

  .product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 8px;
  }

  .product-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 2px;
    width: 100%;
  }

  .product-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 8px;
    width: 100%;
  }

  .product-card .btn {
    width: 100%;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--fg);
    color: var(--bg);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
  }

  .product-card .btn:hover {
    opacity: 0.85;
  }
}

/* Single column (extra small devices) */
/* @media (max-width: 500px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    height: 300px;
  }

  .product-card img {
    height: 180px;
  }
} */


/* ------------------- 6. ABOUT SECTION ------------------- */
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-text {
  flex: 1;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.about-text strong {
  color: var(--fg);
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  width: 80%;
  max-width: 450px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ------------------- 7. CONTACT SECTION ------------------- */
/* ---------------- CONTACT SECTION ---------------- */
#contact {
  padding: 60px 20px;
  text-align: center;
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-subtext {
  color: #555;
  margin-bottom: 40px;
  font-size: 1rem;
}

.contact-wrapper {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

/* ------------ FORM ------------ */
.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

.contact-form textarea {
  height: 140px;
  resize: none;
}

.contact-btn {
  background: #000;
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

/* ------------ CONTACT CARD ------------ */
/* ================= CONTACT US CLEAN STYLE ================= */

.contact-section {
  padding: 60px 40px;
  background: #fff;
  text-align: center;
}

.contact-heading {
  font-size: 2rem;
  font-weight: 700;
}

.contact-subtext {
  color: #666;
  margin-top: 8px;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* Container */
.contact-box {
  max-width: 1100px;
  margin: auto;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ---------------- LEFT FORM ---------------- */
.contact-left {
  background: #fafafa;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  text-align: left;
}

.contact-left h3 {
  margin-bottom: 18px;
  font-size: 1.3rem;
  font-weight: 700;
}

.contact-left input,
.contact-left textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  background: #fff;
}

.contact-left textarea {
  min-height: 140px;
  resize: none;
}

.contact-submit {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ---------------- RIGHT SIDE INFO ---------------- */
.contact-right {
  background: #fff;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  text-align: left;
}

.contact-right h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.c-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.c-item img {
  width: 42px;
  height: 42px;
  padding: 8px;
  background: #f1f1f1;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  object-fit: contain;
}

.c-item a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.c-item a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-box {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* ------------------- 8. PRODUCT DETAIL MODAL ------------------- */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 880px;
  width: 90%;
  display: flex;
  gap: 24px;
  padding: 24px;
  position: relative;
  animation: modalPop 0.3s ease;
}

@keyframes modalPop {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Close button */
.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}
.close-btn:hover {
  color: #d11a2a;
  transform: scale(1.1);
}

/* Image side */
.detail-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-image img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Info side */
.detail-info {
  flex: 1.4;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}
.detail-info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.detail-info p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.6;
}
.extra-details {
  margin: 12px 0 16px;
  line-height: 1.5;
  font-size: 0.95rem;
}

.extra-details p {
  margin-bottom: 6px;
  color: #444;
}

.price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 14px;
}

/* Quantity */
.qty-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
}
.qty-control button {
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
  background: none;
  border-radius: 6px;
  font-size: 1.2rem;
  cursor: pointer;
}
.qty-control span {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 10px;
}
.btn-group .btn {
  flex: 1;
  padding: 10px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.2s;
}
.btn-group .btn:hover {
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
  .detail-info {
    text-align: center;
    align-items: center;
  }
}

/* --- COMBO TAGLINE / ANNOUNCEMENT BAR --- */
.combo-tagline {
  width: 100%;
  background: #ffe9b5;
  padding: 10px 0;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.combo-tagline span {
  display: inline-block;
  font-weight: 600;
  color: #000;
  font-size: 1rem;
  animation: marquee 10s linear infinite;
}

/* Smooth running animation */
@keyframes marquee {
  0% { transform: translateX(120%); }
  100% { transform: translateX(-120%); }
}


/* --- COMBO PACK SECTION --- */
.combo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.combo-card {
  background: #fff;
  padding: 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s ease;
}

.combo-card:hover {
  transform: translateY(-4px);
}

.combo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.combo-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.combo-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.combo-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 12px;
  justify-content: center;
  text-align: center  ;
}

.new-price {
  font-size: 22px;
  font-weight: 700;
  color: #000;
}

.old-price {
  font-size: 15px;
  color: #9a9a9a;
  text-decoration: line-through;
}

.discount {
  font-size: 15px;
  font-weight: 600;
  color: #1a8a1a; /* green */
}


.combo-divider {
  margin-top: 25px;
  font-size: 1rem;
  text-align: center;
  opacity: 0.8;
  padding: 8px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}


/* --- VIDEO STRIP SECTION --- */
#videoShowcase {
  text-align: center;
  padding: 60px 20px;
}

.video-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.video-box {
  width: 300px;
  height: 380px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow);
}



/* ------------------- 9. CART PANEL ------------------- */
.cart-panel {
  position: fixed;
  right: -420px;          /* stays hidden initially */
  top: 0;
  width: 400px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: right 0.4s ease-in-out;   /* slide animation */
  z-index: 2000;                        /* ABOVE mobile menu */
  pointer-events: auto;    
  transform: none !important;             /* allow interaction */
}

/* When cart is opened */
.cart-panel.show {
  right: 0;
}


.cart-items {
  flex: 1;
  overflow-y: auto;
  margin-top: 16px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.cart-item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

/* ------------------- CART HEADER CLOSE BUTTON ------------------- */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.close-cart {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.close-cart:hover {
  color: #d11a2a; /* red hover */
  transform: scale(1.1);
}

/* ------------------- CART QUANTITY BUTTONS ------------------- */
.cart-qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.qty-btn:hover {
  background: #eee;
  transform: scale(1.05);
}

.cart-qty-control span {
  min-width: 18px;
  text-align: center;
  font-weight: 600;
}


/* ------------------- 10. CHECKOUT SECTION ------------------- */
.payment-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.payment-form,
.order-summary {
  flex: 1;
  min-width: 320px;
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.payment-form input,
.payment-form textarea,
.payment-form select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
}

.order-summary {
  background: #fafafa;
}

.delivery-box {
  background: #f5f5f5;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #333;
  margin-top: 10px;
  border-left: 4px solid #222;
}
.delivery-box strong {
  display: inline-block;
  width: 120px;
  color: #000;
}

/* ------------------- 11. RESPONSIVE FIXES ------------------- */
@media (max-width: 768px) {

  nav {
    position: fixed;
    top: 75px;
    right: 20px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    width: 210px;
    padding: 14px 0;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 999;
  }

  /* Show Menu */
  nav.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Links styling */
  nav a {
    padding: 12px 20px;
    text-decoration: none;
    color: #111;
    font-size: 1rem;
    border-bottom: 1px solid #f1f1f1;
  }

  nav a:last-child {
    border-bottom: none;
  }

  nav a:hover {
    background: #f8f8f8;
  }

  /* Keep menu button visible */
  .menu-toggle {
    display: block;
  }

 .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    gap: 30px;
    min-height: auto;
  }

  .hero-text {
    width: 100%;
    max-width: 90%;
  }

  .hero-text h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .hero-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
    color: #444;
  }

  .hero .btn {
    padding: 12px 26px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .hero img {
    width: 100%;
    max-width: 380px;
    border-radius: 14px;
    margin-top: 10px;
  }

  /* .video-row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .video-box {
    width: 100%;
    max-width: 380px;
    height: 300px;
  } */

  #about {
    padding: 40px 20px;
    text-align: center;
  }

  .about-content {
    flex-direction: column;
    gap: 20px;
  }

  .about-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    padding: 0 5px;
  }

  .about-text p {
    margin-bottom: 14px;
  }

  .about-text strong {
    color: #000;
  }

  .about-image img {
    width: 95%;
    max-width: 350px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    margin-top: 10px;
  }

  
  #contact {
    padding: 40px 20px;
    text-align: center;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .contact-form {
    width: 100%;
    max-width: 420px;
  }

  .contact-form p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 1rem;
    transition: border 0.2s ease, box-shadow 0.2s ease;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: #000;
    box-shadow: 0 0 6px rgba(0,0,0,0.08);
    outline: none;
  }

  .contact-form textarea {
    min-height: 140px;
  }

  .contact-form button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    margin-top: 10px;
    font-size: 1rem;
  }

  /* Right side box styling */
  .contact-info {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  }

  .contact-info h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
  }

  .social-links a {
    background: #f6f6f6;
    padding: 10px 14px;
    border-radius: 10px;
    display: inline-block;
  }

  .cart-panel {
    width: 90%;
  }

  .payment-container {
    flex-direction: column;
  }

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  padding: 8px;
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  object-fit: contain;
}

/* FORCE CART PANEL TO WORK PROPERLY — FIX */
#cartPanel {
  position: fixed !important;
  right: -420px !important;
  top: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 3000 !important;
}

#cartPanel.show {
  right: 0 !important;
}

}

/* ---------------- TESTIMONIAL / FEEDBACK SLIDER ---------------- */
#feedback { 
  padding: 56px 20px; 
  text-align: center; 
}

#feedback h2 { 
  margin-bottom: 10px; 
}
.feedback-header h3 { 
  font-size: 1.35rem; 
  margin: 6px 0; 
  font-weight:700; 
}
.feedback-header p { 
  color: #666; 
  margin-bottom: 18px; }

.testimonial-viewport {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  max-width: 1100px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fffdf7 100%);
  box-shadow: 0 6px 30px rgba(0,0,0,0.06);
  padding: 18px;
}

.testimonial-track {
  display: flex;
  gap: 18px;
  align-items: stretch;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 300px;                /* card width */
  min-width: 260px;
  max-width: 320px;
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 260ms ease;
}

.testimonial-card .stars {
  color: #f7b500;
  font-weight: 700;
  letter-spacing: 1px;
}

.fb-text {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 4px;
}

.fb-user {
  margin-top: 8px;
  font-weight: 700;
  color: #111;
  font-size: 0.9rem;
}

.fb-location {
  font-size: 0.85rem;
  color: #777;
  margin-top: -6px;
  margin-bottom: 4px;
}

.testimonial-controls {
  display:flex;
  gap:10px;
  justify-content:center;
  margin-top:14px;
  align-items:center;
}

.tc-btn {
  background: #111;
  color:#fff;
  border:none;
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
  font-weight:700;
}
.tc-btn[aria-label="pause autoplay"] { background:#444; }

/* hover lift for visible cards */
.testimonial-card:hover { transform: translateY(-6px); }

/* responsive: show single column on very small screens */
@media (max-width: 520px) {
  .testimonial-track { gap: 12px; }
  .testimonial-card { flex: 0 0 85%; min-width: 85%; max-width: 85%; }
}

/* ---------------- VISUAL CORNER VIDEO GRID ---------------- */
#visual {
  padding: 60px 20px;
  text-align: center;
}

#visual h2 {
  margin-bottom: 25px;
  font-size: 1.8rem;
  font-weight: 700;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px;
  justify-items: center;
}

.video-card {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 2 / 3;        /* ensures proper height */
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Hover effect */
.video-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

/* Fade In */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* desktop videos visible by default */
.desktop-videos {
  display: grid;
}

/* mobile slider hidden on desktop */
.mobile-videos,
.video-dots {
  display: none;
}

/* ---------- MOBILE VIDEO SLIDER ---------- */
@media (max-width: 768px) {

  .desktop-videos {
    display: none; /* hide grid */
  }

  .mobile-videos {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 12px;
  }

  .video-slide {
    flex: 0 0 85%;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  }

  .video-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* dots */
  .video-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
  }

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    transition: 0.3s;
  }

  .dot.active {
    background: #000;
    transform: scale(1.2);
  }
}

/* ================= BUSINESS COLLAB CARD ================= */

.collab-card {
  max-width: 900px;
  margin: 20px auto 0;
  padding: 28px;
  text-align: center;
  background: #fafafa;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.collab-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.collab-card p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 18px;
}

.collab-btn {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}

.collab-btn:hover {
  opacity: 0.85;
}

/* Mobile */
@media (max-width: 768px) {
  .collab-card {
    padding: 22px;
  }
}
