/* =========================================================
   Career Care India — Modern Professional Style System
   ========================================================= */

/* ---------- Professional Design Tokens ---------- */
:root {
  /* Corporate Higher Education Palette */
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --primary: #1E40AF;        /* Deep Royal Blue */
  --primary-dark: #1E3A8A;
  --primary-light: #EFF6FF;
  --accent: #F59E0B;         /* Amber Gold */
  --accent-dark: #D97706;
  --text: #0F172A;           /* Slate Dark */
  --text-muted: #475569;
  --border: #E2E8F0;
  --badge-bg: #E0E7FF;
  --badge-text: #3730A3;
  --btn-secondary-text: #1E293B;
  --success: #10B981;
  --danger: #EF4444;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(30, 64, 175, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Typography */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1240px;
  --nav-height: 76px;

  /* Motion */
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Global Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select, button { font: inherit; color: inherit; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Layout & Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 80px; }
.section--tight { padding-block: 48px; }
.section--muted { background: var(--surface); border-block: 1px solid var(--border); }

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

h1, h2, h3, h4 { color: var(--text); font-weight: 800; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.25rem); letter-spacing: -0.015em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 450;
}

.text-muted { color: var(--text-muted); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Navbar Styling ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-muted);
  transition: color var(--transition);
  padding: 6px 0;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

/* Navigation Dropdown Menu */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown-trigger:focus {
  color: var(--primary);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  display: none;
  flex-direction: column;
  z-index: 200;
  margin-top: 4px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: none !important;
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown-menu li a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

@media (max-width: 860px) {
  .nav-dropdown { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 4px 0 4px 16px;
    background: transparent;
    display: flex;
  }
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.hamburger span { height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
}

/* ---------- Hero & Trust Strip ---------- */
.hero {
  position: relative;
  background: radial-gradient(100% 100% at 50% 0%, #EFF6FF 0%, #FAF9FF 100%);
  overflow: hidden;
}

.hero__inner {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 6px 6px 16px;
  box-shadow: var(--shadow-md);
  margin-top: 24px;
}
.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  padding: 8px;
  font-size: 0.95rem;
}

.trust-bar {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding-block: 24px;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--primary); }
.stat span { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0F172A;
  color: #CBD5E1;
  padding-top: 64px;
  padding-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h4 { color: #FFFFFF; margin-bottom: 16px; font-size: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #94A3B8; font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: #FFFFFF; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: #94A3B8; }
