/* ============================================================
   IWSF - Inner Pages Stylesheet
   Loads alongside iwsf.css for all non-home pages.
   Depends on CSS variables defined in iwsf.css.
   ============================================================ */

/* ============================================================
   PAGE HERO BANNER
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11, 37, 69, 0.88) 0%,
    rgba(11, 37, 69, 0.6) 55%,
    rgba(27, 108, 168, 0.35) 100%
  );
  z-index: 1;
}

/* Decorative wave line at bottom */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal-light), var(--gold));
  z-index: 2;
}

.page-hero-body {
  position: relative;
  z-index: 3;
  padding: 56px 0 48px;
  width: 100%;
}

.page-hero-tag {
  display: inline-block;
  background: rgba(201, 168, 76, 0.85);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0,0,0,.2);
}

/* ── Breadcrumb ── */
.page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}
.page-hero .breadcrumb-item a {
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  font-weight: 500;
  transition: color var(--transition);
}
.page-hero .breadcrumb-item a:hover {
  color: var(--gold-light);
}
.page-hero .breadcrumb-item.active {
  color: var(--gold-light);
  font-size: .85rem;
  font-weight: 600;
}
.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.45);
  content: '›';
  font-size: 1rem;
}

/* ── Brochure Link ── */
.page-hero-brochure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  border: 1.5px solid rgba(255,255,255,.3);
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--transition);
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,.06);
  text-decoration: none;
}
.page-hero-brochure:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.page-hero-brochure i {
  font-size: 1.1rem;
}

/* ============================================================
   INNER PAGE CONTENT WRAPPER
   ============================================================ */
.inner-content {
  padding: 72px 0;
  background: var(--white);
}

.inner-content-header {
  margin-bottom: 40px;
}

.inner-content-header .section-tag {
  margin-bottom: 10px;
}

.inner-content-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: .5rem;
}

/* ── Rich text / page_description styling ── */
.page-body {
  font-size: .97rem;
  line-height: 1.85;
  color: var(--text-body);
}

.page-body p {
  margin-bottom: 1.15rem;
}

.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body h5 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: .75rem;
  line-height: 1.25;
}

.page-body h2 { font-size: 1.65rem; }
.page-body h3 { font-size: 1.35rem; }
.page-body h4 { font-size: 1.15rem; }

.page-body ul,
.page-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.15rem;
}

.page-body ul li,
.page-body ol li {
  margin-bottom: .45rem;
  padding-left: .25rem;
}

.page-body ul {
  list-style: none;
  padding-left: 0;
}

.page-body ul li {
  position: relative;
  padding-left: 1.4rem;
}

.page-body ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 700;
}

.page-body a {
  color: var(--teal);
  font-weight: 500;
}

.page-body a:hover {
  color: var(--gold);
}

.page-body strong {
  color: var(--navy);
  font-weight: 600;
}

.page-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: .9rem;
}

.page-body table th {
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: .85rem;
}

.page-body table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--text-body);
}

.page-body table tr:nth-child(even) td {
  background: var(--gray-100);
}

/* ── Divider used inside content ── */
.page-body hr {
  border: none;
  border-top: 2px solid var(--gray-200);
  margin: 2rem 0;
}

/* ============================================================
   ABOUT PAGE — SECTION CARDS (Vision / Mission / Aim / Objective)
   ============================================================ */
.about-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.about-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.about-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(27,108,168,.1), rgba(27,108,168,.05));
  border: 1px solid rgba(27,108,168,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 18px;
}

.about-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.about-card .page-body {
  font-size: .92rem;
}

/* ============================================================
   SIDEBAR (for pages that may need one in future)
   ============================================================ */
.inner-sidebar {
  padding-left: 32px;
}

@media (max-width: 991.98px) {
  .inner-sidebar {
    padding-left: 0;
    margin-top: 40px;
  }
}

.sidebar-card {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
}

.sidebar-card h6 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  color: var(--gray-600);
  font-size: .88rem;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
  text-decoration: none;
}

.sidebar-nav-link:last-child {
  border-bottom: none;
}

.sidebar-nav-link::before {
  content: '›';
  color: var(--gold);
  font-size: 1.1rem;
}

.sidebar-nav-link:hover {
  color: var(--teal);
  padding-left: 6px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767.98px) {
  .page-hero {
    min-height: 200px;
  }

  .page-hero-body {
    padding: 40px 0 36px;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .page-hero-brochure {
    font-size: .8rem;
    padding: 8px 14px;
  }

  .inner-content {
    padding: 48px 0;
  }

  .about-card {
    padding: 24px 20px;
  }
}

/* ============================================================
   ABOUT PAGE — HIGHLIGHT SIDE CARD
   ============================================================ */
.about-highlight-card {
  background: linear-gradient(145deg, var(--navy), #1a3a6e);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  color: #fff;
  position: sticky;
  top: 90px;
}

.about-highlight-icon {
  width: 56px;
  height: 56px;
  background: rgba(201,168,76,.2);
  border: 1px solid rgba(201,168,76,.35);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.about-highlight-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.about-highlight-card p {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin-bottom: 28px;
}

.about-highlight-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  justify-content: space-between;
}

.hs-item {
  text-align: center;
  flex: 1;
}

.hs-item + .hs-item {
  border-left: 1px solid rgba(255,255,255,.12);
}

.hs-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 5px;
}

.hs-num sup {
  font-size: .9rem;
  vertical-align: super;
}

.hs-lbl {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ============================================================
   EVENTS PAGE
   ============================================================ */

/* Filter badge */
.events-filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27,108,168,.08);
  border: 1px solid rgba(27,108,168,.2);
  color: var(--navy);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 50px;
}
.events-filter-badge a {
  color: var(--teal);
  font-weight: 600;
}
.events-filter-badge a:hover { color: var(--gold); }

/* Swiper nav buttons — sized for event carousel */
.upcomingSwiper .swiper-button-prev,
.upcomingSwiper .swiper-button-next {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--teal);
  top: 38%;
}
.upcomingSwiper .swiper-button-prev::after,
.upcomingSwiper .swiper-button-next::after {
  font-size: .85rem;
  font-weight: 900;
}
.upcomingSwiper .swiper-button-prev:hover,
.upcomingSwiper .swiper-button-next:hover {
  background: var(--teal);
  color: #fff;
}

/* Pagination */
.pagination-iwsf {
  gap: 6px;
}
.pagination-iwsf .page-link {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm) !important;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 14px;
  transition: var(--transition);
  background: var(--white);
}
.pagination-iwsf .page-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.pagination-iwsf .page-item.active .page-link {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 4px 12px rgba(27,108,168,.3);
}
.pagination-iwsf .page-item.disabled .page-link {
  opacity: .4;
  pointer-events: none;
}

/* ============================================================
   EVENT VIEW / DETAIL PAGE
   ============================================================ */

/* ── Meta Bar ── */
.event-meta-bar {
  display: flex;
  gap: 24px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 8px;
}

.event-meta-img {
  flex-shrink: 0;
  width: 180px;
}

.event-meta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-meta-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding: 24px 24px 24px 0;
  flex: 1;
}

.event-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.event-meta-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,.2);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1rem;
  flex-shrink: 0;
}

.event-meta-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 4px;
}

.event-meta-value {
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

/* ── Sidebar Cards ── */
.ev-sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ev-sidebar-card-header {
  background: linear-gradient(135deg, var(--navy), #1a3a6e);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ev-sidebar-card-header i {
  color: var(--gold-light);
}

.ev-sidebar-card-body {
  padding: 22px;
}

/* ── Form inputs inside sidebar ── */
.ev-input {
  border: 1.5px solid var(--gray-200) !important;
  border-radius: var(--radius-sm) !important;
  font-size: .88rem;
  color: var(--text-body);
  padding: 10px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: none !important;
}

.ev-input:focus {
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 3px rgba(27,108,168,.12) !important;
}

.ev-input[readonly] {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* ── Download items ── */
.ev-download-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--navy);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.ev-download-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ev-download-item:hover {
  color: var(--teal);
}

.ev-download-item:hover .ev-download-icon {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.ev-download-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.ev-download-item .fa-download {
  color: var(--gray-400);
  font-size: .85rem;
  transition: var(--transition);
}

.ev-download-item:hover .fa-download {
  color: var(--teal);
}

/* ── Inline alerts ── */
.ev-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  line-height: 1.55;
}

.ev-alert i {
  margin-top: 2px;
  flex-shrink: 0;
}

.ev-alert a {
  font-weight: 600;
  text-decoration: underline;
}

.ev-alert-danger {
  background: #fff5f5;
  border: 1px solid #fcd4d4;
  color: #c0392b;
}

.ev-alert-warning {
  background: #fffbec;
  border: 1px solid #fce8a0;
  color: #856404;
}

.ev-alert-warning a { color: var(--teal); }

/* ── Responsive ── */
@media (max-width: 767.98px) {
  .event-meta-bar {
    flex-direction: column;
    gap: 0;
  }

  .event-meta-img {
    width: 100%;
    height: 200px;
  }

  .event-meta-info {
    padding: 20px;
    gap: 20px;
  }
}

/* ============================================================
   NEWS PAGE
   ============================================================ */

.news-count-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(27,108,168,.08);
  border: 1px solid rgba(27,108,168,.2);
  color: var(--teal);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: .04em;
}

/* Full news card (listing page) */
.news-card-full {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.news-card-full:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}

.news-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.news-card-full:hover .news-card-img img {
  transform: scale(1.06);
}

.news-card-img-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gray-400);
}

.news-card-body-full {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-date i { color: var(--gold); }

.news-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.news-card-title a {
  color: var(--navy);
  transition: color var(--transition);
}

.news-card-title a:hover { color: var(--teal); }

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: auto;
  transition: var(--transition);
}

.news-read-more:hover {
  color: var(--gold);
  gap: 10px;
}

/* ============================================================
   GALLERY IMAGES PAGE
   ============================================================ */

/* Search bar */
.gallery-search-form { width: 100%; }

.gallery-search-wrap {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.gallery-search-wrap:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,108,168,.1);
}

.gallery-search-wrap > i {
  color: var(--gray-400);
  font-size: .95rem;
  flex-shrink: 0;
  margin-right: 10px;
}

.gallery-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: .92rem;
  color: var(--text-body);
  background: transparent;
  font-family: var(--font-body);
}

.gallery-search-input::placeholder { color: var(--gray-400); }

.gallery-search-btn {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.gallery-search-btn:hover {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: 0 4px 16px rgba(27,108,168,.3);
}

/* Album card */
.gallery-album-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition);
}

.gallery-album-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}

/* Cover image */
.gallery-album-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
}

.gallery-album-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-album-card:hover .gallery-album-img img {
  transform: scale(1.08);
}

.gallery-album-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--gray-400);
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}

/* Hover overlay */
.gallery-album-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,37,69,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-album-card:hover .gallery-album-overlay {
  opacity: 1;
}

.gallery-album-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.gallery-album-overlay-inner i {
  font-size: 1.6rem;
  color: var(--gold-light);
}

.gallery-album-overlay-inner span {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Image count badge */
.gallery-count-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(11,37,69,.75);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.gallery-count-badge i { color: var(--gold-light); }

/* Album info */
.gallery-album-body {
  padding: 16px 18px;
}

.gallery-album-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-album-date {
  font-size: .78rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 5px;
}

.gallery-album-date i { color: var(--gold); }

/* ============================================================
   GALLERY VIEW PAGE
   ============================================================ */

/* Info bar below hero */
.gallery-info-bar {
  background: var(--navy);
  padding: 14px 0;
  border-bottom: 3px solid var(--gold);
}

.gallery-info-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.gallery-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  font-weight: 500;
}

.gallery-info-item i { color: var(--gold-light); font-size: .95rem; }

.gallery-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-light);
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.gallery-back-link:hover { color: #fff; gap: 10px; }

/* Photo grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

@media (max-width: 1199.98px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767.98px)  { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 479.98px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-grid-item { display: block; text-decoration: none; }

.gallery-grid-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  cursor: pointer;
}

.gallery-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  display: block;
}

.gallery-grid-item:hover .gallery-grid-thumb img {
  transform: scale(1.08);
}

.gallery-grid-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,37,69,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-grid-item:hover .gallery-grid-overlay { opacity: 1; }

.gallery-grid-overlay i {
  font-size: 1.5rem;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}

/* ============================================================
   CUSTOM LIGHTBOX
   ============================================================ */
.iwsf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.iwsf-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.iwsf-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,15,30,.93);
  backdrop-filter: blur(6px);
}

.iwsf-lightbox-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 60px 80px;
}

/* Image wrapper */
.iwsf-lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iwsf-lb-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  transition: opacity .25s ease;
  display: block;
}

/* Loader */
.iwsf-lb-loader {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold-light);
}

/* Nav buttons */
.iwsf-lb-prev,
.iwsf-lb-next,
.iwsf-lb-close {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  z-index: 3;
}

.iwsf-lb-prev,
.iwsf-lb-next {
  width: 52px;
  height: 52px;
  font-size: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
}

.iwsf-lb-prev { left: 20px; }
.iwsf-lb-next { right: 20px; }

.iwsf-lb-close {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  top: 16px;
  right: 16px;
}

.iwsf-lb-prev:hover,
.iwsf-lb-next:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-50%) scale(1.08);
}

.iwsf-lb-close:hover {
  background: #e74c3c;
  border-color: #e74c3c;
  transform: scale(1.08);
}

/* Counter */
.iwsf-lb-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 50px;
  letter-spacing: .06em;
  backdrop-filter: blur(6px);
}

/* Mobile lightbox adjustments */
@media (max-width: 767.98px) {
  .iwsf-lightbox-inner { padding: 60px 12px 50px; }
  .iwsf-lb-prev { left: 6px; }
  .iwsf-lb-next { right: 6px; }
  .iwsf-lb-prev,
  .iwsf-lb-next { width: 40px; height: 40px; font-size: .9rem; }
  .gallery-info-items { gap: 14px; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* Form fields */
.contact-form { margin-top: 4px; }

.contact-field-wrap { display: flex; flex-direction: column; gap: 6px; }

.contact-field-wrap label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}

.contact-input {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .92rem;
  color: var(--text-body);
  font-family: var(--font-body);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.contact-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,108,168,.1);
}

.contact-input[readonly] {
  background: var(--gray-100);
  color: var(--gray-600);
  cursor: not-allowed;
}

.contact-textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-error {
  font-size: .78rem;
  color: #e74c3c;
  font-weight: 500;
}

/* Contact info cards */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateX(4px);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(27,108,168,.1);
  border: 1px solid rgba(27,108,168,.18);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-info-body h6 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 6px;
}

.contact-info-body p {
  margin: 0;
  font-size: .92rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.6;
}

.contact-info-body a {
  color: var(--navy);
  transition: color var(--transition);
}

.contact-info-body a:hover { color: var(--teal); }

/* Social row */
.contact-social-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.contact-social-row > span {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
}

.contact-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: .9rem;
  transition: var(--transition);
  text-decoration: none;
}

.contact-social-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

/* Branch cards */
.branch-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}

.branch-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}

.branch-card-header {
  background: linear-gradient(135deg, var(--navy), #1a3a6e);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.branch-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,.2);
  border: 1px solid rgba(201,168,76,.35);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.branch-card-header h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.branch-card-body { padding: 22px 24px; }

.branch-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.6;
}

.branch-detail:last-of-type { margin-bottom: 0; }

.branch-detail i {
  color: var(--teal);
  font-size: .95rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}

.branch-detail a {
  color: var(--text-body);
  transition: color var(--transition);
}

.branch-detail a:hover { color: var(--teal); }

/* Google Map */
.contact-map-wrap {
  height: 420px;
  width: 100%;
  border-top: 4px solid var(--gold);
}