.skills {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem;
}

/* Title */
.skills-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

/* Section */
.skills-section {
  margin-bottom: 3.5rem;
}

/* Section title */
.skills-section-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #4da3ff;
}

/* Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
}

/* Skill Box */
.skill-box {
  background: #0f1621;
  border-radius: 18px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Icon */
.skill-box i {
  font-size: 2.2rem;
  color: #00e5ff;
}

/* Text */
.skill-box span {
  font-size: 0.95rem;
  text-align: center;
}

/* Hover */
.skill-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.15);
}

.why-view-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(0,255,136,0.15);
  color: #00ff88;
  border: 1px solid rgba(0,255,136,0.4);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  z-index: 999;
}

.why-view-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
}

.why-view-content {
  background: #0b0f14;
  max-width: 420px;
  margin: 15% auto;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0,255,136,0.3);
}


.gallery {
  background:#000;
  color:#fff;
  font-family:-apple-system,BlinkMacSystemFont,sans-serif;
  overflow:hidden;
}

/* HERO */
.gallery-hero {
  position:relative;
  height:90vh;
  overflow:hidden;
}

.gallery-slides {
  display:flex;
  width:300%;
  animation:gallery-slide 15s infinite;
}

.gallery-slides img {
  width:100%;
  object-fit:cover;
}

.gallery-hero-text {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  text-align:center;
}

.gallery-hero-text h1 {
  font-size:3rem;
  font-weight:600;
}

.gallery-hero-text p {
  opacity:.7;
}

/* Slider animation */
@keyframes gallery-slide {
  0% {transform:translateX(0);}
  33% {transform:translateX(-100%);}
  66% {transform:translateX(-200%);}
  100% {transform:translateX(0);}
}

/* GRID */
.gallery-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
  padding:80px 10%;
}

.gallery-card {
  background:#111;
  border-radius:20px;
  overflow:hidden;
  transition:.4s;
  cursor:pointer;
  opacity:0;
  transform:translateY(40px);
}

.gallery-card img {
  width:100%;
  height:300px;
  object-fit:cover;
}

.gallery-card h3 {
  padding:20px;
  font-weight:500;
}

.gallery-card:hover {
  transform:translateY(-10px);
  box-shadow:0 20px 40px rgba(255,255,255,.08);
}

/* Scroll reveal */
.gallery-card.gallery-active {
  opacity:1;
  transform:translateY(0);
  transition:1s ease;
}

/* LIGHTBOX */
.gallery-lightbox {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.95);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.gallery-lightbox-img {
  max-width:90%;
  max-height:80%;
}

.gallery-close {
  position:absolute;
  top:30px;
  right:40px;
  font-size:40px;
  cursor:pointer;
}

/* STATS */
.gallery-stats {
  display:flex;
  justify-content:center;
  gap:60px;
  padding:80px 20px;
  text-align:center;
}

.gallery-stat h2 {
  font-size:3rem;
  font-weight:600;
}

.gallery-stat p {
  opacity:.6;
}

/* Mobile */
@media(max-width:768px){
  .gallery-hero-text h1 {font-size:2rem;}
  .gallery-stats {flex-direction:column; gap:40px;}
}