/* -------------------------------------------------------------------------- */
/*                          YOUR PREVIOUSLY PROVIDED CSS                      */
/*      (Commenting out for now to build fresh for the new design.           */
/*       We can pick specific rules from here if needed and adapt them.)      */
/* -------------------------------------------------------------------------- */

/*
.footer {
    background: url(../img/footer-bg.png) top center; 
    ... (rest of your provided CSS) ...
}
... (all the way to the end of your provided CSS) ...
*/


/* ========================================================================== */
/*               NEW FOOTER CSS (Based on Your Reference Image)               */
/* ========================================================================== */

/* Main Footer Area */
.footer {
    background-color: #1a1a1a; /* Fallback dark color */
    /* Aapki background image path yahan (CSS file ke relative) */
    background-image: url('../img/footer-bg.webp'); /* IMPORTANT: ADJUST THIS PATH */
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding: 50px 0 30px; /* Overall padding */
    color: #ccc; /* Default light grey text color for the footer */
    font-family: 'Open Sans', 'Poppins', sans-serif; /* Default font */
    font-size: 14px; /* Default base font size */
    line-height: 1.6;
    position: relative; /* For the top wave if you still want it from old CSS */
}

/* Optional: Top wave from your old CSS if you want to keep it */
.footer::before {
    content: '';
    background: url(https://cdn11.bigcommerce.com/s-dd74nsspbq/images/stencil/original/image-manager/white-background-footers.png) repeat-x;
    background-position: center bottom;
    display: block;
    height: 37px;
    width: 100%;
    position: absolute;
    left: 0;
    top: -1px; /* Adjust if needed based on your bg image */
    z-index: 25;
}

.footer .container {
    max-width: 1200px; /* Or your site's standard container width */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Footer Top: Newsletter and Contact Strip */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px; /* Space before the line separator */
}

.footer-top .block-newsletter {
    flex-basis: 60%; /* Adjust as needed */
    display: flex;
    flex-wrap: wrap; /* Allow title/subtitle and form to wrap if needed */
    align-items: center;
}

.footer-top .newsletter-content.left {
    flex-basis: 55%; /* Space for title/subtitle */
    padding-right: 20px;
}

.footer-top .newsletter-content .footer-info-heading, /* Re-using heading class for title */
.footer-top .newsletter-content .footer-newsletter-title { /* Or use a more specific class */
    font-size: 1.25em; /* Approx 20px */
    color: #ffffff;
    font-weight: 700; /* Bold */
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif; /* Bolder font */
}

.footer-top .newsletter-content p,
.footer-top .newsletter-content .footer-newsletter-subtitle {
    font-size: 0.875em; /* Approx 14px */
    color: #bbb; /* Lighter grey */
    margin: 0;
}

.footer-top .footer-info-col { /* This div wraps the form */
    flex-basis: 45%; /* Space for the form */
}

.footer-top .form .form-field .form-input {
    background-color: #ffffff;
    border: 1px solid #ffffff; /* White border or transparent */
    border-radius: 5px 0 0 5px; /* Rounded left corners */
    height: 48px;
    padding: 10px 15px;
    color: #333; /* Input text color */
    width: calc(100% - 100px); /* Adjust width based on button size */
    float: left; /* Align with button */
    font-size: 14px;
}
.footer-top .form .form-field .form-input::placeholder {
    color: #888; /* Placeholder color */
}

.footer-top .form .form-field .button--primary {
    background-color: #eeb75b; /* Golden/Yellow from image */
    border: 1px solid #eeb75b;
    color: #1a1a1a; /* Dark text on button */
    font-weight: 700; /* Bold */
    height: 48px;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0; /* Rounded right corners */
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
    letter-spacing: 0.5px;
    width: 100px; /* Adjust button width */
}
.footer-top .form .form-field .button--primary:hover {
    background-color: #d8a34b; /* Darker gold on hover */
    border-color: #d8a34b;
}
.footer-top .form .form-prefixPostfix { /* Clears float for input and button */
    overflow: hidden;
}


.footer-top .contact-info-strip {
    flex-basis: 40%; /* Adjust as needed */
    display: flex;
    justify-content: flex-end; /* Align to the right */
}

.footer-top .call-us,
.footer-top .email-us {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    margin-left: 25px; /* Space between call and email */
    font-size: 14px;
}
.footer-top .call-us:before, /* For icons, using your old CSS structure */
.footer-top .email-us:before {
    content: '';
    display: inline-block;
    margin-right: 10px; /* Space between icon and text */
    /* SVG paths from your old CSS need to be correct */
}
.footer-top .call-us:before {
    background: url(../icons/icon-phone.svg) no-repeat center; /* ADJUST PATH */
    width: 18px; height: 18px; background-size: contain;
}
.footer-top .email-us:before {
    background: url(../icons/icon-email.svg) no-repeat center; /* ADJUST PATH */
    width: 20px; height: 16px; background-size: contain;
}

.footer-top .call-us strong,
.footer-top .email-us strong {
    display: block;
    font-weight: 600;
    font-size: 0.8em; /* "Call Us", "Email" text slightly smaller */
    color: #bbb;
    margin-bottom: 2px;
}
.footer-top .call-us span, /* The actual number/email */
.footer-top .email-us span {
    color: #fff;
    font-weight: 500;
}
.footer-top .call-us a:hover, .footer-top .email-us a:hover,
.footer-top .call-us a:hover span, .footer-top .email-us a:hover span,
.footer-top .call-us a:hover strong, .footer-top .email-us a:hover strong {
    color: #eeb75b; /* Hover color */
}


/* Horizontal Separator Line */
.line-spacing {
    background-color: #4a4a4a; /* Dark grey line */
    height: 1px;
    width: 100%;
    display: block;
    margin: 30px 0;
}

/* Main Footer Info Columns */
.footer-info .row { /* If using Bootstrap row */
    /* display: flex; flex-wrap: wrap; */ /* Bootstrap handles this */
}
.footer-info-col { /* Common styling for each column from your HTML */
    margin-bottom: 30px; /* Space below columns on mobile */
    color: #ccc; /* Default text color for column content */
}

.footer-info-heading {
    font-size: 1.1em; /* Approx 17-18px */
    color: #ffffff;
    font-weight: 700; /* Bold */
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.footer-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-info-list li {
    margin-bottom: 8px;
}

.footer-info-list a {
    color: #bbb; /* Light grey for links */
    text-decoration: none;
    font-size: 0.9em; /* Approx 14px */
}

.footer-info-list a:hover {
    color: #eeb75b; /* Golden hover */
}

/* Specific Column Styling: Our Location */
.footer-info-col address.store-address {
    font-style: normal;
    color: #bbb;
    line-height: 1.7;
    font-size: 0.9em;
}
.footer-info-col address.store-address strong {
    color: #fff;
    font-weight: 600;
}
.footer-info-col address.store-address a { /* For phone number in address */
    color: #eeb75b; /* Golden color */
    font-weight: 600;
}
.footer-info-col address.store-address a:hover {
    color: #fff;
}

/* Specific Column Styling: App & Payment */
.footer-info-col .app-downloads p,
.footer-info-col > p { /* For "App Store or Google Play" text etc. */
    color: #bbb;
    font-size: 0.9em;
    margin-bottom: 10px;
}
.footer-info-col .app-downloads .google-play-button img {
    height: 45px; /* Adjust Google Play badge size */
    width: auto;
}
.footer-info-col .app-downloads .qr-code-image {
    width: 90px; /* QR code size */
    height: 90px;
    margin-left: 15px;
    vertical-align: middle;
    background-color: white; /* If QR image itself is not on white */
    padding: 5px; /* Optional padding for QR */
    border-radius: 4px;
}

.footer-payment-icons .footer-payment-icon { /* Using class from your old CSS */
    height: 28px; /* Adjust payment icon size */
    width: auto;
    margin: 0 5px 5px 0;
    vertical-align: middle;
    border-radius: 3px; /* Slight rounding if images are not transparent */
}


/* Popular Categories / Products */
.footer-popular-links {
  padding: 15px 0;
}
.popular-links-title {
  font-size: 1em; 
  color: #ffffff;
  font-weight: 700; /* Bold */
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
}
.popular-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.popular-links-list li {
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 8px;
}
.popular-links-list li a {
  font-size: 0.875em; 
  color: #bbb; /* Light grey */
}
.popular-links-list li a:hover {
  color: #eeb75b; /* Golden hover */
}


/* Copyright and Social Links */
.footer-copy-right {
    padding-top: 20px; /* Space after last line separator */
    text-align: center; /* Center align all content within */
}
.footer-copy-right .footer-info-col--left p.powered-by,
.footer-copy-right .footer-info-col--left p.powered-by a {
    color: #aaa; /* Slightly darker grey for copyright */
    font-size: 0.85em; /* Approx 13px */
    margin:0;
}
.footer-copy-right .footer-info-col--left p.powered-by a:hover {
    color: #eeb75b;
}

.footer-copy-right .socialLinks { /* Using class from your old CSS */
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0; /* Space above social icons */
    display: inline-block; /* To allow centering */
}
.footer-copy-right .socialLinks .socialLinks-item {
    display: inline-block;
    margin: 0 8px; /* Space between icons */
}
.footer-copy-right .socialLinks .socialLinks-item .icon { /* Using class from your old CSS */
    background-color: #eeb75b; /* Golden background for circle */
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: flex; /* For centering icon inside */
    align-items: center;
    justify-content: center;
    position: relative; /* For the ::before pseudo-element if using image sprites */
}
.footer-copy-right .socialLinks .socialLinks-item .icon svg { display: none; } /* Hide SVG if using ::before */

/* Specific social icon styling using ::before from your old CSS (ADJUST PATHS!) */
.footer-copy-right .socialLinks .socialLinks-item .icon::before {
    content: ''; display: inline-block; position: absolute;
    left: 50%; top: 50%; transform: translate(-50%,-50%);
    background-repeat: no-repeat; background-position: center; background-size: contain;
}
.footer-copy-right .socialLinks .socialLinks-item .icon.icon--facebook::before {
    background-image: url(../icons/icon-facebook.svg); height: 20px; width: 10px; /* ADJUST SIZES & PATH */
}
.footer-copy-right .socialLinks .socialLinks-item .icon.icon--instagram::before {
    background-image: url(../icons/icon-instagram.svg); height: 20px; width: 20px; /* ADJUST SIZES & PATH */
}
.footer-copy-right .socialLinks .socialLinks-item .icon.icon--linkedin::before {
    background-image: url(../icons/icon-linkedin.svg); height: 18px; width: 18px; /* ADJUST SIZES & PATH */
}
.footer-copy-right .socialLinks .socialLinks-item .icon.icon--x::before { /* For Twitter/X */
    background-image: url(../icons/icon-twitter.svg); height: 18px; width: 18px; /* ADJUST SIZES & PATH */
}


/* Floating WhatsApp Icon */
.whatsapp-float {
  position: fixed;
  width: 55px; height: 55px;
  bottom: 25px; right: 25px;
  background-color: #25D366;
  border-radius: 50px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
  z-index: 1000; /* Ensure it's above other elements */
  display: flex; align-items: center; justify-content: center;
}
.whatsapp-float img {
  width: 30px; height: 30px;
}


/* Responsive Adjustments for the new footer */
@media (max-width: 991px) { /* Tablets */
    .footer-top {
        flex-direction: column;
        align-items: center; /* Center newsletter block and contact strip */
        text-align: center;
    }
    .footer-top .block-newsletter,
    .footer-top .footer-info-col { /* Newsletter form wrapper */
        flex-basis: 100%;
        width: 100%;
        max-width: 500px; /* Limit width of form on tablet */
        margin-bottom: 20px;
    }
    .footer-top .newsletter-content.left {
        padding-right: 0;
        margin-bottom: 15px;
        flex-basis: 100%;
    }
    .footer-top .contact-info-strip {
        justify-content: center; /* Center Call Us / Email Us */
        margin-top: 10px;
        flex-basis: 100%;
    }
    .footer-top .call-us, .footer-top .email-us {
        margin: 10px 15px;
    }

    .footer-info .row .col-md-4, .footer-info .row .col-md-6 { /* Bootstrap columns */
        text-align: center; /* Center text in columns on tablet */
    }
    .footer-info .row .footer-info-col ul.footer-info-list {
        display: inline-block; /* Allows centering of ul if text-align:center is on parent */
        text-align: left; /* Keep list items left aligned inside the centered block */
    }
     .footer-info-col address.store-address {
        text-align: center;
    }
}

@media (max-width: 767px) { /* Mobile */
    .footer { padding: 30px 0 20px; }
    .footer-top .form .form-field .form-input {
        width: calc(100% - 90px); /* Adjust for smaller button */
    }
    .footer-top .form .form-field .button--primary {
        width: 90px;
        padding: 10px 15px;
        font-size: 12px;
    }
    .footer-info-heading { font-size: 1em; }
    .footer-info-list a, .footer-info-col address.store-address, .footer-popular-links li a { font-size: 0.85em; }
    
    /* Mobile Accordion from your old CSS (functionality needs JS) */
    .footer-info-col h3.footer-info-heading { /* Target the specific h3 */
        border-bottom: 1px solid #4a4a4a;
        margin-bottom: 10px;
        padding-bottom: 10px;
        position: relative;
        cursor: pointer; /* Indicate it's clickable */
    }
    .footer-info-col h3.footer-info-heading::after,
    .footer-info-col h3.footer-info-heading::before {
        content: ''; background-color: #fff; display: inline-block;
        height: 2px; width: 12px; position: absolute; right: 10px; top: 50%;
        transform: translateY(-50%); transition: transform 0.3s ease;
    }
    .footer-info-col h3.footer-info-heading::after {
        transform: translateY(-50%) rotate(90deg);
    }
    .footer-info-col h3.footer-info-heading.open::after { /* State when accordion is open */
        transform: translateY(-50%) rotate(0deg); /* Or hide one bar */
    }
     .footer-info-col h3.footer-info-heading.open + ul.footer-info-list,
     .footer-info-col h3.footer-info-heading.open + address.store-address {
        display: block !important;
    }
    .footer-info-col ul.footer-info-list, 
    .footer-info-col address.store-address { /* Hide by default on mobile unless .open */
        display: none;
    }
    /* Exclude App & Payment and specific titles from accordion behavior if needed */
    .footer-info-col.app-payment-column h3.footer-info-heading::before, /* Assuming you add this class to HTML */
    .footer-info-col.app-payment-column h3.footer-info-heading::after {
        display: none !important;
    }
     .footer-info-col.app-payment-column ul, 
     .footer-info-col.app-payment-column address,
     .footer-info-col.app-payment-column .app-downloads,
     .footer-info-col.app-payment-column .payment-gateways,
     .footer-info-col.app-payment-column > p {
        display: block !important; /* Always show content for App & Payment */
    }


    .popular-links-list li { margin-right: 10px; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .whatsapp-float img { width: 25px; height: 25px; }
}