body{
     font-family: "Playfair Display", serif;
 line-height: 1.6;
  color: #222;
  background-color: #f9f9f9;
  background : rgb(1, 1, 15) ;
 
}




.video-cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}


.content-video {
    position:relative;
z-index:2;
text-align:center;
padding:1rem 2rem;
animation:fadeIn 1.2s ease-in-out;

}


.logo {
    border-radius: 10px;
    box-shadow: 0 5px 25px rgb(194, 192, 204);
    transition: trasform 0.3s ease;
      position: relative;
overflow: hidden;
}

.logo:hover {

  transform: translateY(-8px);
 
}

.navbar {

  opacity: 0.9;
}
.navbar-nav {
  gap: 10rem;
}


.nav-link {
 margin-left: 80px;
    color:palevioletred ;
position: relative;
overflow: hidden;
border-radius: 20px;
box-shadow: 0 5px 25px rgb(194, 192, 204);
transition: trasform 0.3s ease;
padding: 5px;

}

.nav-link:hover {

  transform: translateY(-8px);
  background: palevioletred ;

}


.navbar-toggler {
    
    background: palevioletred;
}

.home container {
max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  width: 100%;

}

.hero {
  min-height: 100vh;
  padding: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  opacity: 0.70;
  border-radius: 20px;
  margin-top: 5rem;
}

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(247, 244, 244, 0.932);
 
  margin-bottom: 1rem;
  
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.hero h1 span {
 color:palevioletred ;
}

.hero h2 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 400;
  margin-bottom: 2rem;
}

.hero p {
  max-width: 300px;
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn.primary {
  background-color:palevioletred ;
   border: 2px solid #4dabf7;
  color: #fff;
}

.btn.secondary {
  border: 2px solid #4dabf7;
  color:#fff ;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
background-color: #4dabf7;
color :#491616 ;
}

.intro {
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.2rem;
  color: #fff ;
}

.skills-preview {
  padding: 3rem 1.5rem;
  background-color: palevioletred;
  text-align: center;
  border-radius: 20px;
  opacity: 0.60;
}

.skills-preview h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.skills-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
}

.skills-list li {
  padding: 0.5rem 1rem;
  background-color: #c4aeba;
  border-radius: 20px;
  font-size: 0.9rem;
 
}

.featured-projects {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.featured-projects  h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: #d8b2d3;
}

 .project-card  {
margin-bottom: 2rem;

 }

.project-card  h4 {
 
  margin-bottom: 0.5rem;
   color: #dbced9;
}

.project-card p {
 margin-top: 1rem;
 color: #dbced9;

}

.project-card a {
  display: inline-block;
  margin-top: 0.75rem;
  color: palevioletred;
  text-decoration: none;
  font-weight: 500;
}

.why-me {
  padding: 3rem 1.5rem;
   background: linear-gradient(135deg, #111, #333);
  text-align: center;
  border-radius: 20px;
  opacity: 0.70;
  margin-bottom: 2rem;
}

.why-me ul {
  list-style: none;
  max-width: 600px;
  margin: 1.5rem auto 0;
  color: palevioletred;
}

.why-me li {
  margin-bottom: 0.75rem;
}

.cta {
  padding: 3rem 1.5rem;
  color: #fff;
  text-align: center;
}

.cta h3 {
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}



footer {
  text-align: center;
     color: #fff;
     
}

footer a {
 
color:  palevioletred;

}


.about {
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.about-container {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
 box-shadow: 0 4px 10px rgba(247, 244, 244, 0.932);
  border: 3px solid #ffffff44;
}

.about-text h2 {

font-size: 2.8rem;
color: rgba(252, 250, 250, 0.637);
margin-bottom: 20px;

}

.about-text p {

  color: palevioletred;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1.1rem;

}

.skills h3 {

color: rgba(252, 250, 250, 0.637);
margin-bottom: 15px;
font-size: 1.5rem;

} 

.skills ul {

list-style: none;
padding: 0;

}


.skills li {

background:  rgba(255, 255, 255, 0.1);
border-radius: 12px;
margin-bottom: 10px;
padding: 12px 15px;
color:palevioletred ;
font-weight: 500;
transition: background 0.3s ease;



}


.skills li:hover {

background:  rgba(255, 255, 255, 0.1);

}
  
.work-section {

padding: 60px 20px;
text-align: center;
width : 100% ;

}

.work-section h2 {

font-size: 2.5rem;
letter-spacing: 1px;
color: #f5f5f5;
text-transform: uppercase;

}

.projects-intro {
  color :#f5f5f5 ;
}
.project-grid {

 display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;


}

.project {

position: relative;
overflow: hidden;
border-radius: 20px;
box-shadow: 0 5px 25px rgba(255,255,255, 0.1);
transition: trasform 0.3s ease;
padding: 40px;

}

.project:hover {

transform: translateY(-8px);
box-shadow: 0 4px 10px rgba(247, 244, 244, 0.932);

}

.project img {

 width: 200px;
 height: 200px;
 object-fit: cover;
 transition: transform 0.4s ease;
border-radius: 8px;
}

.project:hover img {

transform: scale(1.1);

}

.overlay h3 {
margin-top: 1rem;
margin-bottom : 1rem ;
font-size: 1.4rem;
color: rgba(252, 250, 250, 0.637);

 
}

.project:hover .overlay {

opacity: 1;

}

.overlay p {

font-size: 0.9rem;
margin-bottom: 15px;
padding: 0 15px;
color:palevioletred ;

}

.overlay a {
text-align: center;
background: #fff;
color: rgba(4,4,95);
padding: 8px 10px;
border-radius: 8px;
text-decoration: none;
font-weight: bold;
transition: background 0.3s;
margin-bottom: 1rem;
margin-right:0.5rem;
font-size: 0.9rem;


}

.overlay a:hover {

background: #a194c4;

}

.resume{
font-size:clamp(10px, 2vw, 15px) ;
  align-items: center;
  paddin: 1rem;
  text-align: center;
  position: relative;
  z-index: 2;

}

.resume a {

color:palevioletred ;


}

.resume a:hover {

color:rgb(158, 139, 145) ;


}

.contact {
  
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
}

.contact-container {
margin-top: 1rem;
margin-bottom: 2rem;
  max-width: 600px;
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.contact p {
  margin-bottom: 30px;
  color: #ddd;
  font-size: 1rem;
}

.contact a {

  color:palevioletred ;
  text-decoration: none;
}

.contact a:hover {

 color:rgb(238, 187, 206) ;

}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {

  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  outline: none;
  font-size: 1rem;
  background: rgba(255,255,255,0.9);
  color: #000;
}

.btn {
  background: palevioletred ;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

.btn:hover {
  background: palevioletred ;
  transform: scale(1.05);
}

/* Social links section */
.social-links {
  margin-top: 40px;
}

.social-links h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fff;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 15px;
 margin-top: 1rem;
}

.icons a {
  color: white;
  font-size: 1.3rem;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: 0.3s;
 
}

.icons a:hover {
  transform: scale(1.2);
  background: palevioletred ;
  color: #fff;
}



/* Gradient popup styling */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

.popup-content {
  background: linear-gradient(135deg, #04045f, #ff79c6);
  color: white;
  padding: 35px 50px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 0 25px rgba(255, 121, 198, 0.5);
  animation: scaleUp 0.4s ease-in-out;
}

.popup-content h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.popup-content p {
  color: #f5f5f5;
  font-size: 1rem;
}






@media (max-width: 1030px)  {
  .navbar-nav {
    flex-direction: column;
    text-align: center;

  }

.about-image img {

width: 80%;
margin: 0 auto;

}

.about-container  {

grid-template-columns: 1fr;

}

.project-grid {

grid-template-columns: 1fr;

}




}

@media (max-width : 1400px) {

  .navbar-nav {
  gap: 7rem;
}

.hero {

 
  padding : 0;
}

.overlay a {

font-size: 0.8rem;

}

}




