/* ==============================================
   GUIDE PAGE - MODERN DESIGN
   MediBrain | 2026
   ============================================== */

:root {
  --primary-blue: #3b82f6;
  --dark-blue: #1e40af;
  --light-blue: #eff6ff;
  --primary-green: #10b981;
  --dark-green: #065f46;
  --success: #059669;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

/* Ensure Bootstrap Icons work */
.bi::before {
  font-family: 'bootstrap-icons' !important;
  font-style: normal;
  font-weight: normal !important;
  display: inline-block;
}

/* ==============================================
   HERO SECTION
   ============================================== */

.guide-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Hero Background */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
              linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #ecfdf5 100%);
}

/* Animated Icons */
.animated-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.icon-float {
  position: absolute;
  font-size: 3.5rem;
  color: rgba(59, 130, 246, 0.08);
  animation: iconFloat 20s ease-in-out infinite;
}

.icon-1 {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.icon-2 {
  top: 65%;
  right: 12%;
  animation-delay: 7s;
  color: rgba(16, 185, 129, 0.08);
}

.icon-3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 14s;
  color: rgba(139, 92, 246, 0.08);
}

@keyframes iconFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(25px, -25px) rotate(5deg);
  }
  50% {
    transform: translate(-15px, 15px) rotate(-3deg);
  }
  75% {
    transform: translate(20px, -20px) rotate(4deg);
  }
}

/* Hero Content */
.guide-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb-custom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-custom a:hover {
  color: var(--primary-blue);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(245, 158, 11, 0.1);
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #d97706;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease;
}

.hero-badge i {
  font-size: 1.2rem;
  color: #f59e0b;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
  animation: gradientShift 4s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Features */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.feature-item i {
  color: var(--primary-green);
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.8s backwards;
}

.hero-actions .btn {
  padding: 16px 32px;
  font-weight: 700;
  border-radius: 12px;
  transition: var(--transition);
  font-size: 1.05rem;
}

.btn-success {
  background: linear-gradient(135deg, var(--primary-green), var(--success));
  border: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  background: linear-gradient(135deg, var(--success), var(--dark-green));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Guide Stats */
.guide-stats {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 1s backwards;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stat-item i {
  color: var(--primary-blue);
  font-size: 1.2rem;
}

/* Hero Preview Card */
.hero-preview-card {
  animation: fadeInRight 1s ease 0.5s backwards;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.preview-mockup {
  background: white;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 2px solid #e5e7eb;
  transition: var(--transition);
}

.preview-mockup:hover {
  transform: translateY(-10px) rotate(-2deg);
  box-shadow: 0 40px 100px rgba(59, 130, 246, 0.25);
}

.mockup-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.mockup-title {
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
}

.mockup-content {
  padding: 30px;
}

.mockup-line {
  height: 12px;
  background: linear-gradient(90deg, #e5e7eb, #f3f4f6);
  border-radius: 6px;
  margin-bottom: 12px;
  animation: shimmer 2s ease-in-out infinite;
}

.mockup-line.short {
  width: 40%;
}

.mockup-line.medium {
  width: 70%;
}

.mockup-line.long {
  width: 100%;
}

@keyframes shimmer {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.mockup-section {
  margin-top: 25px;
}

.section-header {
  height: 20px;
  width: 60%;
  background: linear-gradient(90deg, var(--primary-blue), #60a5fa);
  border-radius: 10px;
  margin-bottom: 15px;
}

/* ==============================================
   OVERVIEW SECTION
   ============================================== */

.overview-section {
  padding: 80px 0;
  background: white;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0;
}

.overview-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.overview-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-blue);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.overview-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-blue);
  transition: var(--transition);
}

.overview-card:hover .overview-icon {
  transform: scale(1.1) rotate(5deg);
}

.overview-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.overview-card p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ==============================================
   CONTENTS PREVIEW SECTION
   ============================================== */

.contents-preview-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.contents-grid {
  display: grid;
  gap: 25px;
}

.content-item {
  background: white;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  gap: 25px;
  border: 2px solid #e5e7eb;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content-item:hover {
  transform: translateX(8px);
  border-color: var(--primary-blue);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15);
}

.item-number {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
}

.item-content h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

.item-content > p {
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.6;
}

.item-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.item-highlights i {
  color: var(--primary-green);
  font-size: 1.1rem;
}

/* ==============================================
   SAMPLE SECTION
   ============================================== */

.sample-section {
  padding: 80px 0;
  background: white;
}

.sample-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sample-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
  padding: 30px;
  text-align: center;
}

.sample-header i {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.sample-header h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: white;
}

.sample-header p {
  margin: 0;
  opacity: 0.95;
}

.table-responsive {
  padding: 30px;
  overflow-x: auto;
}

.timetable-preview {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 900px;
}

.timetable-preview th {
  background: var(--primary-blue);
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.timetable-preview td {
  padding: 15px;
  border: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.9rem;
}

.time-cell {
  background: #f9fafb;
  font-weight: 700;
  color: var(--text-main);
}

.subject-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.subject-tag.maths {
  background: #dbeafe;
  color: #2563eb;
}

.subject-tag.physics {
  background: #d1fae5;
  color: #059669;
}

.subject-tag.chemistry {
  background: #fef3c7;
  color: #d97706;
}

.subject-tag.biology {
  background: #fce7f3;
  color: #db2777;
}

.rest-cell {
  background: #ecfdf5;
  font-weight: 700;
  color: var(--dark-green);
}

.break-cell {
  background: #fef3c7;
  font-weight: 700;
  color: #b45309;
}

.sample-note {
  background: #eff6ff;
  border: 2px solid #bfdbfe;
  border-radius: 12px;
  padding: 20px;
  margin: 30px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.sample-note i {
  color: var(--primary-blue);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.sample-note p {
  margin: 0;
  line-height: 1.6;
}

/* ==============================================
   CTA SECTION
   ============================================== */

.guide-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-green), var(--success));
  border-radius: 24px;
  padding: 50px;
  color: white;
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
}

.cta-box h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 15px;
  color: white;
}

.cta-box p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.95;
}

.cta-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 600;
  margin-top: 15px;
}

.cta-features span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-features i {
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-buttons .btn {
  width: 100%;
  justify-content: center;
}

.cta-box .btn-light {
  background: white;
  color: var(--primary-green);
  border: none;
  font-weight: 700;
}

.cta-box .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ==============================================
   FULL GUIDE SECTION (Print-friendly)
   ============================================== */

.full-guide-section {
  padding: 80px 0;
  background: #f3f4f6;
}

.guide-document {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.doc-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
  padding: 60px;
  text-align: center;
}

.doc-logo {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.doc-header h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.2;
  color: white;
}

.doc-header p {
  font-size: 1.2rem;
  opacity: 0.95;
  margin: 0;
}

.doc-content {
  padding: 60px;
}

.doc-intro {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-left: 4px solid var(--primary-blue);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.doc-intro h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-intro p, .doc-intro ul {
  color: var(--text-main);
  line-height: 1.8;
}

.doc-content h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary-blue);
}

.doc-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 30px 0 15px 0;
}

.doc-content p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--text-main);
}

.doc-content ul, .doc-content ol {
  margin: 15px 0 25px 25px;
  line-height: 1.8;
}

.doc-content li {
  margin-bottom: 10px;
}

.doc-tip {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-left: 4px solid var(--primary-green);
  padding: 20px;
  border-radius: 12px;
  margin: 25px 0;
}

.doc-tip h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark-green);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-tip p {
  margin: 0;
}

.doc-footer {
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  padding: 50px 60px;
  text-align: center;
  border-top: 2px solid #e5e7eb;
}

.doc-footer h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-main);
}

.doc-footer p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.doc-contact {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 25px 0;
  font-weight: 600;
  color: var(--primary-blue);
}

.doc-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-copyright {
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==============================================
   PRINT STYLES
   ============================================== */

@media print {
  body {
    background: white;
  }

  .guide-hero,
  .overview-section,
  .contents-preview-section,
  .sample-section,
  .guide-cta-section,
  #navbar,
  #footer {
    display: none;
  }

  .full-guide-section {
    padding: 0;
    background: white;
  }

  .guide-document {
    box-shadow: none;
    border-radius: 0;
    max-width: 100%;
  }

  .doc-header,
  .doc-content,
  .doc-footer {
    page-break-inside: avoid;
  }

  h2 {
    page-break-after: avoid;
  }

  .doc-intro,
  .doc-tip {
    page-break-inside: avoid;
  }
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */

@media (max-width: 991px) {
  .guide-hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .section-title {
    font-size: 2rem;
  }

  .doc-header {
    padding: 40px 30px;
  }

  .doc-header h1 {
    font-size: 2rem;
  }

  .doc-content {
    padding: 40px 30px;
  }

  .doc-footer {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .content-item {
    flex-direction: column;
  }

  .item-number {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .cta-box {
    padding: 30px;
  }

  .cta-box h2 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    width: 100%;
  }

  .doc-contact {
    flex-direction: column;
    gap: 15px;
  }

  .table-responsive {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .hero-features {
    gap: 10px;
  }

  .feature-item {
    font-size: 0.95rem;
  }

  .guide-stats {
    flex-direction: column;
    gap: 12px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .overview-card {
    padding: 25px;
  }

  .sample-header {
    padding: 25px 20px;
  }

  .sample-header i {
    font-size: 2.5rem;
  }

  .cta-features {
    flex-direction: column;
    gap: 12px;
  }
}
/* ==============================================
   MANAGING EXAM ANXIETY - ADDITIONAL STYLES
   ============================================== */

/* Anxiety-specific color scheme */
.anxiety-hero .hero-gradient {
  background: radial-gradient(ellipse at top left, rgba(239, 68, 68, 0.12) 0%, transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
              linear-gradient(135deg, #fef2f2 0%, #ffffff 50%, #ecfdf5 100%);
}

.anxiety-badge {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

.anxiety-badge i {
  color: #ef4444;
}

.anxiety-gradient {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.anxiety-header {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.anxiety-intro {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-left-color: #ef4444;
}

.anxiety-card:hover {
  border-color: #ef4444;
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.15);
}

.anxiety-icon {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
  color: #ef4444;
}

/* Calm circles animation */
.anxiety-illustration {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calm-circle {
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(16, 185, 129, 0.3);
  animation: calmPulse 4s ease-in-out infinite;
}

.circle-1 {
  width: 150px;
  height: 150px;
  animation-delay: 0s;
}

.circle-2 {
  width: 250px;
  height: 250px;
  animation-delay: 1.3s;
}

.circle-3 {
  width: 350px;
  height: 350px;
  animation-delay: 2.6s;
}

@keyframes calmPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.6;
  }
}

.center-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  z-index: 10;
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.1);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.1);
  }
  56% {
    transform: scale(1);
  }
}

/* Technique boxes */
.technique-box {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 2px solid #10b981;
  border-radius: 16px;
  padding: 25px;
  margin: 25px 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.technique-box h5 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #065f46;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.technique-box ol,
.technique-box ul {
  margin: 15px 0 15px 25px;
}

.technique-box li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.technique-box p:last-child {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid rgba(16, 185, 129, 0.2);
  font-style: italic;
}

/* Script boxes */
.script-box {
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 16px;
  padding: 25px;
  margin: 25px 0;
}

.script-box p {
  margin-bottom: 15px;
}

.script-box ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.script-box ul li {
  padding: 12px;
  margin-bottom: 8px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid #10b981;
  line-height: 1.6;
}

.script-box ul li::before {
  content: '"';
  font-size: 2rem;
  color: #10b981;
  margin-right: 8px;
  vertical-align: middle;
}

.script-box hr {
  margin: 20px 0;
  border: none;
  border-top: 2px solid #e5e7eb;
}

/* Special emphasis boxes */
.emphasis-box {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-left: 5px solid #f59e0b;
  padding: 20px;
  margin: 25px 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

.emphasis-box h4 {
  color: #b45309;
  font-weight: 800;
  margin-bottom: 10px;
}

/* Stats highlight */
.stat-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 700;
  margin: 0 3px;
}

/* Breathing exercise visual */
.breathing-visual {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 3px solid #3b82f6;
  border-radius: 20px;
  padding: 30px;
  margin: 25px 0;
  text-align: center;
}

.breathing-circle {
  width: 150px;
  height: 150px;
  margin: 20px auto;
  border-radius: 50%;
  border: 5px solid #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: #1e40af;
  animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  25% {
    transform: scale(1.3);
    opacity: 1;
  }
  50% {
    transform: scale(1);
    opacity: 0.7;
  }
  75% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* Symptom tracker table */
.symptom-table {
  margin: 25px 0;
}

.symptom-table tr.severe {
  background: #fee2e2;
  font-weight: 600;
}

.symptom-table tr.moderate {
  background: #fef3c7;
}

.symptom-table tr.mild {
  background: #d1fae5;
}

/* Crisis contact cards */
.crisis-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.crisis-card {
  background: #fee2e2;
  border: 2px solid #ef4444;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.crisis-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);
}

.crisis-card i {
  font-size: 2.5rem;
  color: #ef4444;
  margin-bottom: 10px;
  display: block;
}

.crisis-card h5 {
  font-weight: 800;
  margin-bottom: 8px;
  color: #991b1b;
}

.crisis-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #7f1d1d;
}

.crisis-card .contact-number {
  display: block;
  margin-top: 10px;
  font-size: 1.3rem;
  font-weight: 900;
  color: #dc2626;
}

/* Progress indicators */
.anxiety-level-scale {
  display: flex;
  justify-content: space-between;
  margin: 25px 0;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
}

.level-indicator {
  flex: 1;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.level-indicator:hover {
  transform: translateY(-5px);
}

.level-mild {
  background: #d1fae5;
  border: 2px solid #10b981;
}

.level-moderate {
  background: #fef3c7;
  border: 2px solid #f59e0b;
}

.level-severe {
  background: #fee2e2;
  border: 2px solid #ef4444;
}

.level-indicator .level-number {
  font-size: 2rem;
  font-weight: 900;
  display: block;
  margin-bottom: 5px;
}

.level-indicator .level-name {
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

.level-indicator .level-desc {
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Mindfulness timer visual */
.mindfulness-timer {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 3px solid #0ea5e9;
  border-radius: 20px;
  padding: 30px;
  margin: 25px 0;
  text-align: center;
}

.timer-display {
  width: 120px;
  height: 120px;
  margin: 20px auto;
  border-radius: 50%;
  border: 5px solid #0ea5e9;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: #0369a1;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .anxiety-illustration {
    height: 350px;
  }

  .calm-circle.circle-3 {
    width: 280px;
    height: 280px;
  }

  .center-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }

  .technique-box {
    padding: 20px;
  }

  .crisis-contacts {
    grid-template-columns: 1fr;
  }

  .anxiety-level-scale {
    flex-direction: column;
  }

  .level-indicator {
    margin: 5px 0;
  }
}

@media (max-width: 576px) {
  .technique-box h5 {
    font-size: 1.1rem;
  }

  .script-box {
    padding: 20px;
  }

  .breathing-circle {
    width: 120px;
    height: 120px;
    font-size: 1.5rem;
  }
}

/* Print-specific styles */
@media print {
  .calm-circle,
  .center-icon {
    animation: none;
  }

  .breathing-circle {
    animation: none;
  }

  .technique-box,
  .script-box,
  .crisis-card {
    page-break-inside: avoid;
  }
}

/* ==============================================
   EXAM DAY CHECKLIST - ADDITIONAL STYLES
   ============================================== */

/* Checklist-specific color scheme */
.checklist-hero .hero-gradient {
  background: radial-gradient(ellipse at top left, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
              linear-gradient(135deg, #ecfdf5 0%, #ffffff 50%, #eff6ff 100%);
}

.checklist-badge {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #065f46;
}

.checklist-badge i {
  color: #10b981;
}

.checklist-gradient {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.checklist-header {
  background: linear-gradient(135deg, #10b981, #059669);
}

.checklist-intro {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-left-color: #10b981;
}

.checklist-card:hover {
  border-color: #10b981;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.checklist-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
  color: #10b981;
}

/* Checklist illustration animation */
.checklist-illustration {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 2px solid #e5e7eb;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  transition: all 0.5s ease;
  animation: slideIn 0.6s ease backwards;
}

.check-item:nth-child(1) { animation-delay: 0.2s; }
.check-item:nth-child(2) { animation-delay: 0.4s; }
.check-item:nth-child(3) { animation-delay: 0.6s; }
.check-item:nth-child(4) { animation-delay: 0.8s; }

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.check-item.checked {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-color: #10b981;
}

.check-item i {
  font-size: 2rem;
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.check-item.checked i {
  color: #10b981;
  animation: checkPop 0.5s ease;
}

@keyframes checkPop {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

.check-item span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
}

.check-item.checked span {
  color: #065f46;
}

/* Master checklist sections */
.master-checklist {
  margin: 30px 0;
}

.checklist-section {
  margin-bottom: 40px;
  padding: 30px;
  background: #f9fafb;
  border-radius: 16px;
  border: 2px solid #e5e7eb;
}

.checklist-section h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist-section h4 i {
  color: #10b981;
  font-size: 1.6rem;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

/* Individual checklist boxes */
.checklist-box {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.checklist-box:hover {
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
}

.checklist-box input[type="checkbox"] {
  width: 24px;
  height: 24px;
  cursor: pointer;
  accent-color: #10b981;
  flex-shrink: 0;
}

.checklist-box label {
  cursor: pointer;
  user-select: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
}

.checklist-box strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 5px;
  line-height: 1.4;
}

.checklist-box p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* Checked state styling */
.checklist-box:has(input[type="checkbox"]:checked) {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-color: #10b981;
}

.checklist-box:has(input[type="checkbox"]:checked) strong {
  color: #065f46;
  text-decoration: line-through;
  text-decoration-color: #10b981;
  text-decoration-thickness: 2px;
}

/* Breakfast table styling */
.doc-content table {
  margin: 25px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.doc-content table th {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 15px;
  font-weight: 700;
  text-align: left;
}

.doc-content table td {
  padding: 15px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

.doc-content table tr:last-child td {
  border-bottom: none;
}

.doc-content table tr:nth-child(even) {
  background: #f9fafb;
}

/* Script box for parent guidance */
.script-box {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 2px solid #f59e0b;
  border-radius: 16px;
  padding: 25px;
  margin: 25px 0;
}

.script-box p {
  margin-bottom: 15px;
}

.script-box strong {
  color: #92400e;
  font-weight: 800;
}

.script-box ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.script-box ul li {
  padding: 12px;
  margin-bottom: 10px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid #10b981;
  line-height: 1.6;
}

.script-box ul li::before {
  content: '"';
  font-size: 2rem;
  color: #10b981;
  margin-right: 8px;
  vertical-align: middle;
}

/* Timeline visual */
.timeline-section {
  position: relative;
  padding-left: 40px;
  margin: 30px 0;
}

.timeline-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #10b981, #059669);
  border-radius: 999px;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -46px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: #10b981;
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #d1fae5;
}

.timeline-item h5 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #065f46;
  margin-bottom: 10px;
}

/* Progress indicator */
.progress-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
  padding: 20px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 12px;
}

.progress-step {
  flex: 1;
  text-align: center;
  padding: 15px;
  position: relative;
}

.progress-step::after {
  content: '';
  position: absolute;
  right: -50%;
  top: 50%;
  width: 100%;
  height: 2px;
  background: #cbd5e1;
  z-index: 0;
}

.progress-step:last-child::after {
  display: none;
}

.progress-step.completed .step-circle {
  background: #10b981;
  color: white;
}

.progress-step.completed::after {
  background: #10b981;
}

.step-circle {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #6b7280;
  position: relative;
  z-index: 1;
}

.step-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b5563;
}

/* Print-specific enhancements */
@media print {
  .checklist-box {
    page-break-inside: avoid;
  }

  .checklist-section {
    page-break-inside: avoid;
  }

  .master-checklist {
    page-break-before: always;
  }

  /* Make checkboxes printable */
  input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
    width: 18px !important;
    height: 18px !important;
  }

  /* Ensure checklist grid prints properly */
  .checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .checklist-box {
    border: 2px solid #000 !important;
    padding: 10px !important;
  }

  /* Preserve colors in print */
  .checklist-section,
  .tip-box,
  .warning-box,
  .script-box,
  .checklist-intro {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .checklist-illustration {
    padding: 30px;
  }

  .check-item {
    padding: 15px;
  }

  .checklist-section {
    padding: 20px;
  }

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

@media (max-width: 768px) {
  .checklist-illustration {
    padding: 20px;
    margin-top: 3rem;
  }

  .check-item {
    font-size: 0.95rem;
  }

  .check-item i {
    font-size: 1.5rem;
  }

  .checklist-section h4 {
    font-size: 1.2rem;
  }

  .checklist-box {
    padding: 15px;
  }

  .master-checklist {
    margin: 20px 0;
  }

  .progress-indicator {
    flex-direction: column;
  }

  .progress-step::after {
    display: none;
  }
}

@media (max-width: 576px) {
  .checklist-section {
    padding: 15px;
  }

  .checklist-box strong {
    font-size: 0.95rem;
  }

  .checklist-box p {
    font-size: 0.85rem;
  }
}

/* Save progress notification */
.save-notification {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9998;
}

.save-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.save-notification i {
  margin-right: 8px;
  font-size: 1rem;
}

