/* Modern Design System & Variables */
:root {
  --primary-accent: #14b8a6;
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #14b8a6 100%);
  --secondary-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --card-bg: #ffffff;
  --card-border: rgba(14, 165, 233, 0.12);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(14, 165, 233, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 30px -10px rgba(14, 165, 233, 0.2), 0 10px 15px -5px rgba(0, 0, 0, 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Achievement & Association List Design */
.achievement-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.achievement-list li {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 6px solid #0284c7;
  padding: 22px 26px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  text-align: justify;
  position: relative;
  overflow: hidden;
}

.achievement-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 0;
  pointer-events: none;
}

.achievement-list li:hover {
  transform: translateY(-4px);
  border-left-color: #14b8a6;
  box-shadow: var(--shadow-hover);
  background-color: #f8fafc;
}

.achievement-list p {
  font-size: 1.025rem;
  line-height: 1.7;
  color: #334155;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Image Wrappers & Interactive Cards */
.image-wrapper {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  background: #f1f5f9;
}

.image-wrapper img {
  margin-top: 0;
  max-height: 420px;
  object-fit: cover;
  width: 100%;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.image-wrapper:hover img {
  transform: scale(1.03);
}

/* Modern Page Title Badges */
.title {
  text-align: center;
  margin: 30px 0 20px 0;
}

.title h2 {
  background: var(--primary-gradient);
  color: #ffffff;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 20px rgba(2, 132, 199, 0.25);
  transition: var(--transition-smooth);
}

.title h2:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.35);
}

/* Table Design Overhaul */
.table-responsive-custom {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin: 30px auto;
  max-width: 95%;
}

table {
  width: 100%;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  text-align: center;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 18px;
  color: #334155;
}

th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.75px;
  border-bottom: 2px solid #cbd5e1;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background-color: #f1f5f9;
}

/* GLightbox Counter Custom Styling */
.glightbox-container .gslide-count {
  display: block !important;
  color: #ffffff;
  font-size: 14px;
  position: absolute;
  top: 15px;
  right: 25px;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.75);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .achievement-list li {
    padding: 16px 18px;
    border-left-width: 4px;
  }

  .achievement-list p {
    font-size: 0.95rem;
  }

  .image-wrapper img {
    max-height: 320px;
  }

  .title h2 {
    font-size: 1.25rem;
    padding: 10px 24px;
  }

  th, td {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

/* Responsive Hero Banner & Full Photo Visibility Fix */
.hero {
  position: relative;
  overflow: hidden;
}

.hero img {
  object-position: center 20%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero:before {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.75) 100%) !important;
  backdrop-filter: contrast(105%);
}

/* Mobile & Tablet Full Uncropped Photo View */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 85px 15px 40px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  }

  .hero img {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 520px;
    height: auto;
    max-height: 48vh;
    object-fit: contain !important;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 24px;
    z-index: 2;
  }

  .hero:before {
    display: none;
  }

  .hero .container {
    text-align: center;
    z-index: 3;
  }

  .hero h2 {
    font-size: 2.1rem;
    color: #ffffff;
  }

  .hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
  }
}

