/* ===================================================== */
/* HERO SLIDER */
/* ===================================================== */

.hero-slider{
  position:relative;
  width:100%;
  height:100vh;
  overflow:hidden;
}

/* VIDEO */

.hero-video{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  object-fit:cover;
  object-position:center center;

  z-index:1;
}

/* OVERLAY */

.hero-global-overlay{
  position:absolute;
  inset:0;

  background:
  linear-gradient(
    135deg,
    rgba(7,26,47,.92),
    rgba(7,26,47,.72)
  );

  z-index:2;
}

/* GLOW */

.hero-slider::after{
  content:"";

  position:absolute;

  width:700px;
  height:700px;

  border-radius:50%;

  background:
  radial-gradient(
    rgba(30,144,255,.18),
    transparent 70%
  );

  top:-250px;
  right:-150px;

  z-index:2;
}

/* SLIDES */

.hero-slide{
  position:absolute;
  inset:0;

  display:flex;
  align-items:center;

  min-height:100vh;

  padding-top:110px;

  opacity:0;
  visibility:hidden;

  transition:1s ease;

  z-index:3;
}

.hero-slide.active{
  opacity:1;
  visibility:visible;
}

/* CONTENT */

.hero-content{
  position:relative;

  z-index:5;

  color:#fff;

  max-width:760px;

  padding-top:40px;
}

.hero-content span{
  display:inline-block;

  margin-bottom:20px;

  color:#38BDF8;

  font-weight:700;

  letter-spacing:2px;

  text-transform:uppercase;

  font-size:.95rem;
}

.hero-content h1{

  font-size:clamp(3rem,6vw,5.2rem);

  line-height:1.02;

  margin-bottom:22px;

  font-weight:800;

}

.hero-content p{
  font-size:1.15rem;

  line-height:1.8;

  margin-bottom:35px;

  color:rgba(255,255,255,.88);
}

/* BUTTONS */

.hero-buttons{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

/* DOTS */

.hero-controls{
  position:absolute;

  bottom:40px;
  left:50%;

  transform:translateX(-50%);

  display:flex;
  gap:12px;

  z-index:10;
}

.hero-dot{
  width:14px;
  height:14px;

  border-radius:50%;

  background:rgba(255,255,255,.4);

  cursor:pointer;

  transition:.3s ease;
}

.hero-dot.active{
  background:#38BDF8;

  transform:scale(1.2);
}

/* ===================================================== */
/* STATS */
/* ===================================================== */

.stats{
  position:relative;
  margin-top:-80px;
  z-index:10;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
}

.stat{
  background:white;

  border-radius:28px;

  padding:45px 30px;

  text-align:center;

  box-shadow:
  0 20px 45px rgba(0,0,0,.08);

  transition:.35s;
}

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

.stat h2{
  font-size:52px;
  color:#1E90FF;
  margin-bottom:10px;
}

.stat p{
  color:#64748B;
}

/* ===================================================== */
/* ABOUT */
/* ===================================================== */

.about{
  background:white;
}

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}

.about-grid img{
  border-radius:30px;

  box-shadow:
  0 25px 60px rgba(0,0,0,.12);
}

.about-grid h2{
  font-size:56px;

  line-height:1.15;

  color:#00112b;

  margin-bottom:28px;
}

.about-grid p{
  line-height:1.95;

  color:#64748B;

  margin-bottom:22px;
}

/* ===================================================== */
/* SERVICES */
/* ===================================================== */

.services{
  background:#f5f7fb;
}

.services-grid{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(320px,1fr));

  gap:35px;
}

.card{
  position:relative;

  overflow:hidden;

  border-radius:28px;

  background:white;

  box-shadow:
  0 20px 45px rgba(0,0,0,.08);

  transition:.4s;
}

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

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

.card-content{
  padding:35px;
}

.card-content i{
  width:70px;
  height:70px;

  border-radius:18px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:
  linear-gradient(
    135deg,
    #1E90FF,
    #38BDF8
  );

  color:white;

  font-size:28px;

  margin-bottom:24px;
}

.card-content h3{
  font-size:28px;
  margin-bottom:18px;
  color:#00112b;
}

.card-content p{
  color:#64748B;
  line-height:1.9;
}

/* ===================================================== */
/* PRODUCTS */
/* ===================================================== */

.products{
  background:#fff;
}

.products-grid{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(320px,1fr));

  gap:35px;
}

.product-card{
  background:white;

  border-radius:26px;

  overflow:hidden;

  transition:.4s;

  box-shadow:
  0 15px 35px rgba(0,0,0,.08);
}

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

.product-image{
  position:relative;
  height:260px;
  overflow:hidden;
}

.product-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.4s;
}

.product-card:hover img{
  transform:scale(1.06);
}

.product-category{
  position:absolute;

  top:20px;
  left:20px;

  background:
  linear-gradient(
    135deg,
    #1E90FF,
    #38BDF8
  );

  color:white;

  padding:10px 18px;

  border-radius:50px;

  font-size:12px;

  font-weight:700;

  z-index:2;
}

.product-content{
  padding:35px;
}

.product-content h3{
  font-size:30px;
  color:#00112b;
  margin-bottom:18px;
}

.product-content p{
  line-height:1.9;
  color:#64748B;
  margin-bottom:28px;
}

.product-btn{
  display:inline-block;

  background:#00112b;

  color:white;

  padding:15px 28px;

  border-radius:12px;

  font-weight:700;

  transition:.3s;
}

.product-btn:hover{
  background:#1E90FF;
}

/* ===================================================== */
/* TESTIMONIALS */
/* ===================================================== */

.testimonials{
  background:#F8FAFC;
}

.testimonials-grid{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(320px,1fr));

  gap:35px;
}

.testimonial-card{
  background:white;

  padding:40px;

  border-radius:30px;

  box-shadow:
  0 20px 45px rgba(0,0,0,.06);

  transition:.4s;
}

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

.stars{
  display:flex;
  gap:8px;

  margin-bottom:24px;

  color:#FBBF24;
}

.testimonial-card p{
  color:#64748B;
  line-height:1.9;
  margin-bottom:30px;
}

.testimonial-user{
  display:flex;
  align-items:center;
  gap:16px;
}

.testimonial-user img{
  width:65px;
  height:65px;

  border-radius:50%;

  object-fit:cover;
}

/* ===================================================== */
/* PROJECTS */
/* ===================================================== */

.projects{
  background:#fff;
}

.projects-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:30px;
}

.project-item{
  position:relative;

  overflow:hidden;

  border-radius:30px;

  height:420px;

  cursor:pointer;
}

.project-item.large{
  grid-column:span 2;
  height:500px;
}

.project-item img{
  width:100%;
  height:100%;

  object-fit:cover;

  transition:transform .7s ease;
}

.project-item:hover img{
  transform:scale(1.06);
}

.project-overlay{
  position:absolute;

  left:0;
  right:0;
  bottom:0;

  padding:35px;

  background:
  linear-gradient(
    to top,
    rgba(0,0,0,.88),
    rgba(0,0,0,.35),
    transparent
  );
}

.project-overlay span{
  display:inline-block;

  font-size:.85rem;

  font-weight:700;

  letter-spacing:1px;

  color:#2d8cff;

  margin-bottom:12px;

  text-transform:uppercase;
}

.project-overlay h3{
  color:#fff;

  font-size:2rem;

  line-height:1.1;

  font-weight:800;
}

/* ===================================================== */
/* LIGHTBOX */
/* ===================================================== */

.lightbox{
  position:fixed;

  inset:0;

  background:
  rgba(0,0,0,.92);

  display:flex;

  align-items:center;
  justify-content:center;

  opacity:0;
  visibility:hidden;

  transition:.35s ease;

  z-index:9999;

  padding:40px;
}

.lightbox.active{
  opacity:1;
  visibility:visible;
}

.lightbox img{
  max-width:90%;
  max-height:90vh;

  border-radius:20px;

  object-fit:contain;
}

.lightbox-close{
  position:absolute;

  top:30px;
  right:30px;

  width:55px;
  height:55px;

  border-radius:50%;

  background:#fff;

  color:#071a2f;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:1.4rem;

  cursor:pointer;
}

/* ===================================================== */
/* HOME RESPONSIVE */
/* ===================================================== */

@media(max-width:992px){

  .stats-grid,
  .about-grid{
    grid-template-columns:1fr 1fr;
  }

}

@media(max-width:768px){

  .hero-slider{
    height:100vh;
  }

  .hero-slide{
    padding-top:120px;
    align-items:center;
  }

  .hero-content{
    text-align:center;
    margin:auto;
    padding-top:0;
  }

  .hero-content h1{
    font-size:2.8rem;
  }

  .hero-content p{
    font-size:1rem;
  }

  .hero-buttons{
    justify-content:center;
  }

  .hero-slider::after{
    width:320px;
    height:320px;
    top:-100px;
    right:-100px;
  }

  .stats{
    margin-top:0;
  }

  .stats-grid,
  .about-grid,
  .projects-grid{
    grid-template-columns:1fr;
  }

  .project-item.large{
    grid-column:span 1;
    height:360px;
  }

  .project-item{
    height:320px;
  }

  .about-grid h2{
    font-size:38px;
  }

  .stat h2{
    font-size:40px;
  }

}