/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

/* ===== CSS VARIABLES — Brand: Blue #226aae · Green #7dae54 ===== */
:root {
    /* Brand Blue */
    --blue-900: #0a1f38;
    --blue-800: #163f6e;
    --blue-700: #1a5285;
    --blue-600: #226aae;   /* PRIMARY BRAND BLUE */
    --blue-500: #2d82d4;
    --blue-400: #5b9fd8;
    --blue-200: #a3c8e8;
    --blue-100: #c9e0f5;
    --blue-50:  #e6f2fb;
    --navy:     #0a1f38;

    /* Brand Green */
    --green-800: #2d5215;
    --green-700: #3e6b1e;
    --green-600: #5f8a3e;
    --green-500: #7dae54;   /* PRIMARY BRAND GREEN */
    --green-400: #98c46e;
    --green-100: #d4ebb8;
    --green-50:  #eaf5d8;

    --white:    #ffffff;
    --gray-50:  #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:   0 4px 16px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05);
    --shadow-lg:   0 20px 40px rgba(0,0,0,.1),  0 8px 20px rgba(0,0,0,.06);
    --shadow-blue: 0 4px 20px rgba(34,106,174,.38);
    --shadow-green:0 4px 20px rgba(125,174,84,.38);

    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: .2s ease;
    --max-width: 1200px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--gray-900); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.05rem; }
p  { color: var(--gray-600); line-height: 1.7; }
a  { color: var(--blue-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-700); }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 5rem 0; }
.bg-light  { background: var(--gray-50); }
.bg-white  { background: var(--white); }
.bg-navy   { background: linear-gradient(135deg, var(--navy) 0%, var(--blue-700) 100%); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
}
.btn-primary { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.btn-primary:hover { background: var(--blue-700); border-color: var(--blue-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-blue); }

.btn-green { background: var(--green-500); color: #fff; border-color: var(--green-500); }
.btn-green:hover { background: var(--green-600); border-color: var(--green-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-green); }

.btn-white { background: #fff; color: var(--blue-700); border-color: #fff; }
.btn-white:hover { background: var(--blue-50); color: var(--blue-800); transform: translateY(-1px); }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; transform: translateY(-1px); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); font-size: .875rem; padding: .6rem 1.25rem; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.btn-full { width: 100%; justify-content: center; }

/* ===== BADGES ===== */
.section-badge {
    display: inline-block;
    padding: .35rem 1rem;
    background: var(--green-50);
    color: var(--green-700);
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-badge.light { background: rgba(255,255,255,.18); color: rgba(255,255,255,.92); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 3.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-title   { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.05rem; color: var(--gray-500); max-width: 600px; margin: 0 auto; }
.section-title.light   { color: #fff; }
.section-subtitle.light { color: rgba(255,255,255,.75); }

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 72px;
}

.nav-brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }

.nav-logo { height: 54px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: .15rem; margin: 0 auto; }

.nav-link {
    padding: .5rem .875rem;
    font-size: .88rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
}
.nav-link:hover { color: var(--blue-600); background: var(--blue-50); }
.nav-link.active { color: var(--green-700); background: var(--green-50); }

.nav-cta {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1.1rem;
    background: var(--blue-600);
    color: #fff !important;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition);
    flex-shrink: 0;
}
.nav-cta:hover { background: var(--blue-700); color: #fff; transform: translateY(-1px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    flex-shrink: 0;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: all .3s ease; }

/* ===== HERO ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-600) 60%, var(--blue-500) 100%);
    padding: 9rem 0 7rem;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(125,174,84,.12) 0%, transparent 70%);
    top: -250px; right: -150px;
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
    bottom: -100px; left: 30px;
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: .4rem 1rem;
    background: rgba(125,174,84,.25);
    border: 1px solid rgba(125,174,84,.45);
    border-radius: 50px;
    color: rgba(255,255,255,.95);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.13;
    margin-bottom: 1.5rem;
    letter-spacing: -.025em;
}

.hero-desc {
    color: rgba(255,255,255,.82);
    font-size: 1.1rem;
    max-width: 620px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

/* Green CTA accent in hero */
.hero-actions .btn-white { color: var(--blue-700); }
.hero-actions .btn-outline-white { border-color: rgba(125,174,84,.6); }
.hero-actions .btn-outline-white:hover { background: rgba(125,174,84,.15); border-color: var(--green-400); }

.hero-brands { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-brand-card {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .875rem 1.25rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}
.hero-brand-icon {
    width: 46px; height: 46px;
    background: rgba(125,174,84,.22);
    border: 1px solid rgba(125,174,84,.35);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
}
.hero-brand-card strong { display: block; color: #fff; font-size: .95rem; font-weight: 700; }
.hero-brand-card span  { color: rgba(255,255,255,.7); font-size: .78rem; }

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 3; line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: 70px; }

/* ===== FEATURES GRID ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.feature-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}
.feature-card:hover { border-color: var(--green-100); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.feature-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
/* Green icons for feature cards */
.feature-icon.blue { background: var(--green-50); color: var(--green-600); }

.feature-card h3 { font-size: 1.05rem; margin-bottom: .5rem; color: var(--gray-800); }
.feature-card p  { font-size: .88rem; color: var(--gray-500); line-height: 1.65; }

/* ===== SUPPLIER SECTIONS ===== */
.supplier-section {
    margin-bottom: 3.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.supplier-section:last-child { margin-bottom: 0; }

/* IBOS — blue brand */
.supplier-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-600) 100%);
}
/* Aryan Pumps — green brand */
.supplier-header.aryan {
    background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
}

.supplier-badge {
    display: inline-block;
    padding: .25rem .75rem;
    background: rgba(255,255,255,.2);
    color: rgba(255,255,255,.92);
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}
.supplier-header h3 { color: #fff; font-size: 1.35rem; margin-bottom: .5rem; }
.supplier-header p  { color: rgba(255,255,255,.75); font-size: .88rem; max-width: 600px; }

.supplier-link { color: rgba(255,255,255,.82); font-size: .85rem; font-weight: 500; white-space: nowrap; padding: .5rem 0; transition: color var(--transition); text-decoration: none; flex-shrink: 0; }
.supplier-link:hover { color: #fff; }

.product-category {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--gray-100);
    background: #fff;
}
.product-category:last-child { border-bottom: none; }

.product-cat-title {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-size: .78rem;
    font-weight: 700;
    color: var(--blue-600);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1.5rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--blue-50);
}

/* Aryan section category titles — green */
.supplier-section:last-child .product-cat-title {
    color: var(--green-600);
    border-bottom-color: var(--green-50);
}

.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.25rem; }

.product-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition);
}
.product-card:hover { background: #fff; border-color: var(--blue-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* IBOS product cards hover blue, Aryan green */
.supplier-section:last-child .product-card:hover { border-color: var(--green-100); }

.product-icon {
    width: 50px; height: 50px;
    background: var(--blue-50);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-600);
    margin-bottom: 1rem;
}
/* Aryan product icons use green */
.supplier-section:last-child .product-icon {
    background: var(--green-50);
    color: var(--green-600);
}

.product-title { font-size: .98rem; font-weight: 700; color: var(--gray-800); margin-bottom: .5rem; }
.product-desc  { font-size: .855rem; color: var(--gray-500); line-height: 1.62; margin-bottom: 1rem; }

.product-features li {
    font-size: .8rem;
    color: var(--gray-600);
    padding: .2rem 0 .2rem 1.1rem;
    position: relative;
}
.product-features li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    background: var(--green-400);
    border-radius: 50%;
}

/* ===== PARTNERS ===== */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; }

.partner-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: all var(--transition);
}
.partner-card:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

.partner-logo {
    display: inline-block;
    padding: .5rem 1.5rem;
    border-radius: var(--radius);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: .05em;
    margin-bottom: 1.25rem;
    background: rgba(255,255,255,.15);
    color: #fff;
}

.partner-card h3       { color: #fff; font-size: 1.15rem; margin-bottom: .25rem; }
.partner-location      { color: rgba(255,255,255,.52); font-size: .8rem; margin-bottom: 1rem; }
.partner-desc          { color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.65; margin-bottom: 1.5rem; }

.partner-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.partner-cats span {
    padding: .25rem .75rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50px;
    color: rgba(255,255,255,.78);
    font-size: .74rem;
    font-weight: 500;
}

/* ===== CONTACT ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.85fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3,
.contact-form-wrapper h3 {
    font-size: 1.2rem;
    margin-bottom: 1.75rem;
    color: var(--gray-800);
    padding-bottom: .875rem;
    border-bottom: 2px solid var(--green-100);
}

.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }

.contact-icon {
    width: 44px; height: 44px;
    background: var(--blue-50);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-600);
    flex-shrink: 0;
}
.contact-item strong { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-400); margin-bottom: .25rem; }
.contact-item a, .contact-item span { font-size: 1rem; color: var(--gray-800); font-weight: 500; }
.contact-item a:hover { color: var(--blue-600); }

.contact-coverage {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--green-50);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--green-500);
}
.contact-coverage h4 { font-size: .8rem; font-weight: 700; color: var(--green-700); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .05em; }
.contact-coverage p  { font-size: .875rem; color: var(--gray-600); }

/* ===== FORM ===== */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group label { font-size: .83rem; font-weight: 600; color: var(--gray-700); }

.form-group input,
.form-group select,
.form-group textarea {
    padding: .75rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: .95rem;
    color: var(--gray-800);
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
    font-family: inherit;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(34,106,174,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-success {
    display: none;
    text-align: center;
    padding: 2.5rem;
    background: var(--green-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--green-100);
}
.form-success.show { display: block; }
.form-success h4 { color: var(--green-700); margin-bottom: .5rem; }
.form-success p  { color: var(--green-600); font-size: .9rem; }

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    /* green accent line at top */
    border-top: 3px solid var(--green-500);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--gray-700);
}

.footer-logo { display: block; margin-bottom: 1.25rem; }
.footer-logo svg { display: block; height: 44px; width: auto; }

.footer-brand p { font-size: .875rem; color: var(--gray-400); line-height: 1.65; margin-bottom: 1.25rem; }

.footer-contact { display: flex; flex-direction: column; gap: .375rem; }
.footer-contact a { font-size: .875rem; color: var(--gray-300); transition: color var(--transition); }
.footer-contact a:hover { color: var(--green-400); }

.footer-col h4 { color: #fff; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .625rem; }
.footer-col li a { font-size: .875rem; color: var(--gray-400); transition: color var(--transition); }
.footer-col li a:hover { color: var(--green-400); }

.footer-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.footer-badge {
    padding: .25rem .625rem;
    background: var(--gray-700);
    border-radius: 50px;
    font-size: .68rem;
    font-weight: 600;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { font-size: .8rem; color: var(--gray-500); }

/* ===== SCROLL-TO-TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    background: var(--green-500);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(20px);
    transition: all .3s ease;
    z-index: 999;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover   { background: var(--green-600); transform: translateY(-2px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .supplier-header { flex-direction: column; gap: 1rem; }
    .supplier-link { align-self: flex-start; }
}

@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }

    .nav-links {
        display: none;
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        gap: .15rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }
    .nav-links.open { display: flex; }
    .nav-link { padding: .75rem 1rem; font-size: .95rem; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    .hero { padding: 7rem 0 5rem; }
    .hero-brands { flex-direction: column; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }

    .supplier-header { padding: 1.5rem; }
    .product-category { padding: 1.5rem; }
    .products-grid { grid-template-columns: 1fr; }

    .contact-wrapper { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .section-header { margin-bottom: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-brand-card { width: 100%; }
}
