/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fffe;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================================= */
/* === FINAL POLISHED HERO SECTION - V4 (Modern & Premium) === */
/* ================================================================= */

.hero {
    position: relative; 
    padding: 100px 0;
    background-image: url('https://pharmacy.weblance.site/images/hero.jpg');
    background-size: cover;
    background-position: center center;
    color: #fff;
    
    /* === UPGRADE: Modern, professional font jo har system pe ho === */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 2. A slightly darker and more effective overlay */
.hero::before {
    content: '';
    position: absolute; /* <--- TYPO FIX: Yahan 'her' likha tha */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* === UPGRADE: Gradient thora strong kiya taake white text saaf parha jaaye === */
    background: linear-gradient(135deg, rgba(10, 60, 15, 0.8), rgba(46, 125, 50, 0.1));
    z-index: 1;
}

/* This makes sure the content stays on top of the overlay */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    
    /* === NAYA CODE ADDED: Animation ke liye zaroori hai === */
    overflow: hidden;
}

/* 3. A stronger text-shadow for guaranteed readability */
.hero-content h1 {
    color: #fff;
    font-size: 3.2rem; 
    
    /* === UPGRADE: Thora aur "Bold" premium look ke liye === */
    font-weight: 800; 
    
    /* === UPGRADE: Shadow thora strong taake har image pe parha jaaye === */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    
    /* === UPGRADE: Thora aur "tight" modern design ke liye === */
    letter-spacing: -1.5px;
}

.hero-content p {
    color: #f0fdf4; /* A very light green-white */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    font-size: 1.25rem;
    font-weight: 300;
}

/* ================================================================= */
/* === NAYA ANIMATION CODE NEECHAY ADD KAR DIYA HAI === */
/* ================================================================= */

/* --- Particle Animation (Float Up) --- */
@keyframes floatUp {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1; /* Ziada der tak visible rahay */
    }
    100% {
        transform: translateY(-200px); /* Screen se oopar nikal jaaye */
        opacity: 0;
    }
}

/* --- Particle Group 1 (Plus Signs '+') --- */
.hero-content::before {
    /* 1. Particle ka content aur basic style */
    content: '+';
    font-family: Arial, sans-serif; /* Plus sign ke liye */
    font-weight: bold;
    position: absolute;
    z-index: -1; /* Search bar ke peechay */
    font-size: 1.5rem; /* Particle ka size */
    color: rgba(255, 255, 255, 0.08); /* Boht halka, premium look */
    
    /* 2. Animation (18 second ki) */
    animation: floatUp 18s linear infinite;
    
    /* 3. Asal 'Magic' (1 se 6 particles banao) */
    /* Ye 'box-shadow' trick 5 aur particles banayegi */
    box-shadow: 
        /* Particle 2 */
        10vw -15vh 0 rgba(255, 255, 255, 0.07),
        /* Particle 3 */
        -15vw -10vh 0 rgba(255, 255, 255, 0.06),
        /* Particle 4 */
        30vw -30vh 0 rgba(255, 255, 255, 0.08),
        /* Particle 5 */
        -35vw -25vh 0 rgba(255, 255, 255, 0.07),
        /* Particle 6 */
        40vw -5vh 0 rgba(255, 255, 255, 0.06);
    
    /* Pehla particle kahan se shuru ho (left side) */
    top: 80%;
    left: 10%;
}

/* --- Particle Group 2 (Capsules/Circles) --- */
.hero-content::after {
    /* 1. Particle ka content aur basic style */
    content: ''; /* Khali, taake hum shape bana sakein */
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%; /* Circle (capsule ki simple form) */
    
    position: absolute;
    z-index: -1;
    
    /* 2. Animation (22 second ki, thori slow) */
    animation: floatUp 22s linear infinite;
    animation-delay: 3s; /* Ye group thora late shuru hoga */

    /* 3. Asal 'Magic' (1 se 6 particles banao) */
    box-shadow: 
        /* Particle 2 */
        12vw -20vh 0 rgba(255, 255, 255, 0.08),
        /* Particle 3 */
        -10vw -12vh 0 rgba(255, 255, 255, 0.06),
        /* Particle 4 */
        35vw -35vh 0 rgba(255, 255, 255, 0.07),
        /* Particle 5 */
        -40vw -18vh 0 rgba(255, 255, 255, 0.08),
        /* Particle 6 */
        -20vw -28vh 0 rgba(255, 255, 255, 0.06);
    
    /* Pehla particle kahan se shuru ho (right side) */
    top: 70%;
    right: 10%;
}

/* --- Mobile pe particles ko hide kar do --- */
@media (max-width: 768px) {
    .hero-content::before,
    .hero-content::after {
        display: none;
    }

    /* === (Bonus) Mobile view ke liye Heading thori choti === */
    .hero-content h1 {
        font-size: 2.5rem; /* Desktop pe 3.2rem, mobile pe 2.5rem */
        letter-spacing: -1px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}
/* === NEW: Styling the prescription prompt === */
.prescription-prompt {
    color: #f0f0f0;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    margin-top: 1.5rem;
}

/* === NEW: Hiding the old-fashioned arrow === */
/* (Code remove nahi kiya, jaisa aapne kaha) */
.arrow-down {
    display: none;
}


/* Search Container */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* === NAYI ANIMATION: Scanner ki logic === */
@keyframes scanEffect {
    0% {
        left: -10%;
        opacity: 0;
    }
    10% {
        left: 0%;
        opacity: 1;
    }
    40% {
        left: 98%; /* Poora sweep kare */
        opacity: 1;
    }
    50% {
        left: 98%;
        opacity: 0; /* Aakhir mein fade out ho */
    }
    100% {
        left: 98%; /* Poori der ruka rahay */
        opacity: 0;
    }
}

.search-box {
    position: relative;
    overflow: hidden; 
    background: rgba(255, 255, 255, 0.98); 
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 15px 40px rgba(0, 0, 0, 0.15);
    
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* === NAYA: Scanner ki line === */
.search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 4px; /* Scanner ki line ki motai */
    height: 100%;
    
    /* "Chakaas" glowing green effect */
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #a5d6a7 50%, rgba(255,255,255,0) 100%);
    box-shadow: 0 0 10px #a5d6a7, 0 0 20px #a5d6a7;
    
    z-index: 1; /* Icon aur text ke peechay */
    
    /* Animation apply karo (har 4 second mein) */
    animation: scanEffect 4s ease-in-out infinite;
    animation-delay: 1s; /* 1s ruk kar shuru ho */
}


.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #2d7d32;
    font-size: 1.2rem;
    
    /* === UPGRADE: Scanner ke oopar rakho === */
    z-index: 2;
}

.search-box input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 18px 20px 18px 60px;
    color: #333;
    
    font-size: 1.15rem;
    font-weight: 500;
    
    /* === UPGRADE: Scanner ke oopar rakho === */
    position: relative;
    z-index: 2;
}

.search-box input::placeholder {
    color: #888; 
    font-weight: 400;
}

/* === NAYA: Mobile view ke liye Heading thori choti === */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem; /* Desktop pe 3.2rem, mobile pe 2.5rem */
        letter-spacing: -1px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* === NAYA: Mobile pe scanner animation band kar do === */
    .search-box::before {
        display: none;
    }
}

/* Search Results (UNTOUCHED) */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.search-result-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.result-name {
    font-weight: 600;
    color: #2d7d32;
    margin-bottom: 5px;
}

.result-details {
    font-size: 0.9rem;
    color: #666;
}

.result-price {
    font-weight: 600;
    color: #1976d2;
    float: right;
}

/* Delivery Info */
.delivery-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* === UPGRADED: Better spacing === */
    margin-top: 3rem;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    /* === UPGRADED: Converted to "Trust Badges" === */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    color: #FFFFFF;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

/* === NEW: Hover effect for Trust Badges === */
.info-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.info-item i {
    font-size: 1.2rem;
    /* === UPGRADED: White icon with spacing === */
    color: #FFFFFF;
    margin-right: 5px; /* Original gap: 0.5rem was handled by parent */
}

/* Modal Styles (UNTOUCHED) */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.close:hover {
    color: #000;
}

/* ================================================================= */
/* === NAYA "BRANDED" MEDICINE DETAIL MODAL (MODERN LOOK) === */
/* ================================================================= */

/* Purane padding ko reset karo */
.modal-content #medicineDetails {
    padding: 0;
}

/* Naya 2-column layout */
.modal-detail-container {
    display: flex;
    flex-wrap: wrap; /* Mobile pe wrap karega */
}

/* 1. Left Column (Image) */
.modal-detail-image {
    width: 40%; /* Desktop pe 40% jaga lega */
    padding: 20px;
    box-sizing: border-box;
}
.modal-detail-image .medicine-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #f9f9f9;
}

/* 2. Right Column (Info) */
.modal-detail-info {
    width: 60%; /* Desktop pe 60% jaga lega */
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Heading styles */
.modal-detail-info .medicine-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1b5e20;
    margin-top: 0;
    margin-bottom: 5px;
    line-height: 1.3;
}
.modal-detail-info .medicine-manufacturer {
    font-size: 1rem;
    color: #777;
    margin-bottom: 25px;
    font-weight: 500;
}

/* "CHAKAAS" CHIPS (Variations) */
.variation-selector {
    margin-bottom: 25px;
}
.info-label {
    font-weight: 600;
    color: #2d7d32;
    margin-bottom: 10px;
    font-size: 1rem;
}
.variation-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
/* Ye radio button (input) ko chhupata hai */
.chip-variation input[type="radio"] {
    display: none;
}
/* Ye label ko "button" banata hai */
.chip-variation label {
    display: block;
    padding: 10px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}
/* Jab click ho (checked) to "branded" green look */
.chip-variation input[type="radio"]:checked + label {
    background-color: #e8f5e9; /* Halka Green */
    border-color: #2e7d32;   /* Dark Green */
    color: #1b5e20;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.1);
}
.chip-variation label:hover {
    border-color: #2e7d32;
}

/* Price aur Stock ka naya box */
.price-stock-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 30px;
}
.price-info .price-label {
    font-size: 0.9rem;
    color: #777;
}
.price-info .price-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1b5e20;
}
.price-est {
    font-size: 0.9rem;
    font-weight: 500;
    color: #777;
}

/* Naye "Branded" Stock Badges */
.stock-status {
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
}
.stock-in-stock {
    background-color: #e8f5e9;
    color: #2e7d32;
}
.stock-low {
    background-color: #fff3e0;
    color: #f57c00;
}
.stock-out-of-stock {
    background-color: #ffebee;
    color: #c62828;
}

/* Final "Add to Order" Button */
.modal-detail-info .action-buttons {
    margin-top: auto; /* Ye button ko hamesha neeche rakhega */
    display: block; /* Flex ki zaroorat nahi */
}
/* Button ko poori width do */
.modal-detail-info .btn-primary {
    width: 100%;
    padding: 16px; /* Bara button */
    font-size: 1.1rem;
}
.modal-detail-info .btn-secondary {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    background: #f1f1f1;
    color: #777;
    border: none;
}

/* === MOBILE VIEW KE LIYE FIX === */
@media (max-width: 768px) {
    .modal-detail-container {
        flex-direction: column; /* Columns ko ek ke neeche ek rakho */
    }
    .modal-detail-image,
    .modal-detail-info {
        width: 100%; /* Dono ko full width do */
        padding: 15px;
    }
    .modal-detail-info .medicine-name {
        font-size: 1.5rem;
    }
    .price-stock-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}




/* Footer */
.footer {
    background: #1b5e20;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Order Summary Styles */
.order-summary {
    padding: 30px;
}

.order-title {
    font-size: 1.8rem;
    color: #1b5e20;
    margin-bottom: 30px;
    text-align: center;
}

.order-items {
    margin-bottom: 30px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: #2d7d32;
}

.item-details {
    font-size: 0.9rem;
    color: #666;
}
.item-quantity {
    background: #2d7d32;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1.2rem;
    margin: 0 15px;
}

.quantity-btn {
    background: #388e3c;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin: 0 5px;
}

.quantity-btn:hover {
    background: #45a049;
}
.delivery-section {
    background: #e8f5e8;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.location-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.location-btn {
    background: #2d7d32;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.delivery-info-summary {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #2d7d32;
}

.total-section {
    background: linear-gradient(135deg, #2d7d32, #4caf50);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .delivery-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

/* Stock Status */
.stock-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.in-stock {
    background: #e8f5e8;
    color: #2d7d32;
}

.out-of-stock {
    background: #ffebee;
    color: #c62828;
}

.low-stock {
    background: #fff3e0;
    color: #f57c00;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2d7d32;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fix for button icon and text alignment */
.btn {
    display: inline-flex; /* This change will re-center the button */
    align-items: center;
    justify-content: center;
    gap: 10px; 
}
/* Adds space below the "Upload Prescription" button */
.prescription-upload-container {
    margin-bottom: 40px;
}

/* Styling for the new text above the prescription button */
.prescription-prompt {
    text-align: center;
    color: #555;
    margin-bottom: 15px;
    font-size: 1rem;
}

/* Styling and animation for the down arrow */
.arrow-down {
    text-align: center;
    font-size: 1.5rem;
    color: #2E7D32;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
    pointer-events: none; /* ADD THIS LINE - It makes the arrow 'unclickable' */
}

/* Keyframes for the bounce animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ================================================= */
/* === FINAL MODERN & RELIABLE PRESCRIPTION MODAL === */
/* ================================================= */

/* The dark background overlay */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.6);
    padding-top: 50px; /* Adds some space from the top */
}

/* The popup content box */
.modal-content {
    background-color: #ffffff;
    margin: 5% auto 15% auto; /* This centers the modal */
    padding: 30px 40px;
    border: none;
    width: 90%;
    max-width: 550px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .modal-content {
        margin: 20px auto;
        padding: 20px 25px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Typography */
.modal-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    text-align: center;
}

.modal-content p {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
}

/* The Close (×) Button */
.close-prescription {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
}

.close-prescription:hover,
.close-prescription:focus {
    color: #1b5e20;
}

/* Form Elements */
#prescriptionModal form {
    display: flex;
    flex-direction: column;
    gap: 18px; 
}

#prescriptionModal .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

#prescriptionModal .form-group input[type="text"],
#prescriptionModal .form-group input[type="tel"],
#prescriptionModal .form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: #fff;
    transition: all 0.2s ease;
}

#prescriptionModal .form-group input:focus,
#prescriptionModal .form-group textarea:focus {
    outline: none;
    border-color: #2E7D32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

/* Modern File Input */
#prescriptionModal input[type="file"]::file-selector-button {
    font-weight: 600;
    color: #2E7D32;
    padding: 10px 16px;
    border: 1px solid #2E7D32;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-right: 15px;
}
#prescriptionModal input[type="file"]::file-selector-button:hover {
    background-color: #f0fdf4;
}

/* Modern Submit Button */
#prescriptionModal button[type="submit"] {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    background-color: #2E7D32;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-top: 10px;
}

#prescriptionModal button[type="submit"]:hover {
    background-color: #1b5e20;
    transform: translateY(-2px);
}

/* =================================== */
/* === ORDER SUMMARY ACTION BUTTONS === */
/* =================================== */

/* This styles the container for both buttons */
.order-actions {
    display: flex;
    justify-content: space-between; /* Pushes buttons to opposite ends */
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* This styles the "Clear Cart" button itself */
.btn-clear-cart {
    background-color: transparent;
    border: none;
    color: #c62828; /* A subtle red color for a delete action */
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 5px;
}

.btn-clear-cart:hover {
    color: #a12020; /* Darker red on hover */
}

/* ======================================================= */
/* ===         AI HEALTH GUIDE CHAT STYLES             === */
/* ======================================================= */

/* --- Chat Icon (Floating Button) --- */
.chat-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #00695C);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(0, 128, 128, 0.4);
    cursor: pointer;
    z-index: 1001; /* Isay WhatsApp button ke opar rakhega */
    transition: all 0.3s ease;
}

.chat-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.5);
}

/* --- Chat Window --- */
.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    max-height: 500px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    
    /* Animation ke liye */
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: all 0.3s ease-out;
}

.chat-window.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* --- Chat Header --- */
.chat-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.chat-title i { font-size: 1.5rem; }
.chat-title h3 { margin: 0; font-size: 1.1rem; }
.chat-title p { margin: 0; font-size: 0.8rem; opacity: 0.8; }

.chat-close-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0.8;
}
.chat-close-btn:hover { opacity: 1; }

/* ======================================================= */
/* ===    FINAL UPGRADED AI HEALTH GUIDE CHAT STYLES     === */
/* ======================================================= */

/* --- Chat Icon (Floating Button) --- */
.chat-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 128, 128, 0.4);
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon ke andar wali tasveer (image) ka style */
.chat-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* Tasveer ko bilkul gol banayega */
    object-fit: cover; /* Tasveer ko stretch hone se bachayega */
}

/* "Chat Now" label ka style (shuru mein chupa hoga) */
.chat-label {
    position: absolute;
    right: 75px; /* Icon ke left side par */
    background-color: var(--text-dark);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateX(10px);
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Jab icon par mouse le kar jayenge, to label nazar aayega */
.chat-icon:hover .chat-label {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

/* Icon par hover effect */
.chat-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.5);
}

/* --- Chat Window --- */
.chat-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 350px;
    max-height: 500px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: all 0.3s ease-out;
}

.chat-window.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* --- Chat Header --- */
.chat-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-title { display: flex; align-items: center; gap: 10px; }
.chat-title i { font-size: 1.5rem; }
.chat-title h3 { margin: 0; font-size: 1.1rem; }
.chat-title p { margin: 0; font-size: 0.8rem; opacity: 0.8; }
.chat-close-btn { background: none; border: none; color: var(--white); font-size: 1.8rem; cursor: pointer; opacity: 0.8; }
.chat-close-btn:hover { opacity: 1; }

/* --- Chat Body (Messages Area) --- */
.chat-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    /* Eye-attracting background pattern */
    background-color: #f8f9fa;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23e9ecef" fill-opacity="0.4" d="M0 0h20v20H0z" /><path d="M10 0v20M0 10h20" stroke="%23dee2e6" stroke-width="0.5" /></svg>');
}

.chat-message {
    display: flex;
    margin-bottom: 15px;
    max-width: 90%;
    animation: fadeInUp 0.4s ease-out;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.chat-message.ai p {
    background: #e0f2f1;
    color: var(--text-dark);
    border-radius: 15px 15px 15px 0;
}
.chat-message.user {
    margin-left: auto;
    flex-direction: row-reverse;
}
.chat-message.user p {
    background: var(--accent-color);
    color: var(--white);
    border-radius: 15px 15px 0 15px;
}
.chat-message p { padding: 12px 18px; margin: 0; line-height: 1.5; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

/* --- Quick Replies Feature --- */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}
.quick-reply-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.quick-reply-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* --- Chat Footer (Input Area) --- */
.chat-footer { display: flex; padding: 15px; border-top: 1px solid var(--border-color); background: var(--white); }
#chat-input {
    flex-grow: 1; border: 1px solid var(--border-color);
    border-radius: 50px; padding: 10px 20px;
    font-size: 1rem; outline: none; transition: all 0.2s ease;
}
#chat-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.15);
}
#chat-send-btn {
    background: var(--primary-color); color: var(--white); border: none;
    border-radius: 50%; width: 42px; height: 42px;
    margin-left: 10px; cursor: pointer; font-size: 1rem; transition: all 0.2s ease;
}
#chat-send-btn:hover { background: #00695C; transform: scale(1.1); }

/* Responsive for mobile */
@media (max-width: 480px) {
    .chat-window { width: calc(100% - 20px); right: 10px; bottom: 80px; max-height: 70vh; }
    .chat-icon { right: 15px; bottom: 15px; }
}

/* ======================================================= */
/* ===         AI ASSISTANT PAGE STYLES                === */
/* ======================================================= */

.ai-page-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Left side is twice as wide as the right */
    gap: 40px;
    padding: 60px 0;
}

/* --- Left Side: Main Chat Panel --- */
.chat-main-panel {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 75vh; /* Fixed height for the chat panel */
}

/* Re-using styles from the floating chat for consistency */
.chat-main-panel .chat-header {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.chat-main-panel .chat-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: var(--bg-light);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23e9ecef" fill-opacity="0.4" d="M0 0h20v20H0z" /><path d="M10 0v20M0 10h20" stroke="%23dee2e6" stroke-width="0.5" /></svg>');
}

.chat-main-panel .chat-footer {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* --- Right Side: Side Panel --- */
.chat-side-panel {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 30px;
}

.doctor-avatar {
    text-align: center;
    margin-bottom: 20px;
}

.doctor-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.chat-side-panel h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.chat-side-panel .doctor-title {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.chat-side-panel h4 {
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.example-questions .quick-reply-btn {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
}

.disclaimer {
    margin-top: 30px;
    background: #fff8e1;
    color: #6d4c41;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    border-left: 4px solid #ffab40;
}

/* Responsive for mobile */
@media (max-width: 992px) {
    .ai-page-container {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }
}

/* ======================================================= */
/* ===         FINAL MODERN HEADER & CART STYLES         === */
/* ======================================================= */

/* Main Header Bar */
.header {
    background: rgba(255, 255, 255, 0.8); /* Frosted glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Navigation container */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Yeh line tamam cheezon ko vertically center karegi */
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.logo span { color: var(--text-dark); }
.logo i { font-size: 2rem; }

/* Desktop Navigation Links */
.nav-links { display: flex; gap: 35px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-color); }

/* Container for Cart and Mobile Button */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Eye-Catching Cart Button */
#quickOrderPanel {
    position: relative;
    background: #e8f5e9;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

#quickOrderPanel:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 7px 20px rgba(0, 128, 128, 0.2);
    transform: translateY(-2px);
}

#orderCount {
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none; /* Desktop par chupa hoga */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Mobile Menu Dropdown */
.mobile-menu {
    display: none; /* Shuru mein chupa hoga */
    background: var(--white);
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
}
.mobile-menu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}
.mobile-menu a:hover {
    background-color: var(--bg-light);
}
.mobile-menu.active {
    display: block; /* JavaScript isay show karega */
}

/* --- Responsive for Mobile --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Desktop menu ko mobile par chupayein */
    }
    .mobile-menu-btn {
        display: block; /* Mobile menu button ko dikhayein */
    }
    .cart-text {
        display: none; /* "Cart" text ko chupayein */
    }
    #quickOrderPanel {
        padding: 12px;
        width: 45px;
        height: 45px;
        justify-content: center;
    }
    #orderCount {
        position: absolute;
        top: -5px;
        right: -5px;
    }
}
/* ======================================================= */
/* ===         MODERN DROPDOWN (SELECT BOX) STYLES       === */
/* ======================================================= */

.select-wrapper {
    position: relative;
    width: 100%;
}

/* Naya custom arrow */
.select-wrapper::after {
    content: '\f078'; /* Font Awesome 'chevron-down' icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--primary-color);
    pointer-events: none; /* Taake arrow ke opar click ho sakay */
}

/* Select box ka naya design */
.info-value-selector {
    /* Purana browser style hatayein */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Naya style */
    width: 100%;
    padding: 12px 40px 12px 15px; /* Right side par arrow ke liye jagah */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.info-value-selector:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.15);
}
/* ======================================================= */
/* ===         ORDER SUMMARY NOTES BOX STYLES          === */
/* ======================================================= */

.order-notes {
    margin-top: 20px;
    margin-bottom: 20px;
}

.order-notes label {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.order-notes textarea {
    width: 100%;
    box-sizing: border-box; /* Zaroori hai taake padding masla na kare */
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    min-height: 80px;
    transition: all 0.2s ease;
}

.order-notes textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.15);
}

/* ================================================================= */
/* === PREMIUM HERO ANIMATION (Lottie Rider) === */
/* ================================================================= */

/* --- Rider Animation Keyframes (Left-to-Right) --- */
@keyframes rideAcross {
    0% {
        left: -150px; /* Screen ke bilkul left se shuru ho */
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%; /* Screen ke bilkul right se nikal jaaye */
        opacity: 0;
    }
}

/* --- Rider "Ready" Keyframes --- */
@keyframes fadeInReady {
    from { 
        opacity: 0; 
        transform: translateX(50px) translateY(-50%) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0) translateY(-50%) scale(1); 
    }
}

/* Search box ko relative rakho (ye pehle se hai, but zaroori hai) */
.search-box {
    position: relative;
    overflow: hidden; /* Zaroori */
}

/* Naya Lottie Rider ka Style */
.delivery-rider {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1; /* Input aur icon ke peechay */
    
    /* Animation apply karo */
    animation: rideAcross 12s linear infinite;
    animation-delay: 2s; /* 2s baad shuru ho */
    transition: all 0.4s ease-in-out; /* Smooth movement */
    
    /* Lottie player ko fit karega */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lottie player ki height/width ko scale karega */
.delivery-rider lottie-player {
    transform: scale(1.1); /* Thora sa bara dikhaye */
}

/* Jab search box focus ho to rider ki "ready" state */
.search-box.is-focused .delivery-rider {
    animation: none; /* Existing rideAcross animation roko */
    left: auto; /* Left property ko remove karo */
    right: 5px; /* Right side pe position karo */
    top: 50%;
    transform: translateY(-50%) translateX(0); /* Final position */
    opacity: 1;
    animation: fadeInReady 0.3s ease-out forwards; /* Ready state animation */
}

/* Search icon aur input ko z-index dein taake rider ke oopar aayein */
.search-box i.fa-search {
    z-index: 3; 
    position: absolute; /* z-index ke liye zaroori */
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.search-box input {
    position: relative; /* Zaroori, taake z-index kaam kare */
    z-index: 3; 
}

/* ================================================================= */
/* === MOBILE ANIMATION ADJUSTMENTS (Rider Zinda Hai!) === */
/* ================================================================= */

@media (max-width: 768px) {
    /* 1. Rider ko wapis laao (display: none hataya) */
    .delivery-rider {
        display: flex !important; /* Zaroori hai taake override ho */
        
        /* 2. Thora chota karo taake mobile pe fit aaye */
        transform: translateY(-50%) scale(0.8) !important; /* 80% size */
        
        /* 3. Animation thori slow karo */
        animation-duration: 15s !important; 
    }

    /* 4. Mobile pe "Ready" state ki position adjust karo */
    .search-box.is-focused .delivery-rider {
        /* Mobile pe right side se thora ziada gap do taake 'X' button (agar ho) se door rahay */
        right: 10px !important; 
        
        /* Wapis size normal karo ya chota hi rakho (0.8 theek lagta hai) */
        transform: translateY(-50%) scale(0.8) translateX(0) !important;
    }

    /* 5. Mobile pe animation path thora chota karo */
    @keyframes rideAcross {
        0% { left: -100px; opacity: 0; }
        10% { opacity: 1; }
        90% { opacity: 1; }
        100% { left: 110%; opacity: 0; } /* Screen se jaldi bahar nikal jaye */
    }
}

/* ================================================================= */
/* === "CHAKAAS" CHECKOUT FORM STYLES (MODAL KE LIYE) === */
/* ================================================================= */

.checkout-form {
    /* Form ko baaqi cheezon se alag karta hai */
    border-top: 2px solid #f0f0f0;
    margin-top: 20px;
    padding-top: 20px;
}

.form-title {
    font-size: 1.3rem;
    color: #2e7d32; /* Brand Green */
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
}

.form-group {
    margin-bottom: 15px;
    text-align: left; /* Saari labels ko left align rakho */
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

/* Icon ko green rakho */
.form-group label i {
    margin-right: 5px;
    color: #2e7d32;
    width: 15px; /* Thori si jaga do */
    text-align: center;
}

/* "Branded" Input Box */
.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box; /* Zaroori */
    transition: all 0.3s ease;
}

/* Jab click karein to "chakaas" green highlight */
.form-input:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

textarea.form-input {
    resize: vertical; /* Sirf neeche ki taraf resize ho */
}

/* ================================================================= */
/* === "ORDER WITH PRESCRIPTION" BUTTON FIX === */
/* ================================================================= */

/* 1. Base Button (Aapka original code) */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center; /* (Ye add kiya hai taake icon center mein rahay) */
    gap: 10px;
}

/* 2. Primary Button (Aapka original code) */
.btn-primary {
    background: linear-gradient(135deg, #2d7d32, #4caf50);
    color: white;
    box-shadow: 0 8px 20px rgba(45, 125, 50, 0.25);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(45, 125, 50, 0.35);
}

/* 3. Button Large (Aapke HTML mein tha, CSS mein nahi) */
.btn-large {
    padding: 16px 35px;
    font-size: 1.1rem;
}

/* 4. Secondary Button (Ye bhi zaroori hai) */
.btn-secondary {
    background: #f8f9fa;
    color: #2d7d32;
    border: 2px solid #2d7d32;
}

.btn-secondary:hover {
    background: #2d7d32;
    color: white;
}

/* ================================================================= */
/* === "CHAKAAS" ORDER MODAL BUTTONS === */
/* ================================================================= */

/* 1. Buttons ka Main Container */
.order-summary .order-actions {
    display: flex;
    justify-content: space-between; /* Buttons ko phelaye ga */
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0; /* Oopar line */
}

/* 2. Base Button Style (Taake sab ek jaise hon) */
.order-summary .order-actions button {
    padding: 12px 20px;
    border: none;
    border-radius: 50px; /* "Pill" shape */
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* 3. "Confirm & Send" (Main Button) */
.order-summary .btn-primary {
    background: linear-gradient(135deg, #2d7d32, #4caf50);
    color: white;
    box-shadow: 0 8px 20px rgba(45, 125, 50, 0.25);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.order-summary .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(45, 125, 50, 0.35);
}

/* 4. "Add More" (Secondary Button) */
.order-summary .btn-add-more {
    background: #f0f0f0; /* Halka Grey */
    color: #555;
    border: 2px solid #e0e0e0;
}
.order-summary .btn-add-more:hover {
    background: #e0e0e0;
    color: #333;
}

/* 5. "Clear Cart" (Destructive Button) */
.order-summary .btn-clear-cart {
    background: transparent; /* Sirf text */
    color: #c62828; /* Red */
    font-weight: 700;
    padding: 0; /* Link jaisa banaye ga */
}
.order-summary .btn-clear-cart:hover {
    text-decoration: underline;
}

/* ================================================================= */
/* === NAYA 5-STAR "BRANDED" ABOUT SECTION === */
/* ================================================================= */

.about-super-chakaas {
    padding: 60px 0;
    background-color: #f9fbfd; /* Halka sa background */
    border-top: 1px solid #e0e0e0;
    overflow: hidden; /* Logo slider ke liye zaroori */
}

/* Re-usable header (agar pehle se nahi hai) */
.about-super-chakaas .section-header {
    text-align: center;
    margin-bottom: 50px;
}
.about-super-chakaas .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1b5e20; /* Brand Green */
    margin-bottom: 15px;
}
.about-super-chakaas .section-subtitle {
    font-size: 1.15rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === PART 1: THE MISSION (Image + Text) === */
.about-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}
.about-grid-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about-grid-content .section-title {
    text-align: left; /* Text ko left align rakho */
}
.about-grid-content .section-subtitle {
    text-align: left;
    margin: 0;
    max-width: 100%;
}

/* === PART 2: THE PROMISE CARDS (3D Hover) === */
.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 30px;
    margin-bottom: 60px;
}
.promise-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
}
.promise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.15);
    border-color: #2e7d32;
}
.promise-card .card-icon {
    font-size: 2.5rem;
    color: #2e7d32;
    background-color: #e8f5e9;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.promise-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1b5e20;
    margin-bottom: 10px;
}
.promise-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* === PART 3: THE "ASLI MAAL" LOGOS (Slider) === */
.logo-slider-container {
    background: #fff;
    padding: 40px 0;
    margin-bottom: 60px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    overflow: hidden; /* Jaadu ke liye zaroori */
}
.logo-slider-container .slider-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #777;
    margin-bottom: 30px;
}
.logo-slider-track {
    display: flex;
    width: calc(300px * 10); /* 10 logos * 300px width */
    animation: scrollLogos 40s linear infinite;
}
.logo-slide {
    width: 300px; /* Logo ki width */
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-slide img {
    max-width: 150px;
    opacity: 0.6; /* Thora light, premium look */
    filter: grayscale(100%);
    transition: 0.3s;
}
.logo-slide:hover img {
    opacity: 1;
    filter: grayscale(0%);
}
/* Animation for logo scroll */
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Halfway tak scroll kare (loop ke liye) */
}

/* === PART 4: THE PROOF (Animated Stats) === */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background: linear-gradient(135deg, #2e7d32, #4caf50); /* Green Gradient */
    color: #fff;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
    margin-bottom: 60px;
}
.stat-item {
    text-align: center;
}
.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 5px 0;
}
.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    opacity: 0.9;
}

/* === PART 5: THE "FANS" (Testimonials) === */
.testimonial-container {
    text-align: center;
}
.testimonial-container .section-title {
    margin-bottom: 50px;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 30px;
}
.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e0e0e0;
    text-align: left;
    transition: 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.testimonial-card .stars {
    color: #f5b50a; /* Yellow */
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.testimonial-card .testimonial-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 15px;
}
.testimonial-card .testimonial-author {
    font-size: 1rem;
    font-weight: 600;
    color: #1b5e20;
    margin: 0;
}

/* --- MOBILE VIEW FIXES --- */
@media (max-width: 768px) {
    .about-grid-layout {
        grid-template-columns: 1fr; /* 1 column */
    }
    .about-grid-content {
        text-align: center; /* Mobile pe center */
        order: -1; /* Image se oopar dikhao */
    }
    .about-grid-content .section-title {
        text-align: center;
    }

    .promise-grid {
        grid-template-columns: 1fr; /* 1 column */
    }
    .stats-container {
        grid-template-columns: 1fr; /* 1 column */
        gap: 30px;
    }
    .testimonial-grid {
        grid-template-columns: 1fr; /* 1 column */
    }
    .about-super-chakaas .section-title {
        font-size: 2rem;
    }
    .stat-item .stat-number {
        font-size: 2.5rem;
    }
}

/* ================================================================= */
/* === NAYA 5-STAR "BRANDED" CONTACT SECTION === */
/* ================================================================= */

/* Section ka main style (Aapka purana .contact-section) */
.contact-section-v2 {
    background-color: var(--white);
    padding-bottom: 80px;
}

/* Header (Aapka purana code, bilkul "chakaas" hai) */
.contact-header {
    background: linear-gradient(to right, #2E7D32, #4CAF50);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}
.contact-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.contact-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Info Cards (Aapka purana code, bilkul "chakaas" hai) */
.contact-cards-container {
    padding: 80px 0;
    background: #f8fffe;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.contact-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(45, 125, 50, 0.1);
}
.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-icon i {
    font-size: 2rem;
    color: #2E7D32;
}
.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.contact-card p {
    color: #666;
    margin: 0;
}

/* === NAYA "PREMIUM" AREA (FORM + MAP + FAQ) === */
.contact-main-area {
    padding: 80px 0 0 0; /* Upar se padding, neeche se nahi */
}

/* NAYA: Pharmacist Intro Card */
.pharmacist-intro-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #f8fffe; /* Halka sa background */
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 60px;
    border: 1px solid #e8f5e9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.pharmacist-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}
.pharmacist-info h3 {
    margin: 0 0 10px 0;
    color: #1b5e20;
    font-size: 1.5rem;
}
.pharmacist-info p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

/* NAYA: 2-Column Grid (Map + Form) */
.details-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
}

/* NAYA: "Branded" Contact Form */
.contact-form-container h2,
.map-container h2,
.faq-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1b5e20;
}
.contact-form .form-row {
    display: flex;
    gap: 20px;
}
.contact-form .form-group {
    margin-bottom: 20px;
    flex: 1; /* Dono inputs barabar jaga lein */
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #f9f9f9;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2e7d32;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}
.contact-form textarea {
    resize: vertical;
}
.contact-form .btn-primary {
    /* Ye button classes aapke paas pehle se honi chahiye */
    /* Agar nahi hain, to ye unko style kar dega */
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #2d7d32, #4caf50);
    color: white;
    box-shadow: 0 8px 20px rgba(45, 125, 50, 0.25);
}
.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(45, 125, 50, 0.35);
}
#form-message-popup {
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Map (Aapka purana code, bilkul "chakaas" hai) */
#map {
    height: 450px; /* Form ke barabar height */
    width: 100%;
    border-radius: 16px;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* FAQ (Aapka purana code, bilkul "chakaas" hai) */
.faq-container {
    max-width: 900px; /* Thora chota, taake parhna asaan ho */
    margin: 0 auto; /* Center mein */
}
.faq-item {
    background: #f8fffe;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #e8f5e9;
}
.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '\\2b';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: #4CAF50;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}
.faq-answer p {
    padding: 0 20px 20px 20px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}
.faq-item.active .faq-answer {
    max-height: 250px;
}

/* === NAYA "BRANDED" RESPONSIVE CODE === */
@media (max-width: 992px) {
    .details-grid-v2 {
        grid-template-columns: 1fr; /* 1 column */
        gap: 40px;
    }
    .contact-form .form-row {
        flex-direction: column; /* Inputs ko ek ke neeche ek rakho */
        gap: 20px;
    }
    .pharmacist-intro-card {
        flex-direction: column; /* Mobile pe stack karo */
        text-align: center;
    }
}