 /* =====================================================
       BASE & GALLERY STYLES
       ===================================================== */

    /* Base Styles */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: #000000 !important;
      color: #ffffff;
      overflow-x: hidden;
      line-height: 1.6;
    }

    #particles-js {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      position: relative;
      z-index: 2;
    }

    .section-title {
      font-family: 'Orbitron', sans-serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700;
      text-align: center;
      margin-bottom: 60px;
      background: linear-gradient(135deg, #00d4ff 0%, #ffffff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* Header Styles */
    .gallery-page-header {
      position: sticky;
      top: 0;
      left: 0;
      right: 0;
      height: 80px;
      background: rgba(10, 14, 39, 0.9);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 25px;
    }

    .back-to-home-btn {
      background: linear-gradient(90deg, #00c4ff, #0082ff);
      color: white;
      padding: 10px 20px;
      border-radius: 9999px;
      text-decoration: none;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0, 196, 255, 0.3);
    }

    .back-to-home-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 196, 255, 0.5);
    }

    .itelf-logo {
      height: 50px;
    }

    .itelf-logo img {
      height: 100%;
      width: auto;
    }

    /* BIG HERO IMAGE */
    .big-hero-image {
      width: 100%;
      margin-bottom: 60px;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 0 35px rgba(0, 212, 255, 0.3);
      position: relative;
    }

    .big-hero-image img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
    }

    /* Mobile Responsive for hero */
    @media (max-width: 480px) {
      .big-hero-image {
        margin-bottom: 40px;
        border-radius: 12px;
      }
    }

    /* Gallery Styles */
    .gallery-container {
      padding-top: 60px;
      padding-bottom: 80px;
    }

    .gallery-header {
      text-align: center;
      margin-bottom: 80px;
    }

    .gallery-header .tagline {
      font-size: clamp(1.2rem, 2.5vw, 1.5rem);
      color: #a0a9c0;
      font-weight: 300;
    }

    .gallery-section {
      margin-bottom: 80px;
    }

    .gallery-section-title {
      font-family: 'Orbitron', sans-serif;
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      font-weight: 600;
      color: #ffffff;
      margin-bottom: 40px;
      padding-left: 20px;
      border-left: 4px solid var(--highlight-color, #00d4ff);
      text-align: left;
    }

    .gallery-subsection-title {
      font-family: 'Inter', sans-serif;
      font-size: clamp(1.2rem, 2vw, 1.5rem);
      font-weight: 500;
      color: #a0a9c0;
      margin-top: 60px;
      margin-bottom: 20px;
      padding-left: 20px;
      position: relative;
    }

    .gallery-subsection:first-child .gallery-subsection-title {
      margin-top: 0;
    }

    .gallery-subsection-title::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      height: 60%;
      width: 4px;
      background-color: #a0a9c0;
      border-radius: 2px;
    }

    .horizontal-gallery {
      display: flex;
      overflow-x: auto;
      overflow-y: hidden;
      padding: 20px;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      perspective: 1500px;
    }

    .horizontal-gallery::-webkit-scrollbar {
      height: 8px;
    }

    .horizontal-gallery::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 4px;
    }

    .horizontal-gallery::-webkit-scrollbar-thumb {
      background: linear-gradient(90deg, var(--highlight-color, #00d4ff), color-mix(in srgb, var(--highlight-color, #00d4ff) 70%, #000));
      border-radius: 4px;
    }

    .gallery-card {
      flex: 0 0 320px;
      height: 250px;
      margin-right: 25px;
      position: relative;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
      transition: border-color 0.4s ease, box-shadow 0.4s ease;
      scroll-snap-align: center;
      transform-style: preserve-3d;
      cursor: pointer;
    }

    .gallery-card-inner {
      width: 100%;
      height: 100%;
      position: relative;
      overflow: hidden;
      border-radius: 16px;
      transform: translateZ(20px);
      transition: transform 0.2s ease-out;
    }

    .gallery-card.portrait {
      flex: 0 0 280px;
      height: 350px;
    }

    .gallery-card:hover {
      border-color: var(--highlight-color, #00d4ff);
      box-shadow: 0 20px 50px color-mix(in srgb, var(--highlight-color, #00d4ff) 25%, transparent);
    }

    .gallery-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .gallery-card:hover .gallery-card-inner {
      transform: translateZ(40px) scale(1.02);
    }

    .card-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 20px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
      color: #ffffff;
      transform: translateY(100%);
      opacity: 0;
      transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .gallery-card:hover .card-caption {
      transform: translateY(0);
      opacity: 1;
    }

    .card-caption h3 {
      font-family: 'Orbitron', sans-serif;
      font-size: 1.2rem;
      color: var(--highlight-color, #00d4ff);
      margin: 0 0 5px 0;
    }

    .card-caption p {
      font-size: 0.9rem;
      color: #b0b8d0;
      margin: 0;
      line-height: 1.4;
    }

    /* Click to view icon */
    .gallery-card-inner::after {
      content: '\f03e';
      /* Font Awesome images icon */
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.8);
      font-size: 40px;
      color: rgba(255, 255, 255, 0.8);
      background: rgba(0, 0, 0, 0.4);
      width: 80px;
      height: 80px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: all 0.4s ease;
      z-index: 5;
    }

    .gallery-card.video .gallery-card-inner::after {
      content: '\f144';
      /* Font Awesome play icon for videos */
    }

    .gallery-card:hover .gallery-card-inner::after {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }

    /* Section-Specific Highlight Colors */
    #gallery-ceremony {
      --highlight-color: #00d4ff;
    }

    #gallery-winners {
      --highlight-color: #FFD700;
    }

    #gallery-campus {
      --highlight-color: #ff3333;
    }

    #gallery-memories {
      --highlight-color: #9b59b6;
    }

    #gallery-creatives {
      --highlight-color: #2ecc71;
    }

    /* Lightbox Styles */
    .lightbox {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.9);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.4s ease, visibility 0.4s ease;
      backdrop-filter: blur(5px);
    }

    .lightbox.show {
      opacity: 1;
      visibility: visible;
    }

    .lightbox-content {
      position: relative;
      max-width: 90vw;
      max-height: 90vh;
      transform: scale(0.9);
      transition: transform 0.4s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .lightbox.show .lightbox-content {
      transform: scale(1);
    }

    .lightbox img,
    .lightbox video {
      max-width: 100%;
      max-height: 75vh;
      border-radius: 10px;
      border: 2px solid rgba(255, 255, 255, 0.2);
    }

    #lightbox-img,
    #lightbox-video {
      display: none;
    }

    #lightbox-img.active,
    #lightbox-video.active {
      display: block;
    }

    .lightbox-caption {
      color: white;
      text-align: center;
      margin-top: 15px;
      width: 100%;
      max-width: 600px;
    }

    .lightbox-caption h3 {
      font-size: 1.5rem;
      color: var(--highlight-color, #00d4ff);
      font-family: 'Orbitron';
    }

    .lightbox-caption p {
      font-size: 1rem;
      color: #ccc;
      margin-bottom: 10px;
    }

    .lightbox-controls {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 15px;
      margin-top: 10px;
    }

    .play-pause-btn {
      background: none;
      border: none;
      color: white;
      font-size: 1.2rem;
      cursor: pointer;
      width: 30px;
      text-align: center;
    }

    .progress-bar {
      width: 150px;
      height: 4px;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 2px;
      overflow: hidden;
      cursor: pointer;
    }

    .progress-bar-inner {
      height: 100%;
      width: 0;
      background: var(--highlight-color, #fff);
      border-radius: 2px;
    }

    .progress-bar.playing .progress-bar-inner {
      animation: fillProgress 4s linear forwards;
    }

    .progress-bar.paused .progress-bar-inner {
      animation-play-state: paused;
    }

    @keyframes fillProgress {
      from {
        width: 0%;
      }

      to {
        width: 100%;
      }
    }

    .lightbox-close,
    .lightbox-nav {
      position: absolute;
      background: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      font-size: 2rem;
      cursor: pointer;
      transition: background 0.3s ease;
      z-index: 1001;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .lightbox-close:hover,
    .lightbox-nav:hover {
      background: color-mix(in srgb, var(--highlight-color, #00d4ff) 80%, #000);
    }

    .lightbox-close {
      top: 20px;
      right: 20px;
    }

    .lightbox-prev {
      left: 20px;
      top: 50%;
      transform: translateY(-50%);
    }

    .lightbox-next {
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
    }

    /* Footer Styles */
    .site-footer {
      background: linear-gradient(178deg, #01030d 0%, #05070d 50%, #04203c 100%);
      padding: 60px 20px 30px;
      color: #a0a9c0;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 0.9rem;
      position: relative;
      z-index: 2;
    }

    .site-footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 40px;
    }

    .footer-about {
      flex: 2;
      min-width: 300px;
    }

    .footer-links,
    .footer-contact {
      flex: 1;
      min-width: 220px;
    }

    .footer-about h3 {
      font-family: 'Orbitron', sans-serif;
      color: #00d4ff;
      font-size: 1.5rem;
      margin-bottom: 8px;
      font-weight: 700;
    }

    .footer-links h4,
    .footer-contact h4 {
      font-family: 'Orbitron', sans-serif;
      font-size: 1.1rem;
      color: #00d4ff;
      margin-bottom: 15px;
      font-weight: 600;
    }

    .footer-links ul {
      list-style: none;
      padding: 0;
    }

    .footer-links ul li {
      margin-bottom: 8px;
    }

    .footer-links ul li a {
      color: #a0a9c0;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-links ul li a:hover {
      color: #00d4ff;
    }

    .footer-social {
      display: flex;
      gap: 12px;
      margin-top: 20px;
    }

    .footer-social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      font-size: 1.1rem;
      color: #a0a9c0;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    .footer-social a:hover {
      color: #00d4ff;
      background: rgba(0, 212, 255, 0.1);
      transform: translateY(-2px);
    }

    .contact-info {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .contact-item a {
      color: inherit;
      text-decoration: none;
    }

    .contact-item i {
      color: #00d4ff;
      margin-top: 3px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 15px;
      padding-top: 30px;
      margin-top: 40px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 0.85rem;
      color: #888fa7;
    }

    /* Responsive Styles */
    @media (max-width: 768px) {
      .gallery-container {
        padding-top: 40px;
      }

      .gallery-card {
        flex: 0 0 280px;
        height: 220px;
      }

      .gallery-card.portrait {
        flex: 0 0 240px;
        height: 300px;
      }

      .footer-about,
      .footer-links,
      .footer-contact {
        min-width: 100%;
      }

      .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
      }

      .footer-social,
      .contact-item {
        justify-content: center;
      }

      .footer-bottom {
        flex-direction: column;
      }

      .lightbox-nav {
        display: none;
      }

      .lightbox-controls {
        flex-direction: column;
        gap: 10px;
      }
    }

    @media (max-width: 480px) {
      .back-to-home-btn span {
        display: none;
      }

      .back-to-home-btn {
        padding: 10px 12px;
      }

      .itelf-logo {
        height: 40px;
      }
    }