    :root {
      --primary:      #B22222;
      --primary-dark: #8B0000;
      --secondary:    #E25822;
      --accent:       #FF7F50;
      --dark:         #111111;
      --white:        #ffffff;
      --gray:         #6c757d;
      --gradient:     linear-gradient(135deg,#8B0000,#E25822,#FF7F50);
      --transition:   all .35s ease;
    }
 
    *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Outfit', sans-serif;
      background: #fff;
      color: var(--dark);
      overflow-x: hidden;
    }
 
    /* =============================================
       SECTION WRAPPER
    ============================================= */
    .gallery-section {
      background: #ffffff;
      padding: 100px 0 110px;
      position: relative;
      overflow: hidden;
    }
 
    /* top-left glow */
    .gallery-section::before {
      content: '';
      position: absolute;
      top: -150px; left: -150px;
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(178,34,34,0.07) 0%, transparent 70%);
      pointer-events: none;
    }
    /* bottom-right glow */
    .gallery-section::after {
      content: '';
      position: absolute;
      bottom: -150px; right: -150px;
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(255,127,80,0.07) 0%, transparent 70%);
      pointer-events: none;
    }
 
    /* =============================================
       SECTION HEAD
    ============================================= */
    .gallery-head {
      text-align: center;
      padding: 0 20px;
      margin-bottom: 64px;
      position: relative;
      z-index: 2;
    }
 
    .g-label {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--primary);
      font-weight: 700;
      font-size: 12px;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      margin-bottom: 18px;
    }
    .g-label::before,
    .g-label::after {
      content: '';
      display: block;
      width: 34px; height: 2px;
      background: var(--gradient);
      border-radius: 10px;
    }
 
    .g-title {
      font-size: 54px;
      font-weight: 800;
      color: var(--dark);
      line-height: 1.1;
      margin-bottom: 16px;
    }
    .g-title span {
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
 
    .g-desc {
      color: var(--gray);
      font-size: 18px;
      max-width: 560px;
      margin: 0 auto;
      line-height: 1.75;
    }
 
    /* =============================================
       MARQUEE ROWS
    ============================================= */
    .marquee-wrapper {
      display: flex;
      flex-direction: column;
      gap: 20px;
      position: relative;
      z-index: 2;
    }
 
    /* fade edges */
    .marquee-wrapper::before,
    .marquee-wrapper::after {
      content: '';
      position: absolute;
      top: 0; bottom: 0;
      width: 160px;
      z-index: 10;
      pointer-events: none;
    }
    .marquee-wrapper::before {
      left: 0;
      background: linear-gradient(to right, #ffffff 0%, transparent 100%);
    }
    .marquee-wrapper::after {
      right: 0;
      background: linear-gradient(to left, #ffffff 0%, transparent 100%);
    }
 
    .marquee-row {
      display: flex;
      gap: 20px;
      width: max-content;
      will-change: transform;
    }
 
    /* Row 1 — left to right */
    .row-ltr { animation: scrollLTR 32s linear infinite; }
    /* Row 2 — right to left */
    .row-rtl { animation: scrollRTL 28s linear infinite; }
 
    /* pause on hover of the whole section */
    .gallery-section:hover .row-ltr,
    .gallery-section:hover .row-rtl {
      animation-play-state: paused;
    }
 
    @keyframes scrollLTR {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    @keyframes scrollRTL {
      0%   { transform: translateX(-50%); }
      100% { transform: translateX(0); }
    }
 
    /* =============================================
       GALLERY CARDS
    ============================================= */
    .g-card {
      position: relative;
      width: 320px;
      height: 220px;
      border-radius: 22px;
      overflow: hidden;
      cursor: pointer;
      flex-shrink: 0;
      box-shadow: 0 8px 28px rgba(0,0,0,0.10);
      transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
    }
 
    .g-card:hover {
      transform: scale(1.06) translateY(-6px);
      box-shadow: 0 24px 60px rgba(0,0,0,0.18);
      z-index: 20;
    }
 
    .g-card img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
    }
    .g-card:hover img { transform: scale(1.1); }
 
    /* ---- POP-UP OVERLAY ---- */
    .g-popup {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to top,
        rgba(10,10,10,0.88) 0%,
        rgba(10,10,10,0.45) 50%,
        rgba(10,10,10,0.08) 100%
      );
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 22px 20px;
      opacity: 0;
      transform: translateY(8px);
      transition:
        opacity  0.38s ease,
        transform 0.38s cubic-bezier(0.25,0.46,0.45,0.94);
    }
    .g-card:hover .g-popup {
      opacity: 1;
      transform: translateY(0);
    }
 
    .g-popup-cat {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--gradient);
      color: #fff;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      padding: 4px 12px;
      border-radius: 50px;
      margin-bottom: 8px;
      width: fit-content;
    }
    .g-popup-cat i { font-size: 11px; }
 
    .g-popup-title {
      font-size: 17px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 6px;
      line-height: 1.3;
    }
 
    .g-popup-desc {
      font-size: 12px;
      color: rgba(255,255,255,0.7);
      line-height: 1.5;
      margin-bottom: 14px;
    }
 
    .g-popup-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,0.3);
      color: #fff;
      font-size: 12px;
      font-weight: 600;
      font-family: 'Outfit', sans-serif;
      padding: 7px 15px;
      border-radius: 50px;
      cursor: pointer;
      transition: background 0.25s;
      width: fit-content;
    }
    .g-popup-btn:hover { background: rgba(255,255,255,0.28); }
    .g-popup-btn i { font-size: 13px; }
 
    /* coloured top-corner badge unique per card */
    .g-corner-dot {
      position: absolute;
      top: 14px; right: 14px;
      width: 36px; height: 36px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 16px;
      color: #fff;
      opacity: 0;
      transform: scale(0.6);
      transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
    }
    .g-card:hover .g-corner-dot {
      opacity: 1;
      transform: scale(1);
    }
 
    /* =============================================
       BOTTOM STATS STRIP
    ============================================= */
    .gallery-stats {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0;
      max-width: 760px;
      margin: 70px auto 0;
      border: 1px solid #efefef;
      border-radius: 22px;
      overflow: hidden;
      background: #fafafa;
      position: relative;
      z-index: 2;
    }
 
    .gs-item {
      flex: 1;
      text-align: center;
      padding: 28px 20px;
      border-right: 1px solid #efefef;
    }
    .gs-item:last-child { border-right: none; }
 
    .gs-icon {
      font-size: 24px;
      color: var(--secondary);
      display: block;
      margin-bottom: 8px;
    }
    .gs-num {
      font-size: 36px;
      font-weight: 800;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      line-height: 1;
      margin-bottom: 5px;
    }
    .gs-label {
      font-size: 13px;
      color: var(--gray);
      font-weight: 500;
    }
 
    /* =============================================
       RESPONSIVE
    ============================================= */
    @media (max-width: 768px) {
      .g-title { font-size: 34px; }
      .g-desc  { font-size: 16px; }
      .g-card  { width: 240px; height: 170px; }
      .gallery-stats { flex-direction: column; }
      .gs-item { border-right: none; border-bottom: 1px solid #efefef; }
      .gs-item:last-child { border-bottom: none; }
      .marquee-wrapper::before,
      .marquee-wrapper::after { width: 60px; }
    }