/* ===== BASE & LAYOUT ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f4f8;
  color: #2e3a45;
  line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 12px 25px;
  font-size: 16px;
  text-align: center;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  display: inline-block;
}

.btn-primary {
  background-color: #1ec8c8;
  color: white;
}

.btn-primary:hover {
  background-color: #003fa5;
}

.btn-secondary {
  background-color: #e64545;
  color: white;
}

.btn-secondary:hover {
  background-color: #c23535;
}

.btn-success {
  background-color: #22a554;
  color: white;
}

.btn-success:hover {
  background-color: #1b7e3f;
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/* ===== HIGHLIGHT CARDS ===== */
.highlight-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.highlight-card {
  background-color: #f0f4f8;
  border-radius: 10px;
  flex: 1 1 300px;
  padding: 1.8rem 2rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.highlight-card:hover,
.highlight-card:focus-within {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.highlight-card h3 {
  margin-top: 0;
  color: #1f2a38;
  font-size: 1.6rem;
}

.highlight-card p {
  flex-grow: 1;
  color: #4a5766;
  font-size: 1rem;
  margin: 1rem 0 1.6rem 0;
}

.highlight-card a {
  align-self: flex-start;
  background-color: #1ec8c8;
  color: white;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.highlight-card a:hover,
.highlight-card a:focus {
  background-color: #1ec8c8;
  outline: none;
}

@media (max-width: 768px) {
  .highlight-links {
    flex-direction: column;
  }
}

/* ===== HOMEPAGE SECTIONS ===== */
.categories {
  display: flex;
  flex-direction: column;
  padding: 50px 24px;
  gap: 32px;
  max-width: 1200px;
  margin: auto;
}

.category {
  background: #ffffff;
  padding: 36px;
  border-radius: 12px;
  border: 1px solid #d5dde6;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.category:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.category h2 {
  margin-top: 0;
  color: #2e3a45;
}

.category p {
  color: #4a5766;
}

.category a {
  color: #1ec8c8;
  font-weight: bold;
  text-decoration: none;
  margin-top: 18px;
  display: inline-block;
}

.category a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .categories {
    flex-direction: row;
    justify-content: space-between;
  }

  .category {
    flex: 1;
    margin: 0 12px;
  }
}

.site-overview {
  max-width: 1100px;
  margin: 3rem auto 5rem auto;
  padding: 2.5rem 2rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
  color: #2e3a45;
  font-size: 1.1rem;
  line-height: 1.6;
}

.site-overview h2 {
  font-size: 2.2rem;
  color: #00cad1;
  margin-top: 0;
  margin-bottom: 1rem;
}

.site-overview p {
  color: #4a5766;
  margin-bottom: 1.4rem;
}


.btn-link {
  background-color: #1ec8c8;
  color: white;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn-link:hover {
  background-color: #1775b4;
}

/* Horizontal scroll banner styles */
.image-scroll-banner {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 0;
  scroll-behavior: smooth;
}

.image-scroll-banner::-webkit-scrollbar {
  height: 8px;
}

.image-scroll-banner::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

.image-scroll-banner::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.image-scroll-banner img {
  flex: 0 0 auto;
  height: 200px;        /* fixed height */
  width: auto;          /* auto width to maintain aspect ratio */
  object-fit: contain;  /* fit whole image */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  cursor: pointer;
}

.image-scroll-banner img:hover {
  transform: scale(1.05);
}


/* FAQ Accordion Styles */
.faq-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    position: relative;
    padding-right: 1.5rem;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0.5rem;
    padding-left: 1rem;
}

.faq-answer p {
    margin: 0.5rem 0;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    text-align: center;
    background-color: #f5f5f5;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero a.cta {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #1ec8c8;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.2s;
}

.hero a.cta:hover {
    background-color: #005fa3;
}