*{
    padding: 3px;
    margin: 0%;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   
}

/* background coloring */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(200deg, #050016, #c4d5fa, #050016);
  background-size: 800% 800%;
  animation: gradientAnimation 15s ease infinite;
  z-index: -1;
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

/* fonts style*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style:normal;
  font-variation-settings:
    "wdth" 100;
}



body{
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  flex-wrap:wrap ;
  
}

.text-center{
  text-align: center;
}

.logo:hover{
  padding-left: 10px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.navbar{
  display: flex;
  justify-content: 5px;
  padding-top: 05px;
   background:transparent;
   padding: 5px;
   border-radius: 20px;
   position: relative;
    
}
.navbar-link {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  font-weight: 400px;
  align-items: center;
  list-style: none;
  gap: 10px; /* spacing between links */
  font-size: 25px;
  list-style: none;
  flex-wrap:wrap ;
}

.navbar-link li a {
  text-decoration: none;
  color: #ffffff;
  padding: 15px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.navbar-link li a:hover {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 0 12px #ee962aec, 0 0 40px #ff4b2b;
  cursor: url("https://cur.cursors-4u.net/others/oth-1/oth13.cur"), pointer;
  
  
}

/* Home Section Layout */
.home {
  display: flex;
  justify-content: center;
  align-items: center; 
  color: white;
  padding-top: 80px;
}

/* Inner Layout */
.home-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  padding-right: 200px;
  width: 150%;
}

.typewriter {
  font-size: 1.5rem;
  font-weight: 500;
  white-space: nowrap;
  border-right: 3px solid var(--primary-color);
  overflow: hidden;
  width: fit-content;
  animation: blinkCursor 0.7s infinite;
}

@keyframes blinkCursor {
  50% { border-color: transparent; }
}


/* Left Text */
.about-text h1 {
  height: 100px;
  font-size: 70px;
  font-weight: bold;
  
}
.about-text h1 span {
  color: #ec53b9; /* Purple-pink gradient color */
}
.about-text h3 {
 
  font-size: 20px;
  color: rgba(1, 0, 100, 0.958);
}

/* Social Links */
.social-links {
  margin-top: 20px;
}
.social-links a {
  color: white;
  margin-right: 15px;
  font-size: 25px;
  text-decoration: none;
  transition: 0.3s;
}
.social-links a:hover {
  color: #ff007f;
    transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

/* Profile Image */
.profile-pic {
  width: 300px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid transparent;
  background: linear-gradient(45deg, #ff9d00, #a020f0);
  padding: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  
}
.profile-pic img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  
}

.about{
  padding: 60px 30px;
}

.title-about{
  font-size: 70px;
  text-align: center;
  color: black;
  padding: 30px;
  
}

.about-grid{
  display: flex;
  justify-content: space-around;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  border-radius: 20px;
}
.about-card h3{
  font-size: 30px;
}
.about-card img{
  border-image: 40px;
  border-radius: 30px;
}
.about-card p{
  font-size: 20px;
}

.about-card{
background:transparent;
  text-align:left;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(136, 73, 100, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0, 81, 255, 0.055);
}


.Skill-Heading{
  text-align: center;
text-align: center;
}


/* Skills Section */
.skills {
  padding: 56px 20px;
  text-align: center;
}

.section-title {
  font-size: 70px;
  font-weight: bold;
  margin-bottom: 20px;
    /* Accent gradient color */
}

/* Grid Layout */
.skill-grid {
  color: #f0e220;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* Skill Cards */
.skill-card {
 background:transparent;
  padding: 50px;
  border-radius: 50px;
  
  text-align: left;
  font-size: 80px;
  box-shadow: 0 0 15px rgba(136, 73, 100, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0, 81, 255, 0.055);
  border-color: #ec53b9;
}

.skill-card h3 {
  font-size: 25px;
  margin-bottom: 10px;
  color: #010712; /* Purple heading */
}

.skill-card p {
  margin: 8px 0;
  font-size: 20px;
  color:rgb(68, 20, 77);
  display: flex;
  align-items: center;
}

.skill-card i {
  margin-right: 10px;
  font-size: 18px;
  color: #31244a;
}


/* Projects section styling */
.Projecta {
  padding: 56px 20px;
  /*background-image: url(./images/projects-bg.jpeg); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.section-title{
  text-align: center;
  color: black;
  padding: 40px;
}


.Project-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  padding: 30px;

}

.Project-card{
  background:transparent;
  padding: 40px;
  border-radius: 50px;
  text-align: left;
  box-shadow: 0 0 15px rgba(159, 58, 226, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0, 81, 255, 0.055);
  
}


.internship{
  padding: 56px 20px;
}


.title-internship{
  text-align: center;
  font-size: 70px;
  padding: 40px;
}

.internship-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* always 2 equal columns */
  gap: 20px;
}


.internship-card{
  background:transparent;
  padding: 40px;
  border-radius: 50px;
  text-align: left;
  box-shadow: 0 0 15px rgba(159, 58, 226, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.internship-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0, 81, 255, 0.055);
  
}


.certificates{
  padding: 56px 20px;
  row-gap: 30px;
}

.title-certificate{
   text-align: center;
  font-size: 70px;
  padding: 40px;

}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* always 2 equal columns */
  gap: 20px;
  background-size: cover;
  background-position: center;
  text-align: center;
  gap: 50px;
}

.certificate-card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.certificate-card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.certificate-card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.certificate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(157, 183, 239, 0.15);
}


.contact{
  background-color:#EEAECA
  padding:56px 30px;
  
}

.contact h1{
  text-align: center;
  font-size: 50px;
  padding: 30px;
  
}
.contact-card{
  background: linear-gradient#22C1C3;
  
   box-shadow: 0 0 15px rgba(159, 58, 226, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 20px;
  padding: 30px;
  width: 450px;
  margin: auto;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: #22C1C3
}

label{
  display: block;
  font-size: 20px;
}
input,textarea{
  width: 100%;
  font-size: 15px;
  margin-bottom: 20px;
}


.btn-primary{
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  color: black;
  background: linear-gradient(135deg, #ff007f, #ff9d00);
  box-shadow: 0 5px 15px rgba(255, 0, 128, 0.6);
  transition: all 0.3s ease;
}

.btn-primary:hover{
  transform: translateY(-10px);
  box-shadow: 0 0 20px #ff007f, 0 0 40px #ff9d00;
  
}


/* Input and textarea background styling */
input, textarea {
    width: 100%;
    font-size: 16px;
    margin-bottom: 20px;
    padding: 12px 15px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15); /* semi-transparent white */
    color: #fff; /* text color */
    outline: none;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Focus effect */
input:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Placeholder styling */
input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}


/* 🌐 Mobile Responsive Fix */
@media (max-width: 768px) {

  /* Navbar */
  .navbar {
    flex-direction: column;
    align-items: center;
  
  }

  .navbar-link {
    flex-direction: column;
    gap: 15px;
    font-size: 18px;
  }

  /* Home Section */
  .home-layout {
    flex-direction: column;
    padding-right: 0;
    width: 100%;
    text-align: center;
  }

  .about-text h1 {
    font-size: 32px;
    height: auto;
  }

  .about-text h3 {
    font-size: 16px;
  }

  .profile-pic {
    width: 200px;
    height: 200px;
  }

  /* About Section */
  .about-grid {
    flex-direction: column;
    gap: 20px;
  }

  .title-about {
    font-size: 40px;
  }

  /* Skills Section */
  .section-title {
    font-size: 40px;
  }

  .skill-grid {
    grid-template-columns: 1fr;
  }

  .skill-card {
    padding: 25px;
    font-size: 40px;
  }

  /* Projects */
  .Project-grid {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .Project-card {
    padding: 20px;
  }

  /* Internships */
  .internship-grid {
    grid-template-columns: 1fr;
  }

  .title-internship {
    font-size: 40px;
  }

  /* Certificates */
  .certificate-grid {
    grid-template-columns: 1fr;
  }

  .title-certificate {
    font-size: 40px;
  }

  /* Contact */
  .contact h1 {
    font-size: 32px;
  }

  .contact-card {
    width: 100%;
    padding: 20px;
  }
}
