* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: "Cairo", "Quicksand", sans-serif; */
}

body {
  direction: rtl;
}

/* Exam Toggle Buttons */
.toggle-pricing-mode {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
}

.toggle-pricing-mode button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #e5e7eb;
  color: #333;
  position: relative;
  overflow: hidden;
}

.toggle-pricing-mode button i {
  margin-left: 8px;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.toggle-pricing-mode button:hover:not(.active) {
  opacity: 0.85;
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.toggle-pricing-mode button.active {
  background: linear-gradient(90deg, #4f46e5 0%, #764ba2 100%);
  color: #fff;
  border-width: 2px;
  box-shadow: 0 6px 32px rgba(118, 75, 162, 0.4);
  transform: scale(1.08);
}

.toggle-pricing-mode button.active i {
  transform: scale(1.1);
}

.toggle-pricing-mode button:not(.active) {
  opacity: 0.7;
  transform: scale(1);
}

/* Utility classes for flex */
.flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.gap-4 {
  gap: 16px;
}

.flex-wrap {
  flex-wrap: wrap;
}

.my-8 {
  margin-top: 32px;
  margin-bottom: 32px;
}

.px-8 {
  padding-left: 32px;
  padding-right: 32px;
}

.py-3 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.font-bold {
  font-weight: 700;
}

.text-lg {
  font-size: 1.125rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.border-2 {
  border-width: 2px;
}

.border-transparent {
  border-color: transparent;
}

.text-white {
  color: #fff;
}

.inline-flex {
  display: inline-flex;
}

.items-center {
  align-items: center;
}

.gap-2 {
  gap: 8px;
}

.faq-section {
  padding: 120px 24px 60px;
  background: linear-gradient(to bottom, #fff, #f8fafc);
}

.faq-section h1 {
  text-align: center;
  color: #2d3748;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
  background: linear-gradient(45deg, #2d3748, #4a5568);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-grid-desktop {
  display: none;
  max-width: 1000px;
  margin: 0 auto;
  gap: 24px;
}

.faq-grid-mobile {
  display: none;
  max-width: 800px;
  margin: 0 auto;
  gap: 16px;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: white;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-color: #4169e1;
}

.faq-question {
  padding: 24px;
  width: 100%;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  background: white;
  border: none;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #4169e1;
}

.faq-icon {
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f0f3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #4169e1;
  transition: all 0.3s ease;
  margin-left: 0;
  margin-right: 16px;
  font-weight: normal;
}

.faq-question.active .faq-icon {
  background: #4169e1;
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(to bottom, #f8fafc, white);
  border-top: 0px solid #e2e8f0;
}

.faq-answer.active {
  max-height: 300px;
  border-top-width: 1px;
}

.faq-answer p {
  padding: 24px;
  margin: 0;
  color: #64748b;
  line-height: 1.7;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 80px 16px 40px;
  }

  .faq-section h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .faq-question {
    padding: 20px;
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 20px;
    font-size: 0.95rem;
  }
}

@media (min-width: 769px) {
  .faq-grid-desktop {
    display: flex;
  }
}

@media (max-width: 768px) {
  .faq-grid-mobile {
    display: flex;
  }
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-row {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.payment-methods {
  display: flex;
  gap: 8px;
  align-items: center;
}

.payment-methods img {
  height: 25px;
  width: 40px;
  object-fit: contain;
  opacity: 0.9;
  transition: all 0.3s ease;
  filter: grayscale(20%);
}

.payment-methods img:hover {
  transform: translateY(-2px);
  filter: grayscale(0%);
}

@media (max-width: 1024px) {
  .nav-container {
    padding: 0 16px;
  }

  .pricing-grid {
    gap: 24px;
    padding: 0 16px;
  }

}

@media (max-width: 768px) {
  .navbar {
    padding: 12px;
  }

  .mobile-menu {
    width: 85%;
    border-radius: 24px 0 0 24px;
  }

  .mobile-menu-header {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .pricing-header h1 {
    font-size: 1.75rem;
    padding: 0 16px;
  }
}

/* Additional Responsive Fixes */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-menu {
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-buttons {
    gap: 0.5rem;
  }
}

/* Better Spacing and Container Widths */
.container {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Better Typography */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

.signup-form {
  max-width: 600px;
  margin: 0 auto;
}

.input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
  background: white;
  padding: 6px;
  border-radius: 50px;
  transition: transform 0.3s ease;
}

.input-group:focus-within {
  transform: translateY(-2px);
}

.input-group input {
  flex: 1;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  outline: none;
  border-radius: 50px;
}

.signup-btn {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.signup-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.signup-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .signup-form {
    padding: 0 1rem;
  }

  .input-group {
    flex-direction: column;
    background: transparent;
    padding: 0;
    gap: 1rem;
  }

  .input-group input {
    width: 100%;
    padding: 16px 24px;
    background: white;
  }

  .signup-btn {
    width: 100%;
    padding: 16px 24px;
  }

  .signup-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

.pricing-section {
  /* padding: 120px 24px 60px; */
  padding: 50px 24px 30px;
  /* background-color: #fff; */
}

.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-header h1 {
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 1rem;
  font-weight: 700;
}

.pricing-header .subtitle {
  color:#181d6c;
  /* color: #f75d5a; */
  /* color: green; */
  font-size: 1.125rem;
  font-weight: bolder;
  margin-bottom: 2rem;
}

.billing-toggle {
  display: inline-flex;
  background: #f0f3ff;
  padding: 4px;
  border-radius: 8px;
  margin: 0 auto;
  border: 1px solid #e2e8f0;
}

.toggle-btn {
  padding: 12px 24px;
  border: none;
  background: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: #718096;
  transition: all 0.2s ease;
  position: relative;
  min-width: 140px;
}

.toggle-btn:hover:not(.active) {
  color: #4169e1;
}

.toggle-btn.active {
  background: #4169e1;
  color: white;
  box-shadow: 0 2px 4px rgba(65, 105, 225, 0.2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 auto;
  max-width: 1300px;
  direction: rtl;
}

.pricing-grid.both {
  grid-template-columns: repeat(5, 1fr);
  max-width: 1300px;
}

.pricing-grid.both .pricing-column {
  min-height: auto;
}

.pricing-grid.both .popular-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.pricing-column {
  background: white;
  border: 1px solid #e2e8f0;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-column.popular {
  border: 1px solid #59bc6d;
  transform: translateY(-8px);
  z-index: 1;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.12);
}

.pricing-column.popular:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 32px rgba(76, 175, 80, 0.15);
}

.popular-badge {
  position: absolute;
  width: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #59bc6d;
  /* background: #f75d5a; */
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
  text-transform: uppercase;
}

.header-column {
  border: 1px solid #e2e8f0;
  background: white;
  display: flex;
  flex-direction: column;
}

.header-column h2 {
  color: #2d3748;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.plan-header {
  text-align: center;
  padding: 24px;
}

.plan-header h3 {
  font-size: 1.25rem;
  color: #2d3748;
  margin-bottom: 1rem;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 0.5rem;
  flex-wrap: nowrap; /* Prevent wrapping */
}

.currency {
  font-size: 1.25rem;
  color: #2d3748;
  font-weight: 600;
  vertical-align: top;
  display: inline-block; /* Keep currency inline */
}

.istudy-plus-plan{
  color:black;
  border:none;
}

.istudy-plus-plan-discount{
  color: #ee541d;
}
.amount {
  font-size: 2.5rem;
  /* color: #ee541d; */
  color:#181d6c;
  font-weight: 700;
  display: inline-block; /* Keep amount inline */
}

.amount.two {
  display: none;
}

.period {
  color: #718096;
  font-size: 0.875rem;
  white-space: nowrap;
  display: inline-block;
}

.period-number{
  font-weight: bold;
  font-size: large;
  color:#e53e3e;
  padding-bottom: 2px;
  margin: 0 3px 0 3px;
  font-size: medium;
}

.billing-period {
  color: #718096;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.get-started-btn {
  background: white;
  color: black;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(65, 105, 225, 0.15),
    0 2px 4px rgba(65, 105, 225, 0.1);
  margin: auto;
  border: none;
  padding: 12px 28px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 9rem;
  height: 50px;
  position: relative;
}

.get-started-btn:hover {
  transform: translateY(-2px);
  border: 1px solid #4169e1;
  box-shadow: 0 6px 12px rgba(65, 105, 225, 0.2);
}

.get-started-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(65, 105, 225, 0.1);
}

.pricing-column.popular .features-list {
  margin-top: 7px;
}

.sticky-pricing-header .get-started-btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.feature-category {
  color: black;
  font-weight: bold;
  background-color: #f7f7f9;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 1.5rem 0 1rem;
  text-transform: uppercase;
  text-align: center;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-category span {
  display: none;
}
.first-category {
  display: flex;
  justify-content: right;
  padding-right: 30px;
  text-align: center;
}
.first-list .feature-item {
  margin-left: 30px;
}
.first-category.advanced {
  margin-top: 60px;
}

.feature-item {
  padding: 8px 0;
  color: #2d3748;
  font-size: 0.9rem;
  font-weight: 500;
}

.check {
  color: #4caf50;
  font-weight: bold;
  font-size: 1.5rem;
}

.cross {
  color: #e53e3e;
  font-size: 1.5rem;
  font-weight: bold;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  .pricing-grid.both {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  .feature-category {
    display: block;
  }
  .feature-category span {
    display: flex;
    height: 35px;
    justify-content: center;
    align-items: center;
  }

  .header-column {
    display: none;
  }

  .pricing-column {
    padding: 24px;
  }

  .feature-item {
    display: flex;
    align-items: center;
  }

  .feature-item::before {
    content: attr(data-label);
    color: #718096;
    font-weight: 500;
  }
}

@media (max-width: 768px) {
  .pricing-section {
    padding: 100px 16px 40px;
  }

  .pricing-header h1 {
    font-size: 2rem;
  }

  .pricing-header .subtitle {
    font-size: 1rem;
  }

  .pricing-column.popular {
    transform: none;
  }
}

.plan-header {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  height: 220px;
  justify-content: space-between;
}

.features-list .feature-category:first-child {
  margin-top: 0;
}

.pricing-column {
  display: flex;
  flex-direction: column;
}

.feature-item {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Update pricing grid and column styles */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* display: flex;
  justify-content: center; */
  /* flex-wrap: wrap; */
  margin: 0 auto;
  max-width: 1300px;
}

/* Update header column styles */
.header-column {
  border: 1px solid #e2e8f0;
  background: white;
  display: flex;
  flex-direction: column;
}

.header-column .plan-header {
  min-height: auto;
  padding: 24px;
  text-align: left;
}

.header-column h2 {
  color: #2d3748;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

/* Hide plan headers in other columns on desktop */
@media (min-width: 798px) {
  input{
    width: 150px;
  }
}
@media (min-width: 1025px) {

  .pricing-column:not(.header-column) .plan-header h3 {
    display: none;
  }
}

/* Mobile styles */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .header-column {
    display: none;
  }

  .pricing-column {
    padding: 24px;
  }

  .plan-header {
    text-align: left;
    padding: 0 0 24px 0;
    min-height: auto;
  }

  .plan-header h3 {
    display: block !important;
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 1rem;
  }

  .feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
  }

  .feature-item::before {
    content: attr(data-label);
    color: #718096;
    font-weight: 500;
  }

  .features-list {
    padding: 0;
  }

  .pricing-column.popular {
    transform: none;
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Update feature items for better alignment */
.feature-item {
  min-height: 40px;
  display: flex;
  align-items: center;
}


/* Price and button alignment */
.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 0.5rem;

}

@media (max-width: 1024px) {
  .price {
    justify-content: flex-start;
  }
}

.coupon-section {
  padding: 60px 24px;
  background-color: #f7fafc;
  margin-top: 60px;
}

.coupon-container {
  max-width: 1300px;
  margin: 0 auto;
}

.coupon-content {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coupon-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.coupon-text {
  flex: 1;
}

.coupon-text h2 {
  color: #2d3748;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.coupon-text p {
  color: #718096;
  font-size: 1rem;
}

.coupon-form {
  flex: 1;
  max-width: 500px;
}

.coupon-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.coupon-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.coupon-input:focus {
  border-color: #4169e1;
  box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

.verify-btn {
  /* background: #4169e1; */
  background: #181d6c;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.verify-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(65, 105, 225, 0.2);
}

.coupon-message {
  font-size: 0.875rem;
  padding: 8px 0;
  display: none;
}

.coupon-message.success {
  color: #4caf50;
}

.coupon-message.error {
  color: #e53e3e;
}

/* Responsive styles */
@media (max-width: 768px) {
  .coupon-section {
    padding: 40px 16px;
    margin-top: 40px;
  }

  .coupon-content {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    text-align: center;
  }

  .coupon-text h2 {
    font-size: 1.5rem;
  }

  .coupon-form {
    width: 100%;
    max-width: 100%;
  }

  .coupon-input-group {
    flex-direction: column;
  }

  .verify-btn {
    width: 100%;
    padding: 16px 24px;
  }
}

/* Update sticky header styles */
.sticky-pricing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  transform: translateY(-100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  margin: 16px auto;
  width: 95%;
  max-width: 1300px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(229, 231, 235, 0.5);
  direction: rtl;
}

.sticky-pricing-header.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.sticky-pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: center;
}

.sticky-column {
  background: white;
  padding: 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.sticky-column:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: #e5e7eb;
}

.sticky-column.header-column {
  text-align: left;
  border: none;
  padding-left: 0;
}

.sticky-column.header-column:hover {
  transform: none;
  box-shadow: none;
}

.sticky-column.header-column h2 {
  font-size: 1.25rem;
  color: #2d3748;
  font-weight: 700;
  margin: 0;
}

.sticky-column h3 {
  font-size: 1rem;
  color: #2d3748;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.sticky-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 1rem;
}

.sticky-column .currency {
  font-size: 1rem;
  color: #2d3748;
  font-weight: 600;
}

.sticky-column .amount {
  font-size: 1rem;
  color: #ee541d;
  font-weight: 700;
}

.sticky-column .period {
  color: #718096;
  font-size: 0.875rem;
  margin-left: 2px;
}

.sticky-column.popular {
  position: relative;
  border-color: #59bc6d;
  background: linear-gradient(
    to bottom,
    rgba(89, 188, 109, 0.04),
    transparent
  );
}

.sticky-column.popular .popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #59bc6d;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(89, 188, 109, 0.2);
}

.sticky-column.popular:hover {
  border-color: #59bc6d;
  box-shadow: 0 4px 12px rgba(89, 188, 109, 0.1);
}

/* First, let's define CSS variables at the root level */
:root {
  --primary-color: #4169e1;
  --secondary-color: #59bc6d;
  --accent-color: #ff6b35;
  --text-dark: #2d3748;
  --text-light: #718096;
  --border-color: #e2e8f0;
  --bg-light: #f7fafc;
}

/* Now let's consolidate all media queries at the bottom of the CSS */
@media screen and (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
  }

}

@media screen and (max-width: 1024px) {
  /* Pricing Section */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
  }

  .header-column {
    display: none;
  }

  .sticky-pricing-header {
    display: none;
  }

  .pricing-column {
    padding: 24px;
  }

  .plan-header {
    text-align: left;
    padding: 0 0 24px 0;
    min-height: auto;
  }

  .feature-category {
    display: block;
  }

  .feature-category span {
    display: flex;
    height: 35px;
    justify-content: center;
    align-items: center;
  }

  .feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
  }

  .feature-item::before {
    content: attr(data-label);
    color: var(--text-light);
    font-weight: 500;
  }

  .features-list {
    padding: 0;
  }

  .pricing-column.popular {
    transform: none;
  }

  .price {
    justify-content: flex-start;
  }

  /* Exam Toggle Buttons - Tablet */
  .toggle-pricing-mode button {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 796px) {
  /* Exam Toggle Buttons - Mobile Portrait */
  .toggle-pricing-mode {
    width: 90%;
    flex-direction: column;
    align-items: stretch;
  }

  .toggle-pricing-mode button {
    width: 100%;
    margin-bottom: 12px;
  }
}

@media screen and (min-width: 797px) and (max-width: 1024px) {
  /* Exam Toggle Buttons - Tablet Range */
  .toggle-pricing-mode button {
    padding: 10px 16px;
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 768px) {
  /* Navigation */
  .nav-links,
  .nav-buttons {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  /* Pricing Section */
  .pricing-section {
    margin-top: 4rem;
    padding: 10px 0px;
  }

  .pricing-header h1 {
    font-size: 2rem;
  }

  .pricing-header .subtitle {
    font-size: 1rem;
  }

  /* FAQ Section */
  .faq-section {
    padding: 100px 16px 40px;
  }

  .faq-grid-desktop {
    display: none;
  }

  .faq-grid-mobile {
    display: flex;
    flex-direction: column;
  }

  /* Coupon Section */
  .coupon-section {
    padding: 40px 16px;
    margin-top: 40px;
  }

  .coupon-content {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    text-align: center;
  }
}

@media screen and (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .billing-toggle {
    width: 100%;
    max-width: 268px;
  }

  .toggle-btn {
    padding: 12px 16px;
    min-width: 120px;
    font-size: 0.9rem;
  }

  /* Exam Toggle Buttons - Mobile */
  .toggle-pricing-mode button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .social-links {
    align-items: center;
  }

  /* Exam Toggle Buttons - Small Mobile */
  .toggle-pricing-mode {
    width: 90%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .toggle-pricing-mode button {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
  }
}

/* Specific min-width queries */
@media screen and (min-width: 769px) {
  .faq-grid-desktop {
    display: flex;
    gap: 24px;
  }
  .faq-grid-mobile {
    display: none;
  }
}

@media screen and (min-width: 1025px) {
  .pricing-column:not(.header-column) .plan-header h3 {
    display: none;
  }

  .header-column{
    width: 20%;
  }
  .pricing-column{
    width: 30%;
  }
  .pricing-grid {
    display: flex;
    justify-content: center;
    margin: auto;
  }
}

@media (max-width: 767px) {
  .billing-period{
    display: none;
  }
  .price{
    justify-content: center;
  }
}

@media (max-width: 767px) and (min-width: 1025px) {
  .billing-period{
    display: none;
  }
}

