/* ------------- Body Background Style -------------- */
body {
  background-image: url('../img/background.jpg'); /* Path to your background image */
  background-size: cover; /* Ensure the image covers the full screen */
  background-repeat: no-repeat; /* Prevent tiling */
  background-position: center center; /* Center the image */
  background-attachment: fixed; /* Keep the background fixed on scroll */
}
/* ------------- Section Header Style -------------- */
.section-header {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.section-header h1 {
    font-family: 'Lexend', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 2.7rem;
    color: #000000; /* Deep blue for strong impact */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem; /* Space for the line */
    text-align: center;
    margin-top: 67px;
    position: relative;
}
.section-header h1::after {
    content: '';
    display: block;
    width: 140px;
    height: 6px;
    background: linear-gradient(90deg, #940bfc, #02fddc);
    margin: 0 auto;
    border-radius: 2px;
    margin-top: 0.5rem;
}
/* ------------- Section About Us -------------- */
/* Introduction Section */
.introduction-section {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0; /* Reduced padding to minimize gap */
}
.introduction-content {
  padding: 1rem;
}
.introduction-content h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #1b02a8; /* Vivid blue for clarity */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.75rem;
}

.introduction-content p {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #000000; 
  line-height: 1.8;
}
/* Tab Navigation Bar */
.tab-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.tab-buttons {
  display: flex;
  list-style: none;
  padding: 0;
  border-bottom: 2px solid #054faa;
}
.tab-button {
  padding: 1rem 2rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  font-family: 'Manrope', sans-serif;
  font-size: 2.2rem;
  color: #000000; 
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.tab-button:hover {
  color: #61037e;
}
.tab-button.active {
  color: #0309b6;
  border-bottom: 2px solid #054faa;
  font-weight: bold;
}
/* Tab Content Area */
.tab-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0; /* Adjusted padding to reduce gap */
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}
.tab-section {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  height: auto; /* Removed fixed height */
}
.tab-image {
  flex: 1;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}
.tab-content-text {
  flex: 1;
  padding: 1rem;
}
.tab-content-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-family: 'Pacifico', cursive;
  font-weight: 300;
  color: #13036f; /* Vivid blue for clarity */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.tab-content-text p,
.tab-content-text ul {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #000000; /* Light blue for readability */
  line-height: 1.5;
}
.tab-content-text ul {
  list-style: none;
  padding: 0;
}
.tab-content-text ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

/* Separator Line */
.separator {
  max-width: 1200px;
  margin: 3rem auto 0rem;
  border: none;
 border-top: 4px solid #054faa;
}
/* Social Commitment Section */
#social-commitment {
  margin: 1rem auto 4rem; /* Add spacing above and below the section */
}
.social-commitment-section {
  max-width: 1200px; /* Match the width of other sections */
  margin: 0 auto;
  padding: 2rem;
}
.social-content {
  text-align: center; /* Center-align all text content */
  margin-bottom: 2rem; /* Add spacing between text and split content */
}
.social-content h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #1b02a8;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem; /* Reduced gap between heading and text */
}
.social-content p,
.social-content ul {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #000000; /* Light blue for readability */
  line-height: 1.6;
  text-align: left; /* Align paragraphs and lists to the left */
  margin: 0 auto; /* Center the text block */
  max-width: none; /* Remove max-width restriction to make text span full width */
}
.social-content ul {
  list-style: none;
  padding: 0;
}
.social-content ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}
.social-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2d89ef;
}
/* Split Content: Image and List */
.split-content {
  display: flex;
  align-items: flex-start; /* Align items at the top */
  justify-content: space-between; /* Distribute space evenly */
  margin-top: 2rem;
}
.social-image {
  flex: 1; /* Take up 50% of the width */
  padding-right: 1rem; /* Add spacing between image and list */
}
.social-image img {
  width: 100%; /* Make the image span the full width of its container */
  height: auto; /* Maintain aspect ratio */
  border-radius: 8px; /* Optional: Add rounded corners */
}
.social-list {
  flex: 1; /* Take up 50% of the width */
  padding-left: 1rem; /* Add spacing between list and image */
}
.social-list ul {
  list-style: none;
  padding: 0;
}
.social-list ul h3 {
  font-size: 2rem;
  font-family: 'Pacifico', cursive;
  font-weight: 300;
  color: #13036f; /* Vivid blue for clarity */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  margin-bottom: 22px;
}
.social-list ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #000000; /* Light blue for readability */
  line-height: 1.2;
}
.social-list ul li::before {
  content: "✯";
  position: absolute;
  left: 0;
  color: #000000;
}

/* Media Query for Tablets (e.g., iPad, 768px - 1140px) */
@media (max-width: 1140px) {
  /* General Adjustments */
  .introduction-section,
  .tab-content {
      padding: 1.5rem 1rem;
  }
  .tab-button {
      padding: 0.8rem 1.5rem;
      font-size: 1.8rem; /* Font size adjustment */
  }
  .tab-content-text h2 {
      font-size: 2.2rem; /* Font size adjustment */
  }
  .introduction-content p,
  .tab-content-text p,
  .tab-content-text ul,
  .social-content p,
  .social-content ul,
  .social-list ul li {
      font-size: 1.2rem; /* Consistent font size for p and li */
      line-height: 1.6; /* Consistent line height for p and li */
  }

  /* Split Content Layout Adjustment */
  .split-content {
      flex-direction: column; /* Stack image and list vertically */
  }
  .social-image {
      width: 80%; /* Adjust image width */
      margin-left: 0; /* Ensure no extra margin pushes the image */
      order: 1; /* Ensure the image appears above the list */
  }
  .social-list {
      width: 100%; /* Full-width list */
      order: 2; /* Ensure the list appears below the image */
      margin-top: 60px; /* Add spacing between image and list */
  }
  .separator {
      margin: 0.1rem auto 0rem;
      max-width: 1000px;
  }
}

/* Media Query for Small Tablets and Large Phones (e.g., 480px - 768px) */
@media (max-width: 768px) {
  /* General Adjustments */
  .introduction-section,
  .tab-content {
      flex-direction: column; /* Stack elements vertically */
      padding: 1rem;
  }
  .tab-section {
      flex-direction: column; /* Stack image and text vertically */
  }
  .tab-image {
      width: 100%; /* Full-width images */
      order: 1; /* Ensure the image appears above the text */
  }
  .tab-content-text {
      width: 100%; /* Full-width text */
      order: 2; /* Ensure the text appears below the image */
  }
  .tab-button {
      padding: 0.7rem 1.2rem;
      font-size: 1.5rem; /* Font size adjustment */
  }
  .tab-content-text h2 {
      font-size: 1.9rem; /* Font size adjustment */
  }
  .introduction-content p,
  .tab-content-text p,
  .tab-content-text ul,
  .social-content p,
  .social-content ul,
  .social-list ul li {
      font-size: 1rem; /* Consistent font size for p and li */
      line-height: 1.5; /* Consistent line height for p and li */
  }

  /* Split Content Layout Adjustment */
  .split-content {
      flex-direction: column; /* Stack image and list vertically */
  }
  .social-image {
      width: 100%; /* Full-width image */
      order: 1; /* Ensure the image appears above the list */
  }
  .social-list {
      width: 100%; /* Full-width list */
      order: 2; /* Ensure the list appears below the image */
      margin-top: 40px; /* Add spacing between image and list */
  }
  .separator {
      margin: 0.1rem auto 0rem;
      max-width: 600px;
  }
}

/* Media Query for Mobile Phones (e.g., 320px - 480px) */
@media (max-width: 480px) {
  /* General Adjustments */
  .introduction-section,
  .tab-content {
    padding: 0.5rem; /* Minimal padding for small screens */
  }
  .tab-button {
    padding: 0.5rem 1rem;
    font-size: 1.2rem; /* Font size adjustment */
  }
  .tab-content-text h2 {
    font-size: 1.6rem; /* Font size adjustment */
  }
  .introduction-content p,
  .tab-content-text p,
  .tab-content-text ul,
  .social-content p,
  .social-content ul,
  .social-list ul li {
    font-size: 0.95rem; /* Consistent font size for p and li */
    line-height: 1.4; /* Consistent line height for p and li */
  }

  /* Social Commitment Section */
  .split-content {
    flex-direction: column; /* Stack image and list vertically */
  }
  .social-image,
  .social-list {
    flex: none; /* Remove flex behavior */
    width: 100%; /* Full width for both image and list */
    padding: 0; /* Remove horizontal padding */
  }
  .social-image img {
    height: auto; /* Ensure images scale properly */
  }

  .section-header h1 {
    font-size: 2rem;
    margin-top: 40px;
  }
  .section-header h1::after {
    width: 120px;
    height: 4px;
    margin-bottom: 40px;
   }

   .separator {
    margin: 0.1rem auto 0rem;
    max-width: 82%;
  }

  .social-list
  {
    margin-top: 40px;
  }

}

/* Media Query for Very Small Devices (e.g., < 320px) */
@media (max-width: 320px) {
  /* General Adjustments */
  .tab-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem; /* Font size adjustment */
  }
  .tab-content-text h2 {
    font-size: 1.3rem; /* Font size adjustment */
  }
  .introduction-content p,
  .tab-content-text p,
  .tab-content-text ul,
  .social-content p,
  .social-content ul,
  .social-list ul li {
    font-size: 0.85rem; /* Consistent font size for p and li */
    line-height: 1.3; /* Consistent line height for p and li */
  }

  /* Social Commitment Section */
  .social-content h2 {
    font-size: 1.2rem; /* Font size adjustment */
  }
  .separator {
    margin: 0.1rem auto 0.5rem;
    max-width: 76%;
  }
}