@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");
body {
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23FFF" stroke="%23000" stroke-width="2" d="M5.5 3.21V20.8c0 .45.54.67.85.35l4.86-4.86a.5.5 0 0 1 .35-.15h6.87a.5.5 0 0 0 .35-.85L6.35 2.85a.5.5 0 0 0-.85.35Z"></path></svg>') 0 0, pointer;
}
*[style*="cursor:pointer"],
*[onclick],
button, a {
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="36" viewBox="0 0 24 24"><path fill="%23FFF" stroke="%23000" stroke-width="2" stroke-linejoin="round" d="M10 11V8.99c0-.88.59-1.64 1.44-1.86h.05A1.99 1.99 0 0 1 14 9.05V12v-2c0-.88.6-1.65 1.46-1.87h.05A1.98 1.98 0 0 1 18 10.06V13v-1.94a2 2 0 0 1 1.51-1.94h0A2 2 0 0 1 22 11.06V14c0 .6-.08 1.27-.21 1.97a7.96 7.96 0 0 1-7.55 6.48 54.98 54.98 0 0 1-4.48 0 7.96 7.96 0 0 1-7.55-6.48C2.08 15.27 2 14.59 2 14v-1.49c0-1.11.9-2.01 2.01-2.01h0a2 2 0 0 1 2.01 2.03l-.01.97v-10c0-1.1.9-2 2-2h0a2 2 0 0 1 2 2V11Z"></path></svg>') 0 0, pointer;
}
.custom-cursor {
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="36" viewBox="0 0 24 24"><path fill="%23FFF" stroke="%23000" stroke-width="2" stroke-linejoin="round" d="M10 11V8.99c0-.88.59-1.64 1.44-1.86h.05A1.99 1.99 0 0 1 14 9.05V12v-2c0-.88.6-1.65 1.46-1.87h.05A1.98 1.98 0 0 1 18 10.06V13v-1.94a2 2 0 0 1 1.51-1.94h0A2 2 0 0 1 22 11.06V14c0 .6-.08 1.27-.21 1.97a7.96 7.96 0 0 1-7.55 6.48 54.98 54.98 0 0 1-4.48 0 7.96 7.96 0 0 1-7.55-6.48C2.08 15.27 2 14.59 2 14v-1.49c0-1.11.9-2.01 2.01-2.01h0a2 2 0 0 1 2.01 2.03l-.01.97v-10c0-1.1.9-2 2-2h0a2 2 0 0 1 2 2V11Z"></path></svg>') 0 0, pointer;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}


body {
  min-height: 100vh;
  background: url("./src/background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Header */
.header {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  height: 80px;
  padding: 0 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
}
.contact-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(90deg, #60a5fa, #a855f7);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.contact-btn:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="36" viewBox="0 0 24 24"><path fill="%23FFF" stroke="%23000" stroke-width="2" stroke-linejoin="round" d="M10 11V8.99c0-.88.59-1.64 1.44-1.86h.05A1.99 1.99 0 0 1 14 9.05V12v-2c0-.88.6-1.65 1.46-1.87h.05A1.98 1.98 0 0 1 18 10.06V13v-1.94a2 2 0 0 1 1.51-1.94h0A2 2 0 0 1 22 11.06V14c0 .6-.08 1.27-.21 1.97a7.96 7.96 0 0 1-7.55 6.48 54.98 54.98 0 0 1-4.48 0 7.96 7.96 0 0 1-7.55-6.48C2.08 15.27 2 14.59 2 14v-1.49c0-1.11.9-2.01 2.01-2.01h0a2 2 0 0 1 2.01 2.03l-.01.97v-10c0-1.1.9-2 2-2h0a2 2 0 0 1 2 2V11Z"></path></svg>') 0 0, pointer;
}


.logo {
  height: 80px;
  display: flex;
  align-items: flex-end;
}

.logo img {
  height: 100%;
  display: block;
}

/* Navbar */
.navbar {
  display: flex;
  gap: 40px;
}

.navbar a {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.3s ease;
}

.navbar a:hover {
  color: #f0b630;
  transform: scale(1.1);
}

#menu-icon {
  font-size: 36px;
  color: #fff;
  display: none;
}

/* Home Section */
.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
  position: relative;
  color: #fff;
}

.home-content {
  max-width: 600px;
}

.home-content h3 {
  font-size: 2rem;
  font-weight: 500;
}

.home-content h1 span {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(90deg, #a855f7, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home-content h1 span:hover {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="48" viewBox="0 0 24 24"><path fill="%23FFF" stroke="%23000" stroke-width="2" stroke-linejoin="round" d="M12 8S9.75 5 7 5a4.5 4.5 0 0 0-4.5 4.5C2.5 14.5 12 20 12 20s9.5-5.5 9.5-10.5A4.5 4.5 0 0 0 17 5c-2.75 0-5 3-5 3Z"></path></svg>') 0 0, pointer;
}


.home-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 10px 0;
}
.home-content h2:hover {
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23FFF" stroke="%23000" stroke-width="2" stroke-linejoin="round" d="M15 3H8L4 14h6l-3 8 13-12h-7.5L15 3z"></path></svg>') 0 0, pointer;
}


.home-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 20px 0;
  max-width: 500px;
}

/* Home Section */
.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  position: relative;
  color: #fff;

  /* Add space below fixed header */
  padding-top: 120px; /* header height + 40px spacing */
  padding-left: 10%;
  padding-right: 10%;
}


.home-content {
  flex: 1 1 400px; /* Flexible width */
}

.home-img {
  flex: 0 0 350px; /* Fixed width, shrink if needed */
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-img img {
  width: 100%;
  max-width: 350px;
  border-radius: 30px;
  object-fit: cover;
}
.home-img img:hover{
   cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="48" viewBox="0 0 24 24"><path fill="%23FFF" stroke="%23000" stroke-width="2" stroke-linejoin="round" d="M12 8S9.75 5 7 5a4.5 4.5 0 0 0-4.5 4.5C2.5 14.5 12 20 12 20s9.5-5.5 9.5-10.5A4.5 4.5 0 0 0 17 5c-2.75 0-5 3-5 3Z"></path></svg>') 0 0, pointer;
}

/* Buttons */
.btn-box {
  display: flex;
  gap: 15px;
  align-items: center;
  cursor:pointer;
}

.btn {
  background: linear-gradient(90deg, #60a5fa, #a855f7);
  padding: 10px 20px;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

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

.icon-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.icon-btn:hover {
  color: #a855f7;
}

/* Links of websites */
.fa {
    padding:10px 20px;
     width: 40px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
  }
  .links a{
    font-size: 25px;
    width: 25px;
   }
   
 .fa:hover {
    opacity: 0.9;
  }
  .fa-github {
     color: rgb(0, 0, 0);
  }
 
  .fa-linkedin {
     color: rgb(84, 35, 207);
  }
  
 
  .fa-instagram {
     color: rgb(161, 4, 164);
  }
  .fa-google {
     color: rgb(2, 132, 43);
  }
  .fa-telegram{
     color: rgb(9, 95, 142);
  }
  .fa-twitter{
    color: rgb(18, 9, 152);
 }


 /* ----------Education Section---------- */
 .education-section {
      text-align: center;
      padding: 50px 20px;
    }

    .education-section h2 {
      font-size: 2rem;
        text-shadow: rgb(52, 109, 232) 1px 1px ;
      background: white;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;   
      display: inline-flex;
      align-items: center;  
      gap: 10px;
    }

   .education-section p.subtitle {
  color: #ffffff;
  font-size: 1rem;
  margin-top: 5px;
  margin-bottom: 40px;
  font-style: italic;
}

/* ✅ Same selector inside media query */
@media (max-width: 500px) {
  .education-section p.subtitle {
    font-size: 10px;
  }
}



    .education-card {
      display: flex;
      align-items: center;
      background: #2dafcc;
      background: linear-gradient(90deg, rgba(45, 175, 204, 1) 0%, rgba(227, 83, 237, 1) 100%);      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      margin: 20px auto;
      max-width: 900px;
      overflow: hidden;
      transition: transform 0.3s ease;
    }

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

    .education-card img {
      width: 300px;
      height: 200px;
      object-fit: cover;
    }

    .education-content {
      flex: 1;
      padding: 20px 30px;
      text-align: left;
    }

    .education-content h3 {
      color: #001d6e;
      font-size: 1.3rem;
      margin-bottom: 5px;
    }

    .education-content p {
      color: #333;
      margin: 5px 0;
      font-size: 0.95rem;
    }

    .education-content .status {
      color: green;
      font-weight: 600;
      margin-top: 10px;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .education-card {
        flex-direction: column;
        text-align: center;
      }
      

      .education-card img {
        width: 100%;
        height: auto;
      }

      .education-content {
        text-align: center;
      }
    }
 /* ----------Skills Section---------- */
.skills {
  font-family:"Raleway-bold";
  max-width: 68.75rem;
  margin: auto;
  text-align: center;
  margin-top: 2.5rem;
}

.skill-header {
  margin-bottom: 1rem;
}
.skill-header{
    text-shadow: rgb(52, 109, 232) 1px 1px ;
      background: white;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

.skills-wrapper img {
  padding: .25rem;
}

.icon {
  width: 9.875rem;
  height: 9.25rem;
}
.icon-card {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px var(--secondary-shadow);
  padding: 20px;
  margin: 10px;
}

/* ----------Projects Section---------- */

.projects-section {
  max-width: 1000px;
  margin: 2rem auto;
  /* margin-bottom: 100px; */
  padding: 2rem;
  padding-bottom: 20px;
  /* border: 2px solid #888; */
  border-radius: 10px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  text-shadow: rgb(52, 109, 232) 1px 1px ;
  margin-bottom: 2rem;
        background: white;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
}

.project-card {
  display: flex;
  margin-bottom: 50px;
  flex-direction: row;
  border: 2px solid #ffffff;
  border-radius: 10px;
  overflow: hidden;
  background: #425fb8;
background: radial-gradient(circle, rgba(66, 95, 184, 1) 0%, rgba(199, 0, 129, 1) 100%);  
}

.project-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* border-right: 1px solid #888; */
}

.project-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  /* border-bottom: 1px solid #888; */
  border-radius: 10px;
}

.project-video iframe {
  width: 100%;
  height: 240px;
  border: none;
  border-radius: 10px;
}

.project-right {
  flex: 1;
  padding: 1.5rem;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-desc {
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #fff;
}

.tech-stack h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  
}

.project-duration {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}
.stack-tags{
    color: #fff;

}

.github-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid white;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.github-btn:hover {
  background-color: white;
  color: black;
}


/* -------------------- footer  -------------------- */
.footer {
background: #07424f;
background: linear-gradient(90deg, rgba(7, 66, 79, 1) 0%, rgba(227, 83, 237, 1) 100%);  padding: 3rem 1rem 1rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 250px;
}

.footer h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ddd;
}

.footer-about .tagline {
  margin-top: 1rem;
  color: #f9c74f;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #f9c74f;
}

.footer-links i {
  margin-right: 8px;
}

.footer-contact p a {
  margin-bottom: 0.6rem;
  color: #ccc;
}
.footer-contact p a:hover {
    color: #f9c74f;

}

.footer-contact i {
  margin-right: 8px;
  color: #f9c74f;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  color: #fff;
  margin-right: 10px;
  font-size: 1.3rem;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #f9c74f;
}

/* 🔻 Footer Bottom Line */
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
}

.footer-bottom span {
  color: #f9c74f;
}

/* 📱 Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;

  }

  /* Two-section layout for mobile */
  .footer-links,
  .footer-contact {
    display: inline-block;
    width: 50%;
    vertical-align: top;
    text-align: left;
    font-size: 1rem;
  }

  .footer-about {
    margin-bottom: 2rem;
  }

  .footer-contact .social-icons {
    justify-content: center;
  }
}
/* ✅ Responsive for Mobile */
@media (max-width: 768px) {
  .projects-section {
    margin-bottom: 10px;
  }
  .project-card {
    flex-direction: column;
  }

  .project-left {
    border-right: none;
    /* border-bottom: 1px solid #888; */
  }

  .project-image img {
    height: 170px;
  }

  .project-video iframe {
    height: 180px;
  }
}
/* -------------------- MEDIA QUERIES -------------------- */

/* Tablets */
@media (max-width: 992px) {
  .header {
    padding: 0 15px;
  }

  .home-content h1 span {
    font-size: 2.5rem;
  }

  .home-content h2 {
    font-size: 1.8rem;
  }
  
}

/* Small tablets / large phones */
@media (max-width: 768px) {
  #menu-icon {
    display: block;
  }

  /* .navbar {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-radius: 40px;
    background: rgba(154, 152, 152, 0.6);
    padding: 15px;
    display: none;
    gap: 10px;
  } */

  

  .navbar.active {
    display: flex;
  }

  .navbar a {
    font-size: 14px;
    margin: 10px 0;
  }

  .home {
    padding-top: 150px;
    padding-left: 5%;
    padding-right: 5%;
  }

  .home-content h1 span {
    font-size: 2.5rem;
  }

  .home-content h2 {
    font-size: 1rem;
  }
    .home-content h3 {
    font-size: 1.5rem;
  }
  

  .home-img {
    width: 60%;
  }

  .home-img img {
    max-width: 100%;
  }
  .icon {
    width: 4.875rem;
    height: 4.25rem;
  }
}

/* Small phones */
@media (max-width: 500px) {
  .navbar a {
    font-size: 9px;
    margin: 1px 0;
  }
  .links a{
    font-size: 22px;
    width: 20px;
   }
   .fa{
    padding: 10px 15px;
   }
  .header{
    height: 68px;
  }
  .navbar{
    gap: 10px;
  }
  .home {
    padding-top: 130px;
    padding-left: 5%;
    padding-right: 5%;
  }
  .logo{
    height: 66px;
  }
  .home-content h1 {
    font-size: 1.5rem;
  }
  .home-content h1 span {
    font-size: 2.2rem;
  }

  .home-content h2 {
    font-size: 1.2rem;
  }
  .home-content h3 {
    font-size: 1rem;
  }

  .home-content p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 8px 16px;
  }
  .home-img {
    width: 60%;
  }

  .home-img img {
    max-width: 70%;
  }
  .icon {
    width: 2.875rem;
    height: 2.25rem;
  }
  .btn-box{
    font-size: 12px;
  }
   .contact-btn {
  font-size: 12px; 
  }
  .education-section h2{
        font-size: 18px;
  }
  .skill-header{
    font-size: 18px;
  }
  .section-title{
    font-size: 18px;
  }
}
