/*
Theme Name: Demo Academy
Theme URI: https://example.com/demo-academy
Author: Demo Academy Team
Author URI: https://example.com
Description: A minimal, modern WordPress theme for a demo academy (courses and training) website.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: demo-academy
Tags: education, minimal, clean, modern, responsive
*/

:root {
  --navy-950: #090d16;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --teal-800: #115e59;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --teal-50: #f0fdfa;
  --white: #ffffff;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.05);
  --container-max: 1140px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--slate-50);
  color: var(--slate-600);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5 {
  color: var(--navy-900);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Badges & Chips */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-700);
  background-color: var(--teal-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.badge-outline {
  background-color: transparent;
  border: 1px solid var(--teal-600);
  color: var(--teal-700);
}

.chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background-color: var(--slate-100);
  color: var(--slate-600);
  margin: 2px 4px 2px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.btn-primary {
  background-color: var(--teal-600);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--teal-700);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--navy-900);
  border-color: var(--slate-300);
}

.btn-secondary:hover {
  background-color: var(--slate-100);
  border-color: var(--slate-400);
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Header & Navigation */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-logo span {
  color: var(--teal-600);
}

.site-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  padding: 6px 4px;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--teal-600);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--slate-500);
}

/* Hero Section */
.hero {
  padding: 88px 0 72px;
  text-align: center;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--slate-500);
  margin-bottom: 32px;
}

/* Stats Strip */
.stats-strip {
  background-color: var(--navy-900);
  color: var(--white);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 24px;
}

.stat-item h3 {
  font-size: 2.25rem;
  color: var(--teal-500);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--slate-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Feature Grid (Why Choose Us) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.feature-box {
  background-color: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-4px);
}

.feature-icon-block {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.feature-box h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 0;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-500);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-title {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.card-text {
  color: var(--slate-500);
  font-size: 0.92rem;
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-skills {
  margin-bottom: 18px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  margin-bottom: 20px;
  border-top: 1px solid var(--slate-100);
}

.card-duration {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-500);
}

.card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-900);
}

/* Testimonial Section */
.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy-900);
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--navy-900);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--teal-600);
}

/* Page Intro Header */
.page-header {
  padding: 64px 0 40px;
  text-align: center;
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--slate-500);
  max-width: 640px;
  margin: 0 auto;
}

/* About Page Styles */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.about-card {
  background-color: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
}

.about-card h3 {
  color: var(--teal-700);
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.value-item {
  background-color: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.value-item h4 {
  color: var(--navy-900);
  margin-bottom: 8px;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 0;
}

/* Mentors Grid */
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.mentor-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  text-align: center;
}

.mentor-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: var(--navy-800);
  color: var(--teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.mentor-name {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.mentor-role {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.mentor-bio {
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* Steps Grid (Admissions / Curriculum) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step-card {
  background-color: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
  position: relative;
}

.step-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal-600);
  margin-bottom: 12px;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 0;
}

/* Curriculum Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.timeline-module {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.timeline-module-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-module-header h3 {
  margin-bottom: 0;
}

.module-weeks {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-700);
  background-color: var(--teal-100);
  padding: 4px 10px;
  border-radius: 999px;
}

.module-topics {
  list-style: disc;
  padding-left: 20px;
  color: var(--slate-600);
  font-size: 0.95rem;
}

.module-topics li {
  margin-bottom: 6px;
}

/* FAQ Styles */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.faq-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.faq-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--navy-900);
}

.faq-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin-bottom: 0;
}

/* Tuition Table */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.pricing-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 2px var(--teal-500), var(--shadow-card-hover);
}

.pricing-plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy-900);
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--teal-600);
  margin-bottom: 16px;
}

.pricing-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-500);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 20px 0 32px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-600);
}

/* Contact Page Styles */
.contact-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.contact-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
  padding: 44px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0 36px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-100);
}

.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-700);
}

.contact-value {
  font-size: 1.05rem;
  color: var(--navy-900);
}

/* Footer */
.site-footer {
  background-color: var(--navy-900);
  color: var(--slate-300);
  padding: 64px 0 32px;
  margin-top: 72px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--navy-700);
  margin-bottom: 28px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--slate-300);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--teal-500);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 12px;
  color: var(--slate-400);
  max-width: 320px;
}

.footer-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}

.footer-logo span {
  color: var(--teal-500);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* Mobile Responsiveness */
@media (max-width: 860px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header .container {
    flex-direction: column;
    height: auto;
    padding: 16px 20px;
    gap: 12px;
  }

  .site-nav ul {
    gap: 12px;
    justify-content: center;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .testimonial-card {
    padding: 24px 20px;
  }
}
