/* =================================
   Rebrand: Modern & Trustworthy
   ================================= */

/* 1. DEFINE NEW BRAND PALETTE AND FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Lato:wght@400;700&display=swap');

:root {
  --primary-color: #2D3748;      /* Charcoal Blue */
  --secondary-color: #4FD1C5;     /* Teal */
  --light-bg-color: #F7FAFC;     /* Very Light Gray */
  --text-color: #4A5568;         /* Dark Gray */
  --heading-color: #1A202C;       /* Almost Black */
  --white-color: #FFFFFF;
  
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Lato', sans-serif;
}

/* 2. APPLY BASE TYPOGRAPHY */
body {
  font-family: var(--font-body);
  color: var(--text-color);
}

h1, h2, h3, h4, h5, h6, .main-title, .title-2 {
  font-family: var(--font-heading);
  color: var(--heading-color);
  font-weight: 700;
}

/* Make links use the new accent color */
a {
  color: var(--secondary-color);
}
a:hover {
  color: var(--primary-color);
}

/* 3. REBRAND KEY COMPONENTS */

/* --- Hero Section --- */
.bg-half-170.with-gradient {
  background: linear-gradient(to right, 
    var(--primary-color), 
    #4A5568 /* A slightly lighter version of the primary for a subtle gradient */
  );
}

/* --- Headings on the dark background --- */
.title-heading .heading {
  color: var(--white-color);
}

.title-heading .para-desc {
  color: #E2E8F0; /* A light gray for better readability on dark bg */
}

/* --- Buttons & CTAs --- */

/* Main action button style */
.shared_order, .rs_col:hover, .openModal .rs_col {
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.shared_order:hover, .rs_col:hover {
  background-color: #38B2AC !important; /* A darker teal for hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Change the phone and chat buttons */
.rs__btn__wrap .rs_col {
    background: var(--light-bg-color);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
}
.rs__btn__wrap .rs_col .rs_right p {
    color: var(--text-color);
}
.rs__btn__wrap .rs_col .rs_left i {
    color: var(--primary-color);
}

/* --- Features/Benefits Section --- */
.stats.bg-light {
  background-color: var(--light-bg-color);
}

.features .feature_top i,
.features .feature_top .benefit_icon i {
  color: var(--secondary-color);
  background: transparent;
}

/* --- Discount Banner --- */
.bulk_wrapper {
  background: var(--primary-color);
  border: 2px solid var(--secondary-color);
}
.bulk_wrapper h3 span {
  color: var(--secondary-color);
}
.ban_ribbon p {
    color: var(--primary-color);
}
.ban_ribbon img {
    /* If the ribbon is an image, you might need to recreate it 
       with the new colors in an image editor like Canva or Photoshop. */
}

/* --- Guarantee Seals --- */
.seal-wraper .ribbon, .seal-wraper-bizprobe .pb-ribbon {
  background: var(--primary-color) !important;
}
.seal-wraper .ribbon p, .seal-wraper-bizprobe .pb-ribbon p {
  color: var(--white-color) !important;
}

/* Make stars match the new accent color */
.fa-star {
    color: #F6E05E; /* A gold/yellow for stars always works well */
}
.review-star .fa-star, .star_wrapper .fa-star {
    color: #F6E05E !important;
}

/* --- FAQ Section --- */
.faq .card-header {
  background-color: var(--light-bg-color) !important;
  border: none;
}
.faq .card {
  border: 1px solid #E2E8F0 !important;
}
.faq-question {
  color: var(--primary-color);
}
.faq .card-header:hover .faq-question {
  color: var(--secondary-color);
}


/* =================================
   Footer Redesign
   ================================= */

.site-footer {
  background-color: var(--primary-color);
  color: #A0AEC0; /* A light, readable gray */
  padding: 60px 0 0 0;
  font-family: var(--font-body);
}

.footer-main {
  padding-bottom: 40px;
}

.footer-widget .widget-title {
  font-family: var(--font-heading);
  color: var(--white-color);
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-widget .logo-footer {
  max-width: 200px;
}

.footer-text {
  font-size: 15px;
  line-height: 1.7;
}

.footer-list li {
  margin-bottom: 12px;
}

.footer-list li a {
  color: #A0AEC0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-list li a:hover {
  color: var(--secondary-color); /* Teal accent on hover */
  transform: translateX(5px);
}

.footer-list li a i {
  margin-right: 10px;
  color: var(--secondary-color);
  width: 20px; /* Align icons nicely */
}

/* Social Media Icons */
.footer-socials a {
  display: inline-block;
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white-color);
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Footer Bar */
.footer-bar {
  padding: 25px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bar .disclaimer {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 800px;
  margin: 0 auto 10px auto;
}

.footer-bar .copyright {
  font-size: 14px;
  font-weight: 600;
  color: var(--white-color);
}


/* slider section  */

/* =================================
   Hero Section Redesign
   ================================= */

/* Main Hero Container */
.hero-section {
  background: var(--primary-color);
  padding: 80px 0 60px 0;
  position: relative;
  overflow: hidden;
}

/* Optional: Add a subtle pattern for texture */
/*.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.04"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}*/

/* Main Hero Container - UPDATED WITH IMAGE AND PATTERN */
.hero-section {
  padding: 80px 0 60px 0;
  position: relative;
  overflow: hidden;

  /* --- MULTIPLE BACKGROUNDS --- */
  /* Fallback color for when images don't load */
  background-color: var(--primary-color); 
  
  /* The layers are listed from TOP to BOTTOM. */
  background-image:
    /* Layer 1: Subtle SVG pattern (on top) */
    url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E'),
    
    /* Layer 2: Darkening overlay (CRITICAL for text readability) */
    linear-gradient(rgba(45, 55, 72, 0.85), rgba(45, 55, 72, 0.5)),
    
    /* Layer 3: Your main background image (at the bottom) */
    url('../images/banner-background.webp'); /* <-- REPLACE THIS PATH */

  /* Define properties for each layer in the same order */
  background-size:    auto,   cover,  cover;
  background-position:  center, center, center;
  background-repeat:    repeat, no-repeat, no-repeat;
}

/* --- The rest of your hero CSS remains the same --- */

.hero-heading {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--white-color);
  margin-bottom: 15px;
  margin-top: 30px;
}

.hero-subheading {
  font-family: var(--font-body);
  font-size: 18px;
  color: #E2E8F0; /* Light Gray */
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Trust Bar */
.hero-trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  color: #CBD5E0; /* Lighter Gray */
  font-size: 15px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item i, .trust-icon-img {
  color: var(--secondary-color); /* Teal */
  font-size: 20px;
  margin-right: 10px;
}
.trust-icon-img {
    height: 20px;
    width: auto;
}
.trust-item strong {
  color: var(--white-color);
  margin-right: 5px;
}

/* Order Form Wrapper */
.calculator_wrapper {
  background-color: var(--white-color);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-top: 0; /* Override any old margin */
  position: relative;
  z-index: 2;
}

.calculator-header {
  text-align: center;
  margin-bottom: 25px;
}

.calculator-header h3 {
  font-family: var(--font-heading);
  color: var(--heading-color);
  font-size: 24px;
}

.calculator-header h3 .highlight {
  color: var(--secondary-color); /* Teal */
}


/* Key Features Below Form */
.hero-features {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.hero-features li {
  color: #CBD5E0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.hero-features li i {
  color: var(--secondary-color); /* Teal */
  margin-right: 8px;
  font-size: 18px;
}

/* Responsive adjustments for mobile */
@media (max-width: 767px) {
    .hero-heading {
        font-size: 32px;
    }
    .hero-subheading {
        font-size: 16px;
    }
    .hero-trust-bar {
        justify-content: flex-start; /* Align to left on mobile */
        gap: 15px;
    }
    .trust-item {
        width: calc(50% - 10px); /* Two items per row */
        justify-content: center;
    }
    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =================================
   Mobile Responsive Adjustments
   ================================= */
@media (max-width: 767px) {
    .hero-heading {
        font-size: 32px;
    }
    .hero-subheading {
        font-size: 16px;
    }

    /* === FIX FOR CALCULATOR HEADER === */
    .calculator-header h3 {
        font-size: 21px; /* Reduced font size to prevent wrapping/overlap */
        line-height: 1.4;  /* Adds space if it still wraps on very small screens */
    }

    /* === FIX FOR TRUST BAR ALIGNMENT === */
    .hero-trust-bar {
        flex-direction: column; /* This is the key change: stacks items vertically */
        align-items: center;      /* Centers the new column in the available space */
        gap: 12px;                /* Adjusts the vertical space between items */
    }

    .trust-item {
        width: 100%;             /* Each item now takes up the full width */
        max-width: 350px;        /* Prevents items from looking too wide on small tablets */
        justify-content: center; /* Ensures content (icon/text) inside each item is centered */
    }
    
    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}

