      /* Media Gallery Specific Styles */
      .gallery-hero {
        background: linear-gradient(135deg, var(--theme-blue) 0%, #1a56db 100%);
        color: var(--white);
        padding: 100px 0 50px;
        position: relative;
        overflow: hidden;
      }

      .gallery-hero h1 {
        font-size: 3.5rem;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
      }

      .gallery-hero p {
        font-size: 1.2rem;
        opacity: 0.9;
        max-width: 600px;
        margin: 0 auto 30px;
      }

      /* Category Navigation */
      .category-navigation {
        background: var(--bg);
        padding: 20px 0;
        position: sticky;
        top: 80px;
        z-index: 100;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      }

      .category-tabs {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
      }

      .category-tab {
        background: var(--white);
        border: 2px solid var(--border);
        padding: 12px 25px;
        border-radius: 25px;
        font-weight: 600;
        color: var(--text);
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 160px;
        text-align: center;
        position: relative;
        overflow: hidden;
      }

      .category-tab:hover,
      .category-tab.active {
        background: var(--theme-blue);
        color: var(--white);
        border-color: var(--theme-blue);
        transform: translateY(-2px);
      }

      .category-tab .category-name {
        display: block;
        font-size: 1.1rem;
        font-weight: 700;
      }

      .category-tab .photo-count {
        display: block;
        font-size: 0.8rem;
        opacity: 0.8;
        margin-top: 5px;
      }

      /* Gallery Grid */
      .gallery-section {
        background: var(--bg2);
        padding: 80px 0;
      }

      .category-section {
        margin-bottom: 60px;
        display: none;
      }

      .category-section.active {
        display: block;
        animation: fadeIn 0.5s ease;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .category-header {
        background: var(--white);
        padding: 25px 30px;
        border-radius: 15px;
        margin-bottom: 30px;
        display: flex;
        align-items: center;
        gap: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      }

      .category-icon {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: var(--white);
        flex-shrink: 0;
      }

      .category-title {
        flex: 1;
      }

      .category-title h2 {
        color: var(--header);
        margin-bottom: 5px;
      }

      .category-title p {
        color: var(--text);
        margin: 0;
        font-size: 0.95rem;
      }

      .photo-count-badge {
        background: var(--theme-green);
        color: var(--white);
        padding: 8px 15px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.9rem;
        white-space: nowrap;
      }

      /* Gallery Grid */
      .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
      }

      .gallery-item {
        position: relative;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        cursor: pointer;
        transition: transform 0.3s ease;
      }

      .gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
      }

      .gallery-item:hover .gallery-image img {
        transform: scale(1.05);
      }

      .gallery-image {
        height: 250px;
        overflow: hidden;
      }

      .gallery-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
      }

      .gallery-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        padding: 20px;
        color: var(--white);
        transform: translateY(100%);
        transition: transform 0.3s ease;
      }

      .gallery-item:hover .gallery-overlay {
        transform: translateY(0);
      }

      .gallery-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 5px;
      }

      .gallery-description {
        font-size: 0.9rem;
        opacity: 0.9;
      }

      /* Modal Styles */
      .gallery-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.9);
        z-index: 9999;
        align-items: center;
        justify-content: center;
        padding: 20px;
      }

      .modal-content {
        max-width: 90%;
        max-height: 90%;
        position: relative;
      }

      .modal-image {
        max-width: 100%;
        max-height: 80vh;
        border-radius: 10px;
      }

      .modal-info {
        background: var(--white);
        padding: 20px;
        border-radius: 0 0 10px 10px;
        margin-top: -5px;
      }

      .modal-close {
        position: absolute;
        top: -40px;
        right: 0;
        background: var(--white);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.5rem;
        transition: all 0.3s ease;
      }

      .modal-close:hover {
        background: var(--theme-blue);
        color: var(--white);
      }

      .modal-nav {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
        padding: 0 20px;
      }

      .modal-nav button {
        background: var(--white);
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.5rem;
        transition: all 0.3s ease;
      }

      .modal-nav button:hover {
        background: var(--theme-blue);
        color: var(--white);
      }

      /* Color Coding for Categories */
      .infrastructure {
        background: #4ecdc4;
      }
      .spardha {
        background: #ff6b6b;
      }
      .picnic {
        background: #ffd166;
      }
      .graduation {
        background: #06d6a0;
      }
      .sports {
        background: #118ab2;
      }
      .activities {
        background: #073b4c;
      }
      .festivals {
        background: #ef476f;
      }
      .workshops {
        background: #8338ec;
      }

      /* Responsive Design */
      @media (max-width: 1200px) {
        .gallery-grid {
          grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        }
      }

      @media (max-width: 992px) {
        .gallery-hero h1 {
          font-size: 2.8rem;
        }

        .category-header {
          flex-direction: column;
          text-align: center;
        }

        .category-tabs {
          gap: 10px;
        }

        .category-tab {
          padding: 10px 20px;
          min-width: 140px;
        }

        .gallery-grid {
          grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        }
      }

      @media (max-width: 768px) {
        .gallery-hero {
          padding: 80px 0 40px;
        }

        .gallery-hero h1 {
          font-size: 2.2rem;
        }

        .category-tabs {
          gap: 8px;
        }

        .category-tab {
          padding: 8px 15px;
          min-width: 120px;
          font-size: 0.9rem;
        }

        .category-tab .category-name {
          font-size: 1rem;
        }

        .gallery-grid {
          grid-template-columns: 1fr;
          gap: 20px;
        }

        .gallery-image {
          height: 200px;
        }

        .category-icon {
          width: 60px;
          height: 60px;
          font-size: 1.5rem;
        }
      }

      @media (max-width: 576px) {
        .gallery-hero h1 {
          font-size: 1.8rem;
        }

        .category-tabs {
          gap: 5px;
        }

        .category-tab {
          padding: 6px 12px;
          min-width: 100px;
        }

        .modal-nav {
          padding: 0 10px;
        }

        .modal-nav button {
          width: 40px;
          height: 40px;
          font-size: 1.2rem;
        }
      }