/* 
  AVM Academy Stylesheet
  Academic Prestige & Visual Calmness (Banner Theme Integration)
  Theme: Warm Gold, Soft Ivory, Deep Navy, and Forest Green accents.
*/

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

:root {
  /* Dynamic Color Palette from Banners */
  --primary-navy: #0b162f;
  --primary-navy-light: #16264d;
  --accent-gold: #c19b6c;
  --accent-gold-dark: #a67c4d;
  --accent-gold-light: #f5e6d3;
  --bg-sand: #f8f5f0;
  --bg-card: #ffffff;
  --bg-white: #ffffff;
  --text-dark: #1f232b;
  --text-muted: #5e6675;
  --text-light: #f3f4f6;
  --border-color: rgba(193, 155, 108, 0.25);
  --border-glow: 0 0 15px rgba(193, 155, 108, 0.15);

  /* Specific Banner Colors */
  --cl-blue: #1b3d7a;
  --iks-green: #156637;
  --cee-purple: #5c2075;
  --il-orange: #b86b14;

  /* Sizing */
  --max-width: 1280px;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 30px rgba(0, 0, 0, 0.02);
  --shadow-medium: 0 16px 40px rgba(11, 22, 47, 0.06);
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Background organic glow nodes */
.backdrop-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(140px);
  opacity: 0.25;
}

.bg-glow-1 {
  background: radial-gradient(circle, var(--accent-gold-light) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.bg-glow-2 {
  background: radial-gradient(circle, rgba(22, 38, 77, 0.2) 0%, transparent 70%);
  bottom: -200px;
  left: -100px;
}

/* Reset & Bases */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-sand);
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary-navy);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-muted);
  font-weight: 400;
}

a {
  color: var(--primary-navy);
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Announcement Banner */
.announcement-banner {
  background: linear-gradient(90deg, #fbf7f0 0%, #fefcf9 100%);
  border-bottom: 1px solid rgba(193, 155, 108, 0.3);
  padding: 0.8rem 2rem;
  text-align: center;
}

.announcement-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.announcement-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.announcement-btn {
  padding: 0.35rem 1.25rem;
  font-size: 0.75rem;
  background-color: var(--primary-navy);
  color: white;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}

.announcement-btn:hover {
  background-color: var(--accent-gold-dark);
  transform: translateY(-1px);
}

/* Header & Nav */
header {
  background-color: rgba(11, 22, 47, 0.96);
  backdrop-filter: blur(10px);
  color: var(--text-light);
  border-bottom: 1px solid var(--accent-gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-light);
  line-height: 1.1;
  font-weight: 600;
}

.brand span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-top: 0.25rem;
  font-weight: 500;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 0.03em;
  opacity: 0.85;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

nav a:hover {
  color: var(--accent-gold);
  opacity: 1;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a.active {
  color: var(--accent-gold);
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Modern Hero Section */
.hero {
  background: linear-gradient(180deg, rgba(11, 22, 47, 0.96) 0%, rgba(22, 38, 77, 0.92) 100%),
              radial-gradient(circle at 50% 50%, rgba(193, 155, 108, 0.2) 0%, transparent 60%);
  color: var(--text-light);
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 24px 24px;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 3.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero p.tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent-gold);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero p.meta {
  font-size: 1.1rem;
  color: var(--text-light);
  opacity: 0.85;
  letter-spacing: 0.02em;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95rem 2.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--primary-navy);
  box-shadow: 0 4px 20px rgba(193, 155, 108, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-gold-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(193, 155, 108, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 1.5px solid var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-navy);
  transform: translateY(-2px);
}

.btn-disabled {
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
}

/* Spinner */
.spinner {
  border: 3px solid rgba(193, 155, 108, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border-left-color: var(--accent-gold);
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Banner Column Layout (Home Page) */
.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
}

.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 3rem;
}

.banner-col {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.banner-col-header {
  padding: 2rem;
  color: white;
  text-align: center;
  position: relative;
}

.col-header-blue { background: linear-gradient(135deg, #0b1c3f 0%, #1c356e 100%); }
.col-header-green { background: linear-gradient(135deg, #0e3f22 0%, #1b6638 100%); }
.col-header-purple { background: linear-gradient(135deg, #370d47 0%, #581d6f 100%); }

.banner-col-header h3 {
  color: white;
  font-size: 1.25rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.banner-col-header span {
  font-size: 0.8rem;
  opacity: 0.8;
  letter-spacing: 0.05em;
  display: block;
}

.banner-col-body {
  padding: 2.5rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Executive Education List */
.exec-list {
  list-style: none;
}

.exec-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.exec-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

.exec-list li:hover {
  transform: translateX(4px);
  color: var(--accent-gold-dark);
}

/* Track Cards inside Middle Column */
.track-card {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.track-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.track-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.track-card-header h4 {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  color: var(--primary-navy);
}

.track-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 30px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-blue { background-color: rgba(27, 61, 122, 0.1); color: var(--cl-blue); border: 1px solid rgba(27, 61, 122, 0.3); }
.badge-green { background-color: rgba(21, 102, 55, 0.1); color: var(--iks-green); border: 1px solid rgba(21, 102, 55, 0.3); }
.badge-purple { background-color: rgba(92, 32, 117, 0.1); color: var(--cee-purple); border: 1px solid rgba(92, 32, 117, 0.3); }
.badge-gold { background-color: rgba(184, 107, 20, 0.1); color: var(--il-orange); border: 1px solid rgba(184, 107, 20, 0.3); }

.track-card p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* Pillars Section */
.pillars-section {
  background-color: var(--primary-navy);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}

.pillars-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2.2rem;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.pillar-item:hover {
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.pillar-item h4 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.pillar-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

/* Sections & General Cards */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.section-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  font-weight: 600;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--accent-gold);
}

/* Custom Lists */
.academic-list {
  list-style: none;
}

.academic-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.academic-list li::before {
  content: "♦";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-size: 1.2rem;
}

/* Highlight Box */
.highlight-box {
  background: rgba(193, 155, 108, 0.07);
  border-left: 3px solid var(--accent-gold);
  padding: 2rem;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  margin: 2.5rem 0;
}

/* Accordion FAQs */
.accordion-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.accordion-header {
  padding: 1.25rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.accordion-item.active .accordion-header::after {
  content: '−';
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 2rem;
  background-color: #fafbfd;
}

.accordion-item.active .accordion-content {
  padding: 1.25rem 2rem 2rem 2rem;
}

/* Weekly Scheduler Timeline */
.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.timeline-week {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--accent-gold-dark);
  font-weight: bold;
  text-align: right;
  padding-top: 0.25rem;
}

.timeline-content {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold-light);
  box-shadow: var(--shadow-medium);
}

.reading-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-top: 1px dashed var(--border-color);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
}

.reading-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.reading-col ul {
  list-style: none;
}

.reading-col ul li {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

/* Tabs Navigation */
.tabs-nav {
  display: flex;
  border-bottom: 1.5px solid var(--border-color);
  margin-bottom: 3rem;
  gap: 2.5rem;
}

.tab-btn {
  background: none;
  border: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.75rem 0;
  cursor: pointer;
  color: var(--text-muted);
  position: relative;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  color: var(--primary-navy);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2.5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-gold);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Director profile layout */
.profile-card {
  display: flex;
  gap: 4rem;
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
}

.profile-img-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-sand);
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  flex-shrink: 0;
  border: 3px solid var(--accent-gold);
  box-shadow: var(--shadow-medium);
}

.profile-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.profile-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 22, 47, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: var(--bg-sand);
  border-radius: var(--border-radius);
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 3.5rem;
  position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  border: 2px solid var(--accent-gold);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
  transform: scale(1);
}

.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.close-btn:hover {
  color: var(--primary-navy);
}

.form-section-title {
  font-size: 0.9rem;
  color: var(--accent-gold-dark);
  margin-top: 2rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--border-color);
  padding-bottom: 0.35rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* Forms input fields */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-navy);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
  background-color: #fbfbfc;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(193, 155, 108, 0.15);
  background-color: white;
}

.checkbox-group {
  margin-bottom: 1.75rem;
}

.checkbox-group label {
  text-transform: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

.checkbox-group input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--accent-gold-dark);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Footer layout */
footer {
  background-color: var(--primary-navy);
  color: var(--text-light);
  padding: 6rem 2rem 2.5rem 2.5rem;
  border-top: 3px solid var(--accent-gold);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.footer-logo {
  width: 44px;
  height: 44px;
}

.footer-brand h4 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0;
}

.footer-col h4 {
  color: var(--accent-gold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
  padding-left: 2px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive breakdowns */
@media (max-width: 1024px) {
  .banner-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  nav {
    display: none;
    width: 100%;
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem 0;
  }
  
  .header-container {
    flex-wrap: wrap;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
  }
  
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .timeline-week {
    text-align: left;
  }
  
  .reading-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 480px) {
  .brand h1 {
    font-size: 1.1rem;
  }
  .brand span {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }
  .brand-logo {
    width: 40px;
    height: 40px;
  }
  .hero h2 {
    font-size: 1.8rem;
  }
  .hero p.tagline {
    font-size: 1.2rem;
  }
  .hero p.meta {
    font-size: 0.95rem;
  }
  .modal-content {
    padding: 2.2rem 1.5rem;
  }
  .track-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .track-badge {
    align-self: flex-start;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}
