@font-face {
  font-family: "Century Gothic";
  src: url("CenturyGothic-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Century Gothic";
  src: url("CenturyGothic-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Century Gothic";
  src: url("CenturyGothic-BoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  /* overflow: hidden;  Prevent horizontal scroll */

  height: 100%;
}
@media (max-width: 767px) {
  body,
  html,
  section {
    padding-left: 0px;
    padding-right: 0px;
  }

  .container,
  .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .row,
  .col,
  .row [class*="col-"] {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}

/* Ensure sections and divs take full width 
section, div {
  width: 100%;
  margin: 0;
  padding: 0;

}*/
/* Override Bootstrap's default padding */
.container-fluid,
.container .card-b {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Ensure nested containers also have no padding */
.container-fluid .container {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

/* Optional: Remove margin from rows if needed
/* .row {
  margin-left: 0px !important;
  margin-right: 0px !important;
} */

/* Optional: Remove padding from columns if needed */
.col,
.row [class*="col-"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

*/ .navbar,
.section {
  width: 100%;
  margin: 0;
  padding: 0;
}
.navbar {
  padding-left: 0;
  padding-right: 0;
}

.navbar .container,
.navbar .container-fluid {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

.dropdown-menu.show {
  background-color: #f8f9fa;
}

/* Parallax Hero */

.parallax {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.parallax-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/one_man.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}
/* Navigation */
.container-fluid.p-0
  .container.p-0
  .navbar.navbar-expand-lg.navbar-light.bg-light.sticky-top {
  background-image: -webkit-linear-gradient(
    270deg,
    rgba(107, 107, 107, 1) 4.4%,
    rgba(255, 255, 255, 1) 13.99%,
    rgba(159, 159, 159, 1) 83.94%,
    rgba(107, 107, 107, 1) 98.96%
  );
  background-image: -moz-linear-gradient(
    270deg,
    rgba(107, 107, 107, 1) 4.4%,
    rgba(255, 255, 255, 1) 13.99%,
    rgba(159, 159, 159, 1) 83.94%,
    rgba(107, 107, 107, 1) 98.96%
  );
  background-image: -o-linear-gradient(
    270deg,
    rgba(107, 107, 107, 1) 4.4%,
    rgba(255, 255, 255, 1) 13.99%,
    rgba(159, 159, 159, 1) 83.94%,
    rgba(107, 107, 107, 1) 98.96%
  );
  background-image: linear-gradient(
    180deg,
    rgba(107, 107, 107, 1) 4.4%,
    rgba(255, 255, 255, 1) 13.99%,
    rgba(159, 159, 159, 1) 83.94%,
    rgba(107, 107, 107, 1) 98.96%
  );
}
.container-fluid.p-0 .container.p-0 .sticky-top {
  background-color: #fff;
}
#navbarNav .navbar-nav.ms-auto {
  font-style: normal;
  font-size: large;
  color: #ff0004;
}
.navbar-brand {
  padding-left: 10px;
}

/* Nav Buttons */
.nav-link {
  color: #000000;
}
.nav-link:hover {
  color: #d4af37;
}
.navbar-toggler-icon:active {
  box-shadow: none !important;
  outline: none !important;
  background-color: transparent !important;
}
.navbar-toggler:active {
  box-shadow: none !important;
  outline: none !important;
  background-color: transparent !important;
}

.navbar-toggler-icon:focus {
  box-shadow: none !important;
  outline: none !important;
  background-color: transparent !important;
}
.navbar-toggler:focus {
  box-shadow: none !important;
  outline: none !important;
  background-color: transparent !important;
}
.dropdown-menu {
  background-color: #c7c7c7 !important;
  border: none; /* Optional: Remove border if needed */
  box-shadow: none; /* Optional: Remove shadow */
  padding: 8px 12px; /* Adds breathing room inside the dropdown */
  min-width: max-content; /* Makes the menu grow to fit content */
  white-space: nowrap; /* Prevents word wrapping on links */
  border-radius: 4px; /* Optional: Slight rounding for a clean look */
}

/* Adjust dropdown items for better visibility */
.dropdown-item {
  color: #000000; /* Change text color if necessary */
}

.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.2); /* Slight highlight on hover */
}

/* Donate Volunteer & Sponsor Buttons */
.sticky-top .container.py-2 .btn.btn-success.ms-2 {
  background-color: #cd192f;
}
.sticky-top .container.py-2 .btn.btn-primary.ms-2 {
  background-color: #1c1757;
}
.sponsor-button {
  background-color: #d4af37;
}
.sticky-top .container.py-2 .btn.btn-success.ms-2.sponsor-button {
  background-color: #d4af37;
}

/* About Me */
.card-text-about {
  padding-left: 10px;
}
/* Accordion & Cards */
.accordion-item {
  background-color: #999999;
  padding-left: 10px;
  padding-right: 0px;
}
.accordion-collapse {
  background: #2d6e86;
}

.accordion-button:focus {
  background-color: transparent !important;
}
.accordion-button:enabled {
  background-color: transparent !important;
}
.accordion-button {
  background: #282828;
}
.accordion-button:focus {
  box-shadow: none !important;
  outline: none !important;
}
.accordion-button:focus {
  background-color: transparent !important;
}
.accordion-body {
  background-color: #fff;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: 10px;
  margin-right: 10px;
}
.cta-section {
  background-color: #007bff;
}

/* Cards */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.card-header {
  background-color: #1c1757;
  margin-left: 0px;
  margin-right: 0px;
  padding-right: 0px;
  padding-left: 0px;
}
.teal {
  background-color: #2d6e86;
  margin-left: 0px;
  margin-right: 0px;
  padding-right: 0px;
  padding-left: 0px;
}
.card-title {
  font-size: 1.2rem;
  line-height: 1.3;
}
.card-body {
  background-color: #d6d6d6;
}
.second {
  margin-left: 0px;
  margin-right: 0px;
  padding-right: 0px;
  padding-left: 0px;
}
.card-text-second {
  text-align: left;
}

.card-membership-button {
  background-color: #2d6e86;
  color: #ffffff;
}
.card-text-second-list li {
  text-align: left;
}

/* Events Section */
.btn-events {
  background-color: #261645 !important;
  border-color: #261645 !important;
}

/* Gallery Slideshow */

.photos {
  background-color: #2d6e86;
}
/* Find Us - Map section */
.map-link-wrapper {
  overflow-x: hidden;
  max-width: 100%;
  display: block;
}

/*  -----------------------------------Footer Styles -------------------------------------*/
.footer-border-color {
  background-color: #3a3a3a;
  min-height: 8px;
}
.footer-border-color-bottom {
  min-height: 3px;
  background-color: #ffffff;
}
.footer-first {
  background-color: #999999;
}

footer a {
  color: #fff;
  text-decoration: none;
  display: inline-block; /* <-- Add this so transform can work */
  transition: all 0.3s ease; /* Smooth transition */
}

footer a:hover {
  color: #261645;
  transform: scale(1.03);
}

footer .fab {
  font-size: 1.5rem;
}

.social-media-icon {
  padding-left: 15px;
  padding-right: 15px;
}
.footer-header {
  color: #2b2b2b;
  font-weight: bold;
}
.container-fluid.p-0 .container.p-0 .bg-light {
  background-color: #656565;
}

.container.mt-4 .row.d-none.d-md-flex .card-container {
  background-color: #2d6e86;
}
.calendar.btn.btn-primary.btn-lg {
  background-color: #2d6e86;
}
.container.p-0 .container.mt-5.text-center .btn.btn-primary.activity.btn-lg {
  background-color: #2d6e86;
}
.card.h-100 .card-body .btn.btn-primary.rsvp {
  background-color: #1c1757;
}
/*---------HOME PAGE _ Newsletter section--------------*/

/*---------HOME PAGE _ Slideshow section--------------*/
.photos {
  background-color: #2d6e86;
}
/*---------HOME PAGE _ Senior Center Card--------------*/
.programs-senior-center {
  background-color: #6d6d6d;
}
/*---------HOME PAGE _ Events Section--------------*/
.events {
  background-color: #d4af37;
}

.second-footer {
  background-color: #c9c9c9;
}

/*---------STAFF PAGE--------------*/

/* Ensure .staff-info takes up full viewport height */
.staff-info {
  min-height: 100vh; /* Full viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers content vertically */
  align-items: center; /* Centers content horizontally */
  padding: 20px;
  width: 100%;
}

/* Sticky Footer */
.wrapper {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensures full viewport height */
}

.content {
  flex: 1; /* Pushes the footer to the bottom */
}

.entire-footer {
  position: relative; /* Ensure it stays at the bottom of the page */
  bottom: 0;
  width: 100%;
}

.container-fluid.p-0 .container.p-0 .container.py-5 {
  background-color: #e3e3e3;
}

/* ---------------- Leadership Page Improvements ---------------- */

.leader-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 1rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.leader-img {
  width: 75%;
  max-width: 240px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto;
  display: block;
}

.leader-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #261645;
  margin-top: 0.75rem;
}

.leader-title {
  color: #2d6e86;
  font-size: 0.95rem;
  font-weight: 500;
}

.view-bio-btn {
  background-color: transparent;
  border: 2px solid #261645;
  color: #261645;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.view-bio-btn:hover {
  background-color: #3d2b60;
  color: #fff;
}

.leader-row img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.leader-row img {
  width: 180px;
  height: 180px;
  object-fit: cover;
}

.leader-bio {
  background-color: #f4f4f4;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: left;
  padding: 1rem;
}

@media (max-width: 767px) {
  .leader-row {
    text-align: center;
  }

  .leader-row img {
    width: 160px;
    height: 160px;
    margin-bottom: 1rem;
  }

  .leader-row .leader-bio {
    text-align: left;
  }

  .leader-row .leader-name,
  .leader-row .text-muted {
    text-align: center;
  }

  .leader-bio {
    background: none;
    padding: 1rem;
    border-radius: 8px;
  }
}

/* ------------------------------B   O   A   R   D         P  A  G  E ----------------------------------------- */

.board-card {
  border: 2px solid #261645;
  border-radius: 12px;
  background-color: #f5f2fb;
  transition: all 0.3s ease;
}

.board-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
}

.board-name {
  font-weight: bold;
  color: #261645;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.board-title {
  color: #2d6e86;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0;
}
.container.board {
  background-color: #f5f2fb;
}

/* ------------------------------   H  I  S  T  O  R  Y    P  A  G  E  ----------------------------------------- */

.timeline {
  position: relative;
  max-width: 600px;
  margin: auto;
}
.timeline-item {
  margin: 20px 0;
  display: flex;
  align-items: center;
}
.timeline-header {
  cursor: pointer;
  background-color: #1c1757;
  color: white;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  width: 100%;
}
.plus-sign {
  margin-left: auto;
  font-size: 20px;
  font-weight: bold;
}
.timeline-content {
  display: none;
  padding: 10px;
  background: #f8f9fa;
  border-left: 3px solid #8b008b;
  margin-top: 5px;
}
.timeline-text {
  padding: 10px;
}

/* ------------------------------   C  O  N  T  R  I  B  U  T  E     P  A  G  E  ----------------------------------------- */

.section-card {
  background-color: #ededed;
  padding: 20px;
  border-radius: 10px;

  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.section-card:hover {
  transform: scale(1.03);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}
.btn-donate {
  background-color: #290a5d;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;

  display: inline-block;
  min-width: 220px;
  text-align: center;
}
.btn-donate:hover {
  background-color: #3d147f;
  color: white;
}
.btn-volunteer {
  background-color: #cd192f;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;

  display: inline-block;
  min-width: 220px;
  text-align: center;
}
.btn-volunteer:hover {
  background-color: #e63248;
  color: white;
}
.btn-sponsor {
  background-color: #d4af37;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;

  display: inline-block;
  min-width: 220px;
  text-align: center;
}
.btn-sponsor:hover {
  background-color: #f2d064;
  color: white;
}
/*  .container {
            padding: 50px 0;
        } */
.row-cols-1 .col {
  display: flex;
}
.contribute-p {
  text-align: justify;
}

.section-img {
  /* Maintain aspect ratio */
  display: block;
  margin: 0 auto 15px auto; /* Center image */
}

.heading-4-text {
  text-align: center;
}

/* ------------------------------   G  A  L  L  E  R  Y    P  A  G  E  ----------------------------------------- */

.gallery-container {
  padding: 20px 0;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
  transform: scale(1.05);
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-text {
  padding: 10px;
}
body {
  margin-top: 20px;
}

.thumbnail {
  margin-bottom: 6px;
}

.carousel-control.left,
.carousel-control.right {
  background-image: none;
  margin-top: 10%;
  width: 5%;
}

/* ------------------------------   C  O  N  T  A  C  T    P  A  G  E  ----------------------------------------- */

/* contact pages */

.contact-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.contact-card:hover {
  transform: translateY(-4px);
}

.dept-contacts .dept {
  background: #fff;
}
.contact-icons {
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.3));
}
.contact-link {
  text-decoration: none; /* Removes underline */
  color: inherit; /* Keeps text the same color as parent */
  font-weight: 500; /* Makes text slightly bold for readability */
}

.contact-link:visited,
.contact-link:active {
  text-decoration: none; /* Ensures no underline appears */
  color: inherit; /* Prevents color change when clicked */
}

.contact-link:hover {
  color: #dcdcdc; /* Light gray hover effect */
}

h5 {
  margin-top: 10px; /* Adjusts spacing */
  text-align: center; /* Ensures alignment */
  width: 100%; /* Makes sure all h5 elements take full width */
}

.d-flex.flex-column.align-items-center {
  align-items: center !important; /* Ensures all elements (icons, h5, and text) are aligned */
  text-align: center; /* Keeps text centered */
}

.dept-section {
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* 3D Shadow Effect */
  transition:
    transform 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

.dept-section:hover {
  transform: translateY(-5px); /* Slight lift effect on hover */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4); /* Deepens shadow on hover */
}

.list-group-item {
  border: none;
}
/*   --------------------------             F  O  R  M      S  T  Y  L  E  S      -----------------------           */

/* ----------------------------Newsletter form styles ---------------------------------------- */
/* Newsletter Section */

/* Section background */
.newsletter-container {
  background-color: #1c1757;
}

/* Headline */
.newsletter-title {
  color: #ffffff;
  margin-bottom: 20px;
}

/* Email input field */
.newsletter-input {
  background-color: #1c1757;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 10px 15px;
  min-width: 250px;
}

.newsletter-input::placeholder {
  color: #cccccc;
  opacity: 1;
}

/* Subscribe button */
.subscribe-button {
  background-color: #da9ae8;
  color: #000000;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
}

.subscribe-button:hover {
  background-color: #debff4;
  color: #000;
}

/*   ------------------------------   Contact form style     -------------------------------------           */

.custom-btn {
  background-color: #1c1757 !important;
  color: white !important;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}
.whole-form {
  background: #ffffff;
}

.custom {
  padding: 10px 15px;
  border-radius: 6px;
  background-color: #fae5f7;
  border: none;
  box-shadow: none;
  width: 100%;
}

.custom:focus {
  outline: none;
  background-color: #e3b0f3;
  box-shadow: 0 0 5px rgba(186, 113, 199, 0.5);
}

/* Shake animation */
@keyframes shake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

.shake {
  animation: shake 0.4s ease-in-out;
  border: 2px solid #dc3545; /* Bootstrap red */
  border-radius: 5px;
  padding: 10px;
}
/*  -----------------------------RSVP Form styles -----------------------*/

/* Styling input fields */
.form-control,
.form-select {
  background-color: #aec9e2 !important; /* Sky blue background */
  color: black !important; /* Ensures text is visible */
  border: 1px solid #5a9ec9; /* Slightly darker blue border */
}

/* Change placeholder text color for better readability */
.form-control::placeholder {
  color: #333;
}

/* Styling the submit button */
.btn-rsvp {
  background-color: #1c1757 !important; /* Custom dark blue */
  color: white !important; /* White text */
  border: none;
  text-align: center; /* Ensures text inside the button is centered */
  padding: 10px 20px;
  font-size: 18px;
}
/*  -----------------------------Volunteer Form styles -----------------------*/
.btn-volunteer {
  background-color: #cd192f;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;

  display: inline-block;
  min-width: 220px;
  text-align: center;
}
.btn-volunteer:hover {
  background-color: #c43f50;
  color: white;
}
.form-label {
  padding-left: 5px;
}

/*  -----------------------------Membership/Sponsor Form styles -----------------------*/
.btn-membership {
  background-color: #d4af37;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;

  display: inline-block;
  min-width: 220px;
  text-align: center;
}
.btn-membership:hover {
  background-color: #c3ae69;
  color: white;
}
p .form-label {
  padding-left: 5px;
}

/* ---------------------------------Form Success & Failure Alerts ------------------------------ */
.alert {
  padding: 10px 15px;
  border-radius: 5px;
  max-width: 500px;
  margin: 0 auto;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}
.fade-out {
  opacity: 1;
  transition: opacity 1s ease-out;
}

.fade-out.hidden {
  opacity: 0;
}

/* -------------------                 Privacy Policy and Terms & Condition styles -------------- */
.legal-page-wrapper {
  background-color: #ffffff;
  padding: 30px;
  font-family: "Century Gothic", sans-serif;
  color: #000;
  border-radius: 8px;
  max-width: 900px;
  margin: 30px auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.legal-page-wrapper h2,
.legal-page-wrapper h3 {
  color: #1c1757;
  margin-top: 25px;
}

.legal-page-wrapper p,
.legal-page-wrapper li {
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 16px;
}

.legal-page-wrapper ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-page-wrapper .download-link {
  display: inline-block;
  margin-top: 20px;
  background-color: #1c1757;
  color: #fff;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
}

.legal-page-wrapper .download-link:hover {
  background-color: #100e3a;
}

/* -------------------mobile fix so hover effects are disabled on tablets and mobile devices -------------- */
@media (max-width: 767px) {
  /* Disable scale hover effects */
  .gallery img:hover,
  .board-card:hover,
  .board-card-board-page:hover,
  .section-card:hover,
  .dept-section:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}
@media (hover: hover) and (pointer: fine) {
  /* About dropdown on hover */
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* Optional: Adjust spacing */
  }

  /* Optional: underline or color change on hover */
  .navbar-nav .nav-item.dropdown:hover > .nav-link {
    text-decoration: underline;
  }
}
.custom-btn:hover {
  background-color: #100e3a !important; /* Darker shade for hover effect */
}
/* -------------------------------Scroll to top ---------------------------------------------------*/
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 999;
  font-size: 24px;
  background-color: #261645;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px 15px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #3d2b60;
  transform: scale(1.1);
}
@media (max-width: 768px) {
  #scrollTopBtn {
    right: 10px;
    bottom: 20px;
  }
}
