/* Custom Styles for swipe text in Website */
.swipe-container {
    width: 100%;
    max-width: 600px;
    min-height: 300px;
    position: relative;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

.swipe-container-lightblue {
    width: 100%;
    max-width: 600px;
    min-height: 300px;
    position: relative;
    background: #e0e7ff;  /*   #EFF6FF */
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}



.swipe-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  padding-left: 0.5rem;   /* 8px - standard Tailwind px-2 */
  padding-right: 0.5rem;  /* 8px - standard Tailwind px-2 */
  font-size: 0.5rem;   
}

/* Responsive breakpoint for md (min-width: 768px) */
@media (min-width: 768px) {
  .swipe-slide {
    align-items: flex-start;
  }
}

.swipe-slide h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.5rem; /* Uses responsive sizing */
}

.swipe-slide p {
    color: #666;
    font-size: 14px;
    line-height: 1.5; /* Improves readability on mobile */
}

@keyframes fade-effect {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.swipe-heading {
  font-size: 1.25rem;       /* text-2xl (default mobile) */
  font-weight: 700;        /* font-bold */
  line-height: 1.25;       /* leading-tight */
  margin-bottom: 1rem;     /* mb-4 */
  color: #006d77;          /* text-blue-800 #1e40af */
  word-break: break-word;  /* break-words */
  white-space: normal;     /* whitespace-normal */
}

/* sm breakpoint (640px and up) */
@media (min-width: 640px) {
  .swipe-heading {
    font-size: 2.25rem;    /* text-4xl */
  }
}

/* md breakpoint (768px and up) */
@media (min-width: 768px) {
  .swipe-heading {
    font-size: 3rem;       /* text-5xl */
  }
}

.swipe-small-text  {
  font-size: 1rem;          /* text-base */
  margin-bottom: 2rem;      /* mb-8 */
  color: #4b5563;           /* text-gray-600 (approximate hex) */
  overflow-wrap: break-word;/* break-words */
  word-break: break-word;   /* break-words fallback */
  white-space: normal;      /* whitespace-normal */
  display: block;           /* block */
  width: 100%;              /* w-full */
  max-width: 100%;          /* max-w-full */
}

/* sm:text-lg */
@media (min-width: 640px) {
  .swipe-small-text{
    font-size: 1.125rem;
  }
}
