*{
    padding: 0%;
    margin: 0%;
    text-transform: capitalize;
    box-sizing: border-box;
}

html,body{
    height: 100%;
    width: 100%;
      font-family:"Space Grotesk", system-ui, sans-serif;

}
.main{
  background-color: #000000;
  
}


.loader {
  height: 100vh;
  width: 100%;
  position: fixed;
  
  display: flex;
  justify-content: center;
  align-items: center;
    text-align: center;
  background: rgba(0, 0, 0, 0.971);
  z-index: 9;
  color: #ffffff;

}

.yellow{
  height: 100%;
  width: 100%;
  background-image: url("./images/mercedes-benz-s-klasse-lang-2020-5k-3840x2160-2563.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;  position: absolute;
  z-index: 8;
}
.yellow2{
  height: 100%;
  width: 100%;
  background-image: url("./images/ferrari-458-carbon-3840x2160-24986.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;  position: absolute;
  z-index: 7;
}




.page1{
  height: 100vh;
  width: 100%;
  background-image: url("./images/mclaren-620r-novitec-2021-5k-8k-3840x2160-3401.jpg");
  background-size: cover;
  
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(100%);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page2{
  height: 100vh;
  width: 100%;
  background-image: url("https://4kwallpapers.com/images/walls/thumbs_3t/24891.jpg");
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
  
  display: flex;
  color: #ffffff;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-direction: column;
  
}
.page3{
  min-height: 100vh;
  width: 100%;
  background-color: #ffffff;
  position: relative;
  display: flex;
  justify-content: space-between;
   
}


.loader h1{
  font-size: 6.9vw;
  font-weight: 100;
  line-height: 6vw;
  letter-spacing: -2px;
  position: relative;
  z-index: 9;
}
.loader video{
  height: 100%;
  width: 100%;
  position: absolute;
  object-fit: cover;
  z-index: 6;
}

.elem{
  position: relative;
  width: 100%;
  text-align: center;
  cursor: pointer;

}
.elem h2{
  font-size: 7.5vw;
  text-transform: uppercase;
  font-weight: 100;
  position: relative;
  z-index: 9;
  color: azure;
  line-height: 5.5vw;
  transition: all ease 0.8s;
}
.elem .moving{
  width: 100%;
background-color: #f5e41b;

  white-space: nowrap;
  padding: 10px 20px ;
   position: absolute;
     opacity: 0;
transition: all ease 1s;

  top: 50%; 
transform: translate(0,-50%) scaleY(0); }
.elem .moving .movingin{
  display: inline-block;
  white-space: nowrap;
  animation: moving 3s infinite linear;
 
}
.elem .moving .movingin h5{
  color: #222;
  display: inline-block;
  font-size: 20px;
  text-transform: uppercase;
  margin-right: 36px;
  transition-delay: 0.3;
  font-weight: 400;
}

@keyframes moving {
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-100%);
  }
}
.elem:hover .moving{
  opacity: 1;
  transform: translate(0,-50%) scaleY(1)

}

.elem:hover h2{
   font-style: italic;
}
.blur{
   position: absolute;
   left: 50%;
   transform: translate(-50%,-50%);
   width: 35%;
   top: 50%;
background: linear-gradient(to right,#f6ff53b8,#f5e31be4,#f5e31ba7);
   height: 100%;
   z-index: 9;
}
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand{
  font-size: 26px;
  font-weight: 700;
  color: white;
}

.brand span{
  color: rgb(255, 78, 43);
}

.logo svg{
  transition: transform 0.4s ease;
  font-size: 1.2vw;
}

.logo:hover svg{
  transform: translateX(6px);
}

.loader h1{
  font-size: 6.9vw;
     text-shadow:
    0 1px 0 rgba(0,0,0,0.35),
    0 4px 0 rgba(0,0,0,0.35),
    0 8px 12px rgba(0,0,0,0.35);
  font-weight: 100;
  line-height: 6vw;
  letter-spacing: -2px;
}

.page1 h1{
  font-size: 6.9vw;
     text-shadow:
    0 1px 0 rgba(0,0,0,0.35),
    0 4px 0 rgba(0,0,0,0.35),
    0 8px 12px rgba(0,0,0,0.35);
  font-weight: 100;
  line-height: 6vw;
  letter-spacing: -2px;
}
.loader h1 em{
   background: linear-gradient(135deg,#2dd4bf,#0f766e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;

  text-shadow:
    0 2px 0 rgba(255,255,255,0.2),
    0 8px 18px rgba(45,212,191,0.45);
}
.loader h1 span{
  background: linear-gradient(135deg,#38bdf8,#2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow:
    0 2px 0 rgba(255,255,255,0.25),
    0 8px 20px rgba(37,99,235,0.55);
}
.loader h1{
  color: #ffffff;
}
.page1 h1 em{
   background: linear-gradient(135deg,#2dd4bf,#0f766e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;

  text-shadow:
    0 2px 0 rgba(255,255,255,0.2),
    0 8px 18px rgba(45,212,191,0.45);
}
.page1 h1 span{
  background: linear-gradient(135deg,#38bdf8,#2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow:
    0 2px 0 rgba(255,255,255,0.25),
    0 8px 20px rgba(37,99,235,0.55);
}
.page1 h1{
  color: #ffffff;
}
.car-nav{
  top: 30px;
  transform: translateX(-50%);
  width: 80%;
  padding: 12px 50px;
position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(16px);
  border-radius: 20px;

  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.6),
    inset 0 1px 1px rgba(255,255,255,0.15);

  perspective: 1200px;
  transform-style: preserve-3d;
  z-index: 99;
}

/* LOGO */
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateZ(40px);
}

.brand{
  color: white;
  font-size: 22px;
  letter-spacing: 3px;
}

.brand span{
  color: #3a8dff;
}

/* NAV LIST */
.nav3d{
  display: flex;
  gap: 45px;
  list-style: none;
  
}

.nav3d li{
  perspective: 800px;
}

/* LINKS */
.nav3d li a{
  text-decoration: none;
  color: white;
  font-size: 13px;
  letter-spacing: 3px;
  position: relative;
  padding: 10px 0;
  display: block;
  transform-style: preserve-3d;
  transition: all 0.4s ease;
}

.nav3d li a span{
  display: block;
  transform: translateZ(30px);
  transition: all 0.4s ease;
  font-size: 0.7vw;
}

/* GLOW LINE */
.nav3d li a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background:linear-gradient(135deg,#1e3cff,#3a8dff);
  box-shadow: 0 0 10px #1e3cff;
  transition: width 0.4s ease;
}

/* HOVER FULL 3D */
.nav3d li:hover a{
  transform: rotateX(19deg) rotateY(-34deg);
}

.nav3d li:hover a span{
  transform: translateZ(55px);
  color: #1e3cff;
}

.nav3d li:hover a::after{
  width: 100%;
}

/* BUTTON */
.nav-btn{
  transform: translateZ(40px);
}

.nav-btn button{
  padding: 12px 26px;
  background:linear-gradient(135deg,#1e3cff,#3a8dff);
  border: none;
  border-radius: 30px;
  color: white;
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 15px 30px rgba(255,78,43,0.4);
  transition: all 0.4s ease;
}

.nav-btn1 button:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 45px rgba(58,141,255,.65);
}



@media (max-width: 1024px){
  .car-nav{
    width: 94%;
    padding: 16px 28px;
  }

  .nav3d{
    gap: 32px;
  }

  .nav3d li a{
    font-size: 18px;
    letter-spacing: 2px;
  }

  .logo,
  .nav-btn{
    transform: translateZ(25px);
  }

  .nav3d li a span{
    transform: translateZ(25px);
  }
}

/* Mobile (<= 768px) */
@media (max-width: 768px){
  .car-nav{
    flex-direction: column;
    gap: 18px;
    padding: 16px 20px;
  }

  /* 👇 MAIN FIX: menu ek ke niche ek */
  .nav3d{
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .nav3d li a{
    font-size: 19px;
  }

  .nav3d li:hover a{
    transform: rotateX(6deg) rotateY(-6deg);
  }

  .nav3d li a span{
    transform: translateZ(20px);
  }

  /* 👇 Button width controlled (not full) */
  .nav-btn button{
    width: 70%;
  }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px){
  .brand{
    font-size: 18px;
    letter-spacing: 2px;
  }

  .nav3d{
    gap: 16px;
  }

  .nav3d li a{
    font-size: 20px;
    letter-spacing: 2px;
  }

  /* 👇 Even smaller button */
  .nav-btn button{
    width: 80%;
  }

  .car-nav{
    border-radius: 16px;
  }
}



.page3-grid {
  width: 90%;
  max-width: 87.5rem; /* 1400px */
  margin: 2.5rem auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem; /* 35px */
  color: white;
}

.card {
  height: 50vh; /* 320px */
  width: 50vw;
  position: relative;
  overflow: hidden;
  border-radius: 0.6rem; /* 10px */
  cursor: pointer;
  box-sizing: border-box;
  border: none;
}

.p3img {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  transition: 0.4s ease;
}

.card:hover .p3img {
  transform: scale(1.08);
}

.shad {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.6s ease;
}

.shad h3 {
  font-size: 1.4rem; /* responsive text */
  color: white;
}

.card:hover .shad {
  opacity: 1;
}


.img1 { background-image: url("https://4kwallpapers.com/images/walls/thumbs_3t/21342.jpg"); }
.img2 { background-image: url("https://4kwallpapers.com/images/walls/thumbs_3t/25034.jpg"); }
.img3 { background-image: url("https://4kwallpapers.com/images/walls/thumbs_3t/16678.jpg"); }
.img4 { background-image: url("https://4kwallpapers.com/images/walls/thumbs_3t/16603.jpg"); }
.img5 { background-image: url("https://4kwallpapers.com/images/walls/thumbs_3t/23795.jpg"); }
.img6 { background-image: url("https://4kwallpapers.com/images/walls/thumbs_3t/23794.jpg"); }
.img7 { background-image: url("https://4kwallpapers.com/images/walls/thumbs_3t/22619.jpg"); }
.img8 { background-image: url("https://4kwallpapers.com/images/walls/thumbs_3t/20305.jpg"); }




.page4{
  position: relative;
  min-height: 100vh;
  width: 100vw;
  overflow: hidden;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
}

/* BACKGROUND */
.p4-bg{
  position:absolute;
  inset:0;
  z-index:1;
}

.p4-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* OVERLAY */
.p4-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.75);
  z-index:2;
}

/* CONTENT */
.p4-content{
  position:relative;
  z-index:3;
  padding:12vh 8vw;
}

/* HEADER */
.p4-header11{
  max-width:40vw;
  margin-bottom:10vh;
}

.p4-sub11{
  font-size:1.1vw;
  letter-spacing:.4vw;
  opacity:.85;
}

.p4-title11{
  font-size:4.2vw;
  margin:2vh 0;
  line-height:1.15;
}

.p4-tag11{
  font-size:1.2vw;
  color:#ccc;
  line-height:1.7;
}

/* FEATURES */
.p4-features{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:2.5vw;
  margin-bottom:10vh;
}

/* CARD */
.p4-card{
  position:relative;
  height:28vh;
  border-radius:1.4vw;
  overflow:hidden;
  background:rgba(255,255,255,0.08);
  border:.08vw solid rgba(255,255,255,0.15);
  cursor:pointer;
  transition:.4s ease;
}

.p4-card-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.1);
  transition:.5s ease;
}

.p4-card:hover .p4-card-bg{
  opacity:1;
  transform:scale(1);
}

.p4-card:hover{
  transform:translateY(-1.5vh);
  box-shadow:0 3vh 7vh rgba(0,0,0,0.7);
}

/* CARD CONTENT */
.p4-card-content{
  position:relative;
  z-index:2;
  padding:3vh 2vw;
}

.p4-num{
  font-size:3vw;
  opacity:.25;
}

.p4-card h3{
  font-size:1.4vw;
  margin:1.5vh 0 1vh;
}

.p4-card p{
  font-size:1.1vw;
  color:#ddd;
  line-height:1.6;
}

/* STATS */
.p4-stats{
  display:flex;
  gap:6vw;
  flex-wrap:wrap;
}

.p4-stat h1{
  font-size:4.5vw;
}

.p4-stat p{
  font-size:1vw;
  letter-spacing:.25vw;
  color:#aaa;
  text-transform:uppercase;
}

/* CARD IMAGES */
.p4-card:nth-child(1) .p4-card-bg{background-image:url("https://4kwallpapers.com/images/walls/thumbs_3t/74.jpg");}
.p4-card:nth-child(2) .p4-card-bg{background-image:url("https://4kwallpapers.com/images/walls/thumbs_3t/24125.jpg");}
.p4-card:nth-child(3) .p4-card-bg{background-image:url("https://4kwallpapers.com/images/walls/thumbs_3t/7671.jpeg");}
.p4-card:nth-child(4) .p4-card-bg{background-image:url("https://4kwallpapers.com/images/walls/thumbs_3t/13193.jpeg");}

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

/* Tablets */
@media(max-width:1024px){
  .p4-features{
    grid-template-columns:repeat(2,1fr);
  }

  .p4-title11{
    font-size:6vw;
  }

  .p4-tag11,
  .p4-card p{
    font-size:1.8vw;
  }
}

/* Mobiles */
@media(max-width:600px){
  .p4-content{
    padding:8vh 6vw;
  }

  .p4-header11{
    max-width:100%;
  }

  .p4-title11{
    font-size:9vw;
  }

  .p4-sub11{
    font-size:2.8vw;
    letter-spacing:.8vw;
  }

  .p4-tag11{
    font-size:3.5vw;
  }

  .p4-features{
    grid-template-columns:1fr;
    gap:4vh;
  }

  .p4-card{
    height:auto;
  }

  .p4-card h3{
    font-size:4vw;
  }

  .p4-card p{
    font-size:3.4vw;
  }

  .p4-stats{
    flex-direction:column;
    gap:4vh;
  }

  .p4-stat h1{
    font-size:10vw;
  }

  .p4-stat p{
    font-size:3vw;
  }
}




#second {
    padding-right: 6vw;
    padding-top: 200px;
    width: 100%;
    
    background: linear-gradient(
        180deg,
        #050b1c 0%,
        #070f2d 50%,
        #050b1c 100%
    );
    color: #e6eaf2;
    margin-top: -100px;
    height: 188vh;
    position: relative;
    overflow: hidden;
}

.elem111 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 4vw 3vw;
    padding-right: 0;

    border-top: 1px solid rgba(255,255,255,0.08);
    transition: background 0.4s ease, transform 0.4s ease;
}

.elem111::before{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0%;
    height:2px;
    background: linear-gradient(
        90deg,
        #2563eb,
        #38bdf8
    );
    transition: 0.5s ease;
}

.elem111:hover::before{
    width:100%;
}

.elem111:hover{
    background: rgba(37,99,235,0.06);
    transform: translateX(8px);
}

.owners-heading{
    font-size:3.6vw;
    font-weight:600;
    letter-spacing:6px;
    margin: 0 auto 90px auto;
    text-transform:uppercase;
    text-align:center;
    width: fit-content;
    padding:16px 56px;

    color:#3b82f6;
    background: rgba(255,255,255,0.03);
    border-radius:14px;
    backdrop-filter: blur(12px);
    border:1px solid rgba(255,255,255,0.08);

    box-shadow:
      0 10px 40px rgba(59,130,246,0.15);
}

.elem111 h1 {
    text-transform: uppercase;
    font-size: 3vw;
    font-weight:500;
    color: #e5e7eb;
    opacity: 0.85;
    letter-spacing: 1px;
    transition: 0.35s ease;
}

.elem111 p{
  color: rgba(229,231,235,0.6);
}

.elem111:hover h1{
    opacity:1;
    letter-spacing:2.5px;
    color:#60a5fa;
}

.elemlast {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.elem111 img {
    opacity: 0;
    pointer-events: none;
    height: 220%;
    width: auto;
    z-index: 999;
    border-radius: 10%;
    position: absolute;
    transform: translate(-50%, -50%);
}

.site-footer{
  position:relative;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  color:#eaf0ff;
  font-family:'Inter', sans-serif;
}

.footer-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.7);
  z-index:0;
}

.footer-container{
  position:relative;
  z-index:2;
  padding:120px 6vw 60px;
}

.footer-top{
  display:grid;
  grid-template-columns:2.2fr repeat(4,1fr);
  gap:60px;
}

.footer-brand h2{
  font-size:2.2rem;
  font-weight:700;
  margin-bottom:16px;
  letter-spacing:.5px;
}

.footer-brand p{
  font-size:.95rem;
  line-height:1.7;
  color:#b9caff;
  max-width:380px;
}

.footer-socials{
  margin-top:24px;
  display:flex;
  gap:14px;
}

.footer-socials a{
  width:44px;
  height:44px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9fb6ff;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);

  transition:
    transform .55s cubic-bezier(.4,0,.2,1),
    background .35s ease,
    color .35s ease,
    box-shadow .35s ease;
}

.footer-socials a:hover{
  background:rgba(90,130,255,0.18);
  color:#ffffff;
  transform:translateY(-4px) scale(1.15) rotate(360deg);
  box-shadow:0 14px 26px rgba(0,0,0,0.45);
}

.footer-socials a i{
  font-size:16px;
}

.footer-links h4{
  font-size:1.05rem;
  font-weight:600;
  margin-bottom:18px;
}

.footer-links ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-links li{
  margin-bottom:10px;
}

.footer-links a{
  font-size:.9rem;
  color:#b8caff;
  text-decoration:none;
  transition:.25s ease;
}

.footer-links a:hover{
  color:#fff;
  padding-left:6px;
}

.footer-bottom{
  margin-top:80px;
  padding-top:36px;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
}

.footer-bottom-left p{
  font-size:.85rem;
  color:#9fb6ff;
  margin-bottom:6px;
}

.footer-bottom-right{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
}

.footer-bottom-right a{
  font-size:.85rem;
  color:#9fb6ff;
  text-decoration:none;
  transition:.25s ease;
}

.footer-bottom-right a:hover{
  color:#fff;
}



@media(max-width:1200px){
  .footer-top{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:768px){
  .footer-top{
    grid-template-columns:1fr;
    gap:50px;
  }

  .footer-container{
    padding-top:90px;
  }

  .footer-brand p{
    max-width:100%;
  }
}


