body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

canvas#sw-background {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -2;
  background: #111;
}

.sw-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  color: white;
  /* optional: keep a dark overlay gradient */
  background: none;
}
.sw-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* scale & crop to fill */
  z-index: -1;         /* behind your text, above the star canvas */
}
.sw-video-blur-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(2px);
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
}
.sw-logo-wrap {
  flex: 0 0 56%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 320px;
  height: 100%;
}
.sw-hero-logo {
  width: 90%;
  max-width: 730px;
  min-width: 320px;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 0 110px 10px #ffd50055, 0 8px 60px #0005;
  transition: box-shadow 0.3s;
  cursor: pointer;
  background: #181820dd;
  margin: 0 0 0 10px;
  animation: heroPulse 2.8s infinite cubic-bezier(.75,0,.25,1.05) alternate;
  will-change: transform;
  transform: translateZ(0);
}


.sw-hero-content h1 {
  font-size: 3.5rem;
  margin: 0;
  z-index: 3;
}
.sw-about-hero-title {
  font-size: 3.2rem;
  line-height: 1.12;
  font-weight: 900;
  color: #f0e8e8;
  margin: 0 0 18px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  text-shadow: 0 4px 18px #000a;
  text-align:center;
}
/* from about-style.css: shimmering gradient animation */
.sw-about-fx-gradient {
  background: linear-gradient(90deg, #ffd500 18%, #fff4 38%, #f9423a 66%, #ffd500 86%);
  background-size: 200% auto;
  color: #ffd500;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  animation: shimmer 2.8s linear infinite;
  font-weight: 900;
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  letter-spacing: 3px;
}
@keyframes shimmer {
  0% { background-position: 200% center;}
  100% { background-position: -200% center;}
}
.sw-hero-content p {
  font-size: 1.1rem;
}

.sw-gallery {
  padding: 2rem 2rem 1rem;
  background:transparent;
  color: white;
}

.sw-gallery h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.sw-gallery-grid {
  column-count: 4;        
  column-gap: 1rem;     
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sw-gallery-grid img,
.sw-gallery-grid video {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 12px;
  break-inside: avoid;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  backface-visibility: hidden;
}
.sw-gallery-grid img:hover,
.sw-gallery-grid video:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0,0,0,0.5);
}
/* Responsive Mobile & Tablet Styles */
@media (max-width: 1024px) {
  .sw-gallery-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .sw-hero {
    flex-direction: column;
    height: auto;
    padding: 2rem 1rem;
  }
  .sw-logo-wrap {
    flex: 0 0 auto;
    min-width: unset;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  .sw-hero-logo {
    width: clamp(280px, 80%, 400px);
  }
  
  .sw-hero-content h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }
  .sw-about-hero-title {
    font-size: 2rem;
    letter-spacing: 1.5px;
  }
  .sw-hero-content p {
    font-size: 1rem;
  }
  .sw-gallery {
    padding: 1.5rem 1rem;
  }
  .sw-gallery h2 {
    font-size: 2rem;
  }
  .sw-gallery-grid {
    column-count: 2;
    padding: 0;
  }
}
@media (max-width: 480px) {
  .sw-gallery-grid {
    column-count: 1;
  }
  
  .sw-hero-content h1 {
    font-size: clamp(1.6rem, 4vw, 2rem);
  }
  
  .sw-about-hero-title {
    font-size: clamp(1.4rem, 3.5vw, 1.6rem);
  }
}
