/* ────────────────────────────────────────────────────────────────────────────
   Center for Growth — Premium Public Stylesheet
   Design: Bright, Premium, Education Landing Page Focus
   ──────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --primary: #1e3a8a;         /* Deep Indigo for Trust */
  --primary-light: #eff6ff;   
  --secondary: #d97706;       /* Saffron/Gold for Premium */
  --secondary-light: #fef3c7; 
  --accent: #0f766e;          /* Teal for Growth */
  
  /* Backgrounds */
  --bg-page: #f8fafc;         /* Off-white */
  --bg-card: #ffffff;         /* Pure white */
  --bg-section: #f1f5f9;      /* Light gray */
  --bg-dark: #0f172a;         /* For footer or dark headers */
  
  /* Text */
  --text-main: #0f172a;       /* Slate 900 */
  --text-muted: #475569;      /* Slate 600 */
  --text-light: #94a3b8;      /* Slate 400 */
  --text-inverse: #ffffff;
  
  /* Utility */
  --border: #e2e8f0;
  --success: #059669;
  --error: #dc2626;
  
  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --shadow-float: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }

/* ─── Typography ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--text-main);
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; font-family: 'Inter', sans-serif;}
p { color: var(--text-muted); line-height: 1.75; font-size: 1.05rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gold { color: var(--secondary); font-style: italic; font-family: 'Playfair Display', serif;}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--secondary);
  display: block; margin-bottom: 1rem;
}

/* ─── Layout & Utility ──────────────────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-section); }
.section-white { background: var(--bg-card); }
.section-dark { background: var(--bg-dark); color: var(--text-inverse); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark p { color: var(--text-inverse); }
.section-dark .section-label { color: var(--secondary); }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.align-center { text-align: center; }

/* ─── Navbar ────────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  transition: var(--transition);
}
.navbar.scrolled { padding: 0.75rem 0; box-shadow: var(--shadow); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { display: flex; align-items: center; gap: 1rem; }
.navbar-logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; color: #fff; font-family: 'Playfair Display', serif;
  box-shadow: var(--shadow-sm);
}
.navbar-brand-text { line-height: 1.15; }
.navbar-brand-text .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--text-main);
}
.navbar-brand-text .brand-sub {
  font-size: 0.7rem; color: var(--primary); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
}
.navbar-nav { display: flex; align-items: center; gap: 0.5rem; list-style: none; }
.navbar-nav a {
  color: var(--text-main);
  font-size: 0.95rem; font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active { color: var(--primary); background: var(--primary-light); }
.navbar-nav a.btn-primary { color: #fff; }
.navbar-nav a.btn-primary:hover { color: #fff; background: #1e40af; }
.navbar-cta { margin-left: 1rem; }

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600;
  transition: var(--transition); text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px); background: #1e40af;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.35); color: #fff;
}
.btn-secondary {
  background: var(--secondary); color: #fff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}
.btn-secondary:hover {
  transform: translateY(-2px); background: #b45309;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35); color: #fff;
}
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: #fff; color: var(--text-main);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--bg-section); transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.9rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

/* ─── Hero Section ──────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}
.hero-wrapper {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center;
}
.hero-content { position: relative; z-index: 10; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--border);
  color: var(--secondary); border-radius: 50px;
  padding: 0.5rem 1.25rem; font-size: 0.85rem; font-weight: 700;
  margin-bottom: 2rem; box-shadow: var(--shadow-sm);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.hero-title { margin-bottom: 1.5rem; color: var(--text-main); }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 580px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Abstract Graphic */
.hero-graphic {
  position: relative; height: 100%; min-height: 500px;
}
.hero-shape {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.6; z-index: 1;
}
.shape-1 { width: 400px; height: 400px; background: rgba(30, 58, 138, 0.15); top: 10%; right: 10%; }
.shape-2 { width: 300px; height: 300px; background: rgba(15, 118, 110, 0.15); bottom: 10%; left: 10%; }
.shape-3 { width: 250px; height: 250px; background: rgba(217, 119, 6, 0.1); top: 40%; right: 40%; }
.hero-card-float {
  position: absolute; background: #fff; padding: 1.5rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float); z-index: 2; border: 1px solid var(--border);
}
.float-1 { top: 20%; right: 5%; width: 220px; animation: float 6s ease-in-out infinite; }
.float-2 { bottom: 25%; left: 0%; width: 260px; animation: float 8s ease-in-out infinite reverse; }

/* ─── Trust Strip ───────────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--bg-card); padding: 2rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm); position: relative; z-index: 20;
}
.trust-grid {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem;
}
.trust-item {
  display: flex; align-items: center; gap: 1rem;
}
.trust-icon { font-size: 1.5rem; color: var(--primary); }
.trust-text { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--text-main); }
.trust-text span { display: block; font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }

/* ─── Course Cards (Premium Redesign) ───────────────────────────────────────── */
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-float); border-color: var(--primary); }
.course-icon-wrap {
  width: 72px; height: 72px;
  background: var(--primary-light);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 2rem; color: var(--primary);
}
.course-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-main); }
.course-card p { font-size: 1rem; color: var(--text-muted); margin-bottom: 2rem; flex-grow: 1; }
.course-features {
  list-style: none; margin-bottom: 2.5rem;
}
.course-features li {
  display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: var(--text-main); margin-bottom: 0.75rem; font-weight: 500;
}
.course-features li::before { content: '✓'; color: var(--success); font-weight: 800; }
.course-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 1.5rem; margin-bottom: 1.5rem; }
.course-meta-item { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; font-weight: 600; }
.course-meta-item strong { color: var(--primary); }

/* ─── Emotional / Pay As You Want Section ───────────────────────────────────── */
.payf-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.payf-section::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
}
.payf-box {
  max-width: 800px; margin: 0 auto; position: relative; z-index: 10;
}
.payf-box h2 { color: #fff; margin-bottom: 1.5rem; }
.payf-box p { color: rgba(255,255,255,0.8); font-size: 1.2rem; margin-bottom: 3rem; }
.payf-amounts {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem;
}
.payf-chip {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; border-radius: 50px;
  padding: 0.75rem 2rem; font-size: 1.1rem; font-weight: 600;
  transition: var(--transition); backdrop-filter: blur(10px);
}
.payf-chip:hover {
  background: var(--secondary); border-color: var(--secondary); transform: translateY(-2px);
}

/* ─── Why Choose Us (Asymmetric Grid) ───────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.why-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 3rem;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.why-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 1.5rem;
}
.why-card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--text-main); }
.why-card p { font-size: 1.05rem; color: var(--text-muted); margin: 0; }
.why-card:nth-child(2) { transform: translateY(2rem); }
.why-card:nth-child(4) { transform: translateY(2rem); }

/* ─── Inner Page Heroes ─────────────────────────────────────────────────────── */
.page-hero {
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff; text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 1.5rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.25rem; max-width: 700px; margin: 0 auto 2.5rem; }

.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-weight: 500;
}
.breadcrumb a { color: var(--secondary); }
.breadcrumb-sep { color: rgba(255,255,255,0.4); }

/* ─── Disclaimers ───────────────────────────────────────────────────────────── */
.disclaimer-block {
  background: #fffbeb; border-left: 4px solid var(--secondary); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem; margin: 3rem 0; color: #92400e; font-size: 0.95rem; font-weight: 500;
}
.disclaimer-block strong { color: #b45309; display: block; margin-bottom: 0.5rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ─── Forms (Premium UI) ────────────────────────────────────────────────────── */
.form-wrapper {
  max-width: 900px; margin: -4rem auto 4rem; position: relative; z-index: 10;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 4rem;
  box-shadow: var(--shadow-float);
}
.form-section-header {
  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--bg-section);
}
.form-section-header h3 { font-size: 1.35rem; color: var(--primary); margin-bottom: 0.5rem; font-family: 'Inter', sans-serif;}
.form-section-header p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.6rem; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.95rem; font-weight: 600; color: var(--text-main); }
label .req { color: var(--error); margin-left: 2px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  background: #f8fafc; border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-main);
  font-family: 'Inter', sans-serif; font-size: 1rem;
  padding: 1rem 1.25rem; width: 100%; transition: var(--transition);
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none; background: #fff; border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
textarea { resize: vertical; min-height: 120px; }

/* Pay Input Specialized */
.pay-input-wrap { position: relative; }
.pay-input-wrap::before { content: '₹'; position: absolute; left: 1.5rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-weight: 700; font-size: 1.2rem; }
.pay-input-wrap input { padding-left: 3rem; font-weight: 700; font-size: 1.25rem; color: var(--primary); }

/* Radio / Checkboxes */
.radio-group, .check-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.radio-option, .check-option {
  display: flex; align-items: center; gap: 0.75rem; cursor: pointer;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.5rem;
  font-size: 1rem; font-weight: 500; transition: var(--transition);
  box-shadow: var(--shadow-sm); flex: 1; min-width: 200px;
}
.radio-option input, .check-option input { accent-color: var(--primary); width: 18px; height: 18px; }
.radio-option:has(input:checked), .check-option:has(input:checked) {
  border-color: var(--primary); background: var(--primary-light); color: var(--primary);
}

.form-errors, .flash-error { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; color: #b91c1c; font-size: 1rem; font-weight: 500; }
.flash-success { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; color: #047857; font-size: 1rem; font-weight: 500; }

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.footer { background: var(--bg-dark); color: #fff; padding: 6rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.footer-brand span { color: var(--secondary); font-size: 0.8rem; display: block; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.25rem; }
.footer-desc { color: var(--text-light); font-size: 1rem; margin-bottom: 2rem; max-width: 400px; }
.footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; font-weight: 700; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: var(--text-light); font-size: 1rem; }
.footer-links a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; color: var(--text-light); font-size: 0.9rem; }
.footer-bottom a { color: #fff; font-weight: 600; }
.footer-bottom a:hover { color: var(--secondary); }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-wrapper { grid-template-columns: 1fr; text-align: center; }
  .hero-graphic { display: none; }
  .hero-actions { justify-content: center; }
  .why-card:nth-child(2), .why-card:nth-child(4) { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar-nav { display: none; position: fixed; inset: 0; background: #fff; flex-direction: column; justify-content: center; gap: 2rem; z-index: 999; }
  .navbar-nav.open { display: flex; }
  .navbar-nav a { font-size: 1.5rem; }
  .navbar-toggle { display: flex; z-index: 1001; }
  .navbar-toggle span { background: var(--text-main); }
  
  .hero { padding: 8rem 0 4rem; }
  .form-wrapper { padding: 2rem; margin-top: -2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
