/* =========================
   GLOBAL
========================= */

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

body{
  font-family:Arial, Helvetica, sans-serif;
  background:
  linear-gradient(rgba(5,10,20,.92), rgba(5,10,20,.92)),
  linear-gradient(120deg,#0d1117,#111827,#0f172a,#1e1b4b);

  color:white;
  overflow-x:hidden;
}

/* TECH GLOW */

body::before{
  content:"";
  position:fixed;
  width:500px;
  height:500px;
  background:#00fff2;
  filter:blur(140px);
  top:-150px;
  left:-150px;
  opacity:.15;
  z-index:-1;
}

body::after{
  content:"";
  position:fixed;
  width:500px;
  height:500px;
  background:#ff4ecb;
  filter:blur(140px);
  bottom:-150px;
  right:-150px;
  opacity:.15;
  z-index:-1;
}

section{
  padding:90px 10%;
}

h2.section-title{
  text-align:center;
  font-size:2.5rem;
  margin-bottom:50px;
  position:relative;
}

h2.section-title::after{
  content:"";
  width:80px;
  height:4px;
  background:#00fff2;
  position:absolute;
  bottom:-12px;
  left:50%;
  transform:translateX(-50%);
  border-radius:10px;
}

/* =========================
   NAVBAR
========================= */

header{
  position:sticky;
  top:0;
  z-index:1000;

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

  padding:20px 10%;
  background:rgba(10,15,25,.9);

  backdrop-filter:blur(10px);

  border-bottom:1px solid rgba(255,255,255,.08);
}

.logo{
  font-size:1.7rem;
  font-weight:bold;
  color:#00fff2;
}

nav a{
  color:#ddd;
  text-decoration:none;
  margin-left:25px;
  transition:.3s;
  font-weight:600;
}

nav a:hover{
  color:#ff4ecb;
}

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

.hero{
  min-height:100vh;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:50px;
  flex-wrap:wrap;
}

.hero-text{
  flex:1;
}

.hero-text h3{
  color:#00fff2;
  margin-bottom:10px;
  letter-spacing:2px;
}

.hero-text h1{
  font-size:3.5rem;
  margin-bottom:10px;
}

.typing{
  font-size:1.6rem;
  color:#ff4ecb;
  min-height:40px;
  margin-bottom:20px;
}

.hero-text p{
  line-height:1.8;
  max-width:600px;
  color:#cfcfcf;
}

.hero-buttons{
  margin-top:30px;
}

.btn{
  display:inline-block;
  padding:14px 28px;
  margin-right:15px;
  border-radius:8px;
  text-decoration:none;
  font-weight:bold;
  transition:.3s;
}

.btn-primary{
  background:#ff4ecb;
  color:#000;
}

.btn-primary:hover{
  transform:translateY(-4px);
}

.btn-secondary{
  border:2px solid #00fff2;
  color:#00fff2;
}

.btn-secondary:hover{
  background:#00fff2;
  color:black;
}

.hero-image{
  flex:1;
  display:flex;
  justify-content:center;
}

.profile{
  width:350px;
  border-radius:20px;
  border:3px solid #00fff2;
  box-shadow:0 0 40px rgba(0,255,242,.35);
}

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

.cards{
  display:flex;
  justify-content:center;
  gap:25px;
  flex-wrap:wrap;
}

.card{
  width:300px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
  padding:35px 25px;
  border-radius:18px;
  text-align:center;
  transition:.4s;
}

.card:hover{
  transform:translateY(-10px);
  border-color:#00fff2;
  box-shadow:0 0 25px rgba(0,255,242,.2);
}

.card i{
  font-size:2.5rem;
  margin-bottom:20px;
  color:#00fff2;
}

.card h3{
  margin-bottom:15px;
}

.card p{
  color:#cfcfcf;
  line-height:1.6;
}

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

.about{
  display:flex;
  align-items:center;
  gap:50px;
  flex-wrap:wrap;
}

.about img{
  width:350px;
  border-radius:20px;
  border:2px solid #ff4ecb;
}

.about-text{
  flex:1;
}

.about-text h3{
  font-size:2rem;
  margin-bottom:20px;
}

.about-text p{
  line-height:1.8;
  color:#cfcfcf;
  margin-bottom:20px;
}

.about-list{
  list-style:none;
}

.about-list li{
  margin-bottom:12px;
}

.about-list i{
  color:#ff4ecb;
  margin-right:10px;
}

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

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

.project-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;

  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

.project-content{
  padding:20px;
}

.project-content h3{
  margin-bottom:10px;
}

.project-content p{
  color:#cfcfcf;
  margin-bottom:20px;
}

.project-content a{
  color:#00fff2;
  text-decoration:none;
  font-weight:bold;
}

/* =========================
   SKILLS
========================= */

.skills-container{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.skill{
  background:rgba(255,255,255,.05);
  padding:20px 30px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  transition:.3s;
}

.skill:hover{
  transform:scale(1.05);
  border-color:#ff4ecb;
}

.skill i{
  margin-right:10px;
  color:#ff4ecb;
}

/* =========================
   CONTACT
========================= */

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

.contact input,
.contact textarea{
  padding:16px;
  border:none;
  border-radius:10px;
  background:#161b22;
  color:white;
  font-size:1rem;
}

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

.contact button{
  padding:15px;
  border:none;
  border-radius:10px;
  background:#00fff2;
  font-weight:bold;
  cursor:pointer;
  transition:.3s;
}

.contact button:hover{
  transform:translateY(-4px);
}

/* =========================
   FOOTER
========================= */

footer{
  background:#090d14;
  text-align:center;
  padding:30px 10%;
  margin-top:60px;
  border-top:1px solid rgba(255,255,255,.08);
}

.socials{
  margin-top:15px;
}

.socials a{
  color:white;
  margin:0 12px;
  font-size:1.2rem;
  transition:.3s;
}

.socials a:hover{
  color:#ff4ecb;
}

.copyright{
  margin-top:20px;
}

/* =========================
   ANIMATION
========================= */

.fade{
  opacity:0;
  transform:translateY(30px);
  transition:1s;
}

.fade.show{
  opacity:1;
  transform:translateY(0);
}

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

@media(max-width:900px){

.hero{
  text-align:center;
  justify-content:center;
}

.hero-text h1{
  font-size:2.5rem;
}

.profile{
  width:260px;
}

header{
  flex-direction:column;
  gap:15px;
}

}
.social-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
}

.social-card i {
  font-size: 18px;
}
.project-card {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

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

.project-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-content {
  padding: 15px;
  color: white;
}

.project-content h3 {
  margin-bottom: 8px;
}

.project-link {
  display: inline-block;
  margin-right: 10px;
  margin-top: 10px;
  color: #00bcd4;
  text-decoration: none;
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}