/* ==========================================================================
   VISIVRA GLOBAL VARIABLES & TYPOGRAPHY
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;700;900&display=swap');

:root {
  /* Premium Brand Colors for Visivra */
  --main-color: #0A2540;      /* Trustworthy Premium Deep Navy Blue */
  --accent-color: #F39C12;    /* High-Converting Gold/Yellow */
  --accent-hover: #D68910;    /* Darker Gold for Hover Effects */
  --success-color: #27AE60;   /* Medical Green for Badges/Checks */
  --text-dark: #2C3E50;       /* Softer Dark for better reading */
  --text-muted: #5D6D7E;      /* Muted text */
  --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 Setup */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--main-color);
}

.text-primary {
  color: var(--main-color) !important;
}

.bg-primary {
  background-color: var(--main-color) !important;
}

.text-warning {
  color: var(--accent-color) !important;
}

.bg-warning {
  background-color: var(--accent-color) !important;
}

/* ==========================================================================
   HEADER & NAVIGATION 
   ========================================================================== */
.header {
  transition: all 0.3s ease-in-out;
  border-bottom: 2px solid #EAECEE;
}

.nav-links a {
  position: relative;
  transition: color 0.3s ease;
  font-size: 16px;
  text-transform: uppercase;
}

.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(--accent-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ==========================================================================
   CUSTOM CALL TO ACTION (CTA) BUTTONS & ANIMATIONS
   ========================================================================== */
.btn-warning {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  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(243, 156, 18, 0.4) !important;
  color: #ffffff !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(10, 37, 64, 0.1) !important;
}

/* Pulse Animation for Best Value Buy Button */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.7); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(243, 156, 18, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(243, 156, 18, 0); }
}

/* ==========================================================================
   PRODUCT PRICING CARDS (1, 3, 6 Bottles)
   ========================================================================== */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 37, 64, 0.15) !important;
}

.product-card.best-value {
  border-color: var(--accent-color) !important;
}

.product-card.best-value:hover {
  transform: scale(1.08) translateY(-10px); 
}

/* SEO Optimized WebP Image Wrapper */
.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);
}

/* Money Back Guarantee Drop Shadow */
.drop-shadow {
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* ==========================================================================
   FAQ ACCORDION CUSTOMIZATION
   ========================================================================== */
.accordion-button:not(.collapsed) {
  background-color: var(--light-bg);
  color: var(--main-color) !important;
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(10, 37, 64, 0.2);
}

/* ==========================================================================
   MOBILE OFFCANVAS SIDEBAR
   ========================================================================== */
.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.3);
}

.mobile-sidebar.open {
  right: 0;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.8);
  backdrop-filter: blur(4px);
  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);
  color: var(--accent-color);
}

.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 DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
  .product-card.best-value {
    transform: scale(1) !important; 
    border-width: 3px !important;
  }
  
  .product-card.best-value:hover {
    transform: translateY(-10px) !important;
  }
  
  .display-5 { font-size: 2.2rem; }
  .display-6 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }
  
  .hero-section ul li {
    text-align: left;
  }

  .product-image-new {
    height: 180px !important; 
  }
  
  .science-section h2 {
    text-align: center !important;
    font-size: 24px !important;
  }
  
  .science-section p {
    text-align: justify;
  }
}

/* ==========================================================================
   GDPR COOKIE BANNER (EU COMPLIANCE)
   ========================================================================== */
.cookie-banner-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--main-color); /* Matches Visivra Navy Blue */
    padding: 20px 0;
    z-index: 99999;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.3);
    border-top: 3px solid var(--accent-color); /* Gold Border */
}

@media (max-width: 991px) {
    .cookie-banner-container {
        padding: 15px 0;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}