:root {
  --kt-blue: #1a56db;
  --kt-blue-dark: #1140a6;
  --kt-blue-light: #e8f0fe;
  --kt-green: #16a34a;
  --kt-orange: #ea580c;
  --kt-gray: #f8f9fa;
  --kt-text: #1e293b;
}

body { font-family: 'Inter', sans-serif; color: var(--kt-text); }
body[lang="ml"] { font-family: 'Noto Sans Malayalam', sans-serif; }

/* Topbar */
.topbar { background: var(--kt-blue-dark); color: #fff; }
.topbar a { color: #fff; text-decoration: none; }

/* Brand */
.brand-logo { background: var(--kt-blue); color: #fff; width: 42px; height: 42px; border-radius: 10px; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1rem; flex-shrink:0; }
.brand-logo span { color: #fbbf24; }
.brand-logo-sm { width: 36px; height: 36px; border-radius: 8px; font-size:0.9rem; }
.brand-name { font-weight: 700; color: var(--kt-blue); line-height:1.1; font-size:1.1rem; }
.brand-tagline { font-size: 0.7rem; color: #64748b; }

/* Hero */
.hero-section { background: linear-gradient(135deg, #1140a6 0%, #1a56db 50%, #2563eb 100%); color: #fff; padding: 80px 0 60px; position:relative; overflow:hidden; }
.hero-section::after { content:''; position:absolute; right:-60px; top:-60px; width:400px; height:400px; background:rgba(255,255,255,0.05); border-radius:50%; }
.hero-section::before { content:''; position:absolute; left:-40px; bottom:-80px; width:300px; height:300px; background:rgba(255,255,255,0.04); border-radius:50%; }
.hero-section h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; }
.hero-section .lead { font-size: 1.05rem; opacity: 0.9; }
.hero-badge { background:rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.3); border-radius:30px; display:inline-block; padding:4px 14px; font-size:0.8rem; margin-bottom:1rem; }
.hero-search { background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.hero-search input { border:none; outline:none; font-size:1rem; padding:8px 12px; width:100%; }
.hero-search button { border-radius: 8px; padding: 10px 24px; }

/* Stats bar */
.stats-bar { background: #fff; border-bottom: 1px solid #e2e8f0; }
.stat-item { text-align:center; padding: 16px; }
.stat-number { font-size:1.6rem; font-weight:800; color:var(--kt-blue); line-height:1; }
.stat-label { font-size:0.75rem; color:#64748b; margin-top:2px; }

/* Section headings */
.section-badge { background:var(--kt-blue-light); color:var(--kt-blue); border-radius:30px; display:inline-block; padding:4px 16px; font-size:0.8rem; font-weight:600; margin-bottom:10px; }
.section-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--kt-text); }
.section-subtitle { color: #64748b; font-size: 1rem; }

/* Category cards */
.cat-card { background:#fff; border:1.5px solid #e2e8f0; border-radius:16px; padding:24px 16px; text-align:center; cursor:pointer; transition:all 0.25s; text-decoration:none; color:var(--kt-text); display:block; }
.cat-card:hover { border-color:var(--kt-blue); box-shadow:0 8px 24px rgba(26,86,219,0.12); transform:translateY(-3px); color:var(--kt-blue); }
.cat-icon { width:56px; height:56px; border-radius:14px; background:var(--kt-blue-light); display:flex; align-items:center; justify-content:center; margin:0 auto 12px; font-size:1.5rem; color:var(--kt-blue); }
.cat-card:hover .cat-icon { background:var(--kt-blue); color:#fff; }
.cat-card h6 { font-weight:700; font-size:0.9rem; margin-bottom:4px; }
.cat-card small { color:#94a3b8; }

/* Service cards */
.service-card { background:#fff; border:1.5px solid #e2e8f0; border-radius:14px; padding:20px; transition:all 0.25s; height:100%; display:flex; flex-direction:column; }
.service-card:hover { border-color:var(--kt-blue); box-shadow:0 6px 20px rgba(26,86,219,0.1); transform:translateY(-2px); }
.service-card .service-title { font-weight:700; font-size:0.95rem; color:var(--kt-text); margin-bottom:6px; }
.service-card .service-desc { font-size:0.82rem; color:#64748b; flex-grow:1; }
.service-card .service-footer { margin-top:14px; display:flex; gap:8px; }
.service-card .btn-sm { font-size:0.78rem; padding:5px 12px; }
.badge-featured { background:var(--kt-orange); color:#fff; font-size:0.68rem; border-radius:6px; padding:2px 7px; }

/* NRI section */
.nri-section { background: linear-gradient(135deg, #0f3460 0%, #16213e 100%); color:#fff; }
.nri-card { background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.15); border-radius:14px; padding:20px; }
.nri-card i { font-size:2rem; color:#fbbf24; }

/* How it works */
.step-card { text-align:center; padding:24px 16px; }
.step-number { width:52px; height:52px; border-radius:50%; background:var(--kt-blue); color:#fff; font-size:1.4rem; font-weight:800; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; }
.step-connector { position:relative; }
.step-connector::after { content:'→'; position:absolute; right:-20px; top:12px; font-size:1.4rem; color:var(--kt-blue); opacity:0.4; }

/* MOH section */
.moh-section { background: linear-gradient(135deg, #064e3b 0%, #065f46 100%); color:#fff; }

/* Website section */
.web-section { background: #f0f4ff; }

/* Testimonials */
.testimonial-card { background:#fff; border-radius:16px; padding:24px; border-left:4px solid var(--kt-blue); box-shadow:0 2px 12px rgba(0,0,0,0.06); }
.testimonial-card .stars { color:#fbbf24; }
.testimonial-card .reviewer { font-weight:600; font-size:0.9rem; }
.testimonial-card .location { color:#94a3b8; font-size:0.8rem; }

/* CTA section */
.cta-section { background: linear-gradient(135deg, var(--kt-blue) 0%, var(--kt-blue-dark) 100%); color:#fff; }

/* Footer */
.footer { background: #0f172a; }
.footer-top { background: #0f172a; }
.footer-bottom { background: #020617; }
.footer-links li { margin-bottom:6px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration:none; font-size:0.88rem; transition:color 0.2s; }
.footer-links a:hover { color:#fff; }
.footer-links li:not(:has(a)) { color:rgba(255,255,255,0.6); font-size:0.88rem; }

/* Floating WhatsApp */
.whatsapp-float { position:fixed; bottom:28px; right:24px; z-index:1000; background:#25d366; color:#fff; width:58px; height:58px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.6rem; box-shadow:0 4px 16px rgba(37,211,102,0.5); text-decoration:none; transition:transform 0.2s; }
.whatsapp-float:hover { transform:scale(1.1); color:#fff; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(135deg, #1a56db, #1140a6); color:#fff; padding:48px 0 36px; }
.breadcrumb-item a { color:rgba(255,255,255,0.7); text-decoration:none; }
.breadcrumb-item.active { color:#fff; }
.breadcrumb-item+.breadcrumb-item::before { color:rgba(255,255,255,0.5); }

/* Service page */
.service-meta-card { background:#f8faff; border:1.5px solid #dbeafe; border-radius:14px; padding:20px; }
.doc-list li { padding:6px 0; border-bottom:1px solid #f1f5f9; font-size:0.9rem; }
.doc-list li:last-child { border:none; }
.doc-list li::before { content:'✓ '; color:var(--kt-green); font-weight:700; }
.faq-item { border:1px solid #e2e8f0; border-radius:10px; margin-bottom:10px; overflow:hidden; }
.faq-question { background:#f8faff; padding:14px 18px; font-weight:600; cursor:pointer; font-size:0.92rem; }
.faq-answer { padding:14px 18px; font-size:0.88rem; color:#475569; display:none; }
.faq-answer.show { display:block; }

/* Admin styles */
.admin-sidebar { background:#1e293b; min-height:100vh; width:250px; position:fixed; left:0; top:0; z-index:100; }
.admin-main { margin-left:250px; min-height:100vh; background:#f1f5f9; }
.sidebar-brand { padding:20px; border-bottom:1px solid rgba(255,255,255,0.1); }
.sidebar-nav .nav-link { color:rgba(255,255,255,0.7); padding:10px 20px; font-size:0.9rem; display:flex; align-items:center; gap:10px; transition:all 0.2s; }
.sidebar-nav .nav-link:hover, .sidebar-nav .nav-link.active { background:rgba(255,255,255,0.1); color:#fff; }
.admin-topbar { background:#fff; padding:14px 24px; border-bottom:1px solid #e2e8f0; display:flex; justify-content:space-between; align-items:center; }
.stat-widget { background:#fff; border-radius:14px; padding:20px; box-shadow:0 1px 4px rgba(0,0,0,0.05); }
.stat-widget .icon { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; }

/* Search suggestions */
#search-suggestions { position:absolute; top:100%; left:0; right:0; background:#fff; border:1px solid #e2e8f0; border-radius:10px; z-index:999; max-height:300px; overflow-y:auto; display:none; }
#search-suggestions a { display:block; padding:10px 16px; text-decoration:none; color:var(--kt-text); font-size:0.88rem; border-bottom:1px solid #f1f5f9; }
#search-suggestions a:hover { background:#f0f4ff; color:var(--kt-blue); }

@media (max-width:768px) {
  .hero-section { padding:48px 0 36px; }
  .admin-sidebar { width:100%; min-height:auto; position:relative; }
  .admin-main { margin-left:0; }
  .step-connector::after { display:none; }
}
