/* --- Global Variables & Resets --- */
:root {
  --font-sans: "Exo", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Exo", ui-sans-serif, system-ui, sans-serif;
  
  --primary-red: #df2225;
  --primary-red-hover: #df2225;
  --primary-red-light: #FEE2E2;
  
  --bg-dark: #09090b;
  --card-dark: #18181b;
  --border-dark: #27272a;
  
  --bg-light: #f7f1e9;
  --border-light: #E5E7EB;
  --text-dark: #111827;
  --text-muted: #3d2f2e;
  --text-subtle: #9CA3AF;
  
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* --- Reusable Components & Containers --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

.section-dark {
  background-color: #fff;
  color: #FFFFFF;
}

.bg-light {
  background-color: var(--bg-light);
}

.border-y {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.badge-tag, .badge-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-red);
}

.badge-accent-yellow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e3ad4b;
}

.footer-title {
  color: #fff;
  font-size: 2.75rem;
    font-weight: 600;
    line-height: 1.15;
    margin: 0.5rem 0 1rem;
}

.dot-red {
  width: 8px;
  height: 8px;
  background-color: var(--primary-red);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-top: 0.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
}

.icon-sm {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.check-icon {
  width: 16px;
  height: 16px;
  color: var(--primary-red);
  flex-shrink: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0.75rem 1.5rem;
}

.btn-round {
  border-radius: var(--radius-full);
}

.btn-primary {
  background-color: var(--primary-red);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background-color: var(--bg-light);
  border-color: #D1D5DB;
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--primary-red);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.btn-white:hover {
  background-color: #F3F4F6;
}

.btn-block {
  width: 100%;
  border-radius: 50px;
}

.icon-btn {
  gap: 0.5rem;
}

/* --- Top Bar --- */
.top-bar {
  background-color: #150a09;
  color: #c7c7c7;
  font-size: 0.75rem;
  padding: 0.625rem 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
}

.pulse {
  animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
}

.phone-link:hover {
  color: var(--primary-red-light);
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo-con {
  width: 25%;
}
.nav-con{
  width: 50%;
  display: flex;
    justify-content: center;
}
.cta-con {
  width: 25%;
  display: flex;
    justify-content: flex-end;
}
.nav-left {
  display: flex;
  align-items: center;
}

.logo {
  width: 50%;
}

.logo-accent {
  color: var(--primary-red);
}

.logo-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-subtle);
  border-left: 1px solid var(--border-light);
  padding-left: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-dark);
}

/* --- Hero Section --- */
.hero-section {
  padding: 4rem 0 5rem;
  background: #fdf9fa;
}

.hero-grid {
  display: flex;
  gap: 3rem;
  align-items: start;
}
.hero-content {
  width: 50%;
}
.hero-form-wrapper {
  width: 50%;
}
.hero-title {
  font-size: 3.25rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-top: 1rem;
}

.highlight-text {
  color: var(--primary-red);
  text-decoration-color: #FECACA;
  text-underline-offset: 6px;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1.5rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  max-width: 480px;
}

.stat-box h3 {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--text-dark);
}

.stat-box p {
  font-size: 0.675rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --- Lead Form / Dark Card --- */
.dark-card {
  background-color: #100606;
  color: #FFFFFF;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.dark-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.form-subtext {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: 0.25rem;
}

.lead-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.675rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.input-dark, .input-translucent, .input-light {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}

.input-dark {
  background-color: var(--card-dark);
  border: 1px solid var(--border-dark);
  color: #FFFFFF;
}

.input-dark:focus {
  border-color: var(--primary-red);
}

.form-disclaimer {
  font-size: 0.675rem;
  color: var(--text-subtle);
  text-align: center;
}

.card-checklist {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
}

.card-checklist h4 {
  font-size: 0.675rem;
  font-weight: 600;
  color: #f1f1f1;
  margin-bottom: 0.75rem;
}

.card-checklist ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.card-checklist li {
  font-size: 0.75rem;
  color: #D1D5DB;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

/* --- Exam Ticker --- */
.exam-pills-bar {
  background-color: #fffff5;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  overflow-x: auto;
}

.exam-pills-wrap {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 34px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pills-title {
  color: #3d2f2e;
  font-weight: 500;
}

.pill-item {
  cursor: pointer;
  transition: var(--transition);
}

.pill-item:hover {
  color: var(--primary-red);
}

/* --- Courses Section --- */
.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.course-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.course-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  border-color: #df2225;
  .card-footer a {
    color: #df2225;
  }
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.meta-tag {
  color: var(--primary-red);
}

.meta-type {
  color: var(--text-subtle);
}

.course-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.course-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-bullets li {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--primary-red);
}

.installment-badge {
  font-size: 0.675rem;
  color: var(--text-subtle);
}

/* --- Why RICE Grid --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}

.why-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.image-wrapper {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-light);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-box {
  background-color: #FFFFFF;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.box-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-red);
}

.feature-box h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0.75rem 0 0.5rem;
}

.feature-box p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Banner Red --- */
.banner-red {
  background-color: var(--primary-red);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 20px 25px -5px rgba(220, 38, 38, 0.2);
}

.banner-badge {
  font-size: 0.675rem;
  font-weight: 600;
  color: #e3ad4b;
  letter-spacing: 0.05em;
}

.banner-text h2 {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
}

.banner-text p {
  font-size: 0.875rem;
  color: #FEE2E2;
  line-height: 1.6;
}

.banner-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

.banner-form-box {
  background-color:color-mix(in oklab, #fdf9fa 5%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  width: 50%;
}

.banner-text {
  width: 50%;
}

.banner-form-box form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.banner-form-box label {
  color: #FEE2E2;
}

.input-translucent {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.input-translucent::placeholder {
  color: #FECACA;
}

.select-translucent option {
  color: var(--text-dark);
}

.form-disclaimer-light {
  font-size: 0.625rem;
  color: #FEE2E2;
  text-align: center;
}

/* --- How it Works --- */
.section-header {
  margin-bottom: 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.step-card {
  border: 1px solid var(--border-light);
  padding: 1.75rem;
  background-color: #FFFFFF;
}

.step-num {
  font-size: 0.675rem;
  font-weight: 600;
  color: var(--primary-red);
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.75rem 0 0.5rem;
}

.step-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Stats Strip --- */
.strip-dark {
  background-color: #000000;
  color: #FFFFFF;
  padding: 3.5rem 0;
  border-top: 1px solid #1F2937;
  border-bottom: 1px solid #1F2937;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: left;
}

.strip-item h3 {
  font-size: 2.75rem;
  font-weight: 600;
}

.strip-item p {
  font-size: 0.675rem;
  font-weight: 600;
  color: var(--text-subtle);
  margin-top: 0.5rem;
}

/* --- Reviews --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-symbol {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--primary-red);
  line-height: 1;
}

.review-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0.75rem 0 1.5rem;
}

.reviewer-info {
  border-top: 1px solid #F3F4F6;
  padding-top: 1rem;
}

.reviewer-info h4 {
  font-size: 0.75rem;
  font-weight: 600;
}

.reviewer-info p {
  font-size: 0.675rem;
  color: var(--text-subtle);
}

/* --- FAQ Accordion --- */
.faq-container-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}





/* Container styling with the exact warm off-white background */
.faq-section {
  width: 100%;
  font-family: "Exo", ui-sans-serif, system-ui, sans-serif;
  border-top: 1px solid #E6E1D8;
}

/* Individual list item border separator */
.faq-item {
  border-bottom: 1px solid #E6E1D8;
  padding: 1.5rem 0;
  transition: all 0.2s ease;
}

/* Button header container */
.faq-question {
    font-family: "Exo", ui-sans-serif, system-ui, sans-serif;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

/* Question bold typography */
.faq-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111111;
  letter-spacing: -0.01em;
  padding-right: 1.5rem;
}

/* Circular icon indicator (Default: Closed state "+") */
.faq-toggle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background-color: #ECE7DE;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Horizontal line of "+" */
.faq-toggle::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 1.5px;
  background-color: #1F2937;
  border-radius: 1px;
}

/* Vertical line of "+" */
.faq-toggle::after {
  content: '';
  position: absolute;
  width: 1.5px;
  height: 12px;
  background-color: #1F2937;
  border-radius: 1px;
}

/* Open State: Red circle with white "×" */
.faq-item.open .faq-toggle {
  background-color: #DC2626;
  transform: rotate(45deg);
}

.faq-item.open .faq-toggle::before,
.faq-item.open .faq-toggle::after {
  background-color: #FFFFFF;
}

/* Answer text area */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), margin-top 0.3s ease;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4B5563;
  margin: 0;
  max-width: 90%;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  margin-top: 1rem;
  transition: max-height 0.3s ease-in-out;
}




/* --- Pre-Footer Callout --- */
.cta-grid {
  background-color: #150a09;
  padding: 50px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cta-title {
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}

.cta-desc {
  font-size: 0.875rem;
  color: #9CA3AF;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 2rem;
}

.cta-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

.cta-bullets li {
  font-size: 0.75rem;
  color: #D1D5DB;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.white-card {
  background-color: #FFFFFF;
  color: var(--text-dark);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.footer-card {
  background-color: color-mix(in oklab, #fdf9fa 5%, transparent);
  color: var(--text-dark);
  border: 1px solid #fdfaf918;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.white-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.form-subtext-light {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.white-card form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-card form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.label-light {
  color: var(--text-muted);
}

.input-light {
  background-color: #fff;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}

.dark-light {
  background-color: #fdf9fa!important;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}

.input-light:focus {
  border-color: var(--primary-red);
}

.select-light {
  color: var(--text-dark);
}

.form-disclaimer-light-gray {
  font-size: 0.625rem;
  color: var(--text-subtle);
  text-align: center;
}

/* --- Footer --- */
.bottom-nav {
  display: flex;
    flex-direction: row;
    padding-bottom: 40px;
}

.intro {
  width: 50%;
}

.intro img {
  width: 12%;
}
.nav-course {
  width: 25%;
}

.nav-course p {
  padding-bottom: 6px;
}

.nav-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.nav-contact {
  width: 25%;
}
.nav-contact p {
  padding-bottom: 6px;
}

.footer {
  background-color: #150a09;
  color: var(--text-subtle);
  font-size: 0.75rem;
  padding: 3rem 0;
  border-top: 1px solid #1F2937;
}

.footer-form {
  background-color: color-mix(in oklab, #fdf9fa 5%, transparent);
  padding: 50px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  border: 1px solid #fdfaf918;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-subtle);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #FFFFFF;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25d366;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: #047857;
  transform: translateY(-2px);
}


.course-card:hover .card-footer a {
  color: #df2225;
}

/* --- Responsive Media Queries --- */

/* Large tablets / smaller laptops */
@media (max-width: 1100px) {
  :root {
    --container-max: 1100px;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.9rem;
  }

  .banner-red,
  .cta-grid,
  .footer-form {
    gap: 2rem;
    padding: 2.25rem;
  }
}

/* Tablets */
@media (max-width: 900px) {
  .section {
    padding: 4.5rem 0;
  }

  .logo-con {
    width: 22%;
  }

  .nav-con {
    width: 56%;
  }

  .cta-con {
    width: 22%;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.78rem;
  }

  .hero-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content,
  .hero-form-wrapper {
    width: 100%;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-form-wrapper {
    max-width: 760px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 6vw, 3.1rem);
  }

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

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

  .banner-red {
    flex-direction: column;
    align-items: stretch;
  }

  .banner-text,
  .banner-form-box {
    width: 100%;
  }

  .faq-container-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .bottom-nav {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .intro {
    width: 100%;
  }

  .nav-course,
  .nav-contact {
    width: calc(50% - 1rem);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  /* Header */
  .header {
    padding: 10px 0;
  }

  .nav-container {
    gap: 0.75rem;
  }

  .logo-con {
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .logo-con .logo {
    display: block;
    width: min(150px, 75%);
    height: auto;
    max-height: 48px;
    object-fit: contain;
    object-position: left center;
  }

  .nav-con {
    display: none;
  }

  .cta-con {
    width: auto;
    flex-shrink: 0;
  }

  .cta-con .btn {
    padding: 0.65rem 1rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  /* Top bar */
  .top-bar {
    padding: 0.55rem 0;
  }

  .top-bar-content {
    gap: 0.75rem;
  }

  .status-indicator {
    min-width: 0;
  }

  .status-indicator span {
    display: block;
    white-space: normal;
    font-size: 0.65rem;
    line-height: 1.25;
  }

  .phone-link {
    flex-shrink: 0;
    font-size: 0.65rem;
  }

  .phone-link span {
    display: none;
  }

  /* Hero */
  .hero-section {
    padding: 2.75rem 0 3.5rem;
  }

  .badge-tag {
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
  }

  .hero-title br {
    display: none;
  }

  .hero-desc {
    font-size: 0.9rem;
    margin-top: 1.25rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 0.75rem;
    padding-top: 1.75rem;
  }

  .stat-box h3 {
    font-size: 1.75rem;
  }

  .stat-box p {
    font-size: 0.58rem;
    line-height: 1.3;
  }

  .dark-card {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .dark-card h2 {
    font-size: 1.3rem;
  }

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

  .input-dark,
  .input-translucent,
  .input-light {
    min-height: 46px;
  }

  /* Exam bar */
  .exam-pills-bar {
    padding: 0.85rem 0;
  }

  .exam-pills-wrap {
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .exam-pills-wrap::-webkit-scrollbar {
    display: none;
  }

  .pills-title,
  .pill-item {
    flex-shrink: 0;
    font-size: 0.65rem;
  }

  /* Section headings */
  .section-header-split {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 7vw, 2.25rem);
  }

  .section-title br {
    display: none;
  }

  .section-subtitle {
    font-size: 0.8rem;
  }

  /* Courses */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .course-card {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .course-name {
    font-size: 1.25rem;
  }

  .card-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  /* Why */
  .why-right {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-box {
    padding: 1.5rem;
    border-radius: 18px;
  }

  /* Red banner */
  .banner-red {
    padding: 1.5rem;
    border-radius: 18px;
    gap: 1.5rem;
  }

  .banner-text h2 {
    font-size: 1.8rem;
  }

  .banner-form-box {
    padding: 1.25rem;
  }

  /* Steps / reviews / stats */
  .steps-grid,
  .reviews-grid,
  .strip-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    padding: 1.5rem;
  }

  .review-card {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .strip-grid {
    gap: 1.5rem;
    text-align: center;
  }

  .strip-item h3 {
    font-size: 2.25rem;
  }

  /* FAQ */
  .faq-container-grid {
    gap: 2rem;
  }

  .faq-title {
    font-size: 1rem;
    line-height: 1.4;
  }

  .faq-item {
    padding: 1.15rem 0;
  }

  .faq-toggle {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }

  .faq-answer p {
    font-size: 0.85rem;
    max-width: 100%;
  }

  /* CTA */
  .cta-grid {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .cta-title,
  .footer-title {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }

  .white-card,
  .footer-card {
    padding: 1.5rem;
    border-radius: 18px;
  }

  /* Footer */
  .footer {
    padding: 2.5rem 0;
  }

  .bottom-nav {
    flex-direction: column;
    padding-bottom: 2rem;
    gap: 1.75rem;
  }

  .intro,
  .nav-course,
  .nav-contact {
    width: 100%;
  }

  .intro img {
    width: 90px;
    max-width: 35%;
  }

  .footer-form {
    padding: 1.5rem;
    border-radius: 18px;
    gap: 1.5rem;
  }

  .footer-content {
    padding-top: 2rem;
    gap: 0.75rem;
  }

  /* Floating WhatsApp */
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    padding: 0.75rem;
    width: 46px;
    height: 46px;
    justify-content: center;
    border-radius: 50%;
  }

  .whatsapp-float span {
    display: none;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .container {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .top-bar-content {
    align-items: flex-start;
  }

  .status-indicator span {
    max-width: 190px;
  }

  .cta-con .btn {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-stats {
    gap: 0.4rem;
  }

  .stat-box h3 {
    font-size: 1.55rem;
  }

  .dark-card,
  .course-card,
  .banner-red,
  .cta-grid,
  .white-card,
  .footer-card,
  .footer-form {
    padding: 1.2rem;
  }
}

/* Prevent long text, phone numbers and form controls from causing overflow */
img,
svg {
  max-width: 100%;
}

input,
select,
button {
  max-width: 100%;
}

input,
select {
  min-width: 0;
}

a,
p,
h1,
h2,
h3,
h4,
li,
span {
  overflow-wrap: anywhere;
}
