
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
    /* Dark gradient background similar to the image */
    background: linear-gradient(to bottom, #000000, #1a2a38, #2e4a5a);
    background-repeat: no-repeat;
    background-size: 100% auto;
    height: auto;
    margin: 0;
    font-family: Arial, sans-serif;
}
html {
  scroll-behavior: smooth;
}
#skills {
  padding: 80px 40px;
  margin-bottom: 200px;
  height: auto;
  min-height: auto;
}


/* Navbar Styling */


header {
  background-color: #888888;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center; /* Ensure everything aligns vertically */
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: top 0.3s;
}

.logo {
   display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto; /* Pushes other items to the right */
}

.circle {
    width: 50px;
    height: 50px;
    background-color: #576271;
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.name {
    font-size: 20px;
    color:white;
    font-family: 'Times New Roman', Times, serif;
}
nav {
   display: flex;
  align-items: center; /* Ensure vertical alignment */
  gap: 6vh;

}
nav a {
  display: flex;
  align-items: center; /* Center text vertically */
  color: black;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 18px;
  color: white;
}

nav a:hover {
  color: orange;
}
.menu-toggle {
  font-size: 28px;
  cursor: pointer;
  display: none;
}
.contact{
    background-color: white;
    color: #000000;
    padding: 8px 15px;
    border-radius: 5px; 
}

/* Responsive Nav */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: #D9D9D9;
    top: 60px;
    right: 20px;
    width: 200px;
    border-radius: 5px;
    gap: 5px;
    text-align: center;

  }
  nav a {
    padding: 10px 15px;
    border-bottom: 1px solid black;
    font-size: 15px;
  }

  nav a:hover {
    color: orange;
  }
  .menu-toggle {
    display: block;
  }
  nav.active {
    display: flex;
  }
 
}
/*home section*/
.home {
    height: 100vh;              /* Full screen height */
    display: flex;              /* Enable flexbox */
    flex-direction: column;     /* Stack text vertically */
    justify-content: center;    /* Center vertically */
    align-items: center;        /* Center horizontally */
    text-align: center;
    margin-top: 0;              /* Remove old margin */
}

.h1{
    color: white;
    font-size: 70px;
    text-align: center;
    padding-bottom: 20px;
}

.typing-text {
  font-size: 28px;
  font-weight: 500;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid orange;
  animation: blinkCursor 0.8s steps(1) infinite;
}
/* Home Section Button */
.home-btn {
  margin-top: 20px;
}

.home-btn .btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 8px;
  background: orange;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid orange;
  transition: all 0.3s ease;
}

.home-btn .btn:hover {
  background: transparent;
  color: orange;
  border-color: orange;
}


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

.p1{
    color: white;
    font-size: 25px;
    text-align: center;
    padding-top: 20px;
}

.social-icons {
    margin-top: 30px;
    display: flex;
    gap: 50px;
    justify-content: center;
}

.social-icons a {
    color: white;
    font-size: 50px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: orange;
}

@media screen {
    .h1 {
        font-size: 50px;
    }
    .typing-text {
        font-size: 22px;
    }
    .p1 {
        font-size: 20px;
    }
    .social-icons a {
        font-size: 40px;
        gap: 30px;
    }
}
/* About Section */
/* About Section */
.three {
  padding-left: 25vh;
}
.about {
    min-height: 100vh; /* full screen height */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
     padding-top: 90px;
}
.about h2 {
    font-size: 35px;
    margin-bottom: 30px;
    text-align: left;
    text-decoration: underline;
    padding-left: 27vh;
}

.about p {
    font-size: 22px;
    margin: 10px auto;
    line-height: 1.6;
    text-align: left;

}
.a_skills {
    color: #68D1BF;
    font-size: 25px;
    margin-top: 20px;
    text-align: center;
    padding-left: 0vh;
    padding-bottom: 2vh;
    padding-top: 1vh;

}
.skills-list {
    list-style-type: disc;
    margin-left: 40px;
    margin-top: 10px;
    font-size: 20px;
    text-align: left;
    padding-left: 0vh;
    line-height: 1.6;

}
@media (max-width: 768px) {
  .three {
    padding-left: 0vh;
  }
    .about h2 {
        font-size: 28px;

    }
    .about p {
        font-size: 18px;
        padding-right: 10px;
        padding-left: 15px;

    }
    .a_skills {
        font-size: 20px;
        padding-left: 10px;
        text-align: center;
    }
    .skills-list {
        font-size: 16px;
        padding-left: 7px;
        
    }
}

/* Education Section */
.education {
  min-height: 100vh;
  padding-top: 90px;
  text-align: center;
  color: white;
}

.education .section-title {
  font-size: 40px;
  margin-bottom: 40px;
  text-decoration: underline;
}

.education-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.edu-card {
  background: #0b1824;
  padding: 30px 20px;
  border-radius: 15px;
  width: 300px;
  height: 280px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.edu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 20px rgba(0,0,0,0.6);
}

.edu-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #44d1c2;
  margin-bottom: 10px;
}

.edu-card p {
  font-size: 16px;
  margin-bottom: 15px;
}

.edu-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.edu-card span {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  color: #ccc;
}

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


/* Projects Section */
.projects {
  min-height: 100vh;
  padding-top: 90px;
  text-align: center;
  color: white;
}

.projects .section-title {
  font-size: 40px;
  margin-bottom: 40px;
  text-decoration: underline;
}

.projects-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.project-card {
  background: #0b1824;
  padding: 30px 25px;
  border-radius: 15px;
  width: 450px;
  height: 470px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.project-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}


.project-card h3 span {
  font-size: 14px;
  font-weight: normal;
}

.project-card h4 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 15px;
}

.project-card p {
  font-size: 18px;
  line-height: 1.6;
  color: #ccc;
}

.project-card {
    position: relative;
    padding-bottom: 60px; /* Extra space to prevent button overlap */
}

.project-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #68D1BF;
    color: #000;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.project-btn:hover {
    background-color: #44bfa6;
    color: white;
}


/* Responsive */
@media (max-width: 768px) {
  .projects-container {
    flex-direction: column;
    align-items: center;
  }
  .project-card {
    width: 90%;
  }
}


/* Certification Section */
.certifications {
    min-height: 100vh;
    padding-top: 90px;
    text-align: center;
    color: white;
}

.certifications .section-title {
    font-size: 40px;
    margin-bottom: 40px;
    text-decoration: underline;
    padding-top: 60px;
}

.certifications p {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ccc;
}

/* Horizontal Scroll Slider */
.cert-slider-container {
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.cert-slider {
    display: flex;
    gap: 30px;
}

.cert-card {
    min-width: 300px; /* card width */
    padding: 20px;
    border-radius: 15px;
    flex-shrink: 0;
    text-align: center;
}

.cert-card img {
    width: 350px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.cert-card h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #68D1BF;
}

.cert-card p {
    font-size: 16px;
    color: #ccc;
}

/* Hide scrollbar for Webkit */
.cert-slider-container::-webkit-scrollbar {
    display: none;
}


/* Skills Section */
.skills {
  min-height: 100vh;
  padding-top: 90px;
  text-align: center;
  color: white;
}

.skills .section-title {
  font-size: 40px;
  margin-bottom: 20px;
  text-decoration: underline;
}

.skills-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  color: #ccc;
}

/* Tabs */
.skills-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.skills-tabs .tab {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  background-color: #222;
  color: white;
  transition: background 0.3s;
}

.skills-tabs .tab.active {
  background-color: #68D1BF;
  color: black;
}

.skills-tabs .tab:hover {
  background-color: #44bfa6;
}

/* Skill Cards */
.skills-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.skill-card {
  background: #0b1824;
  width: 200px;
  height: 180px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 20px rgba(0,0,0,0.6);
}

.skill-card i {
  font-size: 60px;
  margin-bottom: 10px;
}

.skill-card p {
  font-size: 18px;
  font-weight: 600;
  color: white;
}

/* Colors for cards */
.skill-card.yellow { border: 2px solid gold; }
.skill-card.blue { border: 2px solid skyblue; }
.skill-card.green { border: 2px solid lightgreen; }
.skill-card.orange { border: 2px solid orange; }
.skill-card.pink { border: 2px solid hotpink; }
.skill-card.purple { border: 2px solid violet; }

/* Responsive */
@media (max-width: 768px) {
  .skills-container {
    flex-direction: column;
    align-items: center;
  }
  .skill-card {
    width: 80%;
  }
  
}

/* Footer Section */
.footer {
  background: #000;
  color: white;
  padding: 50px 20px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-left h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-socials a {
  color: white;
  font-size: 35px;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: orange;
}

.footer-home-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  border: 1px solid white;
  text-decoration: none;
  color: white;
  transition: background 0.3s;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-links a:hover {
  color: orange;
}

.footer-contact p {
  margin: 8px 0;
  font-size: 16px;
  
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid #333;
  font-size: 14px;
  color: #bbb;
  text-align: center;
}

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

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

.footer-socials a {
  font-size: 28px;
  margin-left: 40px;
}
}