:root {
  --primary: #6366f1;
  --secondary: #22d3ee;
  --accent: #22d3ee;
  --highlight: #f2b700;
  --dark: #111827;
  --gray: #6b7280;
  --light: #f9fafb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: inherit;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
}

.btn-secondary {
  border: 1px solid #e5e7eb;
  padding: 0.6rem 1.2rem;
  border-radius: 26px;
  font-weight: 500;
}

/* ---------- GENERAL SECTION ---------- */
.section-full {
  width: 100%;
  padding: 5rem 1rem;
  margin: 0;
}

.section-full .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
/* Section heading + subheading style */
.section-full .container > h2 {
  font-size: 2.25rem; /* main heading */
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-full .container > p:first-of-type {
  font-size: 1.25rem; /* subheading */
  color: var(--gray);
  text-align: center;
  margin-bottom: 3rem;
}

/* ---------- HERO ---------- */
.hero {
  background: #f0f9ff;
}

/* Container */
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
  padding: 4rem 2rem 4rem 2rem;
}

/* Hero text */
.hero-text .badge {
  display: inline-block;
  background: #fff;
  border: 1px solid #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 500;
  color: #4f46e5;
  margin-bottom: 1rem;
}

.hero-text h1 {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: #1e293b;
}

.hero-text .subtitle {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(to right, #6366f1, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 0.5rem;
  line-height: 3rem;
}

.hero-text .description {
  font-size: 1.125rem;
  color: #475569;
  margin-top: 1rem;
  max-width: 500px;
}

.hero-text .tools {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-text .tools span {
  background: #fff;
  border: 1px solid #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #475569;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  border-radius: 25px;
  margin-top: 2rem;
}

.btn-primary {
  background: linear-gradient(to right, #6366f1, #0ea5e9, #06b6d4);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
  border-radius: 26px !important;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #f0f9ff;
}

/* Note */
.hero-text .note {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

/* Price card */
.price-card {
  position: relative;
  background: #fff;
  border-radius: 2rem;
  border: 1px solid #e2e8f0;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.price-card .badge-top {
  position: absolute;
  top: -1rem;
  right: -2rem;
  transform: rotate(45deg);
  background: linear-gradient(to right, #facc15, #f97316);
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
  text-align: center;
}

.price-card h5 {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
  color: #1e293b;
}

.price-card h4 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #1e293b;
}

.price-card h4 span {
  font-size: 1.4rem;
  font-weight: 600;
  color: #64748b;
}

.price-card ul {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.price-card ul li {
  margin-bottom: 0.5rem;
  color: #475569;
  padding-top: 6px;
  font-size: 1.125rem;
}

.price-card a.btn-primary {
  display: block;
  width: 100%;
  font-size: 1.125rem;
  text-align: center;
  margin-top: 2rem;
  border-radius: 25px;
}

/* ---------- FEATURES ---------- */
/* Container */
#features {
  background-color: #f9f9fa;
  padding: 60px 20px;
}
.feature-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

#features .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Section heading */
#features h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

#features p {
  font-size: 1.25rem;
  color: #6b7280;
  margin: 0 auto 2.5rem;
}

/* Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
/* Icon */
.feature-icon {
  text-align: left;
}

/* Icon size */
.feature-icon svg {
  width: 32px; /* increased from 32px */
  height: 32px; /* increased from 32px */
  stroke-width: 2; /* optional, keeps the stroke bold enough */
}
/* Feature card */
.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.feature-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Feature title */
.feature-card h4 {
  margin-top: 20px;

  font-size: 1.25rem;
  font-weight: 600;
  text-align: left;
  margin-bottom: 0.5rem;
}

/* Feature description */
.feature-card p {
  color: #374151;
  font-size: 0.95rem;
  text-align: left;
  font-size: 1rem !important;
  line-height: 1.5;
}

/* ---------- ACCORDION ---------- */

/* Center accordion and set fixed width */
#curriculum {
  background-color: white;
}
#curriculum p {
  font-size: 1.25rem;
}

#curriculum .accordion {
  width: 900px; /* fixed width */
  max-width: 100%; /* responsive on smaller screens */
  margin: 0 auto; /* center horizontally */
  display: flex;
  flex-direction: column;
  gap: 1rem; /* spacing between items */
}
/* Accordion */
.accordion-item {
  border-bottom: 1px solid #d1d5db;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.accordion-header span {
  background-color: #e5e7eb;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 30px;
}

/* Accordion content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  font-size: 0.95rem;
  color: #374151;
}

.accordion-item.active .accordion-content {
  max-height: 200px; /* enough for content, adjust if needed */
  padding: 15px 20px;
}

.module-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.module-list li {
  display: flex;
  align-items: center;
  gap: 8px; /* space between icon and text */
  padding: 5px 0;
}

/* ---------- TESTIMONIALS ---------- */
/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #111827;
}

/* Testimonials Grid */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Testimonial Card */
.testimonial {
  margin-top: 4rem;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Stars */
.stars {
  color: #facc15; /* yellow-400 */
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Testimonial Text */
.testimonial p {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 1.5rem;
}

/* Author Name */
.testimonial h4 {
  font-weight: 600;
  font-size: 1.125rem;
  color: #111827;
  margin-bottom: 0.25rem;
}

/* Author Role */
.testimonial span {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ---------- PRICING ---------- */

#pricing {
  background-color: white;
}
/* Section Heading */
.pricing-header {
  text-align: center;
  margin-bottom: 3rem;
}
.pricing-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.pricing-header p {
  font-size: 1.25rem;
  color: #6b7280;
}

/* Card */
.pricing-card {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

/* Badge */
.pricing-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #6366f1; /* primary gradient color can also use linear-gradient */
  color: #fff;
  text-align: center;
  padding: 0.5rem 0;
  font-weight: 600;
  font-size: 1rem;
}

/* Title & Price */
.pricing-top {
  text-align: center;
  padding: 3rem 2rem 2rem 2rem;
}
.pricing-top h3 {
  font-size: 2.125rem;
  font-weight: 700;
}
.price {
  margin-bottom: 0.5rem;
}
.price .new {
  font-size: 3.5rem;
  font-weight: 700;
  color: #6366f1; /* primary color */
}
.price .old {
  margin-left: 0.75rem;
  text-decoration: line-through;
  color: #555;
  font-weight: 500;
}
.price-desc {
  color: #555;
  font-size: 1.25rem;
}

/* Features List */
.pricing-features {
  list-style: none;
  padding: 0 2rem 2rem 2rem;
  margin: 0;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 1rem;
  color: #374151;
}

/* CTA Button */
.pricing-cta {
  padding: 0 2rem 2rem 2rem;
  text-align: center;
}
.pricing-cta .btn-primary {
  background: #6366f1;
  font-weight: 600;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  padding: 15px 0;
  font-size: 1.1rem;
  color: #fff;
  border-radius: 10px !important;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* ---------- Accordion ---------- */

/* Container */
.section-full {
  background-color: #f9fafb;
  padding: 4rem 2rem;
}

#faq .accordion {
  width: 900px; /* fixed width */
  max-width: 100%; /* responsive on smaller screens */
  margin: 0 auto; /* center horizontally */
  display: flex;
  flex-direction: column;
  gap: 1rem; /* spacing between items */
}

.container {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 1rem;
}

h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1e293b;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 50px !important;
}

.accordion-item {
  border-bottom: 1px solid #e5e7eb;
}

/* Accordion header: remove outline + add padding-x */
.accordion-header {
  cursor: pointer;
  padding: 1rem 1.5rem; /* ⬅️ increased left/right padding */
  font-weight: 600;
  position: relative;
  transition: color 0.3s;
  font-size: 1rem;
  outline: none; /* remove default outline */
  border: none; /* remove unwanted borders if any */
}

/* Remove outline when focused */
.accordion-header:focus,
.accordion-header:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Accordion content with horizontal padding */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem; /* ⬅️ added horizontal padding */
  font-size: 0.95rem;
  color: #475569;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  padding: 1rem 1.5rem; /* ⬅️ vertical + horizontal padding */
}

.accordion-header:hover {
  text-decoration: underline;
}

.accordion-content.open {
}

/* cta */
/* Section container */
#cta {
  background-color: white;
}

#cta .container {
  max-width: 768px; /* similar to max-w-4xl */
  margin: 0 auto;
  padding: 0 16px; /* responsive padding */
}

/* Headings */
.cta-title {
  font-size: 2rem; /* mobile */
  font-weight: 700;
  margin-bottom: 16px;
  color: #111827; /* foreground color */
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 2.5rem; /* larger for desktop */
  }
}

.cta-desc {
  font-size: 1.125rem; /* text-xl */
  color: #6b7280; /* muted-foreground */
  margin-bottom: 32px;
}

.text-center {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
/* Button */
#cta .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 1.125rem;
  font-weight: 500;
  background-color: #6366f1; /* primary */
  color: #fff;
  border-radius: 8px !important;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.btn-primary.cta-btn:hover {
  background-color: #4f46e5;
}

.cta-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* footer */
.footer-section {
  background-color: #111827;
  color: #d1d5db;
  padding: 4rem 1rem;
  font-family: sans-serif;
}

.footer-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Grid layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Footer item */
.footer-item .footer-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}

.footer-item .footer-text {
  color: #9ca3af;
  margin-bottom: 1rem;
}
.footer-heading-sec {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
}
.footer-heading {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.footer-item p {
  font-size: 1.075rem;
}
.footer-bottom p {
  font-size: 1.075rem;
}

.footer-links p {
  margin: 0.25rem 0;
  color: #9ca3af;
}

/* SVG icon styling */
.footer-icon {
  width: 32px;
  height: 32px;
  stroke: #6366f1; /* primary color */
}

/* Bottom copyright */
.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}
/* ---------- TABLET (641px–1023px) ---------- */
@media (min-width: 641px) and (max-width: 1023px) {
  .section-full {
    padding: 3.5rem 1.5rem;
  }

  /* Headings smaller */
  .section-full .container > h2,
  #features h2,
  .pricing-header h2,
  .section-title,
  .cta-title {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }

  .section-full .container > p:first-of-type,
  #features p,
  .pricing-header p,
  .cta-desc {
    font-size: 1.05rem;
    line-height: 1.6rem;
  }

  /* Hero */
  .hero .container {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
  }

  .hero-text .subtitle {
    font-size: 1.75rem;
    line-height: 2rem;
  }

  .hero-text .description {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  /* Price card center */
  .price-card {
    text-align: left;
    max-width: 500px;
    margin: 2rem auto; /* center horizontally */
  }
  .price-card h4 {
    font-size: 2.5rem;
    font-weight: 700;
  }

  /* Grids → 1 column */
  .features-grid,
  .testimonials {
    grid-template-columns: 1fr 1fr; /* two equal columns */
    gap: 1.5rem;
  }

  /* Accordion */
  #curriculum .accordion,
  #faq .accordion {
    width: 100%;
    padding: 0 1rem;
  }

  /* ✅ Tools center */
  .tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem auto;
  }
  .tools span {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
    background: #f5f5f5;
    border-radius: 4px;
  }
}

/* ---------- MOBILE (≤640px) ---------- */
@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .section-full {
    padding: 2.5rem 1rem;
  }

  /* Headings smaller */
  .section-full .container > h2,
  #features h2,
  .pricing-header h2,
  .section-title,
  .cta-title {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .section-full .container > p:first-of-type,
  #features p,
  .pricing-header p,
  .cta-desc,
  #curriculum p {
    font-size: 0.95rem;
    line-height: 1.5rem;
  }

  /* Hero */
  .hero .container {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.25rem;
    line-height: 1.2;
  }

  .hero-text .subtitle {
    font-size: 1.5rem;
    line-height: 1.6rem;
  }

  .hero-text .description {
    font-size: 0.95rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  /* Price card left align */
  .price-card {
    text-align: left;
  }
  .price-card h4 {
    font-size: 2rem;
    font-weight: 700;
  }
  .price-card ul li {
    margin-bottom: 0.5rem;
    color: #475569;
    padding-top: 6px;
    font-size: 1rem;
  }

  /* Testimonials */
  .testimonial {
    margin-top: 1.5rem;
    padding: 1.25rem;
  }

  /* Pricing */
  .pricing-top h3 {
    font-size: 1.4rem;
  }
  .price .new {
    font-size: 2rem;
  }
  .price-desc {
    font-size: 0.95rem;
  }

  /* ✅ Tools center */
  .tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.2rem auto;
  }
  .tools span {
    font-size: 0.9rem;
    padding: 0.35rem 0.7rem;
    background: #f5f5f5;
    border-radius: 4px;
  }
}

navbar-toggler {
  border: none; /* removes the border */
  box-shadow: none !important; /* removes focus outline shadow */
}

.navbar-toggler:focus {
  outline: none; /* removes the blue outline on click */
  box-shadow: none !important;
}
