﻿body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #f8f9fb;
      color: #333;
      line-height: 1.6;
    }
    header {
      background: #0077b6;
      color: white;
      text-align: center;
      padding: 20px 0;
    }
    header h1 {
      margin: 0;
      font-size: 2.2rem;
    }
    header p {
      margin: 8px 0 0;
      font-size: 1.1rem;
    }
    nav {
      background: #023e8a;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
    }
    nav a {
      color: #fff;
      padding: 14px 20px;
      text-decoration: none;
      transition: background 0.3s;
    }
    nav a:hover {
      background: #0096c7;
    }
    .hero {
      background: url('../images/celebrations/children_day/children-day-1.jpeg') no-repeat center center/cover;
      height: 40vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: white;
      padding: 0 20px;
    }
    .hero h1 {
      font-size: 2.5rem;
      background: rgba(0,0,0,0.6);
      padding: 15px 25px;
      border-radius: 10px;
    }
    .section {
      max-width: 1200px;
      margin: auto;
      padding: 50px 20px;
    }
    .section h2 {
      text-align: center;
      color: #0077b6;
      font-size: 2.2rem;
      margin-bottom: 15px;
    }
    .section-intro {
      text-align: center;
      font-size: 1.1rem;
      color: #555;
      margin-bottom: 40px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }
    .videos-section {
      background: white;
      border-radius: 12px;
      margin-bottom: 30px;
    }
    .videos-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
    }
    .video-item {
      background: #f9f9f9;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }
    .video-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    .video-container {
      width: 100%;
      padding-bottom: 56.25%;
      position: relative;
      background: #000;
    }
    .video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
    .video-item h3 {
      color: #0077b6;
      margin: 15px 15px 10px;
      font-size: 1.1rem;
    }
    .video-item p {
      margin: 0 15px 15px;
      font-size: 0.95rem;
      color: #666;
      line-height: 1.5;
    }
    .gallery-section {
      background: white;
      border-radius: 12px;
    }
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }
    .gallery-item {
      position: relative;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
      cursor: pointer;
    }
    .gallery-item:hover {
      transform: scale(1.05);
    }
    .gallery-item:hover .gallery-caption {
      opacity: 1;
    }
    .gallery img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      border-radius: 10px;
      display: block;
    }
    .gallery-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0, 119, 182, 0.9);
      color: white;
      padding: 12px 15px;
      opacity: 0;
      transition: opacity 0.3s ease;
      font-size: 0.95rem;
      font-weight: 500;
    }
    .lightbox {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.9);
      z-index: 1000;
      overflow: auto;
    }
    .lightbox-content {
      display: block;
      margin: auto;
      max-width: 90%;
      max-height: 85vh;
      padding-top: 2%;
      object-fit: contain;
    }
    .lightbox-caption {
      display: block;
      text-align: center;
      color: white;
      padding: 15px;
      font-size: 1.1rem;
      background: rgba(0, 0, 0, 0.7);
    }
    .lightbox-close {
      color: white;
      position: absolute;
      top: 15px;
      right: 25px;
      font-size: 35px;
      font-weight: bold;
      cursor: pointer;
      z-index: 1001;
      transition: color 0.3s ease;
    }
    .lightbox-close:hover {
      color: #e67e22;
    }
    .lightbox-prev,
    .lightbox-next {
      cursor: pointer;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: auto;
      padding: 16px;
      color: white;
      font-weight: bold;
      font-size: 20px;
      background: rgba(0, 0, 0, 0.5);
      user-select: none;
      transition: background 0.3s ease;
      z-index: 1001;
      border: none;
    }
    .lightbox-prev:hover,
    .lightbox-next:hover {
      background: rgba(0, 0, 0, 0.8);
    }
    .lightbox-prev {
      left: 10px;
    }
    .lightbox-next {
      right: 10px;
    }
    @media (max-width: 768px) {
      .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
      }
      .lightbox-prev,
      .lightbox-next {
        padding: 12px;
        font-size: 18px;
      }
    }
    footer {
      background: #023e8a;
      color: white;
      text-align: center;
      padding: 20px;
      margin-top: 30px;
    }

    .media-hero.hero {
      width: min(100% - 48px, 1240px);
      min-height: 330px;
      margin: 28px auto 0;
      padding: 42px;
      justify-content: center;
      text-align: center;
      border-radius: 18px;
      background:
        linear-gradient(135deg, rgba(2, 62, 138, 0.76), rgba(7, 91, 53, 0.68)),
        url('../images/celebrations/children_day/children-day-1.jpeg') left center/34% 100% no-repeat,
        url('../images/celebrations/diwali/diwali_1.jpeg') center center/34% 100% no-repeat,
        url('../images/events/food_donation/image-1.jpeg') right center/34% 100% no-repeat;
      box-shadow: 0 18px 45px rgba(2, 62, 138, 0.18);
    }
    .media-hero.hero h1 {
      margin: 0;
      padding: 0;
      background: transparent;
      border-radius: 0;
      font-size: clamp(2.2rem, 5vw, 4.3rem);
      line-height: 1;
      text-shadow: 0 4px 18px rgba(0, 0, 0, 0.38);
    }
    @media (max-width: 760px) {
      .media-hero.hero {
        width: min(100% - 28px, 1240px);
        min-height: 250px;
        padding: 30px 22px;
        background:
          linear-gradient(135deg, rgba(2, 62, 138, 0.86), rgba(7, 91, 53, 0.74)),
          url('../images/celebrations/children_day/children-day-1.jpeg') center/cover;
      }
    }


