/* ==========================================================================
   PROVADENT OFFICIAL STYLESHEET
   Description: Fully responsive, high-converting CSS for ProvaDent.
   ========================================================================== */

/* IMPORT GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;700;900&display=swap');

/* ==========================================================================
   1. GLOBAL VARIABLES (UPDATE COLORS HERE)
   Change these hex codes to update the entire website's color theme instantly.
   ========================================================================== */
:root {
  --main-color: #2b4c80;      /* Deep Trust Blue (Primary Brand Color) */
  --secondary-color: #4a7cbf; /* Lighter Blue Accent */
  --accent-color: #f59e0b;    /* Warm Gold/Yellow for CTA Buttons */
  --accent-hover: #d97706;    /* Darker Gold for Button Hover States */
  --success-color: #10b981;   /* Fresh Mint Green for Checkmarks & Value text */
  --text-dark: #1e293b;       /* Dark slate for main text headings */
  --text-muted: #475569;      /* Gray for paragraph text */
  --light-bg: #f0f8ff;        /* Alice Blue - Soft background for sections */
}

/* ==========================================================================
   2. BASE TYPOGRAPHY & BODY SETTINGS
   ========================================================================== */
body {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Custom Drop Shadow Utility for Images */
.drop-shadow {
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

/* Hover Lift Effect for Cards */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(43, 76, 128, 0.15) !important;
}

/* ==========================================================================
   3. HEADER & NAVIGATION STYLES
   ========================================================================== */
.header {
  transition: all 0.3s ease-in-out;
  border-bottom: 1px solid #e2e8f0; 
}

.nav-links a {
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: var(--main-color) !important;
}

/* Underline effect on hover for menu items */
.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%;
}

/* ==========================================================================
   4. GLOBAL BUTTONS & GENERAL ANIMATIONS
   ========================================================================== */
/* Standard Yellow CTA Button */
.btn-warning {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  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(217, 119, 6, 0.4) !important;
  color: #fff;
}

/* Pulse Animation (Used on the middle pricing button to grab attention) */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ==========================================================================
   5. NEW ADVANCED PRICING SECTION STYLES (EXACT IMAGE MATCH)
   Description: Controls the 3-column pricing table, including the middle pop-out card.
   ========================================================================== */
.pricing-wrap {
    font-family: 'Roboto Condensed', sans-serif;
}
.text-main-blue {
    color: var(--main-color) !important;
}

/* Style for the Left (1 Bottle) and Right (3 Bottles) Cards */
.pricing-card-basic {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    padding-bottom: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Style for the Center (6 Bottles) Highlighted Card */
.pricing-card-center {
    background: #e4f0fb; /* Light blue background as seen in image */
    border: 1px solid var(--main-color);
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding-bottom: 20px;
    position: relative;
    transform: scale(1.05); /* Makes the center card larger */
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Top "MOST POPULAR" Blue Banner on Center Card */
.center-top-banner {
    background-color: var(--main-color);
    color: #fff;
    padding: 10px 0;
    border-radius: 4px 4px 0 0;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

/* Pricing Text Size Adjustments */
.price-big {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}
.price-sub {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--main-color);
}

/* White Outlined Button (Used on Left and Right Cards) */
.btn-buy-outline {
    background: #fff;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.4rem;
    padding: 6px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
}
.btn-buy-outline:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Yellow Solid Button (Used on Center Card) */
.btn-buy-yellow {
    background: linear-gradient(180deg, #ffda00 0%, #ffb700 100%);
    color: var(--main-color);
    border: none;
    border-radius: 8px;
    font-weight: 900;
    font-size: 1.6rem;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 4px 0px #d49a00;
    transition: all 0.2s;
}
.btn-buy-yellow:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0px #d49a00;
}

/* Cart Icon Circle inside the Buy Buttons */
.cart-icon-circle {
    background-color: var(--main-color);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Checkmark List under Pricing */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 700;
    font-size: 15px;
}
.check-list li {
    margin-bottom: 3px;
}

/* Animated Clicking Hand Icon next to center button */
.clicking-hand {
    position: absolute;
    bottom: -25px;
    right: 15px;
    font-size: 35px;
    color: #fff;
    -webkit-text-stroke: 2px var(--main-color);
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.2));
    animation: clickBounce 1s infinite;
    z-index: 10;
}

@keyframes clickBounce {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-8px) rotate(-15deg); }
}

/* ==========================================================================
   6. FAQ ACCORDION & CUSTOM COMPONENTS
   ========================================================================== */
.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(43, 76, 128, 0.2);
}

/* ==========================================================================
   7. MOBILE SIDEBAR MENU STYLES
   Description: Controls the off-canvas menu when viewed on mobile devices.
   ========================================================================== */
.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;
}

/* Dark overlay behind the mobile sidebar */
.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;
}

/* Sidebar Close (X) Button */
.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 Links Hover Effect */
.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;
}

/* ==========================================================================
   8. RESPONSIVE QUERIES (TABLET & MOBILE FIXES)
   ========================================================================== */
@media (max-width: 991px) {
  /* Disables the scale pop-out effect on the center pricing card for tablets/phones */
  .pricing-card-center {
      transform: scale(1);
      margin-top: 1.5rem;
      margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Center align hero section content on mobile */
  .hero-section {
    text-align: center;
  }
  .hero-section ul li {
    text-align: left;
  }
}

/* GDPR BANNER STYLING */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 15px 0;
    border-top: 3px solid var(--main-color);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none; /* Default hidden, JS will show it */
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .gdpr-banner {
        padding: 15px;
    }
}

/* FINAL CTA STYLING */
.final-cta {
    background: linear-gradient(135deg, var(--main-color), #5c1a45); /* Subtle gradient for depth */
    position: relative;
    overflow: hidden;
}

.final-cta .btn-warning {
    transition: all 0.3s ease;
    border: none;
    color: var(--main-color);
    background: var(--accent-color);
}

.final-cta .btn-warning:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3) !important;
    background: #ffffff;
}

/* Responsive button sizing */
@media (max-width: 576px) {
    .final-cta .btn-lg {
        font-size: 1.2rem !important;
        padding: 15px 30px !important;
    }
}