/* ==========================================================================
   VISIFLORA GLOBAL VARIABLES & TYPOGRAPHY
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;700;900&display=swap');

:root {
  --main-color: #0b4277;      /* Trustworthy Deep Blue */
  --accent-color: #ffcc00;    /* High-Converting Yellow */
  --accent-hover: #e6b800;    /* Darker Yellow for Hover */
  --success-color: #28a745;   /* Green for Best Value/Checkmarks */
  --text-dark: #222222;
  --text-muted: #555555;
  --light-bg: #f8f9fa;
}

body {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Base Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  transition: all 0.3s ease-in-out;
  border-bottom: 1px solid #eeeeee;
}

.nav-links a {
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--main-color) !important;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--main-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ==========================================================================
   CUSTOM BUTTONS & ANIMATIONS
   ========================================================================== */
.btn-warning {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #000;
  transition: all 0.3s ease;
}

.btn-warning:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.4) !important;
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.hover-primary {
  transition: color 0.2s ease;
}
.hover-primary:hover {
  color: var(--main-color) !important;
}

/* Pulse Animation for Best Value Button */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 204, 0, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

/* ==========================================================================
   CUSTOM COMPONENT STYLES
   ========================================================================== */
/* Pricing Cards */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

.product-card.best-value:hover {
  transform: scale(1.08) translateY(-10px); /* Keeps the scale and adds lift */
}

.product-image-new {
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-new {
  transform: scale(1.05);
}

.header-1x, .header-3x { 
  background-color: var(--main-color); 
}
.header-6x { 
  background-color: var(--success-color); 
}

/* Checkmarks */
.checkmark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--success-color);
  flex-shrink: 0;
  position: relative;
  display: inline-block;
}

.checkmark::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
}

/* Drop Shadow for Guarantee Image */
.drop-shadow {
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

/* FAQ Accordion Styling overrides */
.accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: var(--main-color) !important;
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0,0,0,0.125);
}

/* ==========================================================================
   MOBILE SIDEBAR (OFFCANVAS CUSTOM)
   ========================================================================== */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--main-color);
  padding: 30px 20px;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1050;
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0,0,0,0.2);
}

.mobile-sidebar.open {
  right: 0;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1040;
}

.sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}

.close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 40px;
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.3s ease;
}

.close-btn:hover {
  transform: rotate(90deg);
}

.sidebar-nav a {
  transition: padding-left 0.3s ease, color 0.3s ease;
}

.sidebar-nav a:hover {
  padding-left: 10px;
  color: var(--accent-color) !important;
}

/* ==========================================================================
   RESPONSIVE TWEAKS (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 991px) {
  .product-card.best-value {
    transform: scale(1) !important; /* Remove overlapping scale on tablets/mobile */
    border-width: 3px !important;
  }
  
  .product-card.best-value:hover {
    transform: translateY(-10px) !important;
  }
  
  .display-5 { font-size: 2.5rem; }
  .display-6 { font-size: 2rem; }
}

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }
  
  .hero-section ul li {
    text-align: left; /* Keep bullets readable */
  }

  /* Make sure images don't overflow on small phones */
  .product-image-new {
    height: 200px !important; 
  }
  
  .guarantee-block h2 {
    text-align: center !important;
    font-size: 28px !important;
  }
  
  .guarantee-block p {
    text-align: justify;
  }
}