/* ============================================
   Ravi Kushwah — Digital Marketing & Web Development
   Clean corporate light theme
   ============================================ */
:root {
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --accent: #f59e0b;
  --dark: #0f172a;
  --gray-700: #334155;
  --gray-500: #64748b;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: var(--primary); }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--dark); line-height: 1.25; font-weight: 700; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow { display: inline-block; color: var(--primary); background: #dbeafe; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 12px; }
.section-head p { color: var(--gray-500); }

/* Buttons */
.btn { display: inline-block; padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: all .25s ease; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 6px 18px rgba(29, 78, 216, .3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }

/* ============ Header ============ */
.topbar { background: var(--primary-dark); color: #cbd5e1; font-size: 13px; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #e2e8f0; }
.topbar a:hover { color: var(--accent); }

header.navbar { background: var(--white); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(15, 23, 42, .06); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--dark); }
.logo .mark { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.logo span.brand-sub { display: block; font-size: 11px; font-weight: 600; color: var(--gray-500); letter-spacing: 1px; text-transform: uppercase; }

nav.main-nav ul { display: flex; gap: 6px; align-items: center; }
nav.main-nav a { color: var(--gray-700); font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 8px; display: block; }
nav.main-nav a:hover, nav.main-nav a.active { color: var(--primary); background: #eff6ff; }
.nav-cta { margin-left: 8px; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown > a::after { content: " ▾"; font-size: 11px; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--white); min-width: 240px; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 10px 14px; border-radius: 8px; font-size: 14px; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--dark); cursor: pointer; }

/* ============ Hero ============ */
.hero { background: linear-gradient(160deg, #eff6ff 0%, #ffffff 55%, #fefce8 100%); padding: 90px 0; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); margin: 16px 0 20px; }
.hero h1 .highlight { color: var(--primary); }
.hero p.lead { font-size: 18px; color: var(--gray-500); margin-bottom: 32px; }
.hero-badge { display: inline-block; background: #dbeafe; color: var(--primary-dark); font-weight: 700; font-size: 13px; padding: 8px 18px; border-radius: 999px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { position: relative; }
.hero-img img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.hero-card { position: absolute; bottom: -18px; left: -18px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 14px 20px; font-weight: 700; color: var(--dark); font-size: 14px; }
.hero-card span { color: var(--primary); font-size: 20px; display: block; }

/* Stats */
.stats { background: var(--primary-dark); color: var(--white); padding: 44px 0; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat h3 { color: var(--accent); font-size: 34px; }
.stat p { color: #cbd5e1; font-size: 14px; }

/* ============ Service cards ============ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 34px 28px; transition: all .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .icon { width: 58px; height: 58px; border-radius: 14px; background: #dbeafe; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--gray-500); font-size: 15px; margin-bottom: 16px; }
.card .link { font-weight: 700; font-size: 14px; }
.card .link:hover { color: var(--primary-dark); }

/* Feature / why choose us */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 20px; box-shadow: var(--shadow); }
.feature-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.feature-list .tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; margin-top: 3px; }
.feature-list h4 { font-size: 17px; }
.feature-list p { font-size: 14.5px; color: var(--gray-500); }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 28px 18px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); }
.step .num { width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--gray-500); }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi { background: var(--white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--gray-200); }
.testi .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }
.testi p { font-size: 15px; color: var(--gray-700); font-style: italic; margin-bottom: 18px; }
.testi .who { font-weight: 700; color: var(--dark); font-size: 14px; }
.testi .who span { display: block; font-weight: 500; color: var(--gray-500); font-size: 13px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); text-align: center; padding: 70px 0; }
.cta-band h2 { color: var(--white); font-size: clamp(26px, 4vw, 36px); margin-bottom: 14px; }
.cta-band p { color: #dbeafe; max-width: 560px; margin: 0 auto 30px; }

/* ============ Page hero (inner pages) ============ */
.page-hero { background: linear-gradient(160deg, var(--primary-dark), var(--primary)); color: var(--white); padding: 70px 0; text-align: center; }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 5vw, 44px); margin-bottom: 12px; }
.page-hero p { color: #dbeafe; max-width: 640px; margin: 0 auto; }
.breadcrumb { margin-top: 18px; font-size: 14px; color: #93c5fd; }
.breadcrumb a { color: #dbeafe; }
.breadcrumb a:hover { color: var(--accent); }

/* About / founder */
.founder-img { position: relative; }
.founder-img img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.founder-name-card { position: absolute; bottom: -20px; right: -14px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 16px 24px; }
.founder-name-card strong { color: var(--dark); display: block; }
.founder-name-card span { color: var(--primary); font-size: 13px; font-weight: 600; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* Fallback avatar if founder image missing */
.img-fallback { width: 100%; aspect-ratio: 4/5; border-radius: 20px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: none; align-items: center; justify-content: center; color: #fff; font-size: 72px; font-weight: 800; box-shadow: var(--shadow-lg); }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 30px; margin-bottom: 20px; display: flex; gap: 18px; }
.contact-info-card .icon { flex: none; width: 52px; height: 52px; border-radius: 12px; background: #dbeafe; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.contact-info-card h4 { margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: 15px; color: var(--gray-500); }
.contact-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.contact-form h3 { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; color: var(--dark); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--gray-200); border-radius: 10px; font-size: 15px; font-family: inherit; color: var(--gray-700); background: var(--gray-50); transition: border .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: var(--white); }
.map-placeholder { margin-top: 60px; background: var(--gray-100); border: 2px dashed var(--gray-200); border-radius: var(--radius); height: 320px; display: flex; align-items: center; justify-content: center; color: var(--gray-500); text-align: center; padding: 20px; }

/* ============ Service detail pages ============ */
.service-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 44px; align-items: start; }
.service-content h2 { font-size: 28px; margin: 34px 0 14px; }
.service-content h2:first-child { margin-top: 0; }
.service-content p { margin-bottom: 16px; color: var(--gray-500); }
.service-content ul.checklist { margin: 10px 0 20px; }
.service-content ul.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--gray-700); }
.service-content ul.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.sidebar .widget { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; }
.sidebar .widget h3 { font-size: 18px; margin-bottom: 16px; }
.sidebar .widget ul li { margin-bottom: 4px; }
.sidebar .widget ul a { display: block; padding: 11px 14px; border-radius: 9px; background: var(--white); border: 1px solid var(--gray-200); color: var(--gray-700); font-weight: 600; font-size: 14px; transition: all .2s; }
.sidebar .widget ul a:hover, .sidebar .widget ul a.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.sidebar .cta-widget { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; text-align: center; }
.sidebar .cta-widget h3 { color: #fff; }
.sidebar .cta-widget p { color: #dbeafe; font-size: 14px; margin-bottom: 18px; }

/* FAQ */
.faq-item { border: 1px solid var(--gray-200); border-radius: 12px; margin-bottom: 14px; overflow: hidden; background: var(--white); }
.faq-item summary { padding: 18px 22px; font-weight: 700; color: var(--dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--primary); }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--gray-500); font-size: 15px; }

/* ============ Footer ============ */
footer { background: var(--dark); color: #94a3b8; padding: 70px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
footer h4 { color: var(--white); font-size: 16px; margin-bottom: 18px; }
footer .logo { color: var(--white); margin-bottom: 16px; }
footer ul li { margin-bottom: 10px; }
footer a { color: #94a3b8; }
footer a:hover { color: var(--accent); }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a { width: 38px; height: 38px; border-radius: 9px; background: #1e293b; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.social-links a:hover { background: var(--primary); color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; text-align: center; font-size: 13.5px; }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); z-index: 99; transition: transform .2s; }
.wa-float:hover { transform: scale(1.1); color: #fff; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero .container, .split, .contact-grid, .service-layout { grid-template-columns: 1fr; }
  .cards-grid, .testi-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-img { max-width: 440px; }
}
@media (max-width: 640px) {
  .cards-grid, .testi-grid, .process-grid, .values-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .nav-toggle { display: block; }
  nav.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow-lg); padding: 12px; }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 18px; }
  .topbar { display: none; }
}
