html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding: 20px;
  background-color: #f9f9f9;
  color: #333;
}
h1,
h2,
h3 {
  color: #005a87;
}
h1 {
  border-bottom: 3px solid #005a87;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
h2 {
  border-bottom: 2px solid #0074a8;
  padding-bottom: 5px;
  margin-top: 30px;
}
h3 {
  margin-top: 20px;
  color: #006699;
}
ul {
  margin-bottom: 20px;
}

/* Navigation Bar Styling */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #003366;
  /* background: #2C7A7B; */
  display: flex;
  /* justify-content: center; */
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  z-index: 1000;
  border-bottom: 2px solid #1ed3f3;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo-img {
  max-height: 50px;
  transition: transform 0.3s ease-in-out;
  border-radius: 50px;
}

.nav-logo-img:hover {
  transform: scale(1.05);
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease-in-out;
}

.nav-menu li {
  display: inline;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 8px 12px;
  transition: color 0.3s ease-in-out;
  white-space: nowrap;
  overflow-wrap: normal;
}

.nav-link:hover {
  color: #fdd790;
}

.nav-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .nav-toggle {
    display: block;
    width: 20%;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #003366;
    padding: 20px 0;
    text-align: center;
    transition: all 0.3s ease-in-out;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    padding: 10px 0;
  }
}

@media screen and (min-width: 769px) and (max-width: 1450px) {
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
  }

  .nav-menu li {
    display: inline-block;
    margin: 4px 6px;
  }

  .nav-link {
    padding: 6px 10px;
    font-size: 1rem;
  }
}

.welcome-header-h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.section-img {
  max-width: 240px;
  display: block;
  margin: 0 auto 20px;
  padding-top: 10px;
}

/* General Section Styling */
section {
  scroll-margin-top: 80px;
  padding: 40px;
  text-align: center;
  background-color: #ffffff;
  margin: 20px auto;
  /* max-width: 800px; */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.helpful-tool {
  color: #0e1b39;
  flex-direction: column;
  text-align: center;
  letter-spacing: 2px;
  font-size: 1.2rem;
  font-family: Georgia, "Times New Roman", Times, serif;
}

/* logo and title side by side */
.welcome-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
}

.welcome-title-first {
  font-size: 3rem;
  color: #0e1b39;
  font-weight: bold;
  letter-spacing: 1.5px;
  margin: 0 20px 10px 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
}

/* Style the company logo */
.company-logo {
  max-width: 80px;
  height: auto;
}

/* Section styling */
.company-header {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  /* max-width: 800px; */
  margin: 70px auto;
}

/* Welcome content styling */
.welcome-content ul {
  text-align: left;
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
  list-style-type: none;
}

.welcome-content li {
  font-size: 1.1rem;
  padding: 8px 0;
  line-height: 1.6;
  list-style: none;
}

/* Health Section */
.health-section {
  margin-top: 20px;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.health-section h3 {
  color: #2c3e50;
  font-size: 1.8rem;
}

.health-section p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

/* Fade-in effect */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  text-align: center;
  margin-top: 80px;
}
.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.mission-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}
.mission-text {
  max-width: 550px;
}
.mission-img {
  max-width: 500px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Case Studies Section Styling */
.case-studies-section {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
}

.section-title {
  color: #003366;
  margin-bottom: 30px;
  font-size: 2rem;
}

.case-studies-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.case-study-card {
  flex: 1;
  min-width: 280px;
  background-color: #f0f7ff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.case-study-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  background-color: #003366;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.case-study-btn:hover,
.case-study-btn.active {
  background-color: #b8860b;
}

.case-study-info {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  text-align: left;
  background-color: #ffffff;
}

/* custom scroll bar */
.case-study-card.active .case-study-info {
  max-height: 300px;
  overflow-y: auto;
  padding: 15px;
}

.case-study-info::-webkit-scrollbar {
  width: 6px;
}

.case-study-info::-webkit-scrollbar-thumb {
  background-color: #003366;
  border-radius: 5px;
}

.case-study-info::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 5px;
}

/* Service Breakdown Styling */
.brief-overview {
  text-align: center;
  font-size: 3rem;
}

.service-section {
  max-width: 1100px;
  margin: 50px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.service-card {
  background: #f8f9fa;
  border-left: 5px solid #005a87;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.service-card h2 {
  color: #005a87;
  font-size: 1.8rem;
  border-bottom: 2px solid #0074a8;
  padding-bottom: 5px;
  margin-bottom: 15px;
  text-align: center;
}

.service-card h3 {
  color: #006699;
  font-size: 1.4rem;
  margin-top: 15px;
}

.service-card ul {
  padding-left: 20px;
  list-style-type: disc;
  margin-bottom: 15px;
}

.service-card li {
  margin-bottom: 8px;
}

@media screen and (max-width: 768px) {
  .service-section {
    padding: 20px;
  }
}

/* Guardianship Section */
.guardianship {
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 20px auto;
  max-width: 900px;
}

.guardian-card {
  background-color: white;
  border-left: 5px solid #005a87;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  overflow: hidden;
}

.guardian-btn {
  width: 100%;
  background: #005a87;
  color: white;
  font-size: 1.2rem;
  padding: 12px 15px;
  border: none;
  text-align: left;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease;
}

.guardian-btn:hover {
  background-color: #b8860b;
}

.guardian-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.6s ease-out, padding 0.6s ease-out;
  text-align: left;
  background: #ffffff;
}

.guardian-card.active .guardian-content {
  max-height: 400px;
  padding: 15px;
  overflow-y: auto;
}

.guardian-content::-webkit-scrollbar {
  width: 6px;
}

.guardian-content::-webkit-scrollbar-thumb {
  background-color: #005a87;
  border-radius: 5px;
}

.guardian-content::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 5px;
}

.guardian-content ul,
.guardian-content ol {
  padding-left: 20px;
  list-style-type: none;
}

.guardian-content li {
  margin-bottom: 8px;
}

.guardian-content h3 {
  color: #005a87;
  margin-top: 10px;
}

@media screen and (max-width: 768px) {
  .guardianship {
    padding: 20px;
  }

  .guardian-btn {
    font-size: 1rem;
    padding: 10px;
  }

  .guardian-content {
    padding: 10px;
  }
}

/* Communication Goal Section */
.communication-goal {
  background-color: #fdfdfd;
  padding: 40px 20px;
}

.communication-goal .container {
  max-width: 800px;
  margin: 0 auto;
}

.communication-goal h2 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}

.communication-goal p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  list-style: none;
}

.communication-goal .goal-example {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
}

.communication-goal .goal-example h3 {
  font-size: 1.5em;
  margin-top: 20px;
}

.communication-goal .goal-example ul {
  list-style-type: disc;
  padding-left: 20px;
  list-style: none;
}

.communication-goal .goal-example ul li {
  margin-bottom: 10px;
}

/* Activities Section Styling */
.activities-section {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
}

.section-title {
  color: #003366;
  margin-bottom: 30px;
  font-size: 2rem;
}

.activities-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.activity-card {
  flex: 1;
  min-width: 280px;
  background-color: #f0f7ff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.activity-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  background-color: #003366;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.activity-btn:hover,
.activity-btn.active {
  background-color: #b8860b;
}

.activity-info {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  text-align: left;
  background-color: #ffffff;
}

.activity-info ul {
  padding: 10px 0;
  list-style: disc inside;
  color: #333;
}

.activity-info ul li {
  margin: 8px 0;
}

.activity-card.active .activity-info {
  max-height: 400px;
  padding: 15px;
}

/* Human Rights here  */
#human-rights-compliance {
  background-color: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
}

.overview-info {
  margin: 0 auto;
  text-align: center;
  max-width: 800px;
}

.rights-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.rights-box {
  background: #fff;
  border: 2px solid #b8860b;
  border-radius: 8px;
  padding: 20px;
  max-width: 350px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.rights-box:hover {
  transform: scale(1.05);
}

.scrollable-container {
  max-height: 400px;
  overflow-y: auto;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.scrollable-container::-webkit-scrollbar {
  width: 8px;
}

.scrollable-container::-webkit-scrollbar-thumb {
  background-color: #005a87;
  border-radius: 5px;
}

.scrollable-container::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 5px;
}

.rights-box h3 {
  color: #0a3d62;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.rights-box p {
  font-size: 1em;
  color: #333;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .rights-box {
    flex: 1 1 100%;
  }
}

/* ! FAQ Section  */
.faqsection {
  max-width: 800px;
  margin: 40px auto;
  padding: 10px 20px;
}

.faq-section {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
}

.faq-question {
  font-weight: bold;
  color: #005a87;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 10px;
}

.faq-question:hover {
  background-color: #e5f6ffda;
  border-radius: 10px;
  padding: 10px;
}

.faq-answer {
  display: none;
  margin-top: 10px;
  padding-left: 15px;
  border-left: 3px solid #005a87;
  font-size: 1rem;
  line-height: 1.6;
}

@media screen and (max-width: 600px) {
  .faqsection {
    padding: 0 10px;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }
}

/* Partnership & Ads  */
.partnership-section {
  background: #f8f9fa;
  border-left: 5px solid #005a87;
  padding: 20px;
  margin: 40px auto;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.partnership-section h2 {
  color: #005a87;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.partnership-section p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

.partnership-section a {
  color: #b8860b;
  font-weight: bold;
  text-decoration: none;
}

.partnership-section a:hover {
  text-decoration: underline;
}

/* ! Contact & Legal Card Styling */
#contact-legal-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
}

#contact-legal-card h2 {
  color: #003366;
  margin-bottom: 15px;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.info-button {
  background-color: #003366;
  color: white;
  padding: 12px 18px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.info-button:hover {
  background-color: #b8860b;
}

/* Checklist  */

.checklist-section {
  background: #ffffff;
  padding: 40px 20px;
  border-left: 5px solid #005a87;
  margin: 40px auto;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.checklist-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  text-align: left;
}

.checklist-content.active {
  max-height: 600px;
  overflow-y: auto;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.checklist-content::-webkit-scrollbar {
  width: 8px;
}

.checklist-content::-webkit-scrollbar-thumb {
  background-color: #005a87;
  border-radius: 5px;
}

.checklist-content::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 5px;
}

.checklist-section h2 {
  font-size: 2rem;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
}

.checklist-section p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.checklist-container ul {
  list-style: none;
  padding-left: 0;
}

.checklist-container li {
  background: #f0f7ff;
  margin-bottom: 10px;
  padding: 10px 15px;
  border-radius: 6px;
  border-left: 5px solid #005a87;
  font-size: 1rem;
}

.download-btn {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  padding: 12px 20px;
  background-color: #003366;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}

.download-btn:hover {
  background-color: #b8860b;
}

/* ! Turning 22 */
.transition-section {
  background-color: #f5faff;
  padding: 40px 20px;
  border-left: 5px solid #0077b6;
  margin: 40px auto;
  max-width: 950px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 119, 182, 0.1);
}

.transition-title {
  font-size: 2rem;
  color: #005a87;
  text-align: center;
  margin-bottom: 20px;
}

.transition-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #333;
}

.transition-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
}

.transition-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-left: 5px solid #005a87;
  border-radius: 8px;
  overflow: hidden;
}

.transition-btn {
  width: 100%;
  padding: 15px;
  background: #005a87;
  color: white;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  text-align: center;
}

.transition-btn:hover {
  background-color: #b8860b;
}

.transition-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  background: #fff;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.transition-content li {
  list-style: none;
}

.transition-card.active .transition-content {
  max-height: 500px;
  padding: 15px;
}

/* ! ABA and BCBA section  */
.aba-section {
  background-color: #fdfdfd;
  padding: 40px 20px;
  border-left: 5px solid #005a87;
  margin: 50px auto;
  max-width: 950px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.aba-dropdown-container {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.aba-dropdown-card {
  border: 1px solid #ccd;
  border-radius: 8px;
  background-color: #fff;
  overflow: hidden;
}

.aba-toggle {
  width: 100%;
  background-color: #e0e6f7;
  color: #333;
  font-size: 1.1em;
  font-weight: bold;
  padding: 0.8em;
  text-align: center;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.3s ease;
}

.aba-toggle:hover {
  background-color: #d0d8f0;
}

.aba-dropdown {
  display: none;
  padding: 1em;
  background-color: #fcfcff;
  font-size: 0.96em;
  line-height: 1.5em;
  text-align: center;
}

.aba-dropdown li {
  list-style: none;
}

.aba-dropdown.show {
  display: block;
}

.aba-disclaimer {
  margin-top: 1.5em;
  font-size: 0.9em;
  color: #555;
  text-align: center;
}

/* ! Audit Section */
.audit-section {
  background-color: #fdfdfd;
  padding: 40px 20px;
  border-left: 5px solid #005a87;
  margin: 50px auto;
  max-width: 950px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.audit-card {
  background: #f0f7ff;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin: 20px 0;
  overflow: hidden;
}
.audit-btn {
  width: 100%;
  padding: 15px;
  background: #005a87;
  color: white;
  font-size: 1.2rem;
  border: none;
  text-align: left;
  cursor: pointer;
}
.audit-btn:hover {
  background: #b8860b;
}
.audit-content {
  max-height: 0;
  overflow: hidden;
  background: #ffffff;
  padding: 0;
  transition: all 0.4s ease-in-out;
}
.audit-content ul {
  list-style: none;
  padding: 15px 20px;
}
.audit-content li {
  margin-bottom: 10px;
}

.audit-box {
  background: #f0f7ff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 20px;
  margin: 20px 0;
}

.audit-box h3 {
  color: #003366;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.audit-box ul {
  list-style-type: disc;
  list-style: none;
  padding-left: 20px;
}

.audit-summary {
  font-style: italic;
  font-size: 1rem;
  color: #444;
  margin-top: 20px;
}

/* ! New England State Services  */
.dds-region-ranking {
  background-color: #fefefe;
  padding: 2em;
  border-top: 1px solid #ddd;
}

.dds-ranking-container {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.dds-ranking-card {
  background-color: #fff;
  border: 1px solid #ccc;
  border-left: 5px solid #425785;
  border-radius: 4px;
  overflow: hidden;
}

.dds-btn {
  width: 100%;
  text-align: left;
  font-weight: 700;
  padding: 1em;
  background-color: #425785;
  color: white;
  font-size: 1.2em;
  border: none;
  cursor: pointer;
}

.dds-btn:hover {
  background-color: #2f3e63;
}

.dds-content {
  padding: 1em;
  display: none;
  background-color: #fdfdfd;
  border-top: 1px solid #ccc;
}

.dds-ranking-card.active .dds-content {
  display: block;
}

/* ! Resources  */
/* Verified Badge */
.verified-resource-badge {
  background-color: #eaf5ea;
  padding: 1rem;
  margin-top: 2rem;
  border-top: 2px solid #83b683;
  border-radius: 8px;
  text-align: center;
}
.verified-label {
  font-weight: bold;
  color: #336633;
}
.verified-subtext {
  color: #4a6b4a;
  font-size: 0.9rem;
}

/* Reference Section */
.reference-section {
  background-color: #f7f7fc;
  padding: 2em;
  margin-top: 3em;
  border-top: 2px solid #ccddee;
}
.reference-section h2 {
  font-size: 1.8rem;
  color: #223355;
  margin-bottom: 1rem;
}
.reference-container {
  margin-top: 1rem;
}
.scrollable-reference {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 1rem;
  background-color: #ffffff;
  border-radius: 6px;
}
.scrollable-reference ul {
  list-style-type: none;
  padding-left: 1.2rem;
}
.scrollable-reference li {
  margin-bottom: 0.7rem;
}
.scrollable-reference a {
  color: #004488;
  text-decoration: none;
}
.scrollable-reference a:hover {
  text-decoration: underline;
}

/* ! About Section  */
.about-section {
  background-color: #f8fbff;
  padding: 3em 1.5em;
  border-top: 3px solid #004c99;
  border-bottom: 3px solid #004c99;
  font-family: "Georgia", serif;
  color: #222;
  line-height: 1.7;
  box-shadow: inset 0 0 10px rgba(0, 76, 153, 0.05);
}

.about-section h2 {
  font-size: 2rem;
  text-align: center;
  color: #004c99;
  font-weight: 600;
  margin-bottom: 1em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #004c99;
  display: inline-block;
  padding-bottom: 0.25em;
}

.about-section p {
  max-width: 800px;
  margin: 0 auto 1.5em auto;
  font-size: 1.05rem;
  text-align: justify;
}

.about-section strong {
  color: #003366;
  font-weight: bold;
}

.about-section a {
  color: #004c99;
  font-weight: 600;
  text-decoration: underline;
}

.about-section a:hover {
  color: #002244;
  text-decoration: none;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image-container {
  flex: 1 1 380px;
  text-align: center;
}

.about-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 76, 153, 0.15);
}

.about-text {
  flex: 1 1 500px;
  min-width: 320px;
}

.overview-info {
  margin-bottom: 30px;
}

/* Footer Styling */
.site-footer {
  background-color: #003366;
  color: #ffffff;
  padding: 20px;
  text-align: center;
  font-size: 0.95rem;
  margin-top: 50px;
  border-radius: 7px;
}

.footer-content p {
  margin: 0 0 10px 0;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #b8860b;
}

/* Under construction banner */
.under-construction {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fcb6b6;
}

/* Legal Links Section */
/* Main legal links container */
.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25em 2em; /* vertical and horizontal spacing */
  list-style: none;
  padding: 1.5em 1em;
  margin: 0 auto;
  max-width: 1000px;
  text-align: center;
}

/* Universal styling for all link items */
.legal-links li {
  font-size: 0.95rem;
}

/* All links */
.legal-links a {
  color: #f0f0f0;
  text-decoration: none;
  border-bottom: 1px dotted #f0f0f0;
  transition: color 0.3s, border-color 0.3s;
}

.legal-links a:hover {
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
}

/* Responsive layout for tablets and smaller */
@media (max-width: 768px) {
  .legal-links {
    flex-direction: column;
    align-items: center;
    gap: 0.75em;
    padding: 1em;
  }
}

/* Privacy & Terms links */
.privacyLink,
.termsLink .contactLink {
  display: inline-block;
  margin: 0 0.75em;
  font-size: 0.95rem;
  list-style: none;
  text-align: center;
}

.privacyLink a,
.termsLink a,
.contactLink a {
  color: #f0f0f0;
  text-decoration: none;
  border-bottom: 1px dotted #f0f0f0;
  transition: color 0.3s, border-color 0.3s;
}

.privacyLink a:hover,
.termsLink a:hover,
.contactLink a:hover {
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
}

/* Responsive adjustment */
@media (max-width: 600px) {
  .privacyLink,
  .termsLink {
    display: block;
    margin: 0.5em 0;
  }
}

/* === Base === */
body {
  font-family: "Arial", sans-serif;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #222;
}

/* === Layout Wrapper for Consistent Centering === */
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* === Header / Navbar === */
header,
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 20px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

nav a {
  margin: 0 10px;
  font-size: 1rem;
  text-decoration: none;
  color: #333;
}

/* === Goals Section === */
.goals-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

/* === Case Studies / Modal Grid === */
.case-studies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

/* === Scroll Box Section (e.g. Consumer Rights) === */
.scroll-box {
  max-height: 400px;
  overflow-y: auto;
  padding: 15px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 5px;
}

/* === Buttons === */
button {
  padding: 12px 20px;
  font-size: 1rem;
  border: none;
  background: #0057b8;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #003f8a;
}

/* ! ===  Responsive Breakpoints === */
/* --- Large screens (desktops, 1280px+) --- */
@media (min-width: 1280px) {
  .main-wrapper {
    padding: 40px;
  }
}

/* --- Medium screens (laptops, 1024px–1279px) --- */
@media (max-width: 1279px) {
  nav a {
    font-size: 0.95rem;
  }
}

/* --- Tablets (768px–1023px) --- */
@media (max-width: 1023px) {
  .goals-section,
  .case-studies {
    grid-template-columns: 1fr 1fr;
  }

  .scroll-box {
    max-height: 300px;
  }

  button {
    padding: 10px 16px;
  }
}

/* --- Phones (up to 767px) --- */
@media (max-width: 767px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    margin: 5px 0;
  }

  .goals-section,
  .case-studies {
    grid-template-columns: 1fr;
  }

  .scroll-box {
    max-height: 250px;
  }

  .main-wrapper {
    padding: 15px;
  }

  button {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
  }
}

/* --- Extra Small Phones (480px and below) --- */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  nav a {
    font-size: 0.9rem;
  }

  .scroll-box {
    max-height: 200px;
  }

  button {
    font-size: 1rem;
    padding: 12px;
  }
}

#email {
  color: #0072b1;
  font-weight: bold;
  cursor: default;
}
