body {
    font-family: Helvetica, Arial, sans-serif;
    background-color: white;
    overflow-x: hidden; 
    width: 100%; 
  }


  .about-resident-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px; 
    font-weight: 600;
    margin-left: 10px; /* Space between logo and text */
    color: rgb(13, 49, 127);
    display: inline-block;
    vertical-align: middle; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Add shadow to the text */
  }
  .about-resident-background-image {
    background-image: url('imgs/resident-bg.png'); 
    background-size: cover;
    position: fixed; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    background-size: cover;
    background-position: center;
    z-index: -1; 
  }
  /* Mission and Vision Section */
  .about-resident-mission-vision {
    max-width: 800px; 
    margin: 0 auto; 
    padding: 20px;
  }
  
  .about-resident-card-title {
    font-weight: bold;
    text-align: left;
    margin-top: 10px; /* Space above the title */
    font-size: 1.5rem; /* Adjusted font size for titles */
    color: #2db1dd; /* Change title color */
  }
  
  .about-resident-card-text {
    text-align: justify; /* Justify text */
    margin-bottom: 20px; /* Space below each paragraph */
    color: #333; /* Change text color for better readability */
  }
  .about-resident-header-section {
    padding: 0; 
    margin: 0 auto; 
    width: 100%; 
    margin-top: 50px; /* Space above the header */
    padding: 30px; /* Padding for the header */
  }
  
  .about-resident-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .about-us-highlight {
    color: #2db1dd;
  } 
  
  .about-resident-subtitle {
    font-size: 1.1rem;
    color: black;
    margin-bottom: 0; 
  }
  
  .about-resident-subtitle-bottom {
    font-size: 1.1rem;
    color: black;
    margin-top: 0;   
  } 
  
  .about-resident-image-container {
    margin-top: -20px; /* Adjust as needed */
  }
  
  .about-resident-big-image {
    max-width: 800px; 
    width: 100%;     
    height: auto;
    margin: 0 auto;   
    display: block;   
  }    
  /* Navigation Bar Section */
  .about-resident-navbar {
    background-color: #f2faff;
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    width: 100%; 
    transition: background-color 0.3s; 
  }
  
  .about-resident-logo-img {
    width: 55px;
    height: auto;
    margin-left: 60px;
  }
  
  .about-resident-link {
    color: black !important;
    font-weight: 500;
  }
  
  .about-resident-link:hover {
    color: #0d0eee !important;
  }
  
  .about-resident-join-container {
    margin-right: 50px;
  }
  
  .about-resident-join-btn {
    background-color: #cdc18e;
    border: 2px solid #cdc18e;
  }
  
  .about-resident-join-btn:hover {
    background-color: #d6cb9c;
    border-color: #c4b98c;
  }
  
  @media (max-width: 768px) {
    .container-fluid {
        display: flex;
        justify-content: space-between; 
        align-items: center; 
    }
    .about-resident-logo {
        flex: 1; 
        display: flex; 
        justify-content: center; 
        margin-left: 20px; 
    }
    .about-resident-join-container {
        display: none; 
    }
    .navbar-nav {
        text-align: left; 
        width: 100%; 
    }
    .navbar-nav .nav-item {
        width: 100%; 
    }
    .dropdown-menu {
        position: absolute;
        left: 0;
        right: auto; 
    }
    .dropdown-item {
        text-align: left; 
    }
  }
  
  /* Did You Know Section */
  .did-you-know-section {
    background-color: #f0f4f8; 
    padding: 20px; 
  }
  
  .did-you-know-title {
    font-size: 1.9rem; 
    font-weight: bold;
    color: black;
    margin-bottom: 5px; 
  }
  
  .did-you-know-subtitle {
    font-size: 1.0rem; 
    color: #525e6d; 
    margin-bottom: 10px; }
  
  .did-you-know-image {
    width: 100%; 
    max-width: 450px; 
    height: auto; 
    margin: 0 90px 20px auto; 
    display: block; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
  }
  
  .callout-box {
    background-color: #e9f7fe;
    border-left: 5px solid #2db1dd; 
    padding: 15px; 
    margin: 20px 0;
  }
  
  .callout-text {
    font-size: 1.0rem; 
    color: red; 
  }
  
  .did-you-know-facts {
    list-style-type: none; 
    padding: 0; 
  }
  
  .did-you-know-facts li {
    font-size: 1.0rem; 
    color: #525e6d; 
    margin-bottom: 10px; 
  }
  .map-header {
    font-size: 32px; 
    color: #2c3e50; 
    margin: 40px 0 10px;
    font-weight: bold; 
    text-align: center;
  }
  
  .map-subtitle {
    font-size: 16px; 
    color: #e74c3c; 
    margin: 0 0 30px; 
    font-style: italic; 
    text-align: center;
  }
  
  .google-map {
    width: 80%;  /* Set width to 80% for a smaller size */
    height: 450px; 
    border-radius: 10px; 
    overflow: hidden; 
    margin: 0 auto 30px; /* Center the map horizontally */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); 
  }
  
  .google-map iframe {
    width: 100%; 
    height: 100%; 
    border: none; 
  }
  
 /* Floating Icon */
 .floating-social-media {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out; /* Smooth fade & visibility */
}
.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.2s;
  position: relative;
}
.social-icon::after {
  content: attr(data-name);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -150%);
  background-color: #333;
  color: #fff;
  font-size: 14px;
  padding: 5px;
  border-radius: 5px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  white-space: nowrap;
}
.social-icon:hover::after {
  visibility: visible;
  opacity: 1;
}
.social-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}
/* Colors for each icon */
.facebook-icon {
  background-color: #1877f2;
}
.phone-icon {
  background-color: #28a745;
}
.email-icon {
  background-color: #dc3545;
}
.mobile-icon {
  background-color: #ffc107;
}
  
  /* Footer Styling */
  .footer-section {
      background-color: #2c3e50; 
      color: white; 
      padding: 20px 30px;
      font-family: 'Arial', sans-serif; 
  }
  .footer-container {
      display: flex;
      justify-content: space-between;
      margin: auto;
      flex-wrap: wrap; 
      max-width: 1300px; 
  }
  .footer-column {
      flex: 1;
      margin: 10px; 
      min-width: 180px; 
      text-align: justify; 
  }
  .footer-title {
      font-size: 1em; 
      margin-bottom: 5px; 
      margin-top: 40px; 
      font-weight: bold; 
      font-family: 'Roboto', sans-serif; 
  }
  
  .footer-links-list,
  .footer-emergency-hotlines,
  .social-icons {
      list-style: none;
      padding: 0; 
      margin: 0; 
  }
  .footer-links-list li,
  .footer-emergency-hotlines li {
      margin: 5px 0; 
      font-weight: normal; 
  }
  .footer-link,
  .social-icon {
      color: #ecf0f1; 
      text-decoration: none; 
      transition: color 0.3s; 
  }
  .footer-link:hover,
  .social-icon:hover {
      color: #3498db; 
  }
  
  /* Social Icons Styling */
  .social-icons {
      display: flex; 
      justify-content: flex-start; 
      margin: 10px 0; 
      margin-top: 40px; 
  }
  .social-icon {
      margin-right: 10px; /* Space between icons */
      font-size: 1.5em; 
  }
  .social-icon:last-child {
      margin-right: 0; 
  }
  .footer-emergency-hotlines {
      margin: 10px 0; 
  }
  .footer-emergency-hotlines li {
      display: flex; 
      justify-content: space-between; 
      margin: 5px 0; 
  }
  .footer-emergency-hotlines span {
      flex: 1; 
  }
  .footer-copyright {
      text-align: center; /* Center the copyright text */
      margin: 5px; 
      font-size: 0.90em; 
  }
  .back-to-top {
      display: inline-block;
      margin-top: 5px;
      color: #3498db; 
      text-decoration: none;
      font-size: 0.85em; 
  }
  .back-to-top:hover {
      text-decoration: underline; 
  }
  .footer-bottom-info {
      text-align: center; /* Center the bottom info */
      margin-top: 5px; 
      padding: 10px 0; }
  
/* CALENDAR EVENT PAGE */
.calendar-header-section {
  padding: 10px;
  margin: 0 auto;
  width: 100%;
  margin-top: 50px;
}

.calendar-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.highlight-title {
  color: #2db1dd;
}

.calendar-subtitle {
  font-size: 1.1rem;
  color: black;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid lightgray;
  width: 50%;
  margin: 0 auto;
}

.resident-calendar {
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.calendar-navigation {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.nav-button {
  padding: 10px 15px;
  margin: 0 10px;
  background-color: #2980b9;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.nav-button:hover {
  background-color: #1c598a;
  transform: scale(1.05);
}

.current-month {
  margin: 0 20px;
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.calendar-grid div {
  background-color: #fff;
  border: 1px solid #bdc3c7;
  border-radius: 5px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.calendar-grid div:hover {
  background-color: #ecf0f1;
  transform: scale(1.05);
}

.event-day {
  background-color: #dff9fb;
  border: 1px solid #74b9ff;
}

.event-sidebar {
  flex: 1;
  background-color: #ecf0f1;
  padding: 20px;
  border-radius: 5px;
  margin-left: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.calendar-container {
  margin-left: 30px;
}

.event-status {
  font-weight: bold;
  color: green;
  font-size: 14px;
}

.event-status.full {
  color: red;
}

.join-button {
  margin-top: 10px;
  padding: 8px 15px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.join-button:hover {
  background-color: #2980b9;
  transform: scale(1.05);
}

.join-button:disabled {
  background-color: #bdc3c7;
  cursor: not-allowed;
}

.sidebar-title {
  margin-top: 0;
  color: Red;
}

.event-list {
  list-style-type: none;
  padding: 0;
}

.event-item {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #bdc3c7;
  border-radius: 5px;
  background-color: #ffffff;
  transition: background-color 0.3s;
}

.event-item:hover {
  background-color: #dfe6e9;
}

/* Add Your Feedback Section */
.add-feedback-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #e74c3c; 
  margin-top: 20px;
  margin-bottom: 20px; 
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.feedback-form {
  padding: 15px; /* Reduced padding for a smaller container */
  background-color: rgba(255, 255, 255, 0.8); /* Transparent white background */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 450px; /* Smaller width */
  width: 100%;
  margin: 30px auto; /* Added space above and below the form */
  position: relative;
  border-left: 6px solid #e74c3c; /* Red border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feedback-form:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feedback-form label {
  font-weight: 600;
  margin-top: 10px; /* Adjusted margin */
  display: block;
  color: #34495e;
  font-size: 1.1rem; /* Slightly smaller font size */
}
.feedback-form .form-control {
  width: 100%;
  padding: 10px; /* Reduced padding */
  margin-top: 8px;
  border-radius: 8px; /* Slightly smaller border radius */
  border: 1px solid #bdc3c7;
  font-size: 0.95rem; /* Smaller font size */
  background-color: #fff;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  resize: none; /* Disable resize */
}

.feedback-form .form-control:focus {
  border-color: #e74c3c; /* Red color for focus */
  outline: none;
  box-shadow: 0 0 5px rgba(231, 76, 60, 0.5); /* Focused red glow effect */
}

.submit-feedback-btn {
  margin-top: 15px; /* Reduced margin */
  padding: 8px 20px; /* Smaller padding */
  background-color: #e74c3c; /* Red button */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s ease;
  font-size: 1rem; /* Slightly smaller font size */
}
.submit-feedback-btn:hover {
  background-color: #c0392b; 
  transform: scale(1.05);
}

.submit-feedback-btn:focus {
  outline: none;
}

.feedback-form textarea {
  height: 130px;
  resize: none;
}

.feedback-form select {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #bdc3c7;
}
.feedback-form select:focus {
  border-color: #e74c3c; 
}

@media (max-width: 768px) {
  .feedback-form {
    width: 90%;
  }
}

.event-details-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 20px;
  overflow-y: auto;
}

.modal-title {
  color: #2980b9;
}

.modal-description {
  color: #333;
}

.modal-notes {
  width: 100%;
  height: 100px;
  margin-top: 10px;
  border: 1px solid #bdc3c7;
  border-radius: 5px;
  padding: 10px;
}

.modal-save-button {
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.modal-save-button:hover {
  background-color: #2980b9;
  transform: scale(1.05);
}

.modal-close {
  color: #fff;
  font-size: 24px;
  float: right;
  cursor: pointer;
}

/* Style for the modal overlay */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

  /*EDIT PROFILE PAGE*/
  .edit-profile-container {
    padding: 40px 0;
    background-color: #f8f9fa;
  }
  .edit-profile-form {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  .edit-profile-submit {
    width: 100%;
    padding: 10px;
    font-size: 1.1rem;
    background-color: #3498db; 
    color: white; 
    border: none; 
    border-radius: 5px; 
    transition: background-color 0.3s; 
  }
  .edit-profile-submit:hover {
    background-color: #2980b9; /* Darker shade on hover */
    cursor: pointer; 
  }
  input[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
  }
  .image-preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    position: relative; 
  }
  #profileImagePreview {
    width: 100px; 
    height: 100px; 
    border: 1px solid #ccc; 
    border-radius: 50%; 
  }
  .edit-icon {
    position: absolute; 
    bottom: 10px; 
    right: 10px; 
    cursor: pointer; 
    background: rgba(0, 0, 0, 0.6); 
    border-radius: 50%; 
    padding: 5px; 
  }
  .edit-icon i {
    color: white; 
    font-size: 24px;
  }
  
  /* GALLERRY PAGE */
  .gallery-container {
    max-width: 1200px;
    margin: auto;
  }
  
  .gallery-header {
    text-align: center;
    margin-bottom: 20px;
  }
  .gallery-title {
    font-size: 2em; /* Larger font size */
    color: #2c3e50; /* Dark color */
    font-weight: bold; /* Bold text */
    margin-top: 40px; /* Space below the title */
  }
  
  .gallery-subtitle {
    font-size: 1.2em; /* Slightly larger than normal */
    color: #34495e; /* A different shade for subtitle */
    margin-bottom: 30px; /* Space below the subtitle */
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Wider images */
    gap: 15px;
    overflow-y: auto; /* Allows vertical scrolling */
    max-height: 400px; /* Fixed height for the gallery */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    margin-bottom: 50px; /* Margin between gallery and footer */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;  /* Hide scrollbar for Internet Explorer and Edge */
  }
  
  /* Hide scrollbar for Chrome, Safari, and Opera */
  .gallery-grid::-webkit-scrollbar {
    display: none;
  }
  
  .gallery-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s; /* Smooth transition for scaling */
  }
  
  .gallery-card:hover {
    transform: scale(1.05); /* Scale effect on hover */
  }
  
  .gallery-image {
    width: 100%;
    height: 150px; /* Fixed height for uniformity */
    object-fit: cover; /* Ensures images cover the card without distortion */
    transition: opacity 0.3s; /* Smooth transition for opacity */
  }
  
  .gallery-image:hover {
    opacity: 0.8; /* Slight fade effect on hover */
  }
  
  .gallery-caption {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #333;
  }
/* DOCUMENT PAGE!! */
.document-header-section {
  padding: 10px;
  margin: 0 auto;
  width: 100%;
  margin-top: 20px;
  text-align: center;
}
.document-sidebar h4 {
  color: red; /* Red color for the title */
  font-weight: bold;
  margin-bottom: 15px;
}

.document-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2c3e50; /* Dark text color */
}

.highlight-title {
  color: #3498db; /* Blue highlight for "Request" */
}

.document-subtitle {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 50px;
  padding-bottom: 15px;
  border-bottom: 2px solid lightgray;
  width: 50%;
  margin: 0 auto;
}

/* Document Request Section */
.document-request-section {
  background-color: #ffffff;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Section Header */
.document-request-section h2 {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  color: #2c3e50;
  margin-bottom: 10px;
}

.document-request-section p {
  text-align: center;
  font-size: 1rem;
  color: #7f8c8d;
  margin-bottom: 50px;
}

/* Sidebar Styles */
.document-sidebar {
  background-color: #ffffff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-right: 15px;
}

.document-list {
  list-style: none;
  padding: 0;
}

.document-list .list-group-item {
  font-size: 1rem;
  font-weight: 600;
  padding: 12px;
  margin: 6px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: #ecf0f1;
  transition: background-color 0.3s ease;
}

.document-list .list-group-item i {
  margin-right: 12px;
  font-size: 1.3rem;
  color: #007bff;
}

.document-list .list-group-item:hover {
  background-color: #007bff;
  color: white;
}

.document-list .list-group-item.active {
  background-color: #3498db;
  color: white;
}

/* Request Card Styles */
.request-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 90%;
  margin: 0 auto;
}

.Docu-title {
  font-size: 1.5rem;
  color: #3498db;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

/* Form Styles */
.request-form {
  display: flex;
  flex-direction: column;
}

.request-form label {
  font-size: 1rem;
  color: #34495e;
  font-weight: 600;
  margin-bottom: 5px;
}

.request-form input,
.request-form select {
  padding: 12px;
  font-size: 1rem;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease;
}

.request-form input:focus,
.request-form select:focus {
  border-color: #3498db;
}

.request-form button {
  background-color: #3498db;
  color: white;
  font-size: 1rem;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.request-form button:hover {
  background-color: #2980b9;
}

/* Responsive Layout */
@media ( min-width: 1200px ) {
    .request-card {
      max-width: 75%S;
    }

}
@media (max-width: 768px) {
  .document-request-section {
      padding: 20px;
  }

  .document-sidebar {
      margin-right: 0;
      margin-bottom: 25px;
  }

  .document-list .list-group-item {
      font-size: 0.9rem;
  }

  .request-form input,
  .request-form select {
      font-size: 0.9rem;
      padding: 10px;
  }

  .request-form button {
      padding: 10px;
  }
  .floating-social-media {
    display: none;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

.document-request-section {
  animation: fadeIn 1s ease-in;
}
/* Intro Guide Styling */
.request-intro {
  background-color: #f8f9fa;
  padding: 15px;
  border-left: 5px solid #3498db;
  border-radius: 8px;
  margin-bottom: 20px;
}

.request-intro h5 {
  color: #2c3e50;
  font-weight: bold;
  margin-bottom: 10px;
}

.request-intro p {
  font-size: 1rem;
  color: #7f8c8d;
  margin-bottom: 8px;
}

  /* HISTORY PAGE */
  .history-section {
    padding: 50px 20px;
    background-color: #f8f9fa; 
    text-align: center; 
    position: relative; 
  }
  
  .history-title {
    font-size: 1.6rem; 
    font-style: italic; 
    margin-bottom: 30px;
    color: #d40f09; 
    animation: fadeIn 1s ease; 
  }
  
  .history-image {
    max-width: 40%; 
    height: auto;
    margin: 20px auto; 
    display: block; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .history-text {
    font-size: 1.0rem; 
    margin-bottom: 30px; 
    margin-top: 30px; 
    text-align: justify; 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto; 
    color: rgb(69, 69, 69); 
    animation: fadeIn 1s ease; 
  }
  
  @media (max-width: 768px) {
    .history-image {
        max-width: 70%; 
    }
  }
  
  @keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
  }
  
  @keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 80%;
    }
  }
  
/* OFFICIALS PAGE */
.officials-container {
  padding: 50px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.officials-title {
  font-size: 1.6rem; 
  font-style: italic; 
  color: #d40f09; /* Red color */
  margin-bottom: 20px;
}

.officials-description {
  font-size: 16px;
  color: #555;
  margin-top: 10px;
  text-align: justify;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Officials Grid */
.officials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px; 
  margin-bottom: 30px;
  justify-items: center; 
}

.official.chairman {
  grid-column: span 4; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.official {
  text-align: center;
  padding: 10px;
  transition: transform 0.3s ease;
}

.official:hover {
  transform: translateY(-3px);
}
.official-img-container img {
  width: 89%;
  height: auto;
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  transition: transform 0.3s ease;
}

.official-img-container img:hover {
  transform: scale(1.1); 
}
.official-name {
  font-size: 18px;
  font-weight: bold;
  color: #007BFF; 
  margin-top: 10px;
}

.official-position {
  font-size: 14px;
  font-weight: 500;
  color: #555;
  margin-top: 5px;
  padding: 5px;
  border-radius: 5px;
  margin-bottom: 10px;
}
.modal-dialog {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 600px; 
  margin: 20vh auto; 
}

.modal-content {
  border-radius: 10px;
}

.officials-bottom-description {
  margin-top: 40px;
  font-size: 16px;
  color: #333;
  text-align: center;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
/* Responsive for smaller screens */
@media (max-width: 768px) {
  .officials-grid {
    grid-template-columns: repeat(2, 1fr); 
  }

  .official-img-container img {
    width: 80%;
    max-width: 250px;
  }
}
/*PRIVACY PAGE*/
.privacy-policy-section {
  background-color: white;
  padding: 60px 0;
}

.privacy-policy-section h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #d40f09;
}

.privacy-policy-section p,
.privacy-policy-section ul {
  font-size: 1rem;
  color: black;
}

.privacy-policy-section h3 {
  font-size: 1.50rem;
  color: darkblue;
  margin-top: 30px;
}

.privacy-policy-section ul {
  list-style-type: none;
  padding-left: 0;
}

.privacy-policy-section ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #555;
}

.privacy-policy-section a {
  color: #007bff;
  text-decoration: none;
}

.privacy-policy-section a:hover {
  text-decoration: underline;
}


