﻿/* ===== Section ===== */
.useful-section {
  background: #f3f6fd;
}

/* ===== Common Card ===== */
.info-support-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding: 60px 80px;
  border: 1.5px solid #1e3a8a;
  border-radius: 14px;
  background: #dfe6fd;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ===== Icon ===== */
.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 100%;
  height: auto;
}

/* ===== Title ===== */
.info-support-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 14px;
}

/* ===== Information List ===== */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.info-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #1e3a8a;
  margin-bottom: 8px;
}

.info-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
  color: inherit;
}

/* ===== Hover ===== */
.info-support-card:hover {
    background: #1e3a8a;
    text-decoration: none;
}

.info-support-card:hover h4,
.info-support-card:hover .info-list li,
.info-support-card:hover .info-list li::before {
  color: #ffffff;
}

.center-card {
  justify-content: center;
}
.py-10 {
  padding-top: 5rem !important;
  padding-bottom: 8rem !important;
}
.ism-hmBanner_marquee {
  background: transparent !important;
}
.ism-hmBanner_marquee_value a {
  color: #1e3a8a;
}
.ism-hmBanner_marquee_label {
  background: transparent !important;
  color: #1e3a8a;
}
.ism-hmBanner_marquee_value {
    position: relative;
    display: flex;
    align-items: flex-start; /* Top-align for consistent positioning */
    min-height: 60px;
}

.quotes-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.quote {
    position: absolute;
    color: #1e3a8a;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    font-size: 16px; /* Adjust as needed */
    padding: 10px 15px;
    box-sizing: border-box;
    animation: quoteCycle 16s infinite linear;
    cursor: pointer;
}

.quote:nth-child(1) { animation-delay: 0s; }
.quote:nth-child(2) { animation-delay: 4s; }  /* 16s/4 = 4s */
.quote:nth-child(3) { animation-delay: 8s; }
.quote:nth-child(4) { animation-delay: 12s; }

@keyframes quoteCycle {
    0%, 2.5% { opacity: 0; }     /* Shorter fade-in/out */
    3%, 23% { opacity: 1; }      /* ~20% display time */
    24%, 100% { opacity: 0; }
}
.ism-hmBanner_marquee:hover .quote {
    animation-play-state: paused;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .info-support-card {
    margin-bottom: 24px;
    padding: 32px 20px;
  }

  .info-support-card h4 {
    font-size: 18px;
  }
  .support-helpdesk-card {
    margin-bottom: 24px;
    padding: 32px 29px;
  }
}
/* =========================
   MOBILE VIEW FIX
   ========================= */
@media (max-width: 767px) {

  /* Main marquee container */
  .ism-hmBanner_marquee {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }

  /* "Voice of Leaders" label */
  .ism-hmBanner_marquee_label {
    width: 100%;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ism-hmBanner_marquee_label p {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Marquee value area */
  .ism-hmBanner_marquee_value {
    width: 100%;
  }

  /* Quotes wrapper */
  .quotes-container {
    width: 100%;
    display: block;
  }

  /* Individual quote */
  .quote {
    font-size: 14px;
    line-height: 1.6;
    white-space: normal;     /* IMPORTANT: allow wrapping */
    word-break: break-word;
    padding: 8px 0;
  }

  /* Remove desktop animation overflow issues */
  .marquee-wrapper,
  .marquee-item {
    width: 100%;
    position: relative;
    transform: none !important;
    animation: none !important;
  }

}
