/* Base Styles & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #1f78ff;
  --secondary-color: #35365f;
  --text-color: #141531;
  --text-light: #5c616c;
  --background-light: #e8f1ff;
  --background-accent: #b0cffd;
  --white: #ffffff;
  --border-color: #eaeaea;
  --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-blue: 0px 5px 21px rgba(64, 123, 255, 0.5);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 20px;
  --border-radius-xl: 32px;
  --transition: all 0.3s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  position: relative;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 3rem 0;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 686px;
  height: auto;
  z-index: -1;
}

.hero-content {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 5.25rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  max-width: 1012px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title span {
  color: var(--primary-color);
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-light);
  max-width: 817px;
  margin: 0 auto;
}

/* Registration Form */
.registration-container {
  /* background-color: #E9F2FF; */
  background: linear-gradient(to right, #e9f2ff 70%, #fdfdfd 100%);
  display: flex;
  flex-direction: row;
  /* border-radius: var(--border-radius-xl) var(--border-radius-xl) var(--border-radius-xl) 82px; */
  border-radius: 30px 0 160px 30px; /* Only bottom-right corner is curved */
  overflow: hidden;
  /* box-shadow: var(--shadow-light); */
  margin: 0 auto;
  max-width: 1440px;
}

.form-section {
  background-color: var(--background-light);
  padding: clamp(1.5rem, 4vw, 3.125rem);
  width: 50%;
  border-radius: var(--border-radius-xl) 0 0 82px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #4e5d7c;
  margin-bottom: 0.25rem;
}

.form-input-container {
  position: relative;
}

.select-icon{
  height:10px;
  width:10px;
}

option{
  height:10px;
  width:10px;
}


.form-input {
  width: 100%;
  height: 44px;
  padding: 0.75rem;
  padding-right: 2.5rem; /* Add space for the icon */
  border: 1px solid #caced8;
  border-radius: var(--border-radius-sm);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #30477a;
  box-sizing: border-box;
}
.arrow-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; /* Adjust as needed */
  height: 20px; /* Adjust as needed */
  pointer-events: none;
}

.form-input:focus {
  background-color: #fff;
  border-color: var(--primary-color, #1f78ff);
  transition: background 0.2s, border-color 0.2s;
  /* height: 2px;
  width: 2px; */
}

.form-input::placeholder {
  color: #caced8;
  font-weight: 300;
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

.form-col {
  flex: 1;
}

.phone-input-container {
  display: flex;
  gap: 0.5rem;
}

.country-code {
  width: 76px;
  position: relative;
}

.country-code .form-input {
  font-weight: 600;
  color: #8290b0;
  padding-right: 30px;
}

.arrow-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.phone-number {
  flex: 1;
}

.register-btn {
  width: 100%;
  height: 52px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-sm);
  font-family: "Open Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;

  margin-top: 1.875rem;
  transition: background-color 0.3s;
}



.register-btn:hover {
  background-color: #0a5ee0;
}

.student-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin-left: 10px;
}

/* Why Choose Us Section */
.why-choose-section {
  padding: clamp(3rem, 10vw, 6.25rem) 0;
  text-align: center;
  max-width: 1440px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.section-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 3.125rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.features-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.25rem);
  margin-top: 3.125rem;
  max-width: 1200px;
}

.feature-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: left;
  width: 100%;
  max-width: 1200px;
  min-height: 380px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-light);
}

.feature-icon-container {
  width: 68px;
  height: 68px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon-blue {
  background-color: var(--primary-color);
}

.feature-icon-dark {
  background-color: var(--secondary-color);
}

.feature-title {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.625rem;
}

.feature-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-light);
  flex-grow: 1;
}

.feature-indicator {
  align-self: flex-end;
  margin-top: 1rem;
}

/* Popular Courses Section */
.courses-section {
  padding: clamp(2rem, 5vw, 3.125rem) 0 clamp(3rem, 10vw, 6.25rem);
}

.courses-container {
  display: flex;
  /*flex-wrap: wrap;*/
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 1.55rem);
  margin-top: 3.125rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 364px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-light);
}

.course-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.course-content {
  flex: 1 1 auto;
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
}

.course-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 0.625rem;
}

.course-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 1.875rem;
}

.course-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end; /* Aligns arrow to the right */
  align-items: center;
  gap: 0.5rem;
}

.course-price {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--primary-color);
}

.course-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-light);
}

/* Learn Anywhere Section */
.learn-anywhere-section {
  padding: clamp(3rem, 10vw, 6.25rem) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(3rem, 8vw, 5rem);
  padding-bottom: 4rem;
}

.learn-image {
  width: 100%;
  max-width: 464px;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  margin: 0 auto;
  margin-left: 30px;
}

.learn-content {
  flex: 1;
  min-width: 300px;
}

.learn-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 1.875rem;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem; /* vertical and horizontal gap */
  /* margin-bottom: 1.875rem; */
  padding-left: 0;
  list-style: none;
}

/* Each feature item */
.feature-item {
  display: flex;
  align-items: flex-start; /* Aligns icon and text properly */
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.feature-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.4;
  word-break: break-word;
  font-weight: 600;
}

/* About Us Section */
.about-section {
  background-color: var(--secondary-color);
  padding: clamp(3rem, 8vw, 5rem) 0;
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; /* Center the content horizontally */
  gap: clamp(3rem, 6vw, 8rem);
}

/* Text + Button Column */
.about-content {
  flex: 1;
  min-width: 300px;
  max-width: 500px; /* Limit width for better readability */
  padding: 0 clamp(1rem, 4vw, 5rem);
}

/* Heading */
.about-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Description Text */
.about-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 80ch; /* Keeps line length readable like the image */
}

/* Image Section */
.about-image {
  width: 100%;
  max-width: 480px;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
}

/* Button */
.about-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-md);
  padding: 0.875rem 1.625rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.about-btn:hover {
  background-color: #0a5ee0;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.testimonials-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  position: relative;
}

.testimonial-card {
  width: 663px;
  border: 1px solid #eaeaea;
  border-radius: 0;
  padding: 36px;
  text-align: left;
  position: relative;
  background-color: white;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.testimonial-avatar {
  width: 74px;
  height: 74px;
  border-radius: 37px;
  overflow: hidden;
  margin-right: 14px;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
}

.author-title {
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  color: #5c616c;
}

.testimonial-text {
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  color: #141531;
}

.testimonial-nav {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
}

.nav-prev {
  background-color: #1f78ff;
  left: 340px;
  margin-top: 50px;
}

.nav-next {
  background-color: #35365f;
  right: 340px;
  margin-top: 50px;
}

/* Footer */
.footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 0; /* Remove gap if not needed */
}

.copyright {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
.payment-methods {
  display: flex;
  gap: 0.9375rem;
  flex-wrap: wrap;
  padding: 0 clamp(1rem, 3vw, 4.375rem);
}

.payment-icon {
  height: 20px;
}

/* Custom Navigation for Testimonials */
@media (min-width: 1201px) {
  .nav-prev {
    left: calc(50% - 380px);
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-next {
    right: calc(50% - 380px);
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.3;
  }

  .registration-container {
    max-width: 90%;
  }

  .nav-prev {
    left: 5%;
    bottom: -70px;
    top: auto;
  }

  .nav-next {
    right: 5%;
    bottom: -70px;
    top: auto;
  }
}

@media (max-width: 992px) {
  .registration-container {
    background: linear-gradient(
      to bottom,
      #e9f2ff,
      #fdfdfd
    ); /* Blue to white */
    flex-direction: column;
    gap: 3rem; /* Add this for spacing between form and image */
  }

  .form-section,
  .image-section {
    width: 100%;
  }

  .form-section {
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
  }

  .image-section {
    border-radius: 0 0 var(--border-radius-xl) var(--border-radius-xl);
    aspect-ratio: 16 / 9;
  }

  .student-image {
    max-height: 100%;
    width: auto;
    margin: 0 auto;
  }

  .learn-anywhere-section {
    flex-direction: column;
    text-align: center;
  }

  .learn-content {
    max-width: 100%;
  }

  .features-list {
    justify-content: center;
  }

  .about-section {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .about-content {
    padding: 0 1.25rem;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .form-row {
    flex-direction: column;
  }

  .phone-input-container {
    flex-direction: row;
  }

  .badge {
    padding: 6px;
  }

  .badge-icon {
    width: 40px;
    height: 40px;
  }

  .badge-text {
    font-size: 14px;
    margin-left: 10px;
    padding-right: 8px;
  }

  .student-badge {
    top: 30%;
  }

  .feature-card {
    min-height: auto;
    padding: 1.5rem;
  }

  .feature-icon-container {
    width: 50px;
    height: 50px;
  }

  .testimonial-card {
    padding: 1.25rem;
  }

  .testimonial-nav {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-description {
    font-size: 1rem;
  }

  .badge {
    transform: scale(0.8);
  }

  .student-badge {
    right: 0;
  }

  .mentor-badge {
    left: 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .feature-title {
    font-size: 1.25rem;
  }

  .course-card {
    max-width: 100%;
  }

  .course-image {
    aspect-ratio: 16 / 9;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .copyright,
  .payment-methods {
    padding: 0 1rem;
    margin: 0;
  }

  .payment-methods {
    justify-content: center;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for better accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  body.supports-dark-mode {
    --text-color: #f0f0f0;
    --text-light: #b0b5c0;
    --background-light: #1a1c2e;
    --background-accent: #253254;
    --white: #121320;
    --border-color: #2d2f42;

    background-color: var(--white);
    color: var(--text-color);
  }

  body.supports-dark-mode .form-input {
    background-color: #1a1c2e;
    color: #e0e0e0;
    border-color: #3a3d52;
  }

  body.supports-dark-mode .feature-card,
  body.supports-dark-mode .course-card,
  body.supports-dark-mode .testimonial-card {
    background-color: #1a1c2e;
    border-color: #2d2f42;
  }
}

/* Print styles */
@media print {
  .hero-background,
  .badge,
  .register-btn,
  .testimonial-nav,
  .about-btn {
    display: none;
  }

  .container {
    width: 100%;
    max-width: 100%;
  }

  .registration-container,
  .features-container,
  .courses-container,
  .learn-anywhere-section,
  .about-section {
    page-break-inside: avoid;
  }

  body {
    font-size: 12pt;
    line-height: 1.3;
  }

  a {
    text-decoration: none;
    color: #000;
  }
}

/* Enhanced Responsive Additions */

/* Better viewport handling */
@viewport {
  width: device-width;
  zoom: 1;
}

/* Improve fluid typography with better clamp values */
html {
  font-size: clamp(14px, 2vw, 16px);
}

/* Improve container responsiveness */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem); /* More responsive padding */
}

/* Make images more responsive */
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Enhance hero section responsiveness */
.hero-title {
  font-size: clamp(2rem, 5vw + 1rem, 5.25rem);
  word-wrap: break-word;
}

.hero-description {
  font-size: clamp(0.9rem, 1.5vw + 0.5rem, 1.25rem);
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Improve registration container */
.registration-container {
  width: clamp(300px, 90%, 1200px);
}

/* Enhance feature cards */
.feature-card {
  width: clamp(280px, 100%, 410px);
}

/* Make course cards more responsive */
.course-card {
  width: clamp(280px, calc(100% - 2rem), 364px);
}

/* Enhanced responsive behavior for sections */
.why-choose-section,
.courses-section,
.learn-anywhere-section,
.about-section,
.testimonials-section {
  padding: clamp(2rem, 5vw, 6.25rem) clamp(1rem, 3vw, 2rem);
  /* margin-bottom: 2rem; */
}

/* Better responsive handling for image sections */
.image-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Improve form responsiveness */
.form-input,
.register-btn {
  width: 100%;
  max-width: 100%;
}

/* Enhanced media queries */

/* Extra large screens */
@media (min-width: 1441px) {
  .hero-background {
    width: 100%;
    max-width: 800px;
  }

  .about-image {
    margin-right: clamp(50px, 5vw, 100px);
  }
}

/* Enhanced responsive behavior for extra small devices */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.75rem, 5vw, 2rem);
  }

  .section-title {
    font-size: 1.5rem;
  }

  .form-section {
    padding: 1.25rem;
  }

  .feature-card,
  .course-card,
  .testimonial-card {
    padding: 1rem;
  }

  .about-content {
    padding: 0 1rem;
  }

  .testimonial-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }

  .testimonial-avatar {
    margin: 0 auto 1rem;
  }

  .testimonial-author {
    align-items: center;
    width: 100%;
  }

  .testimonial-text {
    font-size: 1rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .about-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
    background: none;
  }

  .about-content {
    background: #35365f;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem 1rem 1rem 1rem;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
  }

  .about-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .about-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
    line-height: 1.5;
  }

  .about-btn {
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem 0;
    border-radius: 6px;
    margin-top: 0.5rem;
  }

  .about-image {
    display: none !important;
  }
}

/* Improve testimonial section responsiveness */
@media (max-width: 1200px) {
  .testimonials-container {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    width: clamp(280px, calc(100% - 2rem), 663px);
  }

  .testimonial-nav {
    position: static;
    margin: 1rem auto;
    transform: none;
  }

  .nav-prev,
  .nav-next {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px; /* Fixed width */
    height: 48px; /* Fixed height */
    border-radius: 8px;
    margin: 1rem;
    background-color: var(--primary-color); /* or different bg for each */
    color: white;
    transition: background-color 0.3s ease;
  }
}

/* Enhance grid layout for features */
@media (min-width: 768px) {
  .features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1rem, 2vw, 1.25rem);
    margin: 0 30px;
  }
}

/* Improve aspect ratios for better responsiveness */
.course-image {
  aspect-ratio: 1/1;
  width: 100%;
  object-fit: cover;
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
  .form-input,
  .register-btn,
  .about-btn,
  .testimonial-nav {
    min-height: 44px; /* Minimum touch target size */
  }

  /* Improve spacing between elements */
  .form-group {
    margin-bottom: 1.5rem;
  }

  /* Better spacing for stacked elements */
  .feature-card,
  .course-card {
    margin-bottom: 1.5rem;
  }
}

@media screen and (max-width: 418px) {
  .feature-item {
    flex-wrap: wrap;
    word-break: break-word;
    width: 100%;
    margin-bottom: 1rem;
  }

  .feature-text {
    font-size: 14px; /* slightly smaller text on very small screens */
  }

  .features-list {
    padding: 0 1rem; /* ensures some spacing from the edges */
  }
}

@media (max-width: 480px) {
  .learn-anywhere-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem; /* Add space between image and content */
    padding: 1.5rem 0;
    margin:0 30px;
  }
  .learn-image {
    max-width: 100%;
    width: 100%;
    margin: 0 auto 1.5rem auto;
    display: block;
  }
  .learn-content {
    max-width: 100%;
    width: 100%;
    padding: 0 1rem;
    text-align: center;
  }
}


