/* =====================================================
   House of Savithri — Main Stylesheet
   ===================================================== */

/* 1. Variables & Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0F766E;
  --primary-dark: #0a5c55;
  --primary-light: #e6f7f5;
  --secondary: #14B8A6;
  --accent: #F97316;
  --accent-dark: #ea6a0a;
  --bg: #FFFBF7;
  --surface: #FFFFFF;
  --text: #0F172A;
  --muted: #64748B;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.14);
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-full: 9999px;
  --t: 0.25s ease;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* 2. Typography */
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--muted); line-height: 1.8; }
.eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.875rem; }

/* 3. Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5.5rem 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--text); }
.section-teal { background: var(--primary); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 0.875rem; }
.section-header p { max-width: 580px; margin: 0 auto; font-size: 1.05rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 1rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }

/* 4. Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.75rem; border-radius: var(--r-full); font-weight: 600; font-size: 0.875rem; transition: all var(--t); border: 2px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,118,110,0.35); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,0.35); }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.8rem; }

/* 5. Navigation */
.navbar { position: sticky; top: 0; z-index: 1000; background: rgba(255,251,247,0.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); transition: box-shadow var(--t); }
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--text); }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--muted); transition: color var(--t); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width var(--t); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--primary); color: #fff !important; padding: 0.5rem 1.25rem; border-radius: var(--r-full); }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--primary-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.mobile-menu { display: none; flex-direction: column; background: var(--surface); border-top: 1px solid var(--border); padding: 0.5rem 1.5rem 1.25rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 0.8rem 0; font-size: 0.95rem; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); transition: color var(--t); }
.mobile-menu a:last-child { border-bottom: none; margin-top: 0.5rem; }
.mobile-menu a:hover { color: var(--primary); }

/* 6. Hero */
.hero { padding: 5rem 0 4rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -15%; right: -8%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(20,184,166,0.07) 0%, transparent 70%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-eyebrow { color: var(--primary); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--primary); }
.hero h1 { margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.1rem; line-height: 1.8; margin-bottom: 2.5rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img { width: 100%; max-width: 460px; height: 560px; border-radius: var(--r-xl); box-shadow: var(--shadow-xl); object-fit: cover; object-position: top center; margin-left: auto; }
.hero-badge { position: absolute; bottom: 2.5rem; left: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1rem 1.25rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.875rem; }
.hero-badge .icon { width: 42px; height: 42px; background: var(--primary-light); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.hero-badge .label { font-size: 0.72rem; color: var(--muted); line-height: 1; margin-bottom: 3px; }
.hero-badge .value { font-size: 0.9rem; font-weight: 700; color: var(--text); line-height: 1; }

/* Page hero (inner pages) */
.page-hero { padding: 4rem 0 3rem; background: linear-gradient(135deg, #f0fdf9 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); }
.page-hero .eyebrow { margin-bottom: 0.75rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.05rem; max-width: 600px; }

/* 7. Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2rem; transition: all var(--t); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(15,118,110,0.2); }
.card-icon { width: 52px; height: 52px; background: var(--primary-light); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; }
.card h3 { margin-bottom: 0.75rem; }
.card p { font-size: 0.925rem; }

/* Venture Cards */
.venture-card { display: block; position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2.5rem; background: var(--surface); transition: all var(--t); }
.venture-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-5px); }
.venture-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--primary); transform: scaleX(0); transition: transform var(--t); }
.venture-card:hover::before { transform: scaleX(1); }
.venture-card .vc-icon { width: 64px; height: 64px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin-bottom: 1.5rem; }
.venture-card .vc-tag { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 0.75rem; }
.venture-card h3 { font-size: 1.5rem; margin-bottom: 0.625rem; }
.venture-card .tagline { color: var(--primary); font-weight: 500; font-size: 0.925rem; margin-bottom: 1rem; }
.venture-card p { font-size: 0.9rem; margin-bottom: 1.5rem; }
.venture-card .arrow { color: var(--primary); font-weight: 600; font-size: 0.875rem; display: flex; align-items: center; gap: 0.375rem; transition: gap var(--t); }
.venture-card:hover .arrow { gap: 0.625rem; }

/* Service Item */
.service-item { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--r-md); transition: background var(--t); }
.service-item:hover { background: var(--primary-light); }
.service-item .si-icon { width: 48px; height: 48px; background: var(--primary-light); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0; }
.service-item h4 { margin-bottom: 0.375rem; font-size: 1rem; }
.service-item p { font-size: 0.875rem; }

/* Stat Card */
.stat-card { text-align: center; padding: 2rem 1.5rem; }
.stat-card .stat-num { font-family: 'Playfair Display', serif; font-size: 2.75rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 0.5rem; }
.stat-card .stat-label { font-size: 0.875rem; color: var(--muted); font-weight: 500; }

/* Value Card */
.value-card { text-align: center; padding: 2rem 1.5rem; }
.value-card .val-icon { font-size: 2rem; margin: 0 auto 1rem; width: 64px; height: 64px; background: var(--primary-light); border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; }
.value-card h4 { margin-bottom: 0.5rem; color: var(--text); }
.value-card p { font-size: 0.875rem; }

/* Blog Cards */
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: all var(--t); display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-thumb { height: 200px; background: linear-gradient(135deg, var(--primary-light), #d1faf5); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; position: relative; overflow: hidden; }
.blog-card-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, rgba(15,118,110,0.1)); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; gap: 0.875rem; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.875rem; flex-wrap: wrap; }
.blog-card-meta span { display: flex; align-items: center; gap: 0.3rem; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; line-height: 1.4; }
.blog-card p { font-size: 0.875rem; margin-bottom: 1.25rem; flex: 1; }
.blog-tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.75rem; border-radius: var(--r-full); margin-bottom: 0.875rem; }

/* 8. Sections */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.about-img img { width: 100%; height: 500px; object-fit: cover; object-position: top; }
.about-text h2 { margin-bottom: 1.25rem; }
.about-text .lead { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.25rem; }

/* Why Us Feature */
.feature-row { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 2rem; }
.feature-row:last-child { margin-bottom: 0; }
.feat-icon { width: 52px; height: 52px; background: var(--primary); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0; }
.feat-text h4 { font-size: 1rem; margin-bottom: 0.375rem; color: var(--text); }
.feat-text p { font-size: 0.9rem; }

/* 9. Founder Page */
.founder-hero { padding: 5rem 0; }
.founder-hero-inner { display: grid; grid-template-columns: 400px 1fr; gap: 5rem; align-items: start; }
.founder-photo-wrap { position: sticky; top: 6rem; }
.founder-photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.founder-photo img { width: 100%; height: 520px; object-fit: cover; object-position: top center; }
.founder-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; justify-content: center; }
.founder-social a { width: 40px; height: 40px; border: 1px solid var(--border); border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--muted); transition: all var(--t); }
.founder-social a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.founder-content h1 { margin-bottom: 0.5rem; }
.founder-content .role { color: var(--primary); font-weight: 600; font-size: 1rem; margin-bottom: 1.5rem; }
.founder-content .bio-para { margin-bottom: 1.25rem; font-size: 1rem; }
.credential-list { margin: 2rem 0; }
.credential-item { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--r-md); border: 1px solid var(--border); margin-bottom: 0.875rem; background: var(--surface); transition: all var(--t); }
.credential-item:hover { border-color: var(--primary); background: var(--primary-light); }
.cred-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.cred-text h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.cred-text p { font-size: 0.875rem; }

/* 10. Blog Article */
.article-hero { padding: 3.5rem 0 2.5rem; background: linear-gradient(135deg, #f0fdf9 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); }
.article-meta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.5rem; }
.article-meta .tag { background: var(--primary-light); color: var(--primary); font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.875rem; border-radius: var(--r-full); }
.article-meta .date, .article-meta .readtime { font-size: 0.825rem; color: var(--muted); display: flex; align-items: center; gap: 0.35rem; }
.article-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); max-width: 800px; margin-bottom: 1.25rem; }
.article-hero .excerpt { font-size: 1.05rem; max-width: 700px; line-height: 1.8; }
.article-body { max-width: 800px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.article-body h2 { font-size: 1.65rem; margin: 2.5rem 0 1rem; }
.article-body h3 { font-size: 1.3rem; margin: 2rem 0 0.875rem; }
.article-body p { margin-bottom: 1.25rem; font-size: 1.025rem; line-height: 1.85; }
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.article-body li { margin-bottom: 0.625rem; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-callout { background: var(--primary-light); border-left: 4px solid var(--primary); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 1.5rem 1.75rem; margin: 2rem 0; }
.article-callout p { color: var(--primary-dark); font-weight: 500; margin: 0; }

/* 11. Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-item .ci-icon { width: 48px; height: 48px; background: var(--primary-light); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.contact-item h4 { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.25rem; font-family: 'Inter', sans-serif; font-weight: 500; }
.contact-item a, .contact-item p { font-size: 0.95rem; font-weight: 600; color: var(--text); margin: 0; }
.contact-item a:hover { color: var(--primary); }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2.5rem; }
.contact-form-wrap h3 { margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--border); border-radius: var(--r-md); font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--text); background: var(--bg); transition: border-color var(--t), box-shadow var(--t); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,118,110,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { 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%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-success { display: none; background: var(--primary-light); border: 1px solid var(--primary); border-radius: var(--r-md); padding: 1rem 1.25rem; color: var(--primary-dark); font-size: 0.9rem; font-weight: 500; margin-top: 1rem; }

/* 12. Footer */
footer { background: var(--text); color: rgba(255,255,255,0.65); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 0.875rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 260px; }
footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: 0.875rem; transition: color var(--t); }
.footer-links a:hover { color: #fff; }
.footer-contact-item { display: flex; gap: 0.625rem; align-items: flex-start; margin-bottom: 0.875rem; font-size: 0.875rem; }
.footer-contact-item a { transition: color var(--t); }
.footer-contact-item a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.75rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; margin: 0; }
.footer-bottom a { font-size: 0.8rem; color: var(--secondary); }

/* 13. CTA Section */
.cta-section { background: var(--primary); padding: 5rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%); }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 500px; margin: 0 auto 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* 14. Floating Widgets */
/* WhatsApp */
.wa-float { position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 900; width: 54px; height: 54px; background: #25D366; border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.45); transition: transform var(--t), box-shadow var(--t); }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.55); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.wa-tooltip { position: absolute; right: 66px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 0.5rem 0.875rem; font-size: 0.78rem; font-weight: 600; color: var(--text); white-space: nowrap; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity var(--t); }
.wa-float:hover .wa-tooltip { opacity: 1; }

/* Dhani Chatbot */
.dhani-toggle { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900; width: 54px; height: 54px; background: var(--primary); border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(15,118,110,0.45); border: none; color: #fff; font-size: 1.3rem; transition: transform var(--t), box-shadow var(--t); }
.dhani-toggle:hover { transform: scale(1.1); }
.dhani-badge { position: absolute; top: -3px; right: -3px; width: 18px; height: 18px; background: var(--accent); border-radius: var(--r-full); border: 2px solid var(--bg); font-size: 0.6rem; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.dhani-window { position: fixed; bottom: 7rem; right: 1.5rem; z-index: 901; width: 340px; max-height: 520px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-xl); display: none; flex-direction: column; overflow: hidden; }
.dhani-window.open { display: flex; }
.dhani-header { background: var(--primary); padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.875rem; }
.dhani-avatar { width: 38px; height: 38px; background: rgba(255,255,255,0.2); border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.dhani-header-info .name { color: #fff; font-weight: 700; font-size: 0.925rem; }
.dhani-header-info .status { color: rgba(255,255,255,0.7); font-size: 0.75rem; display: flex; align-items: center; gap: 0.3rem; }
.dhani-header-info .status::before { content: ''; display: inline-block; width: 7px; height: 7px; background: #4ade80; border-radius: var(--r-full); }
.dhani-close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1.25rem; padding: 0.25rem; transition: color var(--t); }
.dhani-close:hover { color: #fff; }
.dhani-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.875rem; scroll-behavior: smooth; }
.dhani-messages::-webkit-scrollbar { width: 4px; }
.dhani-messages::-webkit-scrollbar-track { background: transparent; }
.dhani-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.msg { display: flex; gap: 0.5rem; max-width: 88%; }
.msg.bot { align-self: flex-start; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg-bubble { padding: 0.75rem 1rem; border-radius: var(--r-md); font-size: 0.85rem; line-height: 1.55; }
.msg.bot .msg-bubble { background: var(--bg); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 4px; }
.msg.user .msg-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.dhani-input-row { padding: 0.875rem; border-top: 1px solid var(--border); display: flex; gap: 0.625rem; background: var(--surface); }
.dhani-input-row input { flex: 1; padding: 0.65rem 0.875rem; border: 1.5px solid var(--border); border-radius: var(--r-full); font-size: 0.85rem; font-family: 'Inter', sans-serif; outline: none; transition: border-color var(--t); }
.dhani-input-row input:focus { border-color: var(--primary); }
.dhani-send { width: 36px; height: 36px; background: var(--primary); border: none; border-radius: var(--r-full); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; transition: background var(--t); }
.dhani-send:hover { background: var(--primary-dark); }
.dhani-fallback-form { padding: 0.75rem 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md); font-size: 0.82rem; }
.dhani-fallback-form p { font-size: 0.82rem; margin-bottom: 0.625rem; color: var(--text); }
.dhani-fallback-form input { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 0.8rem; margin-bottom: 0.5rem; outline: none; font-family: 'Inter', sans-serif; }
.dhani-fallback-form button { width: 100%; padding: 0.5rem; background: var(--primary); color: #fff; border: none; border-radius: var(--r-sm); font-size: 0.8rem; font-weight: 600; transition: background var(--t); }
.dhani-fallback-form button:hover { background: var(--primary-dark); }

/* 15. Animations */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.24s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.36s; }

/* 16. Responsive */
@media (max-width: 1024px) {
  .founder-hero-inner { grid-template-columns: 320px 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-image img { max-width: 100%; height: 420px; margin: 0 auto; }
  .hero-badge { left: 1rem; }
  .about-img img { height: 360px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .venture-card { padding: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { order: 2; } .contact-form-wrap { order: 1; }
  .founder-hero-inner { grid-template-columns: 1fr; }
  .founder-photo-wrap { position: static; }
  .founder-photo img { height: 380px; max-width: 320px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0; }
  .hero h1 { font-size: 2.25rem; }
  .hero-image { order: -1; }
  .hero-image img { height: 340px; }
  .hero-badge { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .section-header { margin-bottom: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .dhani-window { width: calc(100vw - 3rem); right: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }
  .btn { padding: 0.75rem 1.5rem; width: 100%; justify-content: center; }
  .cta-actions .btn { width: auto; }
  .article-body { padding: 2rem 1rem; }
}
