/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;

  /*========== Neon Colors ==========*/
  --first-color: #00fff7;
  --first-color-alt: #ff00d4;
  --title-color: #ffffff;
  --text-color: #b3b3b3;
  --text-color-light: #666666;
  --body-color: #0d0d0d;
  --container-color: rgba(25, 25, 25, 0.85);

  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 2rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.2rem;
  --normal-font-size: 1rem;
  --small-font-size: .85rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margins ==========*/
  --mb-1: .5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Dark Theme (Optional Toggle) ==========*/
body.dark-theme {
  --title-color: #f1f3f2;
  --text-color: #c7d1cc;
  --body-color: #050010;
  --container-color: rgba(20, 0, 30, 0.9);
}

/*========== BASE ==========*/
*,::before,::after {
  box-sizing: border-box;
}

/*========== CUSTOM CURSOR EFFECTS ==========*/
/* Show default cursor */
* {
  cursor: auto !important;
}

/* Custom cursor */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--first-color) 0%, var(--first-color-alt) 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.1s ease;
  box-shadow: 0 0 20px var(--first-color), 0 0 40px var(--first-color-alt);
  animation: cursorPulse 2s ease-in-out infinite;
}

/* Cursor trail */
.cursor-trail {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--first-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.7;
  animation: trailFade 0.8s ease-out forwards;
}

/* Cursor hover effects */
.cursor-hover {
  transform: scale(1.5);
  background: radial-gradient(circle, var(--first-color-alt) 0%, var(--first-color) 100%);
  box-shadow: 0 0 30px var(--first-color-alt), 0 0 60px var(--first-color);
}

.cursor-click {
  transform: scale(0.8);
  background: radial-gradient(circle, #ff6b6b 0%, #ff8e8e 100%);
  box-shadow: 0 0 25px #ff6b6b, 0 0 50px #ff8e8e;
}

/* Cursor animations */
@keyframes cursorPulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 20px var(--first-color), 0 0 40px var(--first-color-alt);
  }
  50% { 
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--first-color), 0 0 60px var(--first-color-alt);
  }
}

@keyframes trailFade {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.3);
  }
}

/* Cursor ripple effect */
.cursor-ripple {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--first-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  animation: ripple 0.6s ease-out forwards;
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(20);
    opacity: 0;
  }
}

/* Interactive cursor effects for specific elements */
.button:hover ~ .custom-cursor,
.nav__link:hover ~ .custom-cursor,
.team__img:hover ~ .custom-cursor {
  transform: scale(1.3);
  background: radial-gradient(circle, var(--first-color-alt) 0%, var(--first-color) 100%);
  box-shadow: 0 0 25px var(--first-color-alt), 0 0 50px var(--first-color);
}

/* Cursor glow effect */
.cursor-glow {
  position: fixed;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, transparent 0%, rgba(0, 255, 247, 0.1) 50%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9996;
  transition: all 0.3s ease;
  opacity: 0.5;
}

/* Cursor text effect */
.cursor-text {
  position: fixed;
  color: var(--first-color);
  font-size: 12px;
  font-weight: bold;
  pointer-events: none;
  z-index: 9995;
  text-shadow: 0 0 10px var(--first-color);
  animation: textFloat 2s ease-in-out infinite;
}

@keyframes textFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

/* Cursor magnetic effect */
.cursor-magnetic {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Cursor sparkle effect */
.cursor-sparkle {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--first-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9994;
  animation: sparkle 1s ease-out forwards;
}

@keyframes sparkle {
  0% {
    opacity: 1;
    transform: scale(0) rotate(0deg);
  }
  50% {
    opacity: 0.8;
    transform: scale(1) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.5) rotate(360deg);
  }
}

/* Cursor wave effect */
.cursor-wave {
  position: fixed;
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, var(--first-color), transparent);
  pointer-events: none;
  z-index: 9993;
  animation: wave 0.8s ease-out forwards;
}

@keyframes wave {
  0% {
    opacity: 1;
    transform: scaleY(1);
  }
  100% {
    opacity: 0;
    transform: scaleY(0.1);
  }
}

/* Lightweight animations for better performance */
* {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease !important;
}

/* Simple visible animations - performance friendly */
@keyframes gentleGlow {
  0%, 100% { 
    text-shadow: 0 0 10px var(--first-color);
  }
  50% { 
    text-shadow: 0 0 20px var(--first-color), 0 0 30px var(--first-color-alt);
  }
}

@keyframes gentleFloat {
  0%, 100% { 
    transform: translateY(0px);
  }
  50% { 
    transform: translateY(-5px);
  }
}

@keyframes gentlePulse {
  0%, 100% { 
    opacity: 0.8;
  }
  50% { 
    opacity: 1;
  }
}

/* Apply simple animations */
.home__title {
  animation: gentleGlow 3s ease-in-out infinite;
}

.services__content,
.menu__content {
  animation: gentleFloat 4s ease-in-out infinite;
}

.team__img {
  animation: gentlePulse 2s ease-in-out infinite;
}

.nav__logo img {
  animation: gentleGlow 4s ease-in-out infinite;
}

/* Show default cursor */
* {
  cursor: auto !important;
}

/* Hide all custom cursor elements */
.custom-cursor,
.cursor-trail,
.cursor-glow,
.cursor-text,
.cursor-ripple,
.cursor-sparkle,
.cursor-wave {
  display: none !important;
  visibility: hidden !important;
}

/* Simple hover effects - performance friendly */
.button:hover {
  background-color: var(--first-color-alt) !important;
  color: #000 !important;
}

.nav__link:hover {
  color: var(--first-color-alt) !important;
}

.services__content:hover,
.menu__content:hover {
  box-shadow: 0 0 20px var(--first-color) !important;
}

.team__img:hover {
  box-shadow: 0 0 15px var(--first-color-alt) !important;
}

/* Simple logo glow on hover */
.nav__logo img:hover {
  filter: drop-shadow(0 0 10px var(--first-color)) !important;
}

/* Mobile view identical to desktop - no optimizations */

/* Ensure all section titles are centered on mobile - CACHE BUSTER */
@media screen and (max-width: 768px) {
  .section-title {
    text-align: center !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
  }
  
  .section-title::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
    position: absolute !important;
    width: 50px !important;
    height: 3px !important;
  }
}

/* Fix rainbow underline centering for all devices */
.section-title {
  text-align: center !important;
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

.section-title::after {
  left: 50% !important;
  transform: translateX(-50%) !important;
  position: absolute !important;
  width: 50px !important;
  height: 3px !important;
  bottom: -10px !important;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-alt)) !important;
  border-radius: 2px !important;
}

/* Fix contact section title specifically */
.contact .section-title::after {
  left: 50% !important;
  transform: translateX(-50%) !important;
  position: absolute !important;
  width: 50px !important;
  height: 3px !important;
  bottom: -10px !important;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-alt)) !important;
  border-radius: 2px !important;
}

/* Touch devices get same experience as desktop */

/* Much darker background with very subtle effects */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 255, 247, 0.08) 0%, transparent 70%),
    radial-gradient(circle at 80% 80%, rgba(255, 0, 212, 0.08) 0%, transparent 70%),
    radial-gradient(circle at 40% 60%, rgba(0, 255, 247, 0.05) 0%, transparent 70%),
    radial-gradient(circle at 60% 30%, rgba(255, 0, 212, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 10% 70%, rgba(0, 255, 247, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 40%, rgba(255, 0, 212, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  animation: gentleBackground 15s ease-in-out infinite;
  display: block !important;
}

/* Additional background layer */
body {
  position: relative;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, rgba(0, 255, 247, 0.05) 0%, transparent 50%),
    linear-gradient(-45deg, rgba(255, 0, 212, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -2;
  animation: gentleBackground 20s ease-in-out infinite reverse;
  display: block !important;
}

@keyframes gentleBackground {
  0%, 100% { 
    opacity: 0.6;
    transform: scale(1);
  }
  50% { 
    opacity: 0.9;
    transform: scale(1.05);
  }
}

/* Multiple floating elements for beautiful background - more visible */
.home::after {
  content: '';
  position: fixed;
  top: 10%;
  left: 10%;
  width: 12px;
  height: 12px;
  background: var(--first-color);
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 8s ease-in-out infinite;
  box-shadow: 0 0 20px var(--first-color);
  display: block !important;
}

/* Test floating element - very visible */
.home::before {
  content: '';
  position: fixed;
  top: 20%;
  right: 20%;
  width: 15px;
  height: 15px;
  background: var(--first-color-alt);
  border-radius: 50%;
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 6s ease-in-out infinite reverse;
  box-shadow: 0 0 25px var(--first-color-alt);
  display: block !important;
}

/* Additional floating elements for more beauty */
.footer::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: var(--first-color);
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 18s ease-in-out infinite;
  box-shadow: 0 0 8px var(--first-color);
}

.footer::after {
  content: '';
  position: absolute;
  top: 60%;
  right: 40%;
  width: 4px;
  height: 4px;
  background: var(--first-color-alt);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 17s ease-in-out infinite reverse;
  box-shadow: 0 0 10px var(--first-color-alt);
}

/* Additional floating elements */
.home::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 15%;
  width: 5px;
  height: 5px;
  background: var(--first-color-alt);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 10s ease-in-out infinite reverse;
  box-shadow: 0 0 12px var(--first-color-alt);
}

.services::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 20%;
  width: 4px;
  height: 4px;
  background: var(--first-color);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 12s ease-in-out infinite;
  box-shadow: 0 0 10px var(--first-color);
}

.menu::before {
  content: '';
  position: absolute;
  top: 30%;
  right: 25%;
  width: 6px;
  height: 6px;
  background: var(--first-color-alt);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 9s ease-in-out infinite reverse;
  box-shadow: 0 0 14px var(--first-color-alt);
}

@keyframes gentleFloat {
  0%, 100% { 
    transform: translateY(0px) translateX(0px) scale(1);
  }
  25% { 
    transform: translateY(-25px) translateX(15px) scale(1.1);
  }
  50% { 
    transform: translateY(-15px) translateX(-15px) scale(0.9);
  }
  75% { 
    transform: translateY(-35px) translateX(8px) scale(1.05);
  }
}

/* Additional floating elements for team section */
.team::before {
  content: '';
  position: absolute;
  top: 25%;
  left: 10%;
  width: 3px;
  height: 3px;
  background: var(--first-color);
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 14s ease-in-out infinite;
  box-shadow: 0 0 8px var(--first-color);
}

.team::after {
  content: '';
  position: absolute;
  top: 60%;
  right: 20%;
  width: 5px;
  height: 5px;
  background: var(--first-color-alt);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 11s ease-in-out infinite reverse;
  box-shadow: 0 0 12px var(--first-color-alt);
}

/* Additional floating elements */
.contact::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 4px;
  height: 4px;
  background: var(--first-color-alt);
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 12s ease-in-out infinite reverse;
  box-shadow: 0 0 8px var(--first-color-alt);
}

.about::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 15%;
  width: 3px;
  height: 3px;
  background: var(--first-color);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 10s ease-in-out infinite;
  box-shadow: 0 0 6px var(--first-color);
}

/* More floating elements for enhanced beauty */
.about::after {
  content: '';
  position: absolute;
  top: 70%;
  right: 30%;
  width: 6px;
  height: 6px;
  background: var(--first-color-alt);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 13s ease-in-out infinite reverse;
  box-shadow: 0 0 10px var(--first-color-alt);
}

.contact::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  width: 4px;
  height: 4px;
  background: var(--first-color);
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 11s ease-in-out infinite;
  box-shadow: 0 0 8px var(--first-color);
}

/* Additional background elements */
.services::after {
  content: '';
  position: absolute;
  top: 70%;
  right: 15%;
  width: 5px;
  height: 5px;
  background: var(--first-color-alt);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 16s ease-in-out infinite reverse;
  box-shadow: 0 0 12px var(--first-color-alt);
}

.menu::after {
  content: '';
  position: absolute;
  top: 60%;
  left: 10%;
  width: 4px;
  height: 4px;
  background: var(--first-color);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
  animation: gentleFloat 15s ease-in-out infinite;
  box-shadow: 0 0 10px var(--first-color);
}

html {
  scroll-behavior: smooth;
}




body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background: radial-gradient(circle at top, #1a0033, #000000 70%);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/*========== ENHANCED ANIMATIONS ==========*/
@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  50% { 
    transform: translateY(-15px) rotate(1deg); 
  }
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 15px rgba(255,0,200,.4);
  }
  50% { 
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(0,255,247,.6);
  }
}

@keyframes glow {
  0%, 100% { 
    text-shadow: 0 0 10px var(--first-color), 0 0 20px var(--first-color);
  }
  50% { 
    text-shadow: 0 0 20px var(--first-color), 0 0 40px var(--first-color), 0 0 60px var(--first-color-alt);
  }
}

@keyframes shimmer {
  0% { 
    background-position: -200% 0; 
  }
  100% { 
    background-position: 200% 0; 
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotateGlow {
  0% { 
    transform: rotate(0deg);
  }
  25% { 
    transform: rotate(90deg);
  }
  50% { 
    transform: rotate(180deg);
  }
  75% { 
    transform: rotate(270deg);
  }
  100% { 
    transform: rotate(360deg);
  }
}

@keyframes logoGlow {
  0% { 
    filter: drop-shadow(0 0 10px var(--first-color)) drop-shadow(0 0 20px var(--first-color-alt));
  }
  50% { 
    filter: drop-shadow(0 0 15px var(--first-color)) drop-shadow(0 0 30px var(--first-color-alt)) drop-shadow(0 0 40px var(--first-color));
  }
  100% { 
    filter: drop-shadow(0 0 20px var(--first-color)) drop-shadow(0 0 35px var(--first-color-alt)) drop-shadow(0 0 50px var(--first-color));
  }
}

/*========== ENHANCED ELEMENT ANIMATIONS ==========*/
.home__title {
  animation: glow 3s ease-in-out infinite;
}

.home__subtitle {
  animation: slideInUp 1s ease-out 0.5s both;
}

.services__content {
  animation: float 6s ease-in-out infinite;
  transition: all 0.3s ease;
}

.services__content:hover {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.05);
}

.menu__content {
  animation: pulse 4s ease-in-out infinite;
  transition: all 0.3s ease;
}

.menu__content:hover {
  animation-play-state: paused;
  transform: scale(1.05);
}

.team__img {
  animation: float 5s ease-in-out infinite;
  transition: all 0.3s ease;
}

.team__member:hover .team__img {
  animation-play-state: paused;
  transform: scale(1.1);
}

/*========== BUTTON ENHANCEMENTS ==========*/
.button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(45deg, transparent, rgba(0,255,247,0.1), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.button:hover::before {
  left: 100%;
}

.button:hover {
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0,255,247,0.4), 0 0 50px rgba(255,0,212,0.3);
}

/*========== NAVIGATION ENHANCEMENTS ==========*/
.nav__logo img {
  animation: rotateGlow 8s linear infinite;
  transition: all 0.3s ease;
}

.nav__logo:hover img {
  animation-play-state: paused;
  transform: scale(1.2);
}

.nav__link {
  position: relative;
  transition: all 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

/*========== SECTION ENHANCEMENTS ==========*/
.section-title {
  animation: glow 4s ease-in-out infinite;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
  border-radius: 2px;
  animation: pulse 2s ease-in-out infinite;
}

/*========== LOADING ANIMATIONS ==========*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}

/*========== INTERACTIVE ELEMENTS ==========*/
.interactive-glow {
  transition: all 0.3s ease;
  cursor: pointer;
}

.interactive-glow:hover {
  box-shadow: 0 0 30px var(--first-color), 0 0 60px var(--first-color-alt);
  transform: translateY(-5px);
}

/*========== SCROLL ANIMATIONS ==========*/
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/*========== PERFORMANCE OPTIMIZATIONS ==========*/
* {
  will-change: auto;
}

.animated-element {
  will-change: transform, opacity;
}

/* Optimize animations for better performance */
.services__content,
.menu__content,
.team__img,
.button {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .services__content,
  .menu__content,
  .team__img {
    animation: none;
  }
  
  .button {
    animation: none;
  }
  
  .nav__logo img {
    animation: none;
  }
}

/* GPU acceleration for smooth animations */
.particle-canvas,
.services__content,
.menu__content,
.team__img,
.button,
.nav__logo img {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Optimize particle system performance */
#particles-canvas {
  will-change: auto;
  transform: translateZ(0);
}

/* Mobile and desktop have identical animations - no optimizations */

h1,h2,h3,p,ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*========== Sections ==========*/
.section {
  padding: 4rem 0 2rem;
}

.section-title, .section-subtitle {
  text-align: center;
}

.section-title {
  font-size: var(--h1-font-size);
  color: var(--first-color);
  margin-bottom: var(--mb-3);
  text-shadow: 0 0 10px var(--first-color), 
               0 0 20px var(--first-color),
               0 0 40px var(--first-color-alt);
}

.section-subtitle {
  display: block;
  color: var(--first-color-alt);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
  text-shadow: 0 0 6px var(--first-color-alt);
}

/*========== LAYOUT ==========*/
.bd-container {
  max-width: 960px;
  width: calc(100% - 2rem);
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}

.bd-grid {
  display: grid;
  gap: 1.5rem;
}

.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--first-color-alt);
  box-shadow: 0 0 15px var(--first-color-alt);
}

/*========== NAV ==========*/
.nav {
  max-width: 1024px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--first-color);
  font-weight: bold;
  text-shadow: 0 0 10px var(--first-color);
}

.nav__logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 10px var(--first-color)) drop-shadow(0 0 20px var(--first-color-alt));
  animation: logoGlow 3s ease-in-out infinite alternate;
}

.nav__logo img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 25px var(--first-color)) drop-shadow(0 0 45px var(--first-color-alt)) drop-shadow(0 0 60px var(--first-color));
  animation-play-state: paused;
}

.nav__logo span {
  font-size: 1rem;
}

.nav__menu {
  transition: .4s;
}

.nav__list {
  display: flex;
  gap: var(--mb-3);
}

.nav__item {
  margin-bottom: 0;
}

.nav__link, .nav__toggle {
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: 0.3s;
}

.nav__link:hover {
  color: var(--first-color-alt);
  text-shadow: 0 0 10px var(--first-color-alt);
}

.nav__toggle {
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

/* Active menu */
.active-link {
  color: var(--first-color-alt);
  text-shadow: 0 0 8px var(--first-color-alt);
}

/*========== MOBILE NAV ==========*/
@media screen and (max-width: 768px) {
  .nav__toggle {
    display: block;
    z-index: 1000;
  }
  
  .nav__menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    padding: 4rem 2rem 2rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-right: 2px solid var(--first-color-alt);
    box-shadow: 0 0 20px rgba(255, 0, 212, 0.3);
    transition: left 0.4s ease;
    z-index: 999;
  }
  
  .nav__list {
    flex-direction: column;
    gap: 2rem;
  }
  
  .nav__item {
    margin-bottom: 0;
  }
  
  .nav__link {
    font-size: 1.1rem;
    color: var(--title-color);
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav__link:hover {
    color: var(--first-color);
    text-shadow: 0 0 10px var(--first-color);
  }
  
  /* Show menu */
  .show-menu {
    left: 0;
  }
  
  /* Logo adjustments for mobile */
  .nav__logo {
    gap: 6px;
  }
  
  .nav__logo img {
    height: 35px;
  }
  
  .nav__logo span {
    font-size: 0.9rem;
  }
  
  /* Mobile Home Section - Minimal spacing and centered */
  .home__container {
    padding-top: 20px !important;
    margin-top: 10px !important;
    min-height: 100vh !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .home__data {
    padding-top: 10px !important;
    margin-top: 5px !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  .home__subtitle {
    margin-top: 5px !important;
    padding-top: 5px !important;
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }
  
  .home__title {
    margin-top: 5px !important;
    padding-top: 5px !important;
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }
  
  .button {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }
  
  /* Ensure home content is visible on mobile */
  .home {
    padding-top: 20px !important;
    margin-top: 10px !important;
  }
  
  .home__data h1,
  .home__data h2 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Center section titles and underlines on mobile */
  .section-title {
    text-align: center !important;
    position: relative !important;
  }
  
  .section-title::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
    position: absolute !important;
  }
  
  /* Mobile Contact Section Centering */
  .contact__grid {
    grid-template-columns: 1fr;
  }
  
  .contact__infoBox {
    text-align: center !important;
  }
  
  .contact__infoBox * {
    text-align: center !important;
  }
  
  .contact__container .contact__infoBox .section-subtitle,
  .contact__container .contact__infoBox .section-title,
  .contact__container .contact__infoBox .contact__description {
    text-align: center !important;
  }
  
  .contact .contact__infoBox .contact__initial {
    text-align: center !important;
  }
  
  .contact .section-subtitle.contact__initial,
  .contact .section-title.contact__initial {
    text-align: center !important;
  }
  
  .contact__description {
    text-align: center !important;
  }
  
  .contact__info {
    text-align: center;
  }
  
  .contact__btn {
    align-self: center;
  }
  
  /* Mobile Footer Centering */
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__content {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .footer__logo,
  .footer__description,
  .footer__title {
    text-align: center;
  }
  
  .footer__social {
    margin: 0 0.5rem;
  }
  
  .footer__copy {
    text-align: center;
  }
}

/*========== Scroll Header ==========*/
.scroll-header {
  box-shadow: 0 2px 4px rgba(255,0,200,.4);
}

/*========== Scroll top button ==========*/
.scrolltop {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .5rem;
  background: rgba(255,0,200,.6);
  border-radius: .5rem;
  z-index: var(--z-tooltip);
  transition: .4s;
  visibility: hidden;
  box-shadow: 0 0 15px var(--first-color-alt);
}

.scrolltop:hover {
  background-color: var(--first-color);
}

.scrolltop__icon {
  font-size: 1.8rem;
  color: #fff;
}

/* Show scrolltop */
.show-scroll {
  visibility: visible;
  bottom: 1.5rem;
}

/*========== HOME ==========*/
.home__container {
  height: calc(100vh - var(--header-height));
  align-content: center;
}

.home__title {
  font-size: var(--biggest-font-size);
  color: var(--first-color);
  margin-bottom: var(--mb-1);
  text-shadow: 0 0 20px var(--first-color), 0 0 40px var(--first-color-alt);
}

.home__subtitle {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-4);
  text-shadow: 0 0 10px var(--first-color-alt);
}

.home__img {
  width: 350px;
  justify-self: center;
  filter: drop-shadow(0 0 20px var(--first-color-alt));
}

/*========== BUTTONS ==========*/
.button {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--first-color);
  color: var(--first-color);
  padding: .75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 0 10px var(--first-color), 0 0 20px var(--first-color);
}
.button:hover {
  background: var(--first-color-alt);
  color: #fff;
  border-color: var(--first-color-alt);
  box-shadow: 0 0 20px var(--first-color-alt), 0 0 40px var(--first-color-alt);
}

/*========== ABOUT ==========*/
.about__data {
  text-align: center;
}

.about__description {
  margin-bottom: var(--mb-3);
}

.about__img {
  width: 320px;
  border-radius: .5rem;
  justify-self: center;
  box-shadow: 0 0 20px var(--first-color);
}

/*========== SERVICES ==========*/
.services__container {
  row-gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.services__content {
  background: rgba(20, 20, 20, 0.9);
  border: 2px solid var(--first-color-alt);
  border-radius: 10px;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 255, 247, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.services__content:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px var(--first-color-alt);
}

.services__img {
  width: 64px;
  height: 64px;
  fill: var(--first-color-alt);
    font-size: 4rem;  /* Bigger size for Boxicons */
  color: var(--first-color-alt);
  filter: drop-shadow(0 0 12px var(--first-color-alt));
  margin-bottom: var(--mb-2);
}

.services__title {
  font-size: var(--h3-font-size);
  color: var(--first-color);
  text-shadow: 0 0 8px var(--first-color);
  margin-bottom: var(--mb-1);
}

.services__description {
  padding: 0 1.5rem;
  color: var(--text-color);
}

/*========== MENU ==========*/

.menu__content:hover {
  box-shadow: 0 0 30px var(--first-color);
}

.menu__img {
  width: 100px;
  align-self: center;
  margin-bottom: var(--mb-2);
  filter: drop-shadow(0 0 10px var(--first-color));
}

.menu__name{
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}


.menu__container {
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  align-items: stretch; /* make all boxes equal height */
}

.menu__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* spread content evenly */
  background: rgba(25, 25, 25, 0.85);
  border-radius: .5rem;
  box-shadow: 0 0 15px rgba(255,0,200,.4);
  padding: 1rem;
  transition: 0.3s;
  height: 100%; /* equal height */
}

.menu__detail {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-bottom: 1rem; /* gap between detail and button */
}

.menu__button {
  margin-top: auto; /* push button to bottom */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  padding: 0.6rem 1rem;
}

/*========== TEAM ==========*/
.team__container {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 2rem;
  align-items: end;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.team__member {
  text-align: center;
  transition: transform 0.3s ease;
}

.team__member:hover {
  transform: translateY(-10px);
}

.team__img-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* Side members (smaller) */
.team__side .team__img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--first-color);
  box-shadow: 0 0 20px var(--first-color);
  transition: all 0.3s ease;
}

/* Center member (larger) */
.team__center .team__img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--first-color-alt);
  box-shadow: 0 0 30px var(--first-color-alt);
  transition: all 0.3s ease;
}

.team__glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 60%, var(--first-color-alt) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.team__center .team__glow {
  background: radial-gradient(circle, transparent 60%, var(--first-color) 100%);
}

.team__member:hover .team__glow {
  opacity: 0.3;
}

.team__member:hover .team__img {
  transform: scale(1.05);
  box-shadow: 0 0 40px var(--first-color-alt);
}

.team__center:hover .team__img {
  box-shadow: 0 0 50px var(--first-color);
}

.team__name {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px var(--first-color);
}

.team__center .team__name {
  font-size: 1.4rem;
  text-shadow: 0 0 12px var(--first-color-alt);
}

.team__role {
  display: block;
  color: var(--first-color-alt);
  font-size: var(--small-font-size);
  margin-bottom: 1rem;
  text-shadow: 0 0 6px var(--first-color-alt);
}

.team__center .team__role {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.team__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 255, 247, 0.1);
  border: 2px solid var(--first-color);
  border-radius: 50%;
  color: var(--first-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-shadow: 0 0 8px var(--first-color);
}

.team__social-link:hover {
  background: var(--first-color-alt);
  border-color: var(--first-color-alt);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 15px var(--first-color-alt);
}

/* Mobile responsive for team */
@media screen and (max-width: 768px) {
  .team__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .team__side .team__img {
    width: 120px;
    height: 120px;
  }
  
  .team__center .team__img {
    width: 160px;
    height: 160px;
  }
  
  .team__center {
    order: -1; /* Center member appears first on mobile */
  }
}

/*========== CONTACT ==========*/
.contact__container {
  text-align: center;
}
.contact__description {
  margin-bottom: var(--mb-3);
  color: var(--text-color);
}

/*========== FOOTER ==========*/
.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 2rem;
}

.footer__logo {
  font-size: var(--h3-font-size);
  color: var(--first-color-alt);
  font-weight: var(--font-semi-bold);
  text-shadow: 0 0 10px var(--first-color-alt);
}

.footer__description {
  display: block;
  font-size: var(--small-font-size);
  margin: .25rem 0 var(--mb-3);
  color: var(--text-color-light);
}

.footer__social {
  margin-left: -5px;
  font-size: 1.5rem;
  color: var(--first-color);
  margin-right: var(--mb-2);
  text-shadow: 0 0 8px var(--first-color);
}

.footer__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-2);
}

.footer__link {
  display: inline-block;
  color: var(--text-color);
  margin-bottom: var(--mb-1);
  transition: 0.3s;
}
.footer__link:hover {
  color: var(--first-color);
  text-shadow: 0 0 8px var(--first-color);
}

.footer__copy {
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-top: 3.5rem;
  text-shadow: 0 0 5px var(--first-color);
}

/*========== MEDIA QUERIES ==========*/
@media screen and (min-width: 576px){
  .home__container,
  .about__container,
  .contact__container {
    grid-template-columns: repeat(2,1fr);
    align-items: center;
  }
  .about__data {
    text-align: center;
  }
  .contact__container {
    text-align: initial;
  }
}

@media screen and (min-width: 768px){
  body {
    margin: 0;
  }
  .section {
    padding-top: 8rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__list {
    display: flex;
  }
  .nav__item {
    margin-left: var(--mb-5);
    margin-bottom: 0;
  }
  .nav__toggle {
    display: none;
  }
  .home__container {
    height: 100vh;
    justify-items: center;
  }
  .menu__container {
    grid-template-columns: repeat(3, 210px);
    column-gap: 4rem;
  }
}

@media screen and (min-width: 960px){
  .bd-container {
    margin-left: auto;
    margin-right: auto;
  }
  .home__img {
    width: 500px;
  }
}


/* Video Grid - exactly 3 per row */
.video__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* exactly 3 columns */
  gap: 1.5rem;
}

.video__item {
  width: 100%;
  height: 350px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 15px var(--first-color);
  transition: transform 0.3s ease;
  background-color: rgba(0, 0, 0, 0.3);
}

.video__item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--first-color-alt);
}


@media screen and (max-width: 1024px) {
  .video__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .video__item {
    height: 320px;
  }
  
  .gallery__img {
    height: 320px;
  }
}


@media screen and (max-width: 600px) {
  .video__grid {
    grid-template-columns: 1fr;
  }
  
  .video__item {
    width: 80%;
    height: 300px;
    margin: 0 auto;
  }
  
  .gallery__img {
    width: 80%;
    height: 300px;
    margin: 0 auto;
  }
}



/* Gallery Images */
.gallery__img {
  width: 100%;
  height: 350px;         /* increased height for portrait images */
  object-fit: contain;  /* shows entire image without cropping */
  border-radius: 10px;
  box-shadow: 0 0 15px var(--first-color);
  transition: transform 0.3s ease;
  background-color: rgba(0, 0, 0, 0.3);
}

.gallery__img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--first-color-alt);
}



/* ===== Footer Special Layout for Gallery Page ===== */
.gallery-page .footer__container {
  display: flex;
  flex-direction: column; /* stack items */
  justify-content: center;
  align-items: center;
  text-align: center;
}

.gallery-page .footer__content {
  margin-bottom: 0.5rem; /* small gap */
}

.gallery-page .footer__description {
  margin: 0; /* tighten spacing */
}



/* Contact Grid Layout */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 equal columns */
  gap: 2rem;
  align-items: start;
}

.contact__infoBox {
  text-align: left; /* ensure left alignment */
}

.contact__info {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.contact__info i {
  color: var(--first-color-alt);
  margin-right: 8px;
  text-shadow: 0 0 10px var(--first-color-alt);
}

.neon-text {
  color: var(--first-color);
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 0 12px var(--first-color),
               0 0 20px var(--first-color-alt);
}

/* Form Styling */
.contact__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__input {
  padding: 1rem;
  border: 2px solid var(--first-color);
  border-radius: 10px;
  background: rgba(15, 15, 15, 0.9);
  color: var(--title-color);
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

.contact__input:focus {
  border-color: var(--first-color-alt);
  box-shadow: 0 0 15px var(--first-color-alt);
}

.contact__form textarea {
  min-height: 200px; /* More space for message */
  resize: vertical;
}

/* Send Button Small */
/* Send Button Centered */
.contact__btn {
  width: auto;              /* shrink to text size */
  padding: 0.8rem 2rem;     /* balanced padding */
  margin-top: 1rem;
  align-self: center;       /* center horizontally */
}


/* Responsive: stack on small screens */
@media screen and (max-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .contact__infoBox {
    text-align: center;
  }
  .contact__btn {
    align-self: center; /* button centered on mobile */
  }
}


/* Force left alignment for contact titles */
.contact__infoBox .section-title,
.contact__infoBox .section-subtitle,
.contact__infoBox .contact__description {
  text-align: left !important;
}



.form-status {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: bold;
  color: var(--first-color);
  text-shadow: 0 0 10px var(--first-color);
}


/* Extra spacing for About section in mobile view */
@media screen and (max-width: 768px) {
  #about {
    margin-top: 3rem;  /* increase as needed */
  }
  
}


.neon-box {
  background: rgba(20, 20, 20, 0.9);
  border: 2px solid var(--first-color-alt);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px var(--first-color), 0 0 40px var(--first-color-alt);
  text-align: center;
}

.neon-box h2 {
  color: var(--first-color);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px var(--first-color), 0 0 20px var(--first-color-alt);
}

.neon-box p, .neon-box ul {
  color: var(--text-color);
  line-height: 1.8;
  font-size: 1rem;
  text-align: center;
}

.neon-box ul {
  list-style: none;
  padding: 0;
}

.neon-box ul li {
  margin: 0.5rem 0;
}

.page-header-fix {
  padding-top: 6rem; /* pushes content below navbar */
}



/* ACTUAL MOBILE DEVICE FIX - Add this at the VERY END of web.css */

/* Target actual mobile devices - up to 768px */
@media screen and (max-width: 768px) {
  /* Prevent any horizontal scroll */
  html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
  }
  
  .gallery-page * {
    max-width: 100%;
  }
  
  .gallery-page .bd-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  
  .gallery-page #gallery,
  .gallery-page #videos {
    width: 100% !important;
    padding: 0 10px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  
  /* Force gallery grid to flex */
  .gallery-page #gallery .bd-grid,
  .gallery-page .video__grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }
  
  /* Make images much bigger for mobile */
  .gallery-page .gallery__img {
    width: 90% !important;
    height: 320px !important;
    max-width: 90% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    display: block !important;
  }
  
  .gallery-page .video__item {
    width: 90% !important;
    height: 320px !important;
    max-width: 90% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    display: block !important;
  }
}

/* Extra small phones */
@media screen and (max-width: 480px) {
  .gallery-page .gallery__img {
    width: 85% !important;
    height: 280px !important;
    max-width: 85% !important;
  }
  
  .gallery-page .video__item {
    width: 85% !important;
    height: 280px !important;
    max-width: 85% !important;
  }
}

/* Very small phones */
@media screen and (max-width: 360px) {
  .gallery-page .gallery__img {
    width: 80% !important;
    height: 250px !important;
    max-width: 80% !important;
  }
  
  .gallery-page .video__item {
    width: 80% !important;
    height: 250px !important;
    max-width: 80% !important;
  }
}