/* hide default cursor */

html {
    scroll-behavior: smooth;
}

body{
cursor: none;
background:#f5f5f5;
color:#333;
margin: 0;
padding: 0;
}

/* dot */
.cursor-dot{
width:6px;
height:6px;
background:black;
border-radius:50%;
position:fixed;
top:50%;
left:50%;
pointer-events:none;
z-index:9999;
transform:translate(-50%,-50%);
}

/* ring */
.cursor-ring{
width:35px;
height:35px;
border:2px solid rgba(0,0,0,0.5);
border-radius:50%;
position:fixed;
top:50%;
left:50%;
pointer-events:none;
z-index:9998;
transform:translate(-50%,-50%);
}





/* PRELOADER */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000; /* black background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* CENTER CONTENT */
.loader-content {
  text-align: center;
}

.loader-content img {
  width: 80px;
  margin-bottom: 10px;
}

.loader-content p {
  color: white;
  font-size: 16px;
  letter-spacing: 1px;
}







/* HEADER */

header{
  border-bottom: 2px solid rgb(153, 144, 140);
  display: flex;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  transition: background 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 50px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);

  box-sizing: border-box; /* keep this */
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

header.scrolled {
  background: transparent;
  box-shadow: none;
}

.logo {
    height: 50px;
    overflow: visible;
    position: relative;
}

.logo-gif {
  height: 80px;
}

nav a {
margin:0 15px;
text-decoration:none;
font-weight: bold;
font-size: larger;
color:#333;
display: inline-block;
transition: transform 0.3s ease, color 0.3s ease;
}

nav a:hover {
    color:#13566c6f;
    transform: scale(1.08);
}

.quote {
background: linear-gradient(rgba(17, 17, 16, 0.179)),
url(images/jigjag.jpeg);
color:white;
border:none;
font-weight: bold;
padding:10px 20px;
border-radius:5px;
cursor:pointer;

transition: all 0.3 ease;
}

.quote:hover {
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(64, 59, 59, 0.718);
}


/* HERO */

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

/* VIDEO */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* DARK OVERLAY (important for readability) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

/* TEXT CONTENT */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: right;
  color: rgba(54, 52, 52, 0.572);
  top: 94%;
  transform: translateY(-50%);
}

.hero-content h1 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #342f2f88;
}




/* SERVICES */

.services{
padding:-20px 10px;
text-align:center;
color:#1a1a1cbe;
}

#services {
  scroll-margin-top: 100px;
}

.services h2{
margin-bottom:30px;
font-family: 'Poppins', sans-serif;
font-size:40px;
font-weight:600;
color:black;
}

.service-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
max-width:1100px;
margin:auto;
}

.card{
background: linear-gradient(rgba(22, 22, 21, 0.57)),
url("images/jigjag.jpeg");
padding:30px;
border-radius:10px;
box-shadow:0 5px 15px rgba(106, 102, 102, 0.1);
transition:0.3s;
}

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

.card i{
font-size:35px;
color:#e8e5e6;
margin-bottom:15px;
}

.card h3 {
    color:#f5f5f5;
}

.card p {
    color: #f5f5f5;
}


/* CLIENT LOGOS */

.clients-section{
padding:20px;
background:  linear-gradient(45deg, #1f1d1d, #121212);
/* url("images/jigjag.jpeg"); */
text-align:center;
margin-left:calc(-50vw + 50%);
margin-right:calc(-50vw + 50%);
padding-left: 0;
}

.clients-section h2 {
    bottom: -100;
    color: whitesmoke;
}

.logo-slider{
overflow:hidden;
width:100%;
margin-top:40px;
background:linear-gradient(45deg, #1f1d1d, #121212);
}

.logo-track{
display:flex;
align-items: center;
gap:30px;
animation:scroll 20s linear infinite;
}

.logo-track img{
width:150px;
margin:0px;
filter:none;
transition:0.3s;
}

.logo-track img:hover{
filter:grayscale(0%);
}

@keyframes scroll{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}


/* PORTFOLIO */

.portfolio{
padding:80px;
text-align:center;
}

.portfolio-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:20px;
max-width:1100px;
margin:auto;
}

.work img{
width:100%;
border-radius:10px;
}


/* TESTIMONIALS */

.testimonials{
padding:80px;
background:#111;
color:white;
text-align:center;
}

.testimonial-box{
max-width:700px;
margin:auto;
font-size:18px;
}


/* FOOTER */

/* footer{
background: linear-gradient(rgba(22, 22, 21, 0.57)),
url("images/jigjag.jpeg");
color:white;
font-weight: bold;
font-size: larger;
text-align:center;
margin-left:calc(-50vw + 50%);
margin-right:calc(-50vw + 50%);
padding:25px;
} */

.testimonial-section{
width:100vw;
padding:50px 0;
margin-top:80px;
margin-left:calc(-50vw + 50%);
background:linear-gradient(120deg,#141314d7,#1111117b);
text-align: center;
color:white;
}

.testimonial-section h2{
/* transform: translateX(-440px); */
margin-left: -900px;
}

.swiper{
width:80%;
margin:auto;
padding-top:50px;
padding-bottom:50px;
}

.swiper-wrapper{
align-items: center;
transition-timing-function: linear !important;
}

.swiper-slide{
  display: flex;
justify-content:center;
}

.testimonial-card{
width:80%;
padding:30px;
background:linear-gradient(45deg,#bebcbc19,#1a1a1c);
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.3);
color:white;
transition:0.3s;
}

/* .testimonial-card h3{
transform: translateX(-150px);
} */

.testimonial-card:hover{
transform:scale(1.05);
}

.testimonial-card h3{
margin-bottom:5px;
}

.testimonial-card span{
font-size:14px;
opacity:0.8;
}

.testimonial-card p{
margin-top:20px;
line-height:1.6;
}

@keyframes slideTestimonial{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}




/* ===== PREMIUM SCROLL TEXT ===== */
.scroll-text {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #000, #111, #000);
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* TRACK */
.scroll-track {
  display: flex;
  width: max-content;
  animation: tickerMove 20s linear infinite;
  will-change: transform;
}

/* TEXT STYLE */
.scroll-track span {
  white-space: nowrap;
  font-size: 18px;
  font-weight: bold;
  padding-right: 60px;
  text-shadow: 0 0 10px rgba(255,255,255,0.2);

  /* 🔥 GRADIENT TEXT */
  background: linear-gradient(90deg, #fff, #aaa, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 🔥 ANIMATION */
@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 🧠 PAUSE ON HOVER */
.scroll-text:hover .scroll-track {
  animation-play-state: paused;
}

/* 📱 MOBILE OPTIMIZATION */
@media (max-width: 768px) {
  .scroll-track {
    animation: tickerMove 25s linear infinite; /* slower */
  }

  .scroll-track span {
    font-size: 14px;
    padding-right: 40px;
  }
}





.footer-bottom {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 15px 50px;
  background: linear-gradient(rgba(22, 22, 21, 0.57)),
  url(images/jigjag.jpeg);

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

  /* border-top: 1px solid rgba(240, 248, 255, 0.277); */
  box-sizing: border-box;
}

/* left text */
.footer-bottom .left-text {
    color:#e8e5e6;
  margin-left: 50px;   /* same spacing as header */
}

/* right links */
.footer-bottom .right-text {
  margin-right: 50px;  /* same spacing as header */
  display: flex;
  gap: 15px;
}

.footer-link {
    color: white ;
    text-decoration:none ;
}

.footer-bottom .right-text a {
  color: #e8e5e6;
  text-decoration: none;
}

.footer-bottom .right-text a:hover {
  color: #b6cac2f4;
  transform: scale(1.08);
}

.menu-toggle {
  display: none;
}

.overlay {
  display: none;
}


/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 768px) {

  header {
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgb(153, 144, 140);
  }

  .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .logo-gif {
    position: static !important;   /* 🔥 VERY IMPORTANT */
    transform: none  !important;  /* remove shifting */
    left: 0 !important;
    top: 0 !important;
    display: block;
    margin-left: 0 !important;
    height: 60px;
  }

  .menu-toggle {
    display: block;
    position: absolute;   /* 🔥 IMPORTANT */
    right: 15px;          /* 👉 pushes to right end */
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    z-index: 2001;
    cursor: pointer;
  }

  .overlay {
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);

  opacity: 0;
  pointer-events: none;
  transition: 0.3 ease;
  z-index: 999;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

  /* SLIDE MENU */
  .nav-container {
  position: fixed;
  top: 0;
  right: -100%;
  width: 50%;
  height: 100vh;
  background: white;
  flex-direction: column;
  align-items: flex-start;
  padding: 50px 20px;
  transition: 0.4s ease;
  z-index: 1000;
}

.nav-container nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.nav-container.active {
  right: 0;
}

.nav-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nav-container nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.nav-container nav a {
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
}

  .quote {
    margin-top: 20px;
  }

  .swiper {
    width: 100;
  }

  .hero {
  height: 100dvh;   /* reduce height for mobile */
}

.hero-video {
  object-fit: contain;   /* keep fill but controlled */
  background: black;

}

.hero-content {
  top: 75%;
  transform: translateY(-50%);
  text-align: center;
}

.hero-content h1 {
  color: #373333de;
}

  .swiper-slide {
    display: flex;
    justify-content: center;
  }

  .testimonial-card {
    width: 90%;
  }

  .testimonial-section h2 {
    margin-left: 0px;
  }

  .footer-bottom {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 15px;
}

.footer-bottom .left-text {
  margin: 0 !important;
  position: static !important;
  font-size: 12px;
}

.footer-bottom .right-text {
  position: static !important;
  transform: none !important;
  display: flex;
  gap: 10px;
  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cursor-dot,
.cursor-ring {
  display: none !important;
}

body {
  cursor: auto !important;
}

.whatsapp-btn {
    bottom: 15px;
    right: 15px;
    padding: 20px;
    border-radius: 50%;
    /* background: #25D366; clean background */
  }

  .whatsapp-icon {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
    display: block;
  }


}

/* DESKTOP FIX */
.nav-container {
  display: flex;
  align-items: center;
}

.nav-container nav {
  display: flex;
  align-items: center;
}

.nav-container a {
  display: inline-block;
}

.nav-container .quote {
  margin-left: 0; /* reset */
}










/* WhatsApp Button - Desktop + Mobile */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 16px;
  z-index: 9999;
  transition: 0.3s;
}

.whatsapp-btn:hover {
  transform: scale(1.05);
}

/* Icon */
.whatsapp-icon {
  width: 80px;
  height: 80px;
}