﻿/*
Theme Name: Chennai SEO Course
Theme URI: https://example.com/chennai-seo-course
Author: Codex
Description: A conversion-focused WordPress theme for an online SEO course in Chennai.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: chennai-seo-course
*/

:root {
  --ink: #172026;
  --muted: #5c6872;
  --line: #d8e0e7;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --mint: #2f9d7e;
  --coral: #e3655b;
  --gold: #f0b429;
  --blue: #1f6feb;
  --navy: #10243e;
  --shadow: 0 18px 50px rgba(23, 32, 38, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
}
.main-nav { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 15px; }
.main-nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(16,36,62,0.18);
}
.btn.secondary { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: none; }
.btn.accent { background: var(--coral); box-shadow: 0 10px 28px rgba(227,101,91,0.22); }

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 54px 0 38px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.88) 45%, rgba(255,255,255,0.38) 100%),
    url('assets/chennai-seo-hero.svg') center right / cover no-repeat;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.78fr; gap: 46px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--mint); font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
h1 { margin: 0; max-width: 760px; font-size: clamp(42px, 7vw, 78px); line-height: 0.96; letter-spacing: 0; }
.hero-copy { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-chip { border: 1px solid var(--line); background: rgba(255,255,255,.82); padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.lead-panel {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.lead-panel h2 { margin: 0 0 6px; font-size: 24px; }
.lead-panel p { margin: 0 0 16px; color: var(--muted); }
.form-grid { display: grid; gap: 12px; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
textarea { min-height: 92px; resize: vertical; }

section { padding: 76px 0; }
.section-head { max-width: 740px; margin-bottom: 30px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; }
.section-head p { color: var(--muted); margin: 12px 0 0; font-size: 18px; }
.band { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: #e7f4ef;
  color: var(--mint);
  font-weight: 900;
}
.curriculum { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.module-list { display: grid; gap: 12px; }
.module { display: grid; grid-template-columns: 50px 1fr; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.module-num { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 900; }
.module h3 { margin: 0 0 4px; font-size: 18px; }
.module p { margin: 0; color: var(--muted); }
.outcome-panel { background: var(--navy); color: #fff; border-radius: 8px; padding: 28px; position: sticky; top: 96px; }
.outcome-panel h3 { margin: 0 0 14px; font-size: 26px; }
.check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before { content: "✓"; color: var(--gold); font-weight: 900; }
.pricing { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: center; }
.pricing-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price-card .btn { margin-top: auto; }
.featured-plan { border-color: var(--coral); box-shadow: 0 20px 55px rgba(227,101,91,0.18); }
.price { font-size: 48px; line-height: 1; margin: 8px 0; font-weight: 900; }
.small { color: var(--muted); font-size: 14px; }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.quote p { margin-top: 0; color: var(--muted); }
.quote strong { display: block; }
.faqs { display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; }
summary { cursor: pointer; font-weight: 800; }
details p { color: var(--muted); margin-bottom: 0; }
.cta { background: var(--navy); color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta p { margin: 8px 0 0; color: rgba(255,255,255,.78); }
.site-footer { padding: 28px 0; color: var(--muted); background: #0b1829; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.78); }
.footer-links a:hover { color: #fff; }
.legal-hero { padding: 72px 0 42px; background: var(--soft); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(38px, 5vw, 64px); }
.legal-hero p:last-child { margin-bottom: 0; color: var(--muted); }
.legal-content { padding: 54px 0 76px; }
.legal-wrap { max-width: 860px; }
.legal-wrap h2 { margin: 34px 0 8px; font-size: 24px; }
.legal-wrap p { color: var(--muted); }
.legal-wrap a { color: var(--blue); font-weight: 700; }
.about-grid, .contact-grid { display: grid; grid-template-columns: 1fr 0.78fr; gap: 28px; align-items: start; }
.about-panel, .contact-card {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 28px;
}
.about-panel h2, .contact-card h2 { margin-top: 0; }
.contact-card p { color: rgba(255,255,255,.76); }
.contact-link {
  display: inline-flex;
  margin: 4px 0 22px;
  color: #fff;
  font-weight: 900;
  word-break: break-word;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero { min-height: auto; padding-top: 42px; background-position: 62% center; }
  .hero-grid, .curriculum, .pricing, .pricing-options, .cta-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .card-grid, .testimonials { grid-template-columns: 1fr; }
  .outcome-panel { position: static; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1120px); }
  h1 { font-size: 42px; }
  .hero-copy { font-size: 17px; }
  section { padding: 56px 0; }
  .lead-panel { padding: 16px; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
}

