/* ============================================================
   Anannt Education — How to Apply to Indian Universities 2026
   style.css — Guide-specific styles.
   The site's main CSS (https://anannt.ae/assets/css/style.min.css)
   handles header, footer, nav, typography utilities, grid, etc.
   ============================================================ */

/* ========== CSS VARIABLES (matches anannt.ae :root) ========== */
:root {
  --p1: #E27B0D;         /* Primary orange — CTAs, accents */
  --p1-dark: #c96d09;    /* Darker orange for hover states */
  --p1-light: #fef3e3;   /* Very light orange tint */
  --s1: #FFC700;         /* Secondary gold */
  --s2: #2FA75F;         /* Success green */
  --s3: #F05D5D;         /* Error red */
  --n0: #FFFFFF;         /* White */
  --n10: #FAFAFB;        /* Lightest BG */
  --n20: #F5F6F7;        /* Light gray BG */
  --n100: #E8EAED;       /* Borders, dividers */
  --n300: #9AA5B4;       /* Muted text */
  --n500: #4A5568;       /* Secondary text */
  --n700: #222E48;       /* Primary heading/body */
  --bg1: #1C1D20;        /* Dark nav/footer */
  --bg2: #262629;        /* Dark alt */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========== BASE RESET ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ========== HERO SECTION ========== */
.guide-hero-section {
  background: linear-gradient(135deg, var(--n700) 0%, #1a2540 100%);
  padding: 60px 0 52px;
  position: relative;
  overflow: hidden;
}

.guide-hero-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(226, 123, 13, 0.08);
  pointer-events: none;
}

.guide-hero-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(226, 123, 13, 0.05);
  pointer-events: none;
}

.guide-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

/* Breadcrumb */
.sat-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 500;
}

.sat-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition);
}

.sat-breadcrumb a:hover {
  color: var(--p1);
}

.sat-breadcrumb span {
  color: rgba(255, 255, 255, 0.35);
}

.sat-breadcrumb span:last-child {
  color: rgba(255, 255, 255, 0.85);
}

/* Hero title */
.guide-hero-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

/* Direct-answer paragraph */
.guide-hero-direct-answer {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 28px;
  max-width: 760px;
}

.guide-hero-direct-answer strong {
  color: #ffffff;
  font-weight: 600;
}

/* Trust badges */
.sat-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sat-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(4px);
}

.sat-badge .ti {
  color: var(--p1);
  font-size: 15px;
}

/* ========== TWO-COLUMN LAYOUT ========== */
.guide-body {
  background: var(--n10);
  padding: 60px 0 80px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 1024px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }
}

/* ========== STICKY TABLE OF CONTENTS ========== */
.guide-toc {
  position: sticky;
  top: 80px;
}

.toc-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.toc-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--n700);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--p1);
  display: inline-block;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--n500);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-weight: 500;
  line-height: 1.4;
}

.toc-list li a:hover {
  background: var(--p1-light);
  color: var(--p1);
}

.toc-list li a .ti {
  font-size: 13px;
  color: var(--p1);
  flex-shrink: 0;
}

/* Mobile TOC toggle */
.toc-mobile-toggle {
  display: none;
  width: 100%;
  background: #fff;
  border: 1px solid var(--n100);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--n700);
  cursor: pointer;
  text-align: left;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.toc-mobile-toggle .ti {
  font-size: 16px;
  color: var(--p1);
}

@media (max-width: 1024px) {
  .guide-toc {
    position: static;
  }

  .toc-mobile-toggle {
    display: flex;
  }

  .toc-card {
    display: none;
    margin-top: 0;
  }

  .toc-card.open {
    display: block;
  }
}

/* ========== GUIDE CONTENT AREA ========== */
.guide-content {
  min-width: 0;
}

/* ========== CONTENT SECTIONS ========== */
.guide-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  scroll-margin-top: 100px;
}

.guide-section h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--n700);
  margin: 0 0 16px;
  line-height: 1.25;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--n100);
}

.guide-section h3 {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: var(--n700);
  margin: 28px 0 12px;
  line-height: 1.3;
}

.guide-section h3:first-of-type {
  margin-top: 4px;
}

.guide-section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--n500);
  margin: 0 0 14px;
}

.guide-section p:last-child {
  margin-bottom: 0;
}

.guide-section strong {
  color: var(--n700);
  font-weight: 600;
}

.guide-section a {
  color: var(--p1);
  text-decoration: none;
  font-weight: 500;
  transition: opacity var(--transition);
}

.guide-section a:hover {
  opacity: 0.80;
  text-decoration: underline;
}

.guide-section ul,
.guide-section ol {
  padding-left: 20px;
  margin: 0 0 14px;
}

.guide-section li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--n500);
  margin-bottom: 6px;
}

.guide-section li strong {
  color: var(--n700);
}

/* Section intro text */
.section-intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--n500);
  margin: 0 0 24px;
  padding-bottom: 0;
}

/* ========== COST COMPARISON GRID ========== */
.cost-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.cost-card {
  background: var(--n10);
  border: 1px solid var(--n100);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
}

.cost-card.highlight {
  border-color: var(--p1);
  background: var(--p1-light);
  box-shadow: 0 0 0 2px rgba(226, 123, 13, 0.15);
}

.cost-card-flag {
  font-size: 28px;
  margin-bottom: 8px;
}

.cost-card-country {
  font-size: 13px;
  font-weight: 700;
  color: var(--n700);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.cost-card-amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--p1);
  line-height: 1;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.cost-card-label {
  font-size: 11px;
  color: var(--n300);
  font-weight: 500;
}

/* ========== STAT HIGHLIGHTS ========== */
.stat-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.stat-item {
  background: var(--n700);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--p1);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  line-height: 1.4;
}

/* ========== UNIVERSITY CARDS ========== */
.university-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.uni-card {
  background: var(--n10);
  border: 1px solid var(--n100);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: all var(--transition);
  border-left: 4px solid var(--n100);
}

.uni-card:hover {
  border-left-color: var(--p1);
  box-shadow: var(--shadow-md);
  transform: translateX(2px);
}

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

.uni-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--n700);
  line-height: 1.3;
  margin: 0;
}

.uni-location {
  font-size: 12px;
  color: var(--n300);
  font-weight: 500;
  margin-top: 2px;
}

.uni-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(47, 167, 95, 0.10);
  color: var(--s2);
  border: 1px solid rgba(47, 167, 95, 0.25);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.uni-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.uni-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--n100);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 12px;
  color: var(--n700);
  font-weight: 500;
}

.uni-meta-tag .ti {
  font-size: 13px;
  color: var(--p1);
}

.uni-programs {
  font-size: 13px;
  color: var(--n500);
  line-height: 1.6;
  margin: 0;
}

.uni-programs strong {
  color: var(--n700);
}

/* ========== ADMISSION TESTS SECTION ========== */
.test-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.test-card {
  background: var(--n10);
  border: 1px solid var(--n100);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition);
}

.test-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--p1);
}

.test-card-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--p1);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.test-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--n700);
  margin-bottom: 10px;
}

.test-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--n500);
  margin: 0;
}

/* ========== HOWTO STEPS ========== */
.howto-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 16px 0;
}

.howto-step {
  display: flex;
  gap: 20px;
  position: relative;
}

.howto-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--n100);
}

.howto-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--p1);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(226, 123, 13, 0.15);
  margin-bottom: 4px;
}

.howto-step-content {
  padding-bottom: 24px;
  padding-top: 6px;
  flex: 1;
}

.howto-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--n700);
  margin: 0 0 6px;
  line-height: 1.3;
}

.howto-step-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--n500);
  margin: 0;
}

.howto-step-desc a {
  color: var(--p1);
  font-weight: 500;
  text-decoration: none;
}

.howto-step-desc a:hover {
  text-decoration: underline;
}

/* ========== CHECKLIST ========== */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.checklist-category {
  margin-bottom: 6px;
}

.checklist-category-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--n300);
  margin-bottom: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--n100);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: var(--n10);
  border: 1px solid var(--n100);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--n700);
  font-weight: 500;
  line-height: 1.5;
}

.checklist-item .ti {
  font-size: 16px;
  color: var(--s2);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ========== DEADLINES TABLE ========== */
.deadline-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--n100);
  box-shadow: var(--shadow-sm);
  margin: 16px 0;
}

.deadline-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}

.deadline-table thead th {
  background: var(--n700);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 13px 16px;
  text-align: left;
  white-space: nowrap;
}

.deadline-table tbody tr:nth-child(even) {
  background: var(--n10);
}

.deadline-table tbody tr:hover {
  background: var(--p1-light);
}

.deadline-table tbody td {
  padding: 12px 16px;
  color: var(--n700);
  border-bottom: 1px solid var(--n100);
  line-height: 1.4;
}

.deadline-table tbody tr:last-child td {
  border-bottom: none;
}

.deadline-table .td-uni {
  font-weight: 600;
}

.deadline-table .td-early {
  color: var(--s2);
  font-weight: 600;
}

.deadline-table .td-regular {
  color: var(--p1);
  font-weight: 600;
}

.deadline-table .td-result {
  color: var(--n500);
  font-size: 13px;
}

.table-note {
  font-size: 12px;
  color: var(--n300);
  line-height: 1.6;
  margin: 8px 0 0;
  font-style: italic;
}

/* ========== COST TABLE ========== */
.cost-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--n100);
  box-shadow: var(--shadow-sm);
  margin: 16px 0;
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}

.cost-table thead th {
  background: var(--n700);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 13px 16px;
  text-align: left;
}

.cost-table tbody tr:nth-child(even) {
  background: var(--n10);
}

.cost-table tbody tr:hover {
  background: var(--p1-light);
}

.cost-table tbody td {
  padding: 12px 16px;
  color: var(--n700);
  border-bottom: 1px solid var(--n100);
  line-height: 1.4;
}

.cost-table tbody tr:last-child td {
  border-bottom: none;
}

/* ========== INFO CALLOUT ========== */
.info-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--p1-light);
  border: 1px solid rgba(226, 123, 13, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 20px 0;
  font-size: 14px;
  color: #7a4400;
  line-height: 1.6;
}

.info-callout .ti {
  font-size: 18px;
  color: var(--p1);
  flex-shrink: 0;
  margin-top: 1px;
}

.info-callout a {
  color: var(--p1);
  font-weight: 600;
  text-decoration: underline;
}

.tip-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(47, 167, 95, 0.08);
  border: 1px solid rgba(47, 167, 95, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 20px 0;
  font-size: 14px;
  color: #1a6639;
  line-height: 1.6;
}

.tip-callout .ti {
  font-size: 18px;
  color: var(--s2);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ========== SCHOLARSHIP LIST ========== */
.scholarship-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.scholarship-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--n10);
  border: 1px solid var(--n100);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.scholarship-item:hover {
  border-color: var(--p1);
  box-shadow: var(--shadow-sm);
}

.scholarship-icon {
  width: 40px;
  height: 40px;
  background: var(--p1-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scholarship-icon .ti {
  font-size: 20px;
  color: var(--p1);
}

.scholarship-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--n700);
  margin-bottom: 4px;
}

.scholarship-desc {
  font-size: 13px;
  color: var(--n500);
  line-height: 1.5;
  margin: 0;
}

/* ========== VISA STEPS ========== */
.visa-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.visa-step {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: var(--n10);
  border: 1px solid var(--n100);
  border-radius: var(--radius-md);
  align-items: flex-start;
}

.visa-step-num {
  width: 32px;
  height: 32px;
  background: var(--n700);
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.visa-step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--n700);
  margin-bottom: 4px;
}

.visa-step-desc {
  font-size: 13px;
  color: var(--n500);
  line-height: 1.55;
  margin: 0;
}

/* ========== ANANNT CTA CARD ========== */
.anannt-cta-card {
  background: linear-gradient(135deg, var(--n700) 0%, #1a2540 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.anannt-cta-card h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  padding-bottom: 0;
  border-bottom: none;
}

.anannt-cta-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.anannt-cta-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 24px 0 28px;
  text-align: left;
}

.anannt-service-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.anannt-service-item .ti {
  font-size: 18px;
  color: var(--p1);
  flex-shrink: 0;
  margin-top: 1px;
}

.anannt-service-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.4;
}

.anannt-cta-whatsapp {
  margin-top: 16px;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #25D366;
  text-decoration: none;
  transition: opacity var(--transition);
}

.whatsapp-link .ti {
  font-size: 18px;
}

.whatsapp-link:hover {
  opacity: 0.80;
  color: #25D366;
}

/* ========== LEAD CAPTURE FORM ========== */
.guide-form-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  border-top: 4px solid var(--p1);
  scroll-margin-top: 100px;
}

.guide-form-section h2 {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--n700);
  margin: 0 0 8px;
  line-height: 1.25;
}

.form-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--n500);
  margin: 0 0 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--n700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 2px solid var(--n100);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--n700);
  background: #fff;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--p1);
  box-shadow: 0 0 0 3px rgba(226, 123, 13, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.optional {
  font-weight: 400;
  color: var(--n300);
  font-size: 12px;
}

.form-disclaimer {
  font-size: 12px;
  color: var(--n300);
  text-align: center;
  margin-top: 12px;
  margin-bottom: 0;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--p1);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  margin-top: 8px;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--p1-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(226, 123, 13, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-primary.full-width {
  display: flex;
  width: 100%;
  margin-top: 16px;
}

/* ========== FAQ SECTION ========== */
.guide-faq-section {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  scroll-margin-top: 100px;
}

.guide-faq-section h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--n700);
  margin: 0 0 28px;
  line-height: 1.25;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--n100);
}

.faq-item {
  border: 1px solid var(--n100);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.open {
  border-color: var(--p1);
  box-shadow: 0 0 0 3px rgba(226, 123, 13, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--n700);
  font-family: inherit;
  transition: background var(--transition), color var(--transition);
}

.faq-question:hover {
  background: var(--p1-light);
  color: var(--p1);
}

.faq-item.open .faq-question {
  background: var(--p1-light);
  color: var(--p1);
}

.faq-arrow {
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--n300);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--p1);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  background: #fff;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeInUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--n500);
  margin: 0;
}

.faq-answer ul {
  font-size: 14px;
  line-height: 1.7;
  color: var(--n500);
  margin: 8px 0 0;
  padding-left: 20px;
}

.faq-answer a {
  color: var(--p1);
  font-weight: 500;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

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

/* ========== RELATED RESOURCES ========== */
.related-resources {
  background: var(--n700);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.related-resources h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 16px;
}

.related-resources ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.related-resources li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-weight: 500;
}

.related-resources li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.related-resources .ti {
  font-size: 13px;
  color: var(--p1);
  flex-shrink: 0;
}

/* ========== SUCCESS TOAST ========== */
#success-popup {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--s2);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  z-index: 9999;
  font-family: Inter, sans-serif;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  max-width: 340px;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
  .guide-hero-section {
    padding: 40px 0 36px;
  }

  .guide-body {
    padding: 32px 0 60px;
  }

  .guide-section {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  .guide-form-section {
    padding: 24px 20px;
  }

  .guide-faq-section {
    padding: 24px 20px;
  }

  .anannt-cta-card {
    padding: 28px 20px;
  }

  .cost-comparison-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .test-cards {
    grid-template-columns: 1fr;
  }

  .deadline-table {
    font-size: 13px;
  }

  .deadline-table thead th,
  .deadline-table tbody td {
    padding: 10px 12px;
  }
}

@media (max-width: 520px) {
  .guide-hero-title {
    font-size: 24px;
  }

  .sat-trust-badges {
    gap: 8px;
  }

  .sat-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .cost-comparison-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .howto-step-number {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .uni-card-header {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ========== PRINT ========== */
@media print {
  .header-section,
  .footer__four,
  .guide-toc,
  .anannt-cta-card,
  .guide-form-section,
  .related-resources,
  .sat-trust-badges {
    display: none !important;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-section {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
}
