/* Kerr University - Global Styles */
:root {
  --crimson: #9B1C1C;
  --crimson-dark: #7B1313;
  --crimson-light: #C0392B;
  --gold: #C9A84C;
  --gold-light: #E2C174;
  --gold-dark: #A07830;
  --navy: #0D1B2A;
  --navy-mid: #1A2F45;
  --navy-light: #243B55;
  --white: #FFFFFF;
  --off-white: #F9F6F0;
  --gray-light: #F2EDE6;
  --gray-mid: #D4C9B8;
  --gray-text: #5C5347;
  --text: #1A1410;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
}

/* TYPOGRAPHY */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p { margin-bottom: 1rem; }
a { color: var(--crimson); text-decoration: none; }
a:hover { color: var(--crimson-dark); }

/* LAYOUT */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--gold); }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
}
.btn-primary:hover {
  background: var(--crimson-dark);
  border-color: var(--crimson-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(155,28,28,0.3);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--crimson);
  border-color: var(--crimson);
}
.btn-outline:hover {
  background: var(--crimson);
  color: var(--white);
}

/* HEADER / NAV */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.logo-text span { color: var(--white); font-size: 0.75rem; display: block; font-family: var(--font-sans); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 8px; }
nav a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-mid);
  padding: 8px 14px;
  border-radius: 4px;
  transition: all 0.15s;
}
nav a:hover { color: var(--gold); background: rgba(201,168,76,0.1); }
nav a.active { color: var(--gold); }
.nav-cta {
  background: var(--crimson) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--crimson-dark) !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); margin: 5px 0;
  transition: all 0.3s;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; position: relative; }
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--gold); }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-proof {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--font-sans); font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.hero-proof-item { display: flex; align-items: center; gap: 6px; }
.hero-proof-item strong { color: var(--gold); }

/* AUTHORITY BAR */
.authority-bar {
  background: var(--gold);
  padding: 14px 0;
  overflow: hidden;
}
.authority-bar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.auth-item {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.auth-sep { color: var(--navy); opacity: 0.4; }

/* CARD */
.card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--crimson);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 12px; }

/* GRID LAYOUTS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* COMPARISON TABLE */
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
  margin: 32px 0;
}
.comp-table th {
  background: var(--navy);
  color: var(--gold);
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.comp-table th:first-child { background: var(--navy-mid); }
.comp-table td { padding: 14px 20px; border-bottom: 1px solid var(--gray-light); vertical-align: top; }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:nth-child(even) td { background: var(--off-white); }
.comp-table .winner { background: rgba(155,28,28,0.06) !important; }
.comp-table .check { color: #16A34A; font-weight: 700; }
.comp-table .x { color: #DC2626; }
.comp-table .ku-col { font-weight: 600; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--gray-mid);
  padding: 24px 0;
}
.faq-q {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--crimson); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding-top: 16px; color: var(--gray-text); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* REVIEWS */
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 28px;
  position: relative;
}
.review-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.review-text { font-style: italic; margin-bottom: 16px; color: var(--gray-text); }
.review-author { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; color: var(--navy); }

/* PRICING */
.pricing-card {
  border: 2px solid var(--gray-mid);
  border-radius: 12px;
  padding: 40px 36px;
  text-align: center;
  position: relative;
  transition: all 0.2s;
}
.pricing-card.featured {
  border-color: var(--crimson);
  box-shadow: 0 8px 32px rgba(155,28,28,0.15);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--crimson);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--crimson);
  line-height: 1;
}
.price-period { font-family: var(--font-sans); font-size: 0.85rem; color: var(--gray-text); }
.price-list { list-style: none; text-align: left; margin: 24px 0; }
.price-list li {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-light);
  display: flex; gap: 10px;
}
.price-list li::before { content: '✓'; color: var(--crimson); font-weight: 700; flex-shrink: 0; }

/* BREADCRUMB */
.breadcrumb {
  background: var(--off-white);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.breadcrumb-inner {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--gray-text);
}
.breadcrumb-inner a { color: var(--gray-text); }
.breadcrumb-inner a:hover { color: var(--crimson); }
.breadcrumb-inner span { margin: 0 8px; }

/* FOOTER */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-text { font-size: 1.2rem; margin-bottom: 12px; display: block; }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.8rem; line-height: 1.6; }
.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,0.6); transition: color 0.15s; }
footer ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-compare { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-compare h4 { margin-bottom: 12px; }
.footer-compare-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-compare-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  transition: all 0.15s;
}
.footer-compare-links a:hover { color: var(--gold); border-color: var(--gold); }

/* PAGE CONTENT */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 70px 0 60px;
  color: var(--white);
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 700px; }

.content-body { max-width: 800px; }
.content-body p { color: var(--gray-text); line-height: 1.85; }
.content-body h2 { color: var(--navy); margin: 48px 0 16px; }
.content-body h3 { color: var(--crimson); margin: 32px 0 12px; }
.content-body ul, .content-body ol { padding-left: 24px; margin-bottom: 16px; }
.content-body li { margin-bottom: 8px; color: var(--gray-text); }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-sub { color: var(--gray-text); font-size: 1.05rem; max-width: 600px; margin-bottom: 48px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  nav .nav-links { display: none; }
  .hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; }
}

/* ===== BLOG INDEX ===== */
.blog-index-section { background: #f8f7f4; }
.blog-index-container { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.blog-grid { display: flex; flex-direction: column; gap: 1.5rem; }
.blog-card { background: #fff; border: 1px solid #e8e2d6; border-radius: 8px; padding: 2rem; position: relative; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: 0 4px 24px rgba(13,27,42,0.1); }
.blog-card.featured-post { border-left: 4px solid #9B1C1C; }
.blog-card-badge { display: inline-block; background: #9B1C1C; color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; margin-bottom: 0.75rem; font-family: 'DM Sans', sans-serif; }
.blog-card-meta { font-size: 0.8rem; color: #888; font-family: 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.blog-card-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.blog-card-title a { color: #0D1B2A; text-decoration: none; }
.blog-card-title a:hover { color: #9B1C1C; }
.blog-card-excerpt { color: #555; font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.blog-read-more { color: #9B1C1C; font-weight: 600; font-size: 0.9rem; text-decoration: none; font-family: 'DM Sans', sans-serif; }
.blog-read-more:hover { text-decoration: underline; }
.geo-lift-section { background: #0D1B2A; padding: 2rem 0; }
.geo-lift-text { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.8; text-align: center; max-width: 900px; margin: 0 auto; }

@media (max-width: 900px) {
  .blog-index-container { grid-template-columns: 1fr; }
}
