* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

body {
  background-image: url(background3.jpg); 
  background-size: cover;      
  background-position: center; 
  background-repeat: no-repeat; 
  height: 100vh;             
  margin: 0;
  font-family: 'Montserrat', sans-serif;

  background-attachment: fixed;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(255, 176, 215);
  padding: 20px 10%;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
.logo span {
  color: #ff4d8b;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}
nav ul li a {
  font-weight: 500;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #8393ff;
}


@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
    gap: 15px;
    align-items: flex-start;
  }

  header {
    padding: 20px 5%;
  }
}



.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 60px 10%;
  gap: 40px;
}
.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin: 15px 0;
}
.hero-text span {
  color: #ff4d8b;
}
.hero-text .desc {
  margin: 20px 0;
  font-size: 1rem;
  max-width: 500px;
}
.btn {
  background-color: #ff4d8b;
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 20px;
}
.btn:hover{
  background-color: #cf83ff
}
.socials a {
  margin-right: 10px;
  font-size: 1.2rem;
}
.hero-img img {
  max-width: 300px;
  width: 100%;
}
 
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 60px 10%;
  gap: 40px;
}
.about-img img {
  max-width: 300px;
  width: 100%;
}
.about-text {
  flex: 1;
}
.about-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.skills {
  margin-top: 20px;
}
.skill {
  margin-bottom: 20px;
}
.skill span {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}
.bar {
  height: 10px;
  background-color: #333;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.bar::before {
  content: '';
  height: 100%;
  background-color: #ff4d8b;
  position: absolute;
  top: 0;
  left: 0;
}
.bar.html::before {
  width: 100%;
}
.bar.css::before {
  width: 100%;
}
.bar.js::before {
  width: 10%;
}
.bar.wordpress::before {
  width: 35%;
}




.contact {
  padding: 60px 10%;
  text-align: center;
}
.contact h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.contact p {
  margin-bottom: 20px;
}
.contact form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.contact input {
  padding: 12px;
  width: 250px;
  border: none;
  border-radius: 5px;
}
.contact button {
  padding: 12px 24px;
  background-color: #ff4d8b;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}


footer {
  background-color:  #ff4d8b;
  color: #0a0909;
  padding: 20px 10%;
  text-align: center;
}
.footer-links a {
  color: #1f1e1e;
  margin: 0 5px;
  font-size: 0.9rem;
}


@media (max-width: 768px) {
  .hero, .about {
    flex-direction: column;
    text-align: center;
  }
  .hero-img img,
  .about-img img {
    max-width: 100%;
  }
  .contact form {
    flex-direction: column;
  }
  .contact input {
    width: 100%;
  }
}


#projects {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

#projects h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #1c1c1c;
  text-shadow: 0 0 10px #ff8cc6;
}


.project-card {
    background: rgba(255, 255, 255, 0.2);  /* transparent white (glass effect) */
    backdrop-filter: blur(10px);          
    border-radius: 15px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    flex-wrap: nowrap;
  }
  
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px #ff4d8b, 0 0 35px #ff4d8b;
}

.project-card h3 {
  color: #ff4d8b;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-family: 'Dancing Script', cursive;
}

.project-card p {
  color: #878787;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

.project-card a {
  display: inline-block;
  background-color: transparent;
  border: 2px solid #ff4d8b;
  color:#ff4d8b;
  padding: 0.4rem 1.2rem;
  border-radius: 25px;
  font-weight: bold;
  transition: 0.3s ease;
}

.project-card a:hover {
  background-color:#ff4d8b ;
  color: #0d0d0d;
  box-shadow: 0 0 10px #ff4d8b;
}

/* Responsive Cards */
@media (max-width: 768px) {
  .project-card {
    padding: 1.2rem 1.5rem;
  }

  .project-card h3 {
    font-size: 1.5rem;
  }

  .project-card p {
    font-size: 0.95rem;
  }
}

