/*
Theme Name: Cheema International TTC
Theme URI: https://cheemainternationalttc.com
Author: Cheema International TTC
Author URI: https://cheemainternationalttc.com
Description: Exact Multi-Page Scholarship Blog & International Education Consultancy WordPress Theme for Cheema International TTC. Features Imperial Cobalt (#01468B) branding, live scrolling ticker, 8+4 Lead + "Also Apply Here" asymmetric hero grid, interactive country/degree filters, Our Services with deliverables, Consulting Success counters, Useful Links, 2026-2022 Alternating Spine Timeline, and dedicated multi-page templates.
Version: 4.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cheema-ttc
*/

:root {
  --brand: #01468B;
  --brand-dark: #01356B;
  --brand-light: #EEF5FC;
  --bg-canvas: #F9FAFB;
  --bg-surface: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #475569;
  --border-color: #E2E8F0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .cheema-serif {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--text-main);
  line-height: 1.25;
  margin-top: 0;
}

.cheema-mono {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: all 0.15s ease;
}

.cheema-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   STICKY TOP HEADER (Strict 3-Zone Contract)
   ========================================================================== */
.cheema-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}

.cheema-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

.cheema-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand) !important;
  white-space: nowrap;
}

.cheema-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cheema-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.cheema-nav a:hover,
.cheema-nav a.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.cheema-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--brand);
  color: #FFFFFF !important;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

.cheema-btn:hover {
  background-color: var(--brand-dark);
}

.cheema-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #FFFFFF;
  color: var(--brand) !important;
  border: 1px solid rgba(1, 70, 139, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cheema-btn-outline:hover {
  background-color: var(--brand);
  color: #FFFFFF !important;
}

/* ==========================================================================
   BREAKING TOP SCHOLARSHIPS TICKER & SEARCH BAR
   ========================================================================== */
.cheema-ticker {
  background-color: var(--brand);
  color: #FFFFFF;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--brand-dark);
}

.cheema-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cheema-ticker-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  flex: 1;
}

.cheema-ticker-badge {
  background: rgba(255, 255, 255, 0.16);
  padding: 0.25rem 0.65rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.cheema-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34D399;
  display: inline-block;
}

.cheema-marquee-wrap {
  overflow: hidden;
  flex: 1;
  white-space: nowrap;
}

@keyframes cheemaMarquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.cheema-marquee-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: cheemaMarquee 36s linear infinite;
}

.cheema-marquee-track:hover {
  animation-play-state: paused;
}

.cheema-marquee-item {
  color: #E0F2FE !important;
  font-size: 0.775rem;
  white-space: nowrap;
}

.cheema-marquee-item strong {
  color: #FFFFFF;
}

/* ==========================================================================
   HERO MAGAZINE GRID: 8-COL LEAD + 4-COL "ALSO APPLY HERE"
   ========================================================================== */
.cheema-hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.cheema-hero-lead-col {
  grid-column: span 8;
  display: flex;
  flex-direction: column;
}

.cheema-hero-side-col {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
}

.cheema-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.cheema-col-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.cheema-bar-accent {
  width: 4px;
  height: 20px;
  background-color: var(--brand);
  border-radius: 2px;
  display: inline-block;
}

.cheema-lead-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #0F172A;
  min-height: 445px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--border-color);
}

.cheema-lead-card img,
.cheema-side-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cheema-lead-card:hover img,
.cheema-side-card:hover img {
  transform: scale(1.03);
}

.cheema-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.55) 55%, rgba(2, 6, 23, 0.15) 100%);
}

.cheema-lead-top-badges {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  font-size: 0.75rem;
}

.cheema-badge-blue {
  background-color: var(--brand);
  color: #FFFFFF;
  padding: 0.3rem 0.75rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

.cheema-badge-dark {
  background-color: rgba(2, 6, 23, 0.78);
  color: #BAE6FD;
  padding: 0.3rem 0.75rem;
  border-radius: 0.25rem;
  font-family: 'JetBrains Mono', monospace;
}

.cheema-lead-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: #FFFFFF;
}

.cheema-unboxed-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: #7DD3FC;
  margin-bottom: 0.5rem;
}

.cheema-lead-title {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.cheema-lead-excerpt {
  font-size: 0.875rem;
  color: #E2E8F0;
  margin: 0 0 1rem;
  max-width: 680px;
}

.cheema-lead-footer {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #CBD5E1;
}

.cheema-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.cheema-side-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #0F172A;
  min-height: 214px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--border-color);
}

.cheema-side-content {
  position: relative;
  z-index: 2;
  padding: 1.25rem;
  color: #FFFFFF;
}

.cheema-side-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0.25rem 0 0.4rem;
  line-height: 1.3;
}

/* ==========================================================================
   FILTER BAR & 4-COLUMN SCHOLARSHIP CARDS
   ========================================================================== */
.cheema-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin: 3rem 0 1.5rem;
}

.cheema-segmented {
  display: inline-flex;
  background: #E2E8F0;
  padding: 0.25rem;
  border-radius: 0.5rem;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.cheema-filter-btn {
  border: none;
  background: transparent;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
}

.cheema-filter-btn.active {
  background: var(--brand);
  color: #FFFFFF;
}

.cheema-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cheema-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cheema-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease;
}

.cheema-card:hover {
  border-color: var(--brand);
}

.cheema-card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: #0F172A;
  overflow: hidden;
}

.cheema-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cheema-card:hover .cheema-card-thumb img {
  transform: scale(1.04);
}

.cheema-card-thumb-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 0.75rem 0.6rem;
  background: linear-gradient(to top, rgba(2,6,23,0.85), transparent);
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #FFFFFF;
  font-weight: 600;
}

.cheema-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   SECTIONS: SERVICES, ACHIEVEMENTS, RESOURCES & JOURNEY TIMELINE
   ========================================================================== */
.cheema-section {
  padding: 5rem 0;
}

.cheema-section-white {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cheema-section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 3.5rem;
}

.cheema-kicker-line {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.cheema-kicker-line::before,
.cheema-kicker-line::after {
  content: "";
  width: 32px;
  height: 1px;
  background-color: rgba(1, 70, 139, 0.35);
}

/* Vertical Alternating Spine Timeline */
.cheema-timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.cheema-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(1, 70, 139, 0.25);
  transform: translateX(-50%);
}

.cheema-timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  align-items: center;
}

.cheema-timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px var(--brand-light);
  z-index: 2;
}

.cheema-timeline-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

/* ==========================================================================
   DARK EDITORIAL FOOTER
   ========================================================================== */
.cheema-footer {
  background-color: #0F172A;
  color: #CBD5E1;
  padding: 4rem 0 0;
  border-top: 1px solid #1E293B;
}

.cheema-footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 3fr 3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.cheema-footer h3 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.cheema-social-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #FFFFFF !important;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.cheema-social-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.cheema-whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  background-color: var(--brand);
  color: #FFFFFF !important;
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(1, 70, 139, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 1024px) {
  .cheema-hero-lead-col,
  .cheema-hero-side-col {
    grid-column: span 12;
  }
  .cheema-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cheema-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cheema-nav {
    display: none;
  }
  .cheema-grid-4,
  .cheema-grid-3 {
    grid-template-columns: 1fr;
  }
  .cheema-timeline::before,
  .cheema-timeline-dot {
    display: none;
  }
  .cheema-timeline-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cheema-footer-grid {
    grid-template-columns: 1fr;
  }
}
