/* ==========================================================================
   Flash Deals — Custom Stylesheet (Bootstrap 5 Extended)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

:root {
  --primary-color: #006b54;
  --primary-hover: #00513f;
  --accent-color: #14ffcc;
  --accent-hover: #00e0b3;
  --bg-color: #f8f9ff;
  --card-bg: #ffffff;
  --text-dark: #0b1c30;
  --text-muted: #535e77;
  --light-gray: #eff4ff;
  --border-color: #e5eeff;
  --card-shadow: 0 10px 30px rgba(11, 28, 48, 0.04);
  --card-shadow-hover: 0 20px 40px rgba(11, 28, 48, 0.1);
  --gradient-primary: linear-gradient(135deg, #006b54 0%, #009675 100%);
  --gradient-accent: linear-gradient(135deg, #14ffcc 0%, #00e0b3 100%);
  --gradient-dark: linear-gradient(135deg, #0b1c30 0%, #163255 100%);
  --gradient-overlay: linear-gradient(
    to right,
    rgba(11, 28, 48, 0.85) 0%,
    rgba(11, 28, 48, 0.3) 100%
  );
}

/* --- Base Reset & Typography --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--text-dark);
}

.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Navigation System --- */
.navbar-custom {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  padding: 15px 0;
}

.navbar-custom.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.95);
}

.navbar-custom .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--primary-color);
  background-color: rgba(0, 107, 84, 0.05);
}

.navbar-custom .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  width: 60%;
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* --- Hero Slider & Banners --- */
.hero-slider .carousel-item {
  height: 600px;
  background-size: cover;
  background-position: center;
}

.hero-slider .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
}

.hero-caption {
  z-index: 10;
  max-width: 650px;
}

.hero-badge {
  background-color: var(--accent-color);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 20px;
}

.subpage-hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 28, 48, 0.7) 0%,
    rgba(11, 28, 48, 0.85) 100%
  );
}

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

/* --- Buttons --- */
.btn-primary-custom {
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 107, 84, 0.2);
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #006b54 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 107, 84, 0.3);
}

.btn-accent-custom {
  background: var(--gradient-accent);
  color: var(--text-dark);
  border: none;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(20, 255, 204, 0.2);
}

.btn-accent-custom:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #14ffcc 100%);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 255, 204, 0.3);
}

.btn-outline-custom {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-color);
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background: rgba(11, 28, 48, 0.05);
  border-color: var(--text-dark);
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* --- Card Designs & Grid Elements --- */
.deal-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.deal-card:hover {
  transform: translateY(-10px);
  cursor: pointer;
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(20, 255, 204, 0.4);
}

.deal-card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
  background-color: #e9ecef;
}

.deal-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.deal-card:hover .deal-card-img {
  transform: scale(1.1);
}

.deal-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient-accent);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(20, 255, 204, 0.3);
  z-index: 2;
}

.deal-brand-logo-wrapper {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: auto;
  height: auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(11, 28, 48, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 1px solid var(--border-color);
  z-index: 3;
  transition: all 0.3s ease;
}

.deal-brand-logo-wrapper span {
  color: var(--primary-color) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  line-height: 1;
  text-transform: uppercase;
}

.deal-card:hover .deal-brand-logo-wrapper {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 6px 16px rgba(0, 107, 84, 0.2);
}

.deal-brand-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.deal-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.deal-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.deal-card:hover .deal-card-title {
  color: var(--primary-color);
}

.deal-card-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.deal-card-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.deal-card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deal-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-color);
}

.deal-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

/* --- Category Cards --- */
.category-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: var(--card-shadow-hover);
}

.category-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background-color: rgba(0, 107, 84, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.category-card:hover .category-icon-wrapper {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: rotate(10deg);
}

.category-icon-wrapper i {
  font-size: 28px;
}

.category-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.category-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- Horizontal Slider System --- */
.slider-container-outer {
  position: relative;
  width: 100%;
}

.slider-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  display: flex;
  gap: 6px;
  padding: 15px 5px 30px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.slider-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.slider-wrapper .slider-item {
  flex: 0 0 350px;
  max-width: 350px;
}

@media (max-width: 576px) {
  .slider-wrapper .slider-item {
    flex: 0 0 280px;
    max-width: 280px;
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.slider-btn-prev {
  left: -20px;
}

.slider-btn-next {
  right: -20px;
}

@media (max-width: 992px) {
  .slider-btn {
    display: none;
  }
}

/* --- Brand Overview / Logos Grid --- */
.brand-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.brand-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--card-shadow);
  transform: scale(1.02);
}

.brand-logo-img {
  max-height: 50px;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.brand-card:hover .brand-logo-img {
  filter: grayscale(0);
  opacity: 1;
}

.brand-card .brand-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.brand-card .brand-offer {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(0, 107, 84, 0.05);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
}

/* --- Why Choose Section --- */
.feature-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  box-shadow: var(--card-shadow);
  border-color: rgba(20, 255, 204, 0.3);
}

.feature-icon {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* --- FAQs Accordion --- */
.faq-accordion .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 12px !important;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(11, 28, 48, 0.02);
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--text-dark);
  padding: 20px;
  background-color: #ffffff;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(0, 107, 84, 0.02);
  color: var(--primary-color);
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  background-size: 1.25rem;
}

.faq-accordion .accordion-body {
  padding: 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  background-color: #ffffff;
}

/* --- Contact Page Extras --- */
.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: rgba(0, 107, 84, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  flex-shrink: 0;
}

.map-placeholder {
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- About Page Extras --- */
.stats-counter {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.about-img-frame {
  position: relative;
}

.about-img-frame::after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--accent-color);
  border-radius: 24px;
  z-index: -1;
}

/* --- Footer --- */
.footer-custom {
  background-color: #ffff;
  border-top: 1px solid var(--border-color);
  color: #000000;
  font-size: 14px;
}

.footer-custom p,
.footer-custom .text-muted,
.footer-custom .text-light-muted,
.footer-custom li,
.footer-custom span,
.text-light-muted {
  color: #000000;
}

.text-accent {
  color: var(--accent-color) !important;
}

.footer-custom h5 {
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-custom h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-custom a {
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-custom a:hover {
  color: var(--accent-color) !important;
  transform: translateX(3px);
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  margin-top: 48px;
}

.footer-bottom a {
  margin-bottom: 0;
  margin-left: 15px;
}

/* --- Animations & Utilities --- */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.03);
}

.opacity-animate {
  animation: fadeIn 0.8s ease-out forwards;
}

/* --- Live Deals Alert Ticker --- */
.live-deals-ticker {
  background: linear-gradient(90deg, #0b1c30 0%, #163255 50%, #0b1c30 100%);
  color: #ffffff;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 14px 0;
  border-bottom: 2px solid var(--accent-color);
  box-shadow: 0 4px 20px rgba(20, 255, 204, 0.15);
}

.live-deals-ticker::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-color) 25%,
    var(--accent-color) 75%,
    transparent 100%
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.ticker-wrapper {
  width: 100%;
  overflow: hidden;
}

.ticker-content {
  display: flex;
  align-items: center;
  animation: ticker-scroll 20s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 30px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ticker-item:hover {
  transform: scale(1.05);
}

.ticker-item i {
  color: var(--accent-color);
  font-size: 18px;
  animation: pulse-glow 2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(20, 255, 204, 0.6));
}

.ticker-badge {
  background: linear-gradient(135deg, var(--accent-color) 0%, #00e0b3 100%);
  color: var(--text-dark);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 12px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(20, 255, 204, 0.4);
  transition: all 0.3s ease;
}

.ticker-item:hover .ticker-badge {
  box-shadow: 0 0 25px rgba(20, 255, 204, 0.8);
  transform: translateY(-2px);
}

.ticker-text {
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: color 0.3s ease;
}

.ticker-item:hover .ticker-text {
  color: var(--accent-color);
}

.ticker-separator {
  color: rgba(20, 255, 204, 0.4);
  font-size: 18px;
  font-weight: bold;
  margin: 0 5px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(20, 255, 204, 0.6));
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 15px rgba(20, 255, 204, 1));
  }
}

/* Pause animation on hover */
.live-deals-ticker:hover .ticker-content {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .live-deals-ticker {
    padding: 12px 0;
  }

  .ticker-item {
    font-size: 12px;
    padding: 0 20px;
  }

  .ticker-item i {
    font-size: 14px;
  }

  .ticker-badge {
    font-size: 9px;
    padding: 4px 10px;
  }

  .ticker-content {
    animation-duration: 15s;
  }
}

.ticker-badge {
  font-size: 10px;
  padding: 3px 8px;
}

.ticker-content {
  animation-duration: 35s;
}

/* Terms & Conditions CSS and the privacy policy css and the disclaimer css */
.legal-nav-link {
  color: #4a5568;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  display: block;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-left: 3px solid transparent;
}

.legal-nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(0, 107, 84, 0.05);
  transform: translateX(5px);
  border-left-color: rgba(0, 107, 84, 0.4);
}

.legal-nav-link.active {
  color: var(--primary-color);
  background-color: rgba(0, 107, 84, 0.08);
  font-weight: 700;
  border-left-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 107, 84, 0.04);
}

.legal-content h3 {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  font-size: 24px;
}

.legal-content p {
  color: #4a5568;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 1.5rem;
}

.legal-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 0;
  border-bottom: 1px solid #dee2e6;
}

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

/* --- Flip Card Animation (Elegant Design) --- */
.flip-card {
  background-color: transparent;
  perspective: 1000px;
  height: 450px;
  cursor: pointer;
  position: relative;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease-in-out;
  transform-style: preserve-3d;
  transform-origin: center center;
}

.flip-card:hover .flip-card-inner {
  transform: rotatey(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* Front Side - Image with Overlay */
.flip-card-front {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0;
}

.flip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.flip-front-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  color: #ffffff;
  width: 100%;
}

.flip-badge {
  display: inline-block;
  background: rgba(20, 255, 204, 0.95);
  color: var(--text-dark);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.flip-category {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.flip-front-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.flip-front-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  line-height: 1.5;
}

.flip-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 0.5px;
  transition: transform 0.3s ease;
}

.flip-card:hover .flip-cta {
  transform: translateX(5px);
}

/* Back Side - Clean White with Content */
.flip-card-back {
  background: #ffffff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 35px;
}

.flip-back-header {
  margin-bottom: 25px;
}

.flip-back-badge {
  display: inline-block;
  background: linear-gradient(135deg, #006b54 0%, #009675 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.flip-back-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
}

.flip-back-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.flip-back-list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 0;
}

.flip-back-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.5;
}

.flip-back-list i {
  color: var(--primary-color);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.flip-back-footer {
  border-top: 2px solid var(--border-color);
  padding-top: 20px;
  margin-top: 20px;
}

.price-from {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
}

.price-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.btn-flip-book {
  display: inline-flex;
  align-items: center;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 12px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 107, 84, 0.2);
  width: 100%;
  justify-content: center;
}

.btn-flip-book:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #006b54 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 107, 84, 0.3);
}

.btn-flip-book i {
  transition: transform 0.3s ease;
}

.btn-flip-book:hover i {
  transform: translateX(4px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .flip-card {
    height: 400px;
  }

  .flip-front-title {
    font-size: 20px;
  }

  .flip-back-title {
    font-size: 19px;
  }

  .price-amount {
    font-size: 30px;
  }
}

/* --- Responsive Layout Utilities --- */
@media (min-width: 1200px) {
  .desktop-limit {
    max-width: 85% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* --- Ferry Brand Showcase Cards --- */
.ferry-brand-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 300px;

  cursor: pointer;
}

.ferry-brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(11, 28, 48, 0.25);
}

.brand-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.brand-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ferry-brand-card:hover .brand-image-wrapper img {
  transform: scale(1.1);
}

.brand-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 28, 48, 0.1) 0%,
    rgba(11, 28, 48, 0.45) 50%,
    rgba(11, 28, 48, 0.95) 100%
  );
  z-index: 2;
  transition: background 0.4s ease;
}

.ferry-brand-card:hover .brand-gradient-overlay {
  background: linear-gradient(
    to bottom,
    rgba(11, 28, 48, 0.2) 0%,
    rgba(11, 28, 48, 0.5) 40%,
    rgba(11, 28, 48, 0.98) 100%
  );
}

.brand-discount-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #00e0b3 100%);
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(20, 255, 204, 0.3);
  letter-spacing: 0.5px;
  z-index: 3;
}

.brand-info-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 3;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-name-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.brand-description-text {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin-bottom: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.brand-action-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.brand-action-link i {
  transition: transform 0.3s ease;
}

.ferry-brand-card:hover .brand-action-link {
  color: #00ffcc;
}

.ferry-brand-card:hover .brand-action-link i {
  transform: translateX(4px);
}
