html, body {
  overflow-x: hidden;
}

.hero-section {
  position: relative;
  /*background-color: #000;*/
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 700px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  margin: 16px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  transition: opacity 0.8s ease-in-out;
}
.hero-section img,
.hero-fade-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-container {
  max-width: 550px;
  margin-right: 80px;
}

.hero-fade-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: opacity 0.8s ease-in-out;
  
  background-image: url("../img/hero_2.webp");
  z-index: 0;
  will-change: opacity;
  backface-visibility: hidden;
}

.hero-content,
.hero-dots {
  position: relative;
  z-index: 2;
}

.hero-section::before {
  display: none;
}

.hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 58px;
  letter-spacing: -2%;
  margin-bottom: 30px;
  margin-top: 180px;
}

.hero-title .blue-text {
  color: #1965c0 !important;
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 58px;
  letter-spacing: -2%;
}

.hero-title .white-text {
  color: #444444;

  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 58px;
  letter-spacing: -2%;
}

.hero-text {
  color: #444444;
  max-width: 500px;
  font-family: "Quicksand", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -2%;
  margin-bottom: 35px;
}

.hero-author {
  display: block;
  text-align: right;
  font-weight: 600;
  margin-top: 15px;
  font-size: 18px;
}

.hero-btn {
  background: #1965c0;
  color: #f9efd7;
  padding: 12px 30px;
  border-radius: 8px;
  font-family: "Playfair Display", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -2%;

  transition: 0.3s;
  border: none;
}

.hero-btn:hover {
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-2px);
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  right: 50px;
}

.hero-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
}

.hero-dots span.active {
  width: 28px;
  border-radius: 10px;
  background: #3b82f6;
}

.about-section {
  background-color: #ffffff;
}

.about-label {
  color: #333333;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-heading {
  max-width: 850px;
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 52px;
  letter-spacing: -2%;
  text-align: center;
}

.text-primary-custom {
  color: #1965c0;
}

.about-subtext {
  max-width: 920px;
  color: #5a5a5a;
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -2%;
  text-align: center;
  margin-top: 16px;
}

.info-card {
  border-radius: 16px;
  border: none;
  font-size: 15px;
  line-height: 1.7;
  height: 222px;

  background-color: #eaf2fb;
}

.card-title {
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -2%;
  color: #444444;
}

.info-card p {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -2%;
  color: #444444;
}

.card-blue {
  background-color: #d8e1ef;
}

.card-beige {
  background-color: #e9dcc2;
}

.about-section {
  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.about-section.show {
  opacity: 1;
  transform: translateY(0);
}

.founder-section {
  position: relative;
  background-color: #f9efd7;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  height: 445px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  margin: 16px;
  overflow: hidden;
}

.founder-wrapper {
  background: #f9efd7;
  display: flex;
  align-items: center;
  padding: 80px 70px;
}

.section-label {
  color: #1965c0;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
}

.section-title {
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 52px;
  letter-spacing: -2%;
}

.text-blue {
  color: #1965c0;
}

.section-text {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -2%;

  color: #5a5a5a;
  max-width: 520px;
  margin-bottom: 50px !important;
}

.btn-custom {
  border: 1px solid #1965c0;
  color: #1965c0;
  border-radius: 8px;
  height: 59px;
  width: 30%;
}

.btn-custom h5 {
  font-family: "Playfair Display", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  margin-top: 3px;
  letter-spacing: -2%;
}

.btn-custom:hover {
  background: #1965c0;
  color: #fff;
}

.card-container {
  --bs-gutter-x: 5rem;
}

.founder-card {
  padding-right: 65px;
}

.person-card {
  position: relative;
  border-radius: 24px;
  /* overflow: hidden; */
  background: none;
  width: 100%;
}

.person-img {
  width: 275px !important;
  height: 340px;
  object-fit: cover;
  display: block;
  overflow: hidden;
  border-radius: 24px;
}

.person-info {
  background: #ffffff;
  padding: 15px 20px 20px;
  margin-top: -50px;
  border-top-right-radius: 50px;
  position: relative;
  z-index: 2;
  width: 302px;
}

.founder-left {
  opacity: 0;
  transform: translateX(-100px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.founder-right {
  opacity: 0;
  transform: translateX(100px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.founder-left.show,
.founder-right.show {
  opacity: 1;
  transform: translateX(0);
}

.success-section {
  background: #ffffff;
}

/* Label */
.success-label {
  color: #1965c0;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;
}

/* Title */
.success-title {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 52px;
  letter-spacing: -2%;
  text-align: center;
}

.text-blue {
  color: #1965c0;
  font-weight: 500;
}

/* Card */
.success-card {
  background: #ffffff;
  padding: 50px 20px 35px;
  border-radius: 20px;
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);
  position: relative;
  margin-top: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.success-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 30px 0px rgba(0, 0, 0, 0.12);
}

/* Floating icon */
.icon-circle {
  width: 80px;
  height: 80px;
  background: #1965c0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -80px auto 20px;
  color: #ffffff !important;
  font-size: 32px;
  box-shadow: 0 10px 20px rgba(0, 74, 153, 0.2);
}

.icon-circle i {
  color: #ffffff !important;
}

/* Helper for cards with hanging icons */
.hanging-icon-card {
  padding-top: 60px !important;
  margin-top: 40px !important;
}

/* Numbers */
.success-card h3 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 52px;
  letter-spacing: -2%;
  text-align: center;

  color: #444444;

  margin-bottom: 5px;
}

/* Text */
.success-card p {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -2%;

  color: #5a5a5a;
  margin-bottom: 0;
}

.success-section {
  opacity: 0;
  transform: translateY(100px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.success-section.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= ADMINISTRATION SECTION ================= */

.admin-section {
  position: relative;
  background-color: #eaf2fb;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  border-radius: 20px;
  margin: 16px;
  overflow: hidden;
  transition: opacity 0.8s ease-in-out;
}

.admin-card-container {
  --bs-gutter-y: 2.1rem;
}

/* Card */
.card-wrapper {
  max-width: 1250px;
  padding-left: 50px;
}

/* Card */
.admin-card {
  position: relative;
  border-radius: 24px;
  width: 100%;
}

/* Image */
.admin-img {
  width: 94% !important;
  height: 340px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

/* White Info Box */
.admin-info {
  background: #ffffff;
  padding: 20px;
  margin-top: -55px;
  border-top-right-radius: 40px;
  width: 100%;
  height: 110px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.admin-info h3, .admin-info h6 {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 21.6px;
  letter-spacing: 0%;
  color: #333333;

  margin-bottom: 5px;
}

.admin-info small {
  color: #4c4c4c;
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 21.6px;
  letter-spacing: 0%;
  display: block;
  max-width: 176px;
}

/* Equal height fix */
.admin-card-wrapper .col-lg-4 {
  display: flex;
}

.admin-card {
  width: 95%;
}

.card-one {
  flex: 0 0 auto;
  width: 28.333333%;
}

.admin-card {
  opacity: 0;
  transform: translateY(100px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.admin-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= GALLERY SECTION ================= */

/* Section background */
.gallery-section {
  background: #ffffff;
}

.gallery-subtitle {
  color: #1965c0;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.gallery-title {
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 52px;
  letter-spacing: -2%;
  color: #444444;
}

.gallery-title span {
  color: #1965c0;
  font-weight: 500;
}

.gallery-btn {
  border-radius: 8px;
  border: 1px solid #1965c0;
  height: 50px;
  width: 134px;
  padding: 9px 15px;
}

.btn-outline-primary {
  color: #1965c0;

  font-family: "Playfair Display", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -2%;
}

.gallery-btn:hover {
  color: #ffffff;
  background: #1965c0;
}

.swiper {
  width: 100%;
}

.swiper-slide {
  width: 380px; /* fixed width like screenshot */
}

.swiper-slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
}

.gallery-item {
  position: relative;
  display: block;
}

.gallery-item:hover img {
  filter: brightness(0.8);
}

/* Smooth linear movement */
.swiper-wrapper {
  transition-timing-function: linear !important;
}

/* ================= SUPERIOR MESSAGE SECTION (NEWSPAPER THEME) ================= */

.newspaper-theme {
  background-color: #fdfcf6; /* light paper color */
  padding: 80px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.newspaper-masthead {
  max-width: 900px;
  margin: 0 auto;
}

.masthead-divider-thick {
  height: 4px;
  background-color: #111;
}

.masthead-divider-thin {
  height: 1px;
  background-color: #333;
  margin: 4px 0;
}

.masthead-label {
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.masthead-info {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  color: #333;
  letter-spacing: 1px;
}

.message-label {
  color: #1965c0;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.newspaper-theme .message-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 52px; /* Standard site title line-height */
  letter-spacing: -2%; /* Standard site title letter-spacing */
  color: #1965c0;
  text-transform: none;
}

/* Image styling */
.editorial-img {
  border: 1px solid #ddd;
  padding: 8px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.editorial-img:hover {
  transform: rotate(-1.5deg);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

.editorial-caption {
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  border-color: #eee !important;
  color: #666;
}

/* Multi-column text */
.multi-column {
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  line-height: 24px; /* Standard site body line-height */
  color: #5a5a5a;
  column-count: 2;
  column-gap: 50px;
  column-rule: 1px solid #f0f0f0;
  text-align: justify;
}

/* Footer / Signature */
.article-footer {
  border-color: #eee !important;
}

.newspaper-signature {
  max-height: 50px;
  filter: grayscale(1) opacity(0.8);
}

.author-credits h5 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: #333;
  margin-bottom: 5px;
}

.author-credits p {
    font-family: 'Quicksand', sans-serif;
    color: #1965c0;
    font-weight: 600;
}

@media (max-width: 991.98px) {
  .multi-column {
    column-count: 1;
  }
  .newspaper-theme .message-title {
    font-size: 32px;
  }
}

/* ================= NEWS SECTION ================= */

/* Section background */
.news-section {
  background: #eaf2fb;
}

/* Label */
.news-label {
  color: #1965c0;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;
}

/* Title */
.news-title {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 52px;
  letter-spacing: -2%;
  text-align: center;
}

.text-blue {
  color: #1965c0;
  font-weight: 500;
}

/* Card Wrapper Spacing */
.news-wrapper {
  margin-top: 40px;
}

/* Image */
.news-img {
  border-radius: 16px;
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 24px;
}

/* Content */
.news-content {
  margin-top: 20px;
}

.news-date {
  color: #1965c0;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;

  margin-bottom: 8px;
}

.news-card-title {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -2%;
}

/* Button */
.news-btn {
  border-radius: 8px;
  border: 1px solid #1965c0;
  height: 50px;
  width: 134px;
  padding: 9px 15px;
}

.news-btn:hover {
  color: #ffffff;
  background: #1965c0;
}

/* ================= BOUNDARY SECTION ================= */

.boundaries-section {
  background: #ffffff;
}

.boundaries-subtitle {
  color: #1965c0;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.boundaries-title {
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 52px;
  letter-spacing: -2%;
  color: #444444;
}

.boundaries-title span {
  color: #1965c0;
  font-weight: 500;
}

.boundaries-btn {
  border-radius: 8px;
  border: 1px solid #1965c0;
  height: 50px;
  width: 182px;
  padding: 9px 15px;
}

.btn-outline-primary {
  color: #1965c0;

  font-family: "Playfair Display", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -2%;
}

.boundaries-btn:hover {
  color: #ffffff;
  background: #1965c0;
}

.region-card {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 1 !important;
  transform: none !important;
}

.region-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.region-item {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #eaf2fb;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-align: left;
}

.region-item span {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #5a5a5a;
  margin: 0 !important;
}

.region-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fbff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.region-icon-box img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.7;
}

.region-item:hover {
  background: #f8fbff;
  border-color: #1965c0;
  /* box-shadow: 0 8px 20px rgba(25, 101, 192, 0.05); */
}

.region-item.active {
  background: #1965c0 !important;
  border-color: #1965c0 !important;
  box-shadow: 0 12px 30px rgba(25, 101, 192, 0.2) !important;
}

.region-item.active span {
  color: #ffffff !important;
}

.region-item.active .region-icon-box {
  background: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
}

.region-item.active .region-icon-box img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.region-content {
  padding-left: 20px;
  opacity: 1 !important;
  transform: none !important;
}

.region-section {
    margin-bottom: 80px;
    scroll-margin-top: 120px;
}

.region-section-title {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 600;
    color: #1965c0;
    margin-bottom: 35px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eaf2fb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.region-section-title span {
    font-size: 16px;
    color: #666;
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
    background: #eaf2fb;
    padding: 6px 15px;
    border-radius: 20px;
}


/* Cards Grid */
.boundary-card-one {
  position: relative;
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(25, 101, 192, 0.1);
  overflow: hidden;
  background: #ffffff;
  transition: all 0.3s ease;
  height: 100%;
}

.boundary-card-one:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-color: #1965c0;
}

.boundary-card-one-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.boundary-card-info {
  background: #ffffff;
  padding: 30px;
  margin-top: -50px;
  border-top-right-radius: 60px;
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.03);
}

.boundary-card-info h4 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: #000000;
  margin-bottom: 12px;
}

.boundary-card-info small {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #666666;
  display: block;
  margin-bottom: 20px;
}

.contact-info {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #f0f4f8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon-blue {
  width: 20px;
  height: 20px;
}

.contact-text-blue {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #1965c0;
}




/* Safety Fallback for Contact Buttons */
button.btn.btn-contact,
button.btn.btn-contact:hover,
button.btn.btn-contact:focus,
button.btn.btn-contact:active {
    color: #ffffff !important;
}

/* ================= LIGHTGALLERY CUSTOMIZATION ================= */
.lg-toolbar {
    background-color: rgba(0, 0, 0, 0.2) !important;
    padding: 10px !important;
}

.lg-counter {
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}

/* Custom Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: zoom-out;
}

.image-modal-content {
    position: relative;
    width: 95%;
    height: 90%;
    max-width: 1400px;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-modal.active .image-modal-content {
    transform: scale(1);
}

.image-modal-display {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-modal-display img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(10px) scale(1);
    cursor: grab;
}

.image-modal-display img:active {
    cursor: grabbing;
}

.image-modal-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10005;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-control-btn {
    background: transparent;
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.image-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.image-modal-display img.show {
    opacity: 1;
    transform: translateY(0);
}

.image-modal-caption {
    margin-top: 25px;
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 30px;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 80%;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 10002;
    font-size: 1.2rem;
}

.image-modal-close:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}

.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10002;
    font-size: 1.2rem;
}

.image-modal-nav:hover {
    background: #fff;
    color: #000;
}

.image-modal-nav.prev {
    left: -80px;
}

.image-modal-nav.next {
    right: -80px;
}

@media (max-width: 1600px) {
    .image-modal-nav.prev { left: 20px; }
    .image-modal-nav.next { right: 20px; }
}

@media (max-width: 768px) {
    .image-modal-nav {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .image-modal-close {
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .image-modal-caption {
        font-size: 1rem;
        padding: 8px 20px;
        max-width: 90%;
    }
}
