 /* Gallery Section */
  .gallery-section {
    position: relative;
    padding: 200px 0;
    overflow: hidden;
    background: linear-gradient(to bottom, #faf0ff, #ffe6f0, #fff5e6);
  }

  .container {
    /* max-width: 1280px; */
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  /* Floating Decorative Icons */
  .deco-icon-1 {
    position: absolute;
    top: 2.5rem;
    left: 2rem;
    font-size: 5rem;
    opacity: 0.08;
    transform: rotate(141deg);
    pointer-events: none;
  }

  .deco-icon-2 {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 5rem;
    opacity: 0.08;
    transform: translateY(-2px);
    pointer-events: none;
  }

  /* Header styles */
  .gallery-header {
    text-align: center;
    margin-bottom: 4rem;
  }

  .header-emoji {
    display: inline-block;
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    transform: scale(1.02) rotate(-0.5deg);
  }

  .gallery-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #9333ea, #db2777);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
  }

  .gallery-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
  }

  /* Grid Layout */
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  @media (min-width: 768px) {
    .gallery-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
  }

  .grid-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Column shifts for staggered effect */
  .col-shift-down {
    transform: translateY(38px);
  }

  .col-shift-up {
    transform: translateY(-38px);
  }

  .col-shift-mid {
    transform: translateY(-19px);
  }

  @media (max-width: 767px) {

    .col-shift-down,
    .col-shift-up,
    .col-shift-mid {
      transform: translateY(0);
    }
  }

  /* Gallery Card */
  .gallery-card {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.25);
  }

  .card-img-wrapper {
    position: relative;
    overflow: hidden;

    background-color: #f3f4f6;
  }

  .card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    background: #f9fafb;
  }

  .gallery-card:hover .card-img {
    transform: scale(1.08);
  }

  /* gradient overlay */
  .img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .gallery-card:hover .img-overlay {
    opacity: 1;
  }

  .card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .gallery-card:hover .card-caption {
    transform: translateY(0);
  }

  .caption-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .caption-emoji {
    font-size: 1.8rem;
  }

  .caption-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.2px;
  }

  @media (min-width: 768px) {
    .caption-title {
      font-size: 1.25rem;
    }

    .caption-emoji {
      font-size: 2rem;
    }
  }

  .top-right-emoji {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    pointer-events: none;
    z-index: 2;
  }

  .glow-circle {
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 6rem;
    height: 6rem;
    background: radial-gradient(circle, #fde047, #f97316);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
  }

  .gallery-card:hover .glow-circle {
    opacity: 0.2;
  }

  /* Awards Section */
  .awards-section {
    margin-top: 5rem;
  }

  .section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #1f2937;
  }

  @media (min-width: 768px) {
    .section-title {
      font-size: 2.5rem;
    }
  }

  .awards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  @media (min-width: 768px) {
    .awards-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
  }

  /* Seminars & Training */
  .seminars-section {
    margin-top: 5rem;
  }

  .seminars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  @media (min-width: 768px) {
    .seminars-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .seminar-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: 0.2s;
    cursor: pointer;
  }

  .seminar-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  }

  .seminar-media {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    display: block;
  }

  .video-media {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
  }

  .featured-video {
    grid-column: span 2;
    grid-row: span 2;
  }

  @media (max-width: 767px) {
    .featured-video {
      grid-column: span 2;
    }
  }

  .badge-label {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    color: white;
    font-weight: 500;
  }

  .seminar-card {
    position: relative;
  }

  .cta-banner {
    margin-top: 5rem;
    background: linear-gradient(90deg, #f87171, #facc15, #60a5fa);
    border-radius: 2rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.2);
  }

  .cta-emoji-float {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.5;
  }

  .cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
  }

  .cta-text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 36rem;
    margin: 0 auto 1.5rem auto;
  }

  .cta-button {
    background: white;
    color: #ea580c;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  }

  .cta-button:hover {
    transform: scale(1.03);
    background: #fff7ed;
  }

  /* Floating Chat Button */
  .chat-button {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1002;
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: all 0.2s;
  }

  .chat-button:hover {
    transform: scale(1.07);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  }

  /* ======= MODAL STYLES ======= */
 /* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Modal overlay */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow-y: auto;  /* Enables vertical scroll within modal */
    overflow-x: hidden;
}

.modal.active {
    display: flex;
}

/* Modal inner wrapper */
.modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Image styling - scrollable if too tall */
.modal-img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    cursor: zoom-out;
}

/* Optional: if you want horizontal scroll for very wide images */
.modal-img-container {
    overflow: auto;
    max-width: 100%;
    max-height: 85vh;
    display: flex;
    justify-content: center;
}

.modal-caption {
    margin-top: 1rem;
    color: white;
    text-align: center;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 2rem;
    font-size: 1rem;
    backdrop-filter: blur(4px);
}

.modal-close {
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 10000;
    font-weight: 300;
    border: 1px solid rgba(255,255,255,0.2);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-img {
        max-height: 75vh;
    }
    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

  button,
  .gallery-card,
  .seminar-card {
    cursor: pointer;
  }

  img {
    background: #f0f2f5;
  }

  .award-card {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
    transition: 0.25s;
    cursor: pointer;
  }

  .award-card:hover {
    transform: translateY(-4px);
  }