.video-gallery-section {
  background: var(--bg-light);
  padding-bottom: 60px;
}
.video-gallery-section .section-title {
  margin-bottom: 10px;
}
.video-gallery-section .brand-tagline {
  margin-bottom: 28px;
  font-size: 1.1em;
  color: var(--text-light);
}
.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 10px;
}
.video-card {
  background: var(--bg-white);
  border-radius: 18px;
  box-shadow: 0 4px 24px var(--shadow-light);
  padding: 10px 10px 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.2s;
}
.video-card:hover {
  box-shadow: 0 8px 32px var(--shadow-medium);
  transform: translateY(-4px) scale(1.03);
}
.video-card video {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9/16;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 2px 8px var(--shadow-light);
  display: block;
  margin-bottom: 0.5em;
}
@media (max-width: 900px) {
  .video-card video {
    height: 340px;
  }
}
@media (max-width: 600px) {
  .video-gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .video-card video {
    height: 260px;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .video-gallery-grid {
    grid-template-columns: 1fr;
  }
  .video-card video {
    height: 220px;
  }
}
/* --- Video Gallery Section --- */
.video-gallery-section {
  background: var(--bg-light);
}

.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 24px;
}

.video-card {
  background: var(--bg-white);
  border-radius: 18px;
  box-shadow: 0 4px 24px var(--shadow-light);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s;
}
.video-card:hover {
  box-shadow: 0 8px 32px var(--shadow-medium);
}
/* Portrait video style for gallery */
.video-card video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 9/16;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 2px 8px var(--shadow-light);
  display: block;
}
@media (max-width: 900px) {
  .video-card video {
    height: 340px;
  }
}
@media (max-width: 600px) {
  .video-card video {
    height: 320px;
  }
}
@media (max-width: 600px) {
  .video-gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .video-card {
    padding: 8px;
  }
}
/* --- Global Styles --- */
:root {
  --primary-color: #e91e63; /* Modern Pink-Red */
  --secondary-color: #ff4081; /* Bright Pink accent */
  --accent-color: #673ab7; /* Dark Purple for contrast */
  --text-dark: #212121; /* Darker text for readability */
  --text-light: #424242; /* Slightly lighter text */
  --bg-light: #f8f9fa; /* Off-white background */
  --bg-white: #ffffff; /* Pure white background */
  --border-color: #e0e0e0; /* Light gray border */
  --shadow-light: rgba(0, 0, 0, 0.08);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --transition-speed: 0.3s;

  --font-primary: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--bg-light);
  /* -webkit-font-smoothing: antialiased; */
  scroll-behavior: smooth;
  overflow-x: hidden; /* Prevent horizontal scroll on some mobile views */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  text-align: center;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1em; /* Ensure consistent button font size */
}

.btn-primary {
  background: var(--primary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  color: var(--bg-white);
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-light);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-light);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-light);
}

/* --- Section Styling --- */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.8em;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.brand-tagline {
  text-align: center;
  font-size: 1.2em;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.bg-light-gray {
  background-color: var(--bg-light);
}

.mt-40 {
  margin-top: 40px;
}

/* --- Header & Navbar --- */
.main-header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  height: 4rem;
  font-size: 2em;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.navbar .nav-links {
  display: flex;
  gap: 30px;
}

.navbar .nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.navbar .nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after {
  /* Add active state for current page if needed */
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  width: 100vw; /* Make it full viewport width */
  height: 100vh; /* Make it full viewport height */
  overflow: hidden;
  /* Removed display: flex, align-items, justify-content as text overlay is now absolute within slides */
  text-align: center;
  color: var(--bg-white);
  margin: 0;
  padding: 0;
}

.slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute; /* Always absolute */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0; /* Inactive slides are behind */
  pointer-events: none; /* Inactive slides are not clickable */
  transition: opacity 1s ease-in-out; /* Smooth fade transition */
}

.slide.active {
  opacity: 1;
  z-index: 1; /* Active slide is on top */
  pointer-events: auto; /* Active slide is clickable */
}

.slide .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

.hero-text-overlay {
  position: absolute; /* Relative to .slide */
  top: 50%;
  left: 50%;
  transform: translate(
    -50%,
    -50%
  ); /* Centered both horizontally and vertically */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Within the slide, above the image */
  padding: 30px 20px; /* Increased padding slightly */
  background: rgba(
    0,
    0,
    0,
    0.5
  ); /* Restored and slightly increased opacity for readability */
  border-radius: 10px;
  width: 100%;
  height: 100%;
  max-width: 100%;
  /* width: calc(100% - 40px); Responsive width with padding */
  box-sizing: border-box;
}

.hero-text-overlay h2 {
  font-size: 4.2em;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.1;
  color: var(--bg-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Add text shadow for readability */
}

.hero-text-overlay p {
  font-size: 1.8em;
  margin-bottom: 40px;
  color: var(--bg-white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* Add text shadow */
}

.hero-section .slider-arrow {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px;
  color: var(--bg-white);
  font-weight: bold;
  font-size: 2em;
  transition: var(--transition-speed) ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
  border: none; /* Ensure no default button border */
  z-index: 2; /* Make sure arrows are above slides */
}

.hero-section .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.hero-section .prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

.hero-section .slider-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.dot-navigation {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 1;
}

.dot-navigation .dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color var(--transition-speed) ease;
}

.dot-navigation .dot.active,
.dot-navigation .dot:hover {
  background-color: var(--primary-color);
}

/* --- Product Grid --- */
.product-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
}

.product-card,
.package-card {
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 8px 25px var(--shadow-light);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover,
.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow-medium);
}

.product-img,
.package-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
}

.card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-card h3,
.package-card h3 {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  min-height: 2.8em; /* Ensure consistent height for titles */
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card p.product-price,
.package-card p.product-price {
  font-size: 1.6em;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap; /* Allow price and discount to wrap */
}

.product-card .discount {
  background-color: var(--secondary-color);
  color: var(--bg-white);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7em;
  font-weight: 600;
  line-height: 1; /* Fix vertical alignment */
}

.package-description {
  font-size: 0.95em;
  color: var(--text-light);
  margin-bottom: 15px;
}

.learn-more-card {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--bg-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.learn-more-card h3 {
  color: var(--bg-white);
  font-size: 1.8em;
  min-height: unset; /* Override min-height for this card */
}
.learn-more-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  flex-grow: 0; /* Prevent it from taking extra space */
}
.learn-more-card .btn-primary {
  background: var(--bg-white);
  color: var(--primary-color);
}
.learn-more-card .btn-primary:hover {
  background: var(--accent-color);
  color: var(--bg-white);
}
.learn-more-card .product-img {
  height: 150px;
  width: auto;
  object-fit: contain;
  border-bottom: none;
  filter: brightness(1.2);
  margin-bottom: 20px; /* Add margin for spacing */
}

/* --- Tabs for Brands --- */
.tabs-container {
  margin-bottom: 50px;
  position: relative; /* Crucial for absolute positioning of inactive tabs */
  min-height: 600px; /* Adjust based on expected max content height to prevent collapse */
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.tab-button {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 12px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 500;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
  color: var(--text-light);
  outline: none;
  white-space: nowrap; /* Prevent text wrapping inside buttons */
}

.tab-button.active {
  background: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
  box-shadow: 0 4px 10px var(--shadow-light);
}

.tab-button:hover:not(.active) {
  background: var(--bg-light);
  border-color: var(--secondary-color);
  color: var(--primary-color);
}

.tab-content {
  opacity: 0;
  visibility: hidden;
  position: absolute; /* Take out of flow to prevent occupying space */
  width: 100%; /* Ensure it spans full width when active */
  top: 0; /* Position correctly within its parent */
  left: 0;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  display: grid; /* Still want grid layout when content is visible */
}

.tab-content.active {
  opacity: 1;
  visibility: visible;
  position: relative; /* Bring back into flow to occupy space */
}

.promo-callout {
  background: linear-gradient(45deg, #fff3e0, #ffecb3);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 8px 25px var(--shadow-light);
  color: var(--text-dark);
  margin-top: 50px; /* Add margin to separate from tab content */
}

.promo-callout .promo-title {
  font-size: 2em;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.promo-callout .promo-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.promo-callout .promo-list li {
  font-size: 1.1em;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.promo-callout .promo-list li i {
  color: var(--primary-color);
  font-size: 1.3em;
}

/* --- Testimonials --- */
.testimonials-section {
  background-color: var(--bg-white);
  text-align: center;
}

.testimonial-slider-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.testimonial-slider {
  display: flex;
  overflow-x: auto; /* Allow horizontal scroll */
  scroll-snap-type: x mandatory; /* Snap to cards */
  scroll-behavior: smooth;
  gap: 30px;
  padding: 20px;
  flex-grow: 1;
  -webkit-overflow-scrolling: touch; /* Smoother scrolling on iOS */
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
}

.testimonial-slider::-webkit-scrollbar {
  /* Hide scrollbar for Chrome, Safari, Opera */
  display: none;
}

.testimonial-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px var(--shadow-light);
  flex-shrink: 0; /* Prevent cards from shrinking */
  scroll-snap-align: start; /* Align to start of card */
  width: calc(33.333% - 20px); /* Adjust based on gap */
  min-width: 300px; /* Minimum width for responsiveness */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonial-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-size: 1.1em;
  line-height: 1.5;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.05em;
}

.slider-arrow {
  background-color: rgba(0, 0, 0, 0.4);
  color: var(--bg-white);
  border: none;
  padding: 15px 18px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5em;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: background-color var(--transition-speed) ease;
  opacity: 0.8; /* Slightly transparent by default */
}

.slider-arrow:hover {
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 1;
}

.prev-arrow {
  left: 0px;
}

.next-arrow {
  right: 0px;
}

.slider-dots-nav {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.slider-dots-nav .dot {
  height: 14px;
  width: 14px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color var(--transition-speed) ease;
  cursor: pointer;
}

.slider-dots-nav .dot.active {
  background-color: var(--primary-color);
}

/* --- Footer --- */
.main-footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 20px;
  font-size: 0.9em;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.3em;
  font-weight: 600;
}

.footer-col p,
.footer-col address,
.footer-col ul li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-speed) ease;
}

.footer-col a:hover {
  color: var(--secondary-color);
}

.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 18px;
}

.social-icons a {
  font-size: 1.6em;
  color: var(--bg-white);
}

.social-icons a:hover {
  color: var(--primary-color);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
}
.partner-logos img {
  height: 70px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.8);
  transition: filter var(--transition-speed) ease;
}
.partner-logos img:hover {
  filter: grayscale(0%) brightness(1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.payment-halal-logos {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.payment-halal-logos img {
  height: 35px;
  max-width: 100px;
  object-fit: contain;
  filter: brightness(1.5);
}
.payment-halal-logos .halal-logo {
  height: 60px !important;
  filter: none;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .navbar .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--bg-white);
    position: absolute;
    top: 70px; /* Adjust based on navbar height */
    left: 0;
    box-shadow: 0 5px 15px var(--shadow-light);
    padding: 20px 0;
    z-index: 999;
  }

  .navbar .nav-links.active {
    display: flex;
  }

  .navbar .nav-links li {
    text-align: center;
    margin: 10px 0;
  }

  .navbar .nav-links a::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .menu-toggle {
    display: block;
  }

  .hero-section {
    height: 70vh; /* Make it 70% of viewport height on smaller screens */
  }

  .hero-text-overlay h2 {
    font-size: 3em;
  }

  .hero-text-overlay p {
    font-size: 1.4em;
  }

  .hero-section .slider-arrow {
    font-size: 1.5em;
    padding: 12px;
  }

  .section-title {
    font-size: 2.2em;
  }

  .product-grid,
  .package-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .testimonial-card {
    width: calc(50% - 15px); /* 2 cards per view */
    min-width: unset; /* Remove min-width to allow calculation to work */
  }

  .prev-arrow {
    left: 5px;
  }
  .next-arrow {
    right: 5px;
  }

  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  .section-padding {
    padding: 60px 0;
  }

  .hero-section {
    height: 60vh; /* Further adjust for mobile if needed */
  }

  .hero-text-overlay h2 {
    font-size: 2.5em;
  }

  .hero-text-overlay p {
    font-size: 1.1em;
  }

  .hero-text-overlay .btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .hero-section .slider-arrow {
    font-size: 1.2em;
    padding: 10px;
  }

  .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .brand-tagline {
    font-size: 1em;
  }

  .product-grid,
  .package-grid {
    grid-template-columns: 1fr; /* Single column */
  }

  .product-card,
  .package-card {
    padding: 15px;
  }
  .product-img,
  .package-img {
    height: 180px;
  }
  .product-card h3,
  .package-card h3 {
    font-size: 1.2em;
  }
  .product-card p.product-price,
  .package-card p.product-price {
    font-size: 1.4em;
  }
  .product-card .discount {
    font-size: 0.6em;
  }

  .tabs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    width: auto;
    min-width: 120px;
    margin-bottom: 0;
    padding: 10px 15px;
    font-size: 1em;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .promo-callout {
    padding: 30px 20px;
  }
  .promo-callout .promo-title {
    font-size: 1.6em;
  }
  .promo-callout .promo-list li {
    font-size: 1em;
  }

  .testimonial-card {
    width: 100%; /* Single card per view */
  }
  .testimonial-slider-wrapper {
    padding: 0 20px; /* Add padding for arrows to show */
  }
  .prev-arrow {
    left: 0;
  }
  .next-arrow {
    right: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col.brand-info {
    order: -1; /* Move brand info to top on mobile */
  }
  .social-icons,
  .payment-halal-logos {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-text-overlay h2 {
    font-size: 2em;
  }
  .hero-text-overlay p {
    font-size: 0.9em;
  }
  .section-title {
    font-size: 1.6em;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fade {
  animation-name: fadeIn;
  animation-duration: 1s;
}

/* --- Scroll to Top Button --- */
#scrollToTopBtn {
  display: none; /* Menyembunyikan tombol secara default */
  position: fixed; /* Membuat tombol tetap pada posisi layar */
  width: 3rem;
  height: 3rem;
  bottom: 30px; /* Jarak dari bawah layar */
  right: 30px; /* Jarak dari kanan layar */
  z-index: 99; /* Memastikan tombol di atas elemen lain */
  font-size: 1.3em; /* Ukuran ikon panah */
  background-color: var(
    --primary-color
  ); /* Warna latar belakang sesuai primary-color */
  color: var(--bg-white); /* Warna ikon panah (putih) */
  cursor: pointer; /* Mengubah kursor menjadi pointer saat dihover */
  padding: 15px; /* Padding di sekitar ikon */
  border-radius: 50%; /* Membuat tombol berbentuk bulat */
  border: none; /* Menghilangkan border */
  box-shadow: 0 5px 15px var(--shadow-medium); /* Efek bayangan */
  transition: background-color var(--transition-speed) ease,
    transform var(--transition-speed) ease; /* Transisi halus untuk hover */
}

#scrollToTopBtn:hover {
  background-color: var(
    --secondary-color
  ); /* Warna latar belakang saat dihover */
  transform: translateY(-3px); /* Efek sedikit naik saat dihover */
}
