* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  font-family: 'Poppins', sans-serif;
   overflow-x: hidden; 
   background: #f3eded; 
  
  color: #333;
  
}



/* position */






/* position end  */












/* codingwordanimation start */



codinAni{
    background-color: #e78383;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    /* width: 200px; */
    overflow: hidden;
}

 .codinAni span{
    position: relative;
    font-family: "lato" ,sans-serif;
    top: 20px;
    color: rgb(218, 69, 231);
    display: inline-block;
    font-size: 2rem;
    text-shadow: 0 1px 0 #b7b7b7,0 2px 0 #b7b7b7,0 3px 0 #b7b7b7,0 4px 0 #b7b7b7,0 5px 0 #b7b7b7,0 6px 0 #b7b7b7,0 7px 0 #b7b7b7,0 8px 0 #b7b7b7,0 9px 0 transparent,0 10px 10px  rgba(0, 0, 0, 0.5) ;
    animation: bounce 0.4s ease infinite alternate;

}

.codinAni h1 span:nth-child(2){
    animation-delay: 0.1s;
}
.codinAni h1 span:nth-child(3){
    animation-delay: 0.2s;
}
.codinAni h1 span:nth-child(4){
    animation-delay: 0.3s;
}
.codinAni h1 span:nth-child(5){
    animation-delay: 0.4s;
}
.codinAni h1 span:nth-child(6){
    animation-delay: 0.5s; overflow: hidden;
}
@keyframes bounce {
    100%{
        top: -20px;
        text-shadow: 0 1px 0 #ccc, 0 2px 0 #ccc, 0 3px 0 #ccc, 0 4px 0 #ccc, 0 5px 0 #ccc, 0 6px 0 #ccc, 0 7px 0 #ccc, 0 8px 0 #ccc, 0 9px 0 #ccc,0 60px 30px rgba(0, 0, 0, 0.3);

    }
    
}
 /* codingwordanimation end */

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background: #fff;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #ff6b00;
}





.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-links a:hover {
  color: #ff6b00;
}

.buttons .btn {
  margin-left: 10px;
  padding: 8px 15px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: bold;
}
.buttons .btn:hover{
    background-color: #333;
    box-shadow: #333;
}

.signin {
  background: #ff6b00;
  color: #fff;
}

.contact {
  background: #ff6b00;
  color: #fff;
  margin-right: 20px;

}
.buttons img{
  margin-bottom: 0px;
  border: 1px solid black;
  border-radius: 50%;
  box-shadow: 2px 2px 2px -2px rgb(139, 139, 139);
}

/* HERO SECTION */
.hero {
  background: url("https://t3.ftcdn.net/jpg/02/97/89/28/360_F_297892888_fiCFYX2oB9GvCotLpOBhc5t7RVgNHozm.jpg") no-repeat center center/cover;
  color: #fff;
  text-align: left;
  padding: 120px 50px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p {
  margin-bottom: 20px;
}

.hero-buttons .btn {
  padding: 10px 20px;
  border-radius: 4px;
  margin-right: 10px;
}

.btn.orange {
  background: #ff6b00;
  color: #fff;
}

.btn.dark {
  background: #333;
  color: #fff;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #2d194f;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  gap: 20px;
}

.feature i {
  font-size: 30px;
  margin-bottom: 10px;
  color: #ff6b00;
}

.feature h3 {
  margin-bottom: 5px;
}

/* WELCOME SECTION */
.welcome {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 50px;
  gap: 40px;
}

.welcome-text {
  flex: 1;

  
}

.welcome-text h2 {
    width: 50vw;
  font-size: 28px;
  margin-bottom: 15px;
}

.welcome-text ul {
    width: 50vw;
  margin: 20px 0;
  list-style: none;
}

.welcome-text ul li {
    width: 50vw;
  margin-bottom: 10px;
}

.viewall{
  background-color:rgb(64, 77, 100);
  height: 40px;
  padding: 10px;
  border-radius: 5px;
}

#all{
  color: white;
  text-decoration: none;
}

/* 
/* 3d animated */

 :root{
      --speed: 7s;            /* change to make animation faster/slower */
      --size: 320px;          /* card width (responsive handled below) */
      --gap: 40px;            /* spacing between repeated cards */
      --bg:white;
    }

    *{box-sizing:border-box}
    html,body{height:100%;margin:0;background:linear-gradient(180deg,var(--bg) 0%, white 100%);font-family:Inter, system-ui, Arial}

    .scene{
    
      width:100%;
      min-height:100vh;
      display:grid;
      place-items:center;
      perspective:160000px; /* creates the 3D effect */
      padding:3rem 1rem;
    }

    /* the stage that holds the vertical strip */
    .stage{
      width:clamp(260px, 50vw, 720px);
      max-width:900px;
      height: clamp(420px, 66vh, 900px);
      position:relative;
      overflow:hidden;
      border-radius:20px;
      transform-style:preserve-3d;
      box-shadow: 0 20px 50px rgba(20, 20, 20, 0.6), inset 0 1px 0 rgba(255,255,255,0.02);
      background:linear-gradient(180deg, rgba(231, 224, 224, 0.925), rgba(34, 33, 33, 0.986));
      display:flex;
      align-items:center;
      justify-content:center;
    }

    /* vertical strip that will loop infinitely from top to bottom */
    .strip{
      width:100%;
      /* make the strip taller than the stage so it can translate in Y */
      height:calc(200% + var(--gap));
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:flex-start;
      gap:var(--gap);

      /* 3D tilt for perspective + smooth animation */
      transform-origin:center center;
      transform: rotateX(16deg) translateZ(0);

      animation: slideDown var(--speed) linear infinite;
    }

    /* each card inside the strip */
    .card{
      width:90%;
      max-width:var(--size);
      aspect-ratio: 3/4;
      border-radius:14px;
      overflow:hidden;
      background:#181717;
      box-shadow: 0 15px 30px rgba(10, 10, 10, 0.6);
      transform-style:preserve-3d;
      backface-visibility:hidden;
      display:flex;
      align-items:flex-end;
      justify-content:flex-start;
      position:relative;
      will-change:transform, opacity;
      z-index: 1000;
    }

    /* image covers card */
    .card img{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      object-fit:contain;
      transform: translateZ(-40px) scale(1.08); /* slight parallax */
    }

    /* overlay info area */
    .info{
      position:relative;
      z-index:2;
      color:#fff;
      padding:14px 16px;
      backdrop-filter: blur(6px) saturate(120%);
      background:linear-gradient(180deg, rgba(43, 42, 42, 0.12), rgba(0,0,0,0.28));
      width:100%;
    }
    .info h3{margin:0;font-size:1rem;letter-spacing:0.2px}
    .info p{margin:6px 0 0;font-size:0.85rem;opacity:0.9}

    /* subtle per-card 3D offset for depth (using nth-child) */
    .card:nth-child(1){transform: translateZ(30px) rotateX(2deg) scale(1.02)}
    .card:nth-child(2){transform: translateZ(10px) rotateX(1deg) scale(1.00)}
    .card:nth-child(3){transform: translateZ(-8px) rotateX(-1deg) scale(.98)}

    /* Duplicate look: we repeat cards inside strip, but fade the trailing ones slightly */
    .card.fade{opacity:0.95;filter:brightness(.94)}

    /* animation keyframes: moves the long strip downward and loops.
       We carefully start at -50% so the middle of the strip aligns and movement is smooth. */
    @keyframes slideDown{
      0% { transform: rotateX(16deg) translateY(-50%) translateZ(0); }
      100% { transform: rotateX(16deg) translateY(45%) translateZ(0); }
    }

    /* small responsive tweaks */
    @media (max-width:520px){
      :root{--speed:9s}
      .card{border-radius:12px}
      .info h3{font-size:.95rem}
    }

    accessibility: respect reduced motion */
     @media (prefers-reduced-motion: reduce){
      .strip{animation:none}
    } 

/* 3d animated end */




.line{
  margin-top: 0px;
  border-top: 2px solid #333;
  display: flex;
  margin-left: 15px;
  margin-right: 15px;
  box-shadow: 3px 3px 3px 3px  rgb(84, 103, 128);
  background-color: #333;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35px;
  border-radius: 10px;

}
.contact1{
  display: flex;
  /* margin-left: 25%; */
  background-color: #a8a5a5;
}
.contact2{
 
margin: 15px;
  width: 100%;
  height: 100%;
}

.contact3{
  margin-left: 10%;
  gap: 10px;
}

.conatact4{
  margin-top: 40px;
  margin-left: 10%;
  border: 4px solid black;
  z-index: 12000;
  box-shadow: 5px -5px 5px -3px black;
  border-radius: 10px;

}
.full-width{
  width: 100%;
  height: 35px;

}
.message{
  height: 150px;
}
.send{
  background-color: #333;
  color: white;
  border-radius: 10px;
  width: 170px;
  margin-left: 40%;
  height: 50px;
}
.send:hover{
  background-color: #e73c7e;
  color: black;
  border-radius: 15px;
}

.line4{
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  height: 3px;
  background-color: orangered;
  border: #e73c7e;
  margin-left: 15px;
  margin-right: 15px;
  box-shadow: 2px 2px 2px 2px rgb(165, 184, 61);
}

.foo{
  margin-left: 2%;

}
.foo1{
  display: flex;

}

.foo2{
  width: 50%;
  background-color: #fff;
  margin-left:25%;
  
}
.foo6{
  margin: 20px;
}

.foo2 a{
  text-decoration: none;
  color: #333;
}
       
 
/* signout start */




.profile-menu {
      position: relative;
      display: inline-block;
    }
 .profile-menu img {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      cursor: pointer;
      border: 2px solid #444;
    }

.dropdown {
      display: none;
      position: absolute;
      right: 0;
      margin-top: 10px;
      background: rgb(138, 129, 129);
      box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
      border-radius: 8px;
      overflow: hidden;
      min-width: 150px;
      z-index: 100;
    }
.dropdown a {
      display: block;
      padding: 10px;
      text-decoration: none;
      color: #333;
      transition: background 0.2s;
    }

.dropdown a:hover {
      background: #f0f0f0;
    }
/* Hover ya focus hone par dropdown show ho */
.profile-menu:hover .dropdown,
.profile-menu:focus-within .dropdown {
      display: block;
    }





    /* RESPONSIVE WORK START  */



@media (max-width: 1024px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 25px;
  }

  nav ul.nav-links {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .codinAni h1 span {
    font-size: 1.5rem;
  }

  .welcome {
    flex-direction: column;
    align-items: center;
    padding: 40px 25px;
  }

  .welcome-text {
    width: 100%;
  }

  .welcome-text h2,
  .welcome-text ul li,
  .welcome-text p {
    width: 100%;
  }

  .scene {
    min-height: 70vh;
  }

  .contact1 {
    flex-direction: column;
    align-items: center;
  }

  .contact2 {
    width: 90%;
  }

  .contact3 img {
    width: 100%;
    height: auto;
  }

  .foo1 {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .foo2 {
    width: 90%;
    margin: 0;
  }
}


@media (max-width: 1024px){

  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 25px;
  }


}

/* ---- Mobile View (below 768px) ---- */
@media (max-width: 768px) {


 .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
  }

  .logo {
    font-size: 20px;
    margin-bottom: 10px;
  }

  nav ul.nav-links {
    flex-direction: column;
    gap: 12px;
    margin: 10px 0;
  }

  .buttons {
    display: flex;
    flex-direction: row;
    /* align-items: start; */
    gap: 2px;
  }

  .profile-menu img {
    width: 40px;
    height: 40px;
  }



  /* Hero section */
  .hero {
    padding: 80px 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  
  .features {
    grid-template-columns: 1fr;
    padding: 30px 10px;
  }

  .feature i {
    font-size: 24px;
  }

  .feature h3 {
    font-size: 20px;
  }


  .welcome {
    flex-direction: column;
    padding: 30px 15px;
  }

  .welcome-text h1 {
    font-size: 26px;
  }

  .welcome-text h2 {
    font-size: 20px;
  }

  .welcome-text p {
    font-size: 15px;
    line-height: 1.4;
  }

  .scene {
    width: 100%;
    min-height: 50vh;
  }

  .card img {
    object-fit: contain;
  }

  
  .contact1 {
    flex-direction: column;
    padding: 10px;
  }

  .conatact4 {
    width: 100%;
    margin: 0;
  }

  .contact3 {
    margin: 0;
  }

  .contact3 img {
    width: 100%;
    height: auto;
  }

  .send {
    margin-left: 0;
    width: 100%;
  }

  
  .foo1 {
    flex-direction: column;
    margin-left: 20px;
    padding: 10px;
  }

  .foo2 {
    width: 100%;
    margin: 0;
  }

  .foo2 h3 {
    font-size: 18px;
  }

  .foo2 a {
    font-size: 15px;
  }

  .foo {
    text-align: center;
    margin-left: 0;
  }

  
  .codinAni {
    height: 30px;
  }

  .codinAni span {
    font-size: 1.3rem;
  }
}

/* ---- Very Small Devices (below 480px) ---- */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 22px;
  }

  .hero p {
    font-size: 14px;
  }

  .viewall {
    /* width: 100%; */
    margin-left: 30%;
    height: 45px;
    border-radius: 10px;
  }

  .welcome-text h3 {
    font-size: 18px;
  }

  .contact1 {
    gap: 10px;
  }

  .full-width {
    height: 40px;
  }

  .message {
    height: 120px;
  }

  .footer p {
    font-size: 14px;
   
  }

 
  .card img {
    object-fit: cover;
  }

  .foo1{
    margin-left: 40px;
  }


 .stage{
  width: 90vw;
 }

 

  .card img {
    object-fit: contain;
  }



}







