:root {
    --primary-color: #b45309; 
    --primary-hover: #92400e; 
    --bg-light: #f9fafb;      
    --text-dark: #111827;     
    --text-muted: #4b5563;    
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --accent-orange-bg: #fff7ed; 
    --border-color-muted: #e5e7eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); color: var(--text-dark); background-color: var(--bg-light); line-height: 1.6; }
a { text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-white { background-color: #ffffff; }
.bg-light { background-color: var(--bg-light); }
.bg-light-orange { background-color: var(--accent-orange-bg); }
.text-center { text-align: center; }
.border-top { border-top: 1px solid #e5e7eb; }

.divider { height: 4px; width: 80px; background-color: var(--primary-color); margin: 16px auto 32px; border-radius: 2px; }

#navbar { background-color: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: fixed; width: 100%; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 70px; }
.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); letter-spacing: 2px;}

.nav-links { display: flex; align-items: center; }
.nav-links li { margin-left: 30px; }
.nav-links a { color: var(--text-muted); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-color); }

.cart-nav-link { background-color: #fef3c7; color: #92400e !important; padding: 6px 14px; border-radius: 20px; font-weight: 600 !important; border: 1px solid #fde68a; transition: all 0.2s ease-in-out; }
.cart-nav-link:hover { background-color: #fde68a; transform: scale(1.05); }

.menu-toggle { display: none; flex-direction: column; cursor: pointer; }
.menu-toggle .bar { height: 3px; width: 25px; background-color: var(--text-dark); margin: 3px 0; transition: 0.3s; }

.hero { background-color: #fffbeb; padding: 140px 20px 80px; text-align: center; border-bottom: 1px solid #fef3c7; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; color: var(--text-dark); }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; }
.btn-primary { background-color: var(--primary-color); color: #fff; padding: 12px 30px; border-radius: 5px; font-weight: bold; display: inline-block; transition: background 0.3s; }
.btn-primary:hover { background-color: var(--primary-hover); }

.info-box { background-color: var(--bg-light); border: 1px solid #e5e7eb; border-radius: 8px; padding: 40px; max-width: 800px; margin: 0 auto; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.info-box p { margin-bottom: 15px; color: var(--text-muted); }

.client-logos { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    flex-wrap: wrap; 
}

.client-badge { 
    background: #fff; 
    border: 1px solid var(--border-color-muted); 
    padding: 20px 50px; /* Increased padding for a nicer, wider badge */
    border-radius: 60px; /* Slightly larger border-radius to keep the pill shape */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.customer-logo {
    height: 150px; /* More than doubled the height! */
    width: auto;
    max-width: 220px; /* Let them stretch out wider if needed */
    object-fit: contain;
    display: block;
}
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; max-width: 800px; margin: 0 auto; }
.team-member { background: #fff; padding: 25px; border-radius: 8px; border: 1px solid var(--border-color-muted); }
.team-member h3 { color: var(--primary-color); margin-bottom: 5px; }

.subtitle { margin-bottom: 40px; color: var(--text-muted); max-width: 700px; margin-left: auto; margin-right: auto; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; text-align: left; display: flex; flex-direction: column; flex-grow: 1; }
.card-body h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 15px; flex-grow: 1; }

.product-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding-top: 10px; border-top: 1px dashed var(--border-color-muted); }
.qty-selector { display: flex; align-items: center; gap: 5px; }
.qty-selector label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.qty-selector input { width: 65px; padding: 4px 6px; border: 1px solid var(--border-color-muted); border-radius: 4px; font-weight: bold; text-align: center; }

.btn-add-cart { width: 100%; background-color: #ffffff; color: var(--primary-color); border: 2px solid var(--primary-color); padding: 10px; border-radius: 5px; font-weight: bold; cursor: pointer; transition: all 0.2s ease; }
.btn-add-cart:hover { background-color: var(--primary-color); color: #ffffff; }
.badge { background-color: #f3f4f6; color: var(--text-muted); padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }

/* Cart Page Styles */
.order-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; margin-top: 20px; align-items: start; max-width: 1000px; margin-left: auto; margin-right: auto;}
.cart-summary-box, .dispatch-form-box { background-color: #ffffff; padding: 30px; border-radius: 8px; border: 1px solid var(--border-color-muted); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); }
.cart-summary-box h3, .dispatch-form-box h3 { font-size: 1.3rem; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--accent-orange-bg); }
#empty-cart-msg { color: var(--text-muted); font-style: italic; padding: 20px 0; }
#cart-item-manifest { display: flex; flex-direction: column; gap: 15px; }

.manifest-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; background-color: var(--bg-light); border: 1px solid var(--border-color-muted); border-radius: 6px; }
.manifest-detail { display: flex; flex-direction: column; text-align: left; }
.manifest-detail strong { font-size: 1rem; color: var(--text-dark); }
.manifest-detail span { font-size: 0.85rem; color: var(--text-muted); }
.btn-item-clear { background: none; border: none; color: #ef4444; font-weight: 600; font-size: 0.85rem; cursor: pointer; padding: 5px; }
.btn-item-clear:hover { text-decoration: underline; }

.input-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; text-align: left; }
.input-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.input-group input, .input-group textarea { padding: 10px 12px; border: 1px solid var(--border-color-muted); border-radius: 5px; font-family: inherit; font-size: 0.95rem; }
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.15); }

.btn-whatsapp-dispatch { width: 100%; background-color: #25d366; color: #ffffff; border: none; padding: 14px; border-radius: 6px; font-weight: bold; font-size: 1.05rem; cursor: pointer; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2); transition: all 0.2s ease; }
.btn-whatsapp-dispatch:hover { background-color: #20ba5a; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3); }

#toast-banner { position: fixed; bottom: 25px; right: 25px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.individual-toast { color: #ffffff; padding: 15px 24px; border-radius: 6px; font-weight: 600; font-size: 0.95rem; box-shadow: 0 10px 25px rgba(0,0,0,0.15); animation: slideInRight 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; transition: all 0.5s ease; }
.toast-fade { opacity: 0; transform: translateY(20px) scale(0.9); }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.locations-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info { background-color: var(--bg-light); padding: 40px; border-radius: 8px; text-align: left; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.contact-info h3 { margin-bottom: 20px; font-size: 1.5rem; }
.contact-info p { margin-bottom: 5px; color: var(--text-muted); }
.contact-info a { color: var(--primary-color); font-weight: bold; }
.mt-4 { margin-top: 1.5rem; }
.mt-3 { margin-top: 1rem; }

.maps-container { display: flex; flex-direction: column; gap: 20px; }
.map-box { background: #fff; border: 1px solid #e5e7eb; padding: 15px; border-radius: 8px; }
.map-iframe-wrapper { border-radius: 6px; overflow: hidden; border: 1px solid #d1d5db; }

footer { background-color: var(--text-dark); color: #9ca3af; text-align: center; padding: 30px 20px; }




/* --- About Section Catalog Styling --- */
.about-section {
    background-color: #df9e38; /* Exact golden color from the catalog */
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 45%; /* Scales the image to fit nicely on the right side */
    padding: 80px 0 120px 0; /* Extra padding at the bottom so text doesn't overlap the graphic */
}

.about-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: left;
}

.about-content {
    max-width: 850px;
    text-align: left;
}

.about-content p {
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle shadow to keep text readable */
}

/* Make it responsive for mobile phones */
@media (max-width: 768px) {
    .about-section {
        background-size: 100%;
        background-position: bottom center;
        padding-bottom: 250px; /* Make room for the graphic at the bottom on small screens */
    }
    .about-title {
        font-size: 2.5rem;
    }
    .about-content p {
        font-size: 1.05rem;
    }
}


@media (max-width: 992px) { .order-panel { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; width: 100%; position: absolute; top: 70px; left: 0; background-color: #fff; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 15px 0; text-align: center; }
    .nav-links a { display: block; padding: 10px; }
    .cart-nav-link { display: inline-block; }
    .menu-toggle { display: flex; }
    .hero h1 { font-size: 2.2rem; }
    .locations-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .section { padding: 50px 0; }
    .hero { padding: 100px 15px 50px; }
    .hero h1 { font-size: 1.8rem; margin-bottom: 15px; }
    .contact-info, .info-box, .cart-summary-box, .dispatch-form-box { padding: 25px 20px; }
    .product-grid { grid-template-columns: 1fr; }
    #toast-banner { left: 15px; right: 15px; bottom: 15px; }
}
img, iframe { max-width: 100%; }

/* --- Pricing Tags --- */
.price-tag {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
    background-color: #fef3c7; /* Soft yellow background */
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid #fde68a;
}
/* --- Amazon Style Add/Remove Toggles --- */
.amazon-cart-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff7ed;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    height: 42px;
}

.amazon-cart-toggle button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 45px;
    height: 100%;
    font-size: 1.4rem;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.amazon-cart-toggle button:hover {
    background: var(--primary-hover);
}

.amazon-cart-toggle span {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-dark);
    width: 100%;
    text-align: center;
}

/* Navbar Logo */
.logo-link {
    display: flex;
    align-items: center;
}
.nav-logo {
    height: 70px; /* Adjust this value if you want the BDRD logo bigger/smaller in the navbar */
    width: auto;
    object-fit: contain;
}

/* Hero Section Logo */
.hero-brand-logo {
    height: 120px; /* Adjust this value if you want the RAM SHRI logo bigger/smaller */
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}
/* Hero Section Updates */
.hero {
    /* Uses the golden wheat field as a background with a soft yellow overlay to keep text readable */
    background: linear-gradient(rgba(255, 251, 235, 0.9), rgba(255, 251, 235, 0.95)), url('images/wheat-background.jpg') center/cover no-repeat;
    padding: 140px 20px 80px;
    text-align: center;
    border-bottom: 1px solid #fef3c7;
}

/* Management Profile Pictures */
.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    margin-bottom: 20px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    background-color: #fff;
}