/* =========================================================
   Kagrana Ventures Pvt Ltd — Shared Stylesheet
   Single source of truth for the multi-page site.
   ========================================================= */

:root {
    --primary: #0f172a;
    --primary-soft: #1e293b;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --accent-light: #60a5fa;
    --text: #334155;
    --muted: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --radius: 16px;
    --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --maxw: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* =========================== Navigation =========================== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 8%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    text-decoration: none;
}

.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.25s;
    position: relative;
}

.nav-links a:not(.nav-cta):hover { color: var(--accent); }

.nav-links a.active:not(.nav-cta) { color: var(--accent); }

.nav-links a.active:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    transition: background 0.25s, transform 0.25s;
}

.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: 0.3s;
}

/* =========================== Buttons =========================== */
.btn {
    display: inline-block;
    padding: 0.85rem 1.9rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }

.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--light); transform: translateY(-2px); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* =========================== Hero (Home) =========================== */
header.hero {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    color: white;
    padding: 120px 8% 100px;
    text-align: center;
}

header.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

header.hero p.lead {
    font-size: 1.25rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    opacity: 0.82;
    font-weight: 300;
}

.stats-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.stat-item b {
    display: block;
    font-size: 1.85rem;
    color: var(--accent-light);
    font-weight: 700;
}

.stat-item { font-size: 0.95rem; opacity: 0.85; }

/* =========================== Page Header (inner pages) =========================== */
.page-header {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    color: white;
    padding: 90px 8% 70px;
    text-align: center;
}

.page-header .eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.page-header h1 {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.15rem;
    font-weight: 300;
    opacity: 0.85;
}

/* =========================== Sections =========================== */
section { padding: 90px 8%; }
section.tight { padding: 60px 8%; }
.section-alt { background: var(--light); }

.container { max-width: var(--maxw); margin: 0 auto; }

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-align: center;
    position: relative;
    letter-spacing: -0.5px;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

h2.left { text-align: left; }
h2.left::after { margin: 15px 0 0; }

.section-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
    font-size: 1.1rem;
    color: var(--muted);
}

.feature-tag {
    display: inline-block;
    background: #dbeafe;
    color: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* =========================== About / two-column grid =========================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--maxw);
    margin: 0 auto;
}

.about-grid h2 { text-align: left; margin-bottom: 1.5rem; }
.about-grid h2::after { margin: 15px 0 0; }
.about-grid p + p { margin-top: 20px; }

.info-box {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    border: 1px dashed #cbd5e1;
}

.info-box h4 { margin-bottom: 15px; color: var(--primary); font-size: 1.1rem; }
.info-box ul { list-style: none; }
.info-box li { margin-bottom: 12px; }

/* =========================== Founders / Leadership =========================== */
.founder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: var(--maxw);
    margin: 0 auto;
}

.founder-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.founder-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }

.founder-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.4rem;
    border: 4px solid #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.founder-card h3 { color: var(--primary); font-size: 1.25rem; margin-bottom: 4px; }
.founder-card .role { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; }
.founder-card p { font-size: 0.95rem; color: var(--muted); }

/* =========================== Value / pillar cards =========================== */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: var(--maxw);
    margin: 0 auto;
}

.value-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    transition: all 0.3s ease;
}

.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.value-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #dbeafe;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.value-card h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 0.7rem; }
.value-card p { font-size: 0.95rem; color: var(--muted); }

/* =========================== Brands =========================== */
.brand-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: var(--maxw);
    margin: 0 auto;
}

.brand-card {
    padding: 40px 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.brand-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.brand-card .sector-tag {
    align-self: flex-start;
    background: var(--light);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.brand-card h3 { color: var(--primary); margin-bottom: 1rem; font-size: 1.3rem; }
.brand-card p { font-size: 0.95rem; flex-grow: 1; margin-bottom: 20px; color: var(--muted); }

.brand-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.25s;
}

.brand-link:hover { gap: 12px; }

/* =========================== Vision & Mission =========================== */
.vision-mission {
    background: var(--light);
    border-radius: 30px;
    padding: 60px;
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vm-item h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--accent); }
.vm-item.divider { border-left: 1px solid #cbd5e1; padding-left: 40px; }

/* =========================== Impact page =========================== */
.impact-body { max-width: 820px; margin: 0 auto; }
.impact-block { margin-bottom: 3rem; }
.impact-block h2 { text-align: left; font-size: 1.7rem; }
.impact-block h2::after { margin: 12px 0 0; }
.impact-block p { font-size: 1.08rem; margin-bottom: 1rem; }
.impact-block .lead-line { font-size: 1.3rem; color: var(--primary); font-weight: 600; }

.discipline-list { list-style: none; margin-top: 1rem; }
.discipline-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
.discipline-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
}

.not-list { list-style: none; margin-top: 1rem; }
.not-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: var(--muted);
    font-size: 1.05rem;
}
.not-list li::before {
    content: '\2715';
    position: absolute;
    left: 0;
    top: 0;
    color: #cbd5e1;
    font-weight: 700;
}

.impact-tagline {
    text-align: center;
    background: var(--primary);
    color: #fff;
    border-radius: 24px;
    padding: 50px;
    margin-top: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.impact-tagline span { color: var(--accent-light); }

/* =========================== Contact =========================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    max-width: var(--maxw);
    margin: 0 auto;
    align-items: start;
}

.contact-card {
    background: var(--primary);
    color: white;
    padding: 50px;
    border-radius: 24px;
}

.contact-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 1.5rem; }
.contact-card a { color: var(--accent-light); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

.contact-detail { margin-bottom: 1.6rem; }
.contact-detail .label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    opacity: 0.6;
    margin-bottom: 4px;
}
.contact-detail p { opacity: 0.92; }

.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 45px;
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.3rem; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text);
    transition: border 0.25s, box-shadow 0.25s;
    background: var(--light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background: #fff;
}

.form-group textarea { resize: vertical; min-height: 130px; }

.contact-form .btn { width: 100%; text-align: center; }

.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.form-note.success { color: #15803d; font-weight: 600; }
.form-note.error { color: #b91c1c; font-weight: 600; }

/* Honeypot: visually hidden, kept in DOM for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map-embed {
    margin-top: 60px;
    max-width: var(--maxw);
    margin-left: auto;
    margin-right: auto;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* =========================== CTA band =========================== */
.cta-band {
    background: var(--primary);
    color: #fff;
    text-align: center;
    border-radius: 30px;
    padding: 70px 40px;
    max-width: var(--maxw);
    margin: 0 auto;
}

.cta-band h2 { color: #fff; }
.cta-band h2::after { background: var(--accent-light); }
.cta-band p { max-width: 600px; margin: 0 auto 2rem; opacity: 0.85; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================== Content (legal) pages =========================== */
.content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 8%;
}

.content-container section { padding: 0; margin-bottom: 40px; }

.content-container h2 {
    text-align: left;
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--light);
    padding-bottom: 10px;
}
.content-container h2::after { display: none; }

.content-container ul { margin-bottom: 1rem; padding-left: 20px; }
.content-container li { margin-bottom: 0.5rem; }

.back-link {
    display: inline-block;
    margin-top: 40px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.back-link:hover { text-decoration: underline; }

.last-updated {
    opacity: 0.7;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-container .alert-box {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    padding: 24px;
    border-radius: 12px;
}
.content-container .alert-box h2 { color: #991b1b; border: none; padding: 0; }

.content-container .highlight {
    background: var(--light);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 12px;
}
.content-container .highlight h2 { border: none; padding-bottom: 0; }

/* =========================== Footer =========================== */
footer {
    background: var(--light);
    border-top: 1px solid var(--border);
    padding: 60px 8% 40px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: var(--maxw);
    margin: 0 auto 40px;
}

.footer-col h4 {
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.1rem;
}

.footer-col .logo { font-size: 1.25rem; display: inline-block; margin-bottom: 1rem; }
.footer-col p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.5rem; }

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.25s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 25px;
    max-width: var(--maxw);
    margin: 0 auto;
    color: var(--muted);
}

.footer-bottom .sectors { opacity: 0.8; margin-bottom: 8px; }
.footer-bottom .copyright { font-size: 0.8rem; opacity: 0.7; }

/* =========================== Responsive =========================== */
@media (max-width: 980px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0 8%;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 8px 12px rgba(0,0,0,0.06);
        transition: max-height 0.35s ease, padding 0.35s ease;
    }

    .nav-links.open { max-height: 400px; padding: 1rem 8% 1.5rem; }

    .nav-links a { width: 100%; padding: 0.75rem 0; }
    .nav-links a.active:not(.nav-cta)::after { display: none; }
    .nav-cta { width: 100%; text-align: center; margin-top: 0.5rem; }

    .about-grid, .vision-mission, .contact-layout { grid-template-columns: 1fr; }
    .about-grid h2, .about-grid h2::after { text-align: center; margin-left: auto; margin-right: auto; }
    .vision-mission { padding: 40px 25px; }
    .vm-item.divider { border-left: none; padding-left: 0; }
}

@media (max-width: 600px) {
    section { padding: 60px 7%; }
    header.hero { padding: 80px 7% 70px; }
    h2 { font-size: 1.85rem; }
    .contact-card, .contact-form, .impact-tagline { padding: 35px 25px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .stats-bar { gap: 30px; }
}
