body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}

.w100{
  width: 100% !important;
}

h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}
h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}
p {
  font-size: 15px;
}
p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}
a {
  color: #fd6060;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #fd6060;
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #7a201e;
  margin-bottom: 20px;
  border: 0;
}
/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
}
#menu.navbar-default {
  background-color: #000;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.132);
}
#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 18px; /* Adjust base font size as needed for larger screens */
  font-weight: 700;
  color: #b5b4b4;
  text-transform: uppercase;
  line-height: 1.2; /* Adjust line height for better readability */
  display: inline-block; /* Ensure the link behaves as a block-level element */
  margin-bottom: 15px;
  white-space: nowrap; /* Prevent wrapping on smaller widths */
  text-align: left;
  display: contents;
}

@media (max-width: 768px) {
  #menu a.navbar-brand {
    font-size: 17px; /* Smaller font size for tablet */
    margin-bottom: 10px;
    text-align: left;
    display: contents;
  }
}

/* For smaller mobile devices */
@media (max-width: 480px) {
  #menu a.navbar-brand {
    font-size: 14px; /* Even smaller font size for mobile */
    margin-bottom: 5px;
    text-align: left;
    display: contents;
  }
}
#menu.navbar-default .navbar-nav > li > a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #888888;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
}
#menu.navbar-default .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #ff6363 0%, #fb5c5c 100%);
  content: "";
  transition: width 0.2s;
}
#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a:after,
.navbar-default .navbar-nav > .active > a:hover:after,
.navbar-default .navbar-nav > .active > a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #ff6363 0%, #fb5c5c 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}
.navbar-toggle {
  border-radius: 0;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #fd6060;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #fd6060;
}
.section-title {
  margin-bottom: 50px;
}
.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #fb5c5c 0%, #ff6363 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
.section-title p {
  font-size: 18px;
}
.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #fb5c5c;
  background-image: linear-gradient(to right, #fb5c5c 0%, #ff6363 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #ff6363;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}
/* Header Section */
#header {
  position: relative;
  width: 100%;
  padding-top: 80px;
  overflow: hidden;
}

.intro {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

.intro .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100%;
}

.video-iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

@media (max-width: 177.77vh) {
  .intro {
    padding-top: 56.25%; /* Maintains 16:9 aspect ratio */
  }
}

/* Features Section */
#features {
  background: #f6f6f6;
}
#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: #fff;
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: linear-gradient(to right, #ff6363 0%, #fb5c5c 100%);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}
/* About Section */
#about {
  padding: 50px 0;
}

#about img {
  width: 100%;
  max-width: 520px;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}

#about .about-text > h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#about .about-text > h2::after {
  content: "";
  background: linear-gradient(to right, #fb5c5c 0%, #ff6363 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
  position: absolute;
}

#about .about-text p,
#about .about-text ul {
  margin: 30px 0;
  line-height: 24px;
}

#about .about-text li {
  margin-bottom: 6px;
  list-style-type: none;
  position: relative;
  padding-left: 20px;
}

#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #fb5c5c;
  font-size: 11px;
  padding: 5px;
}

/* Why Dr. Performance Section Styling */
#about .why-text > h2 {
  text-align: left;
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#about .why-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #fb5c5c;
  font-size: 11px;
  padding: 5px;
}

#about .why-text > h2::after {
  content: "";
  background: linear-gradient(to right, #fb5c5c 0%, #ff6363 100%);
  height: 4px;
  width: 60px;
  position: absolute;
  bottom: 0;
  left: 0%;

}

#about .why-text ul {
  list-style-type: none;
  padding: 0;
  text-align: left;
}

#about .why-text li {
  margin-bottom: 10px;
  display: inline-block;
  width: 100%;
}


/* Responsive adjustments for smaller screens */
@media (max-width: 767px) {
  #about img {
    margin-bottom: 30px;
  }

/* Default button size for larger screens */
.responsive-btn {
  font-size: 1.25rem; /* Larger text size */
  padding: 0.75rem 1.5rem; /* Larger padding */
}

/* Smaller button size for small screens */
@media (max-width: 576px) {
  .responsive-btn {
    font-size: 0.875rem; /* Smaller text size */
    padding: 0.5rem 1rem; /* Smaller padding */
  }
}

  #about .about-text,
  #about .why-text {
    text-align: center;
  }

  #about .about-text li,
  #about .why-text li {
    text-align: left;
    padding-left: 0;
  }

  #about .about-text > h2::after {
    content: "";
    background: linear-gradient(to right, #fb5c5c 0%, #ff6363 100%);
    height: 4px;
    width: 60px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
  }

  #about .about-text li:before,
  #about .why-text li:before {
    position: relative;
    vertical-align: middle;
    margin-right: 5px;
  }
}

/* Services Section */
#programs {
  padding: 100px 0;
  background: linear-gradient(to right, #f05555 0%, #e30000 100%);
  color: #fff;
}
#programs .service-desc {
  margin: 10px 10px 20px;
}
#programs h2 {
  color: #fff;
}
#programs .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
#programs i.fa {
  font-size: 42px;
  width: 120px;
  height: 120px;
  padding: 40px 0;
  background: linear-gradient(to right, #ff6363 0%, #fb5c5c 100%);
  border-radius: 50%;
  color: #fff;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}
#programs h3 {
  font-weight: 500;
  padding: 5px 0;
  color: #fff;
}
#programs p {
  color: rgba(255, 255, 255, 0.75);
}
#programs .service-desc {
  margin-bottom: 40px;
}
/* Gallery Section */
#gallery {
  padding: 50px 0;
}

.gallery-items {
  display: flex;
  gap: 10px; /* Ensure consistent spacing between items */
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-right: 10px; /* Avoid cutting off the last item */
  position: relative;
  min-width: 100%; /* Ensure it doesn't collapse */
}
.gallery-items {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.gallery-items::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}
/* Default for large screens */
.gallery-item {
  flex: 0 0 calc(33.33%);
  max-width: calc(33.33%);
  height: 250px;
  overflow: hidden;
  scroll-snap-align: start;
}

/* Medium screens (tablets, small desktops) */
@media (max-width: 1024px) {
  .gallery-item {
    height: 500px; /* Reduce height for medium screens */
    flex: 0 0 calc(100%);
    max-width: calc(100%);
  }
}

/* Small screens (mobile devices) */
@media (max-width: 768px) {
  .gallery-item {
    height: 400px; /* Smallest height for very small screens */
    flex: 0 0 calc(100%);
    max-width: calc(100%);
  }
}

/* Extra small screens (very small mobile devices) */
@media (max-width: 480px) {
  .gallery-item {
    height: 300px; /* Smallest height for very small screens */
    flex: 0 0 calc(100%);
    max-width: calc(100%);
  }
}


.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item .hover-bg {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.gallery-button {
  background: #333; /* Dark background for the button */
  color: white; /* White text */
  border: none; /* Remove default border */
  padding: 10px; /* Add padding */
  cursor: pointer; /* Change cursor to pointer */
  font-size: 1.5rem; /* Increase font size */
  position: absolute; /* Position the buttons */
  top: 50%; /* Center vertically */
  transform: translateY(-50%); /* Adjust vertical alignment */
}

.gallery-button.left {
  left: -10px; /* Align left button to the left edge */
  z-index: 10;
}

.gallery-button.right {
  right: -10px; /* Align right button to the right edge */
  z-index: 10;
}
.gallery-button:hover {
  opacity: 1; /* Fully opaque on hover */
}

/* Small Screens: Phones and Small Devices */
@media (max-width: 768px) {
  .gallery-button {
    font-size: 16px; /* Smaller text size */
    padding: 8px 16px; /* Reduced padding */
    border-radius: 3px; /* Slightly less rounded corners */
  }
}

/* Medium Screens: Tablets */
@media (min-width: 769px) and (max-width: 1200px) {
  .gallery-button {
    font-size: 20px; /* Moderate text size */
    padding: 9px 18px; /* Slightly smaller padding */
    border-radius: 4px; /* Maintain rounded corners */
  }
}

/* Large Screens: Desktops */
@media (min-width: 1201px) {
  .gallery-button {
    font-size: 24px; /* Default or larger size */
    padding: 10px 20px; /* Default padding */
  }
}

.hover-bg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(to right, rgba(255, 99, 99, 0.8) 0%, rgba(251, 92, 92, 0.8) 100%);
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}

.hover-bg .hover-text > h4 {
  opacity: 0;
  transition: all 0.3s;
  transform: translateY(100%);
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}

.hover-bg:hover .hover-text {
  opacity: 1;
}

.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  transform: translateY(0);
}

/* Testimonials Section */
#testimonials {
  padding: 100px 0;
  background: #f6f6f6;
}
#testimonials i {
  color: #e6e6e6;
  font-size: 32px;
  margin-bottom: 20px;
}
.testimonial {
  position: relative;
  padding: 20px;
}
.testimonial-image {
  float: left;
  margin-right: 15px;
}
.testimonial-image,
.testimonial-image img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.testimonial-content {
  position: relative;
  overflow: hidden;
}
.testimonial-content p {
  margin-bottom: 0;
  font-size: 14px;
  font-style: italic;
}
.testimonial-meta {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
}
/* staff Section */
#staff {
  padding: 50px 0;
  text-align: center;
}

#staff .container .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#staff h4 {
  margin: 5px 0;
}

#staff .staff-img {
  width: 240px;
  height: 320px;
  object-fit: cover;
}

#staff .thumbnail {
  background: transparent;
  border: 0;
  display: inline-block;
  margin: 0 auto;
}

#staff .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}

/* Contact Section */
#contact {
  padding: 100px 0 60px;
  background: linear-gradient(to right,  #f05555 0%, #e30000 100%);
  color: rgba(255, 255, 255, 0.75);
}
#contact .section-title {
  margin-bottom: 40px;
}
#contact .section-title p {
  font-size: 16px;
}
#contact h2 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 30px;
}
#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}
#contact form {
  padding-top: 20px;
}
#contact .text-danger {
  color: #cc0033;
  text-align: left;
}
#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
}
#contact .btn-custom:hover {
  color: #6e1f1f;
  background: #fff;
}
label {
  font-size: 12px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  float: left;
}
#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
#contact .form-control:focus {
  border-color: #999;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
  color: #777;
}
.form-control:-moz-placeholder {
  color: #777;
}
.form-control::-moz-placeholder {
  color: #777;
}
.form-control:-ms-input-placeholder {
  color: #777;
}
#contact .contact-item {
  margin: 20px 0;
}
#contact .contact-item span {
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  display: block;
}
#contact .contact-item i.fa {
  margin-right: 10px;
}
#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}
#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}
#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}
#contact .social i.fa:hover {
  color: #fd6060;
  background: #fff;
}
/* Footer Section*/
#footer {
  background: #f6f6f6;
  padding: 30px 0;
}
#footer p {
  color: #888;
  font-size: 14px;
}
#footer a {
  color: #fd6060;
}
#footer a:hover {
  border-bottom: 2px solid #fd6060;
}

@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }
}


/* Register Section*/

#registerScreen {
  background: linear-gradient(to right, #000 0%, #ff6f00 100%);
}



.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}
.modal.show {
  display: flex;
  align-items: center; /* Vertically centers the modal */
  justify-content: center; /* Horizontally centers the modal */
}

.modal-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
}


.modal-content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.close-button {
  font-size: 24px;
  margin-right: 10px;
  cursor: pointer;
}

.img-responsive {
  max-width: 100%;
  max-height: 950%;
}

img {
  max-width: 100%;
  height: auto;
  cursor: pointer;
}

.react-modal-content {
  max-width: 90%;
  max-height: 90%;
}

.react-modal-overlay {
  background-color: rgba(0, 0, 0, 0.75);
}
.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: zoom-out;
}

.fullscreen-image {
  max-width: 100%;
  max-height: 100%;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 20px;
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 101; /* Ensure the button is above everything else */
}

.close-button:hover {
  color: red;
}

@media (max-width: 600px) {
  .fullscreen-image {
    max-width: 90%;
    max-height: 90%;
  }

  .close-button {
    top: 5px;
    right: 10px;
    font-size: 1.5rem;
  }
}

.image-fullscreen {
  position: fixed; /* Fix image to viewport */
  top: 0;
  left: 0;
  width: 100%; /* Full viewport width */
  height: 100%; /* Full viewport height */
  background: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  display: flex;
  justify-content: center; /* Center image horizontally */
  align-items: center; /* Center image vertically */
  z-index: 1001; /* Ensure it appears on top */
  overflow: hidden; /* Hide scrollbars */

}

.image-fullscreen img {
  max-width: 100%; /* Limit image width to 90% of viewport width */
  max-height: 100%; /* Limit image height to 90% of viewport height */
  object-fit: contain; /* Ensure the image is fully visible within the viewport */
}
.gallery-aba-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* Ensure buttons are correctly positioned */
}

.gallery-aba-items {
  display: flex;
  overflow: hidden; /* Hide horizontal scrollbar */
  width: 100%; /* Full width of the container */
  scroll-behavior: smooth; /* Smooth scrolling */
  min-width: 100%; /* Ensure it doesn't collapse */
}

.gallery-performance-item {
  flex: 0 0 calc(33.333% - 20px); /* Each item takes up 1/3 of the container width, minus margins */
  margin: 0 10px; /* Space between items */
  box-sizing: border-box; /* Ensures padding and margin are included in width */
  position: relative; /* For positioning the image inside */
  height: 300px; /* Fixed height for each image container */
}

.gallery-aba-item {
  flex: 0 0 calc(33.333% - 20px); /* Each item takes up 1/3 of the container width, minus margins */
  margin: 0 10px; /* Space between items */
  box-sizing: border-box; /* Ensures padding and margin are included in width */
  position: relative; /* For positioning the image inside */
  height: 500px; /* Fixed height for each image container */
}

/* Medium screens (tablets, small desktops) */
@media (max-width: 1024px) {
  .gallery-aba-item {
    height: 650px; /* Reduce height for medium screens */
    flex: 0 0 calc(100%);
    max-width: calc(100%);
  }
}

/* Small screens (mobile devices) */
@media (max-width: 768px) {
  .gallery-aba-item {
    height: 450px; /* Smallest height for very small screens */
    flex: 0 0 calc(100%);
    max-width: calc(100%);
  }
}

/* Extra small screens (very small mobile devices) */
@media (max-width: 480px) {
  .gallery-aba-item {
    height: 450px; /* Smallest height for very small screens */
    flex: 0 0 calc(100%);
    max-width: calc(100%);
  }
}
.gallery-individual-items {
  display: flex;
  overflow: hidden; /* Hide horizontal scrollbar */
  scroll-behavior: smooth; /* Smooth scrolling */
  min-width: 100%; /* Ensure it doesn't collapse */
}


.gallery-individual-item {
  flex: 0 0 calc(33.333% - 20px); /* Each item takes up 1/3 of the container width, minus margins */
  margin: 0 10px; /* Space between items */
  box-sizing: border-box; /* Ensures padding and margin are included in width */
  position: relative; /* For positioning the image inside */
  height: 500px; /* Fixed height for each image container */
}

/* Medium screens (tablets, small desktops) */
@media (max-width: 1200px) {
  .gallery-individual-item {
    flex: 0 0 calc(33.333% - 20px); /* Each item takes up 1/3 of the container width, minus margins */
    height: 420px; /* Reduce height for medium screens */
    max-width: calc(100%);
  }
}
/* Medium screens (tablets, small desktops) */
@media (max-width: 992px) {
  .gallery-individual-item {
    flex: 0 0 calc(33.333% - 20px); /* Each item takes up 1/3 of the container width, minus margins */
    height: 305px; /* Reduce height for medium screens */
    max-width: calc(100%);
  }
}

/* Small screens (mobile devices) */
@media (max-width: 768px) {
  .gallery-individual-item {
    height: 700px; /* Smallest height for very small screens */
    flex: 0 0 calc(100%);
    max-width: calc(100%);
  }
}

/* Extra small screens (very small mobile devices) */
@media (max-width: 480px) {
  .gallery-individual-item {
    height: 450px; /* Smallest height for very small screens */
    flex: 0 0 calc(100%);
    max-width: calc(100%);
  }
}
.gallery-performance-item img {
  width: 100%; /* Make image fit the width of the container */
  height: 100%; /* Make image fit the height of the container */
  object-fit: cover; /* Ensure the image covers the container without distortion */
}

.gallery-aba-item img {
  width: 100%; /* Make image fit the width of the container */
  height: 100%; /* Make image fit the height of the container */
  object-fit: cover; /* Ensure the image covers the container without distortion */
}

.gallery-aba-button {
  background: #333; /* Dark background for the button */
  color: white; /* White text */
  border: none; /* Remove default border */
  padding: 10px; /* Add padding */
  cursor: pointer; /* Change cursor to pointer */
  font-size: 1.5rem; /* Increase font size */
  position: absolute; /* Position the buttons */
  top: 50%; /* Center vertically */
  transform: translateY(-50%); /* Adjust vertical alignment */
}

.gallery-aba-button.left {
  left: 0; /* Align left button to the left edge */
  z-index: 10;
}

.gallery-aba-button.right {
  right: 0; /* Align right button to the right edge */
  z-index: 10;
}
.gallery-aba-margin {
  margin-bottom: 20px; /* Adjust the value as needed */
}

.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* Base Modal Styles */
.gallery-modal-content img {
  width: 100%; /* Default behavior */
  max-width: 90vw; /* Scale to fit within 90% of viewport width */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Ensure the image is fully visible */
}

/* For small screens like phones */
@media (max-width: 450px) {
  .gallery-modal-content img {
    max-width: 20vw; /* Scale further to fit smaller screens */
    max-height: 20vh; /* Adjust height to avoid taking up too much space */
  }
}
@media (max-width: 768px) {
  .gallery-modal-content img {
    max-width: 95vw; /* Scale further to fit smaller screens */
    max-height: 80vh; /* Adjust height to avoid taking up too much space */
  }
}

/* For medium screens like tablets */
@media (min-width: 769px) and (max-width: 1200px) {
  .gallery-modal-content img {
    max-width: 85vw; /* Slightly larger images for medium screens */
    max-height: 85vh; /* Keep images well-proportioned */
  }
}

/* For large screens like desktops */
@media (min-width: 1201px) {
  .gallery-modal-content img {
    max-width: 70vw; /* Images can take up more space on large screens */
    max-height: 85vh; /* Maintain a balanced height */
  }
}


.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Base Button Styles */
.gallery-aba-button {
  font-size: 24px; /* Default font size for the button text */
  padding: 10px 20px; /* Default padding for the button */
  border: none; /* No border */
  background-color: #000; /* Default background */
  color: #fff; /* Default text color */
  cursor: pointer; /* Pointer cursor for interactivity */
  border-radius: 4px; /* Rounded corners */
  opacity: 0.7; /* Set transparency */
  transition: opacity 0.3s; /* Smooth transition for hover effect */
}

.gallery-aba-button:hover {
  opacity: 1; /* Fully opaque on hover */
}

/* Small Screens: Phones and Small Devices */
@media (max-width: 768px) {
  .gallery-aba-button {
    font-size: 16px; /* Smaller text size */
    padding: 8px 16px; /* Reduced padding */
    border-radius: 3px; /* Slightly less rounded corners */
  }
}

/* Medium Screens: Tablets */
@media (min-width: 769px) and (max-width: 1200px) {
  .gallery-aba-button {
    font-size: 20px; /* Moderate text size */
    padding: 9px 18px; /* Slightly smaller padding */
    border-radius: 4px; /* Maintain rounded corners */
  }
}

/* Large Screens: Desktops */
@media (min-width: 1201px) {
  .gallery-aba-button {
    font-size: 24px; /* Default or larger size */
    padding: 10px 20px; /* Default padding */
  }
}

/* Modal Overlay */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

/* Modal Container */
.custom-modal {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 500px;
  position: relative;
}

/* Modal Content */
.custom-modal-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Modal Header */
.custom-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px;
}

.custom-modal-title {
  margin: 0;
  font-size: 18px;
  color: #000;
  left: 50%;
}


.custom-close-button {
  position: absolute;
  top: 10px;
  right: 1vw;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color:black;
}

.custom-close-button:hover {
  color: #f00;
}

/* Modal Body */
.custom-modal-body {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .custom-modal {
    width: 95%;
  }
}

@media (min-width: 464px) {
  .navigation-list-item-text{
    width: 150px;
  }
}















