/* style.css */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  scroll-behavior:smooth;
}

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

/* Loader */

.loader{
  position:fixed;
  inset:0;
  background:black;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:99999;
}

.loader h1{
  font-size:5rem;
  background:linear-gradient(90deg,#7b2ff7,#f107a3);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:pulse 1.5s infinite;
}

@keyframes pulse{
  0%{
    opacity:0.5;
    transform:scale(0.9);
  }

  50%{
    opacity:1;
    transform:scale(1);
  }

  100%{
    opacity:0.5;
    transform:scale(0.9);
  }
}

/* Navbar */

header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  padding:20px 8%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:1000;
  backdrop-filter:blur(10px);
  background:rgba(0,0,0,0.2);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.logo{
  font-size:2rem;
  font-weight:800;
  background:linear-gradient(90deg,#8e2de2,#ff0080);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

nav{
  display:flex;
  gap:35px;
}

nav a{
  text-decoration:none;
  color:white;
  font-weight:500;
  transition:0.3s;
}

nav a:hover{
  color:#b14dff;
}

header button{
  padding:12px 28px;
  border:none;
  border-radius:50px;
  background:linear-gradient(90deg,#7b2ff7,#f107a3);
  color:white;
  cursor:pointer;
  font-weight:600;
  transition:0.4s;
}

header button:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 30px rgba(162,89,255,0.4);
}

/* Hero */

.hero{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
  text-align:center;
  position:relative;
  padding:0 20px;
}

.hero-bg{
  position:absolute;
  width:600px;
  height:600px;
  background:radial-gradient(circle,#8e2de2 0%,transparent 70%);
  filter:blur(120px);
  opacity:0.5;
}

.hero-title{
  font-size:7rem;
  font-weight:900;
  line-height:1;
  z-index:2;
}

.hero-title span{
  background:linear-gradient(90deg,#8e2de2,#ff0080,#4f46e5);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero p{
  margin-top:30px;
  max-width:700px;
  color:#b5b5b5;
  font-size:1.2rem;
  z-index:2;
}

.hero-buttons{
  display:flex;
  gap:20px;
  margin-top:40px;
  z-index:2;
}

.primary-btn,
.secondary-btn{
  padding:16px 36px;
  border-radius:50px;
  font-size:1rem;
  cursor:pointer;
  transition:0.4s;
}

.primary-btn{
  border:none;
  background:linear-gradient(90deg,#7b2ff7,#f107a3);
  color:white;
}

.primary-btn:hover{
  transform:translateY(-5px) scale(1.05);
  box-shadow:0 15px 40px rgba(176,76,255,0.5);
}

.secondary-btn{
  border:1px solid #7b2ff7;
  background:transparent;
  color:white;
}

.secondary-btn:hover{
  background:#7b2f
}

.secondary-btn:hover{
  background:#7b2ff7;
}

/* SECTION */

section{
  padding:120px 8%;
}

.section-title{
  text-align:center;
  margin-bottom:70px;
}

.section-title h2{
  font-size:4rem;
  margin-bottom:10px;
}

.section-title p{
  color:#a1a1aa;
  font-size:1.1rem;
}

/* SERVICES */

.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

.card{
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:30px;
  padding:40px;
  transition:0.5s;
  position:relative;
  overflow:hidden;
}

.card::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(123,47,247,0.15),transparent);
  opacity:0;
  transition:0.5s;
}

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

.card:hover{
  transform:translateY(-12px);
  border-color:#7b2ff7;
  box-shadow:0 20px 40px rgba(123,47,247,0.2);
}

.icon{
  width:70px;
  height:70px;
  border-radius:20px;
  background:linear-gradient(135deg,#7b2ff7,#f107a3);
  margin-bottom:25px;
}

.card h3{
  font-size:1.8rem;
  margin-bottom:15px;
}

.card p{
  color:#a1a1aa;
  line-height:1.7;
}

/* PORTFOLIO */

.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.project{
  height:450px;
  border-radius:30px;
  overflow:hidden;
  position:relative;
  cursor:pointer;
  background:linear-gradient(135deg,#7b2ff7,#f107a3);
}

.overlay{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  padding:30px;
  background:linear-gradient(to top,rgba(0,0,0,0.9),transparent);
}

.overlay h3{
  font-size:2rem;
}

/* TESTIMONIALS */

.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

.testimonial{
  background:rgba(255,255,255,0.03);
  padding:40px;
  border-radius:30px;
  border:1px solid rgba(255,255,255,0.08);
  transition:0.4s;
}

.testimonial:hover{
  transform:translateY(-10px);
  border-color:#7b2ff7;
}

.testimonial p{
  color:#d4d4d8;
  line-height:1.8;
  margin-bottom:20px;
}

.testimonial h4{
  color:#b14dff;
}

/* PRICING */

.pricing-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

.price-card{
  background:rgba(255,255,255,0.03);
  padding:50px 40px;
  border-radius:30px;
  text-align:center;
  border:1px solid rgba(255,255,255,0.08);
  transition:0.5s;
}

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

.featured{
  border:2px solid #7b2ff7;
  transform:scale(1.05);
}

.price-card h3{
  font-size:2rem;
  margin-bottom:20px;
}

.price-card h1{
  font-size:4rem;
  background:linear-gradient(90deg,#7b2ff7,#f107a3);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  margin-bottom:20px;
}

.price-card p{
  color:#a1a1aa;
  margin-bottom:30px;
}

.price-card button{
  padding:15px 35px;
  border:none;
  border-radius:50px;
  background:linear-gradient(90deg,#7b2ff7,#f107a3);
  color:white;
  cursor:pointer;
  font-weight:600;
}

/* CONTACT */

.contact form{
  max-width:700px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:25px;
}

.contact input,
.contact textarea{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  padding:20px;
  border-radius:20px;
  color:white;
  font-size:1rem;
  outline:none;
}

.contact textarea{
  min-height:180px;
  resize:none;
}

.contact button{
  padding:18px;
  border:none;
  border-radius:50px;
  background:linear-gradient(90deg,#7b2ff7,#f107a3);
  color:white;
  font-size:1rem;
  cursor:pointer;
  font-weight:600;
}

/* FOOTER */

footer{
  padding:50px 8%;
  text-align:center;
  border-top:1px solid rgba(255,255,255,0.08);
}

footer h1{
  font-size:3rem;
  margin-bottom:15px;
  background:linear-gradient(90deg,#7b2ff7,#f107a3);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

footer p{
  color:#a1a1aa;
}

/* RESPONSIVE */

@media(max-width:991px){

  .hero-title{
    font-size:4.5rem;
  }

  nav{
    display:none;
  }

}

@media(max-width:768px){

  .hero-title{
    font-size:3.5rem;
  }

  .section-title h2{
    font-size:2.8rem;
  }

  .hero-buttons{
    flex-direction:column;
  }

}