* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}
@media (max-width: 768px) {
  .home-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header {
    padding: 10px 5%;
  }

  .btn-box {
    padding: 10px 20px;
    font-size: 14px;
  }
}


.navbar a.active {
  color: #0ef;
  border-bottom: 2px solid #0ef;
}
section {
  scroll-margin-top: 100px; /* Adjust this if your header is taller or shorter */
}


body {

    color: #ededed;
    background:rgb(14, 41, 54);
  
    

}
 body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Full screen height */
}

main {
  flex: 1; /* Fills available space */
}

footer {
  padding-bottom: 0;
}

#about, #skills, #projects, #contact {
  scroll-margin-top: 100px;
}
section {
  padding-top: 80px;
  padding-bottom: 60px;
}
.header {
  height: 80px;
  padding: 20px 10%;
}
.education,
.certifications-section,
.contact-section,
.experience {
  scroll-margin-top: 100px; /* Offset for fixed header height */
}
.education,
.certifications-section,
.contact-section,
.experience {
  padding-top: 100px;
}
.contact-cards a {
  text-decoration: none;
  color: inherit;
}

.contact-cards a.card:hover {
  box-shadow: 0 0 15px #0ef;
  transform: translateY(-5px);
  transition: 0.3s ease;
}


html{
  scroll-behavior: smooth;
}

.header {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background-color: #080510;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {

    position: relative;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

.navbar a {
    display: inline-block;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 25px;
    transition: 3s;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));

}

.navbar a:hover {

    color: #0ef;

}

.home {
    position: relative;
    width: 100%;
    justify-content: space-between;
    height: 100vh;
   
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 70px 10% 0;

}

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

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}

.home-content h3 span {
    color: #0ef;
}

.home-content h3:nth-last-of-type(2) {
    margin-bottom: 30px;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;
}

.home-content h1 {

    font-size: 56px;
    font-weight: 700;
    margin: -3px 0;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;


}

.home-content p {

    font-size: 20px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s
}

.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    border-radius: 50%;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
    transition: .5s ease;


}

.home-sci a:hover {
    background: #0ef;
    color: #081b29;
    box-shadow: 0 0 20px #0ef;

}

.btn-box {

    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    font-size: 16px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px #0ef,
        0 0 25px #0ef;


}

.btn-box:hover {

    box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan, 0 0 200px cyan;

}

.about{
    display: grid;
grid-template-columns: repeat(2,1fr);
    align-items: center;
 
    gap:1.5rem;


}

.about-text h2{

    font-size: 60px;
}
.about-text h2 span{

    color:#0ef
}
.about-text h4{
    font-size: 29px;
    font-weight: 600;
    color: #FFF;
    line-height: 1.7;
    margin: 15px 0 30px;

}
.about-text p{
    color:aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
}
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
  gap: 2rem;
  padding: 60px 10%;
}

.about-text h2 {
  font-size: 60px;
  margin-bottom: 20px;
}
.about-text h2 span {
  color: #0ef;
}
.about-text h4 {
  font-size: 29px;
  font-weight: 600;
  color: #FFF;
  line-height: 1.7;
  margin: 15px 0 30px;
}
.about-text p {
  color: aliceblue;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.card {
  background-color: #080510;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ededed;
}

.card i {
  font-size: 40px;
  color: #0ef;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

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

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #0ef;
}

.about-cards{
    margin-top: 60px;
}
.skills {
  padding: 80px 10%;
  background: rgb(14, 41, 54);
  color: white;
  text-align: center;
}


.section-title {
  font-size: 40px;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: #0ef;
  margin: 10px auto 0;
  border-radius: 5px;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
}

.skill-box {
  background: #080510;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px #0ef2;
  text-align: left;
}

.skill-box h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.skill {
  margin-bottom: 15px;
}

.skill span {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #fff;
  margin-bottom: 5px;
}

.progress {
  height: 8px;
  background: #000;
  border-radius: 5px;
  overflow: hidden;
}

.bar {
  height: 100%;
  background: #0ef;
  border-radius: 5px;
}
.projects {
  padding: 80px 10%;
  background: rgb(14, 41, 54);
  color: white;
  text-align: center;
}

.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
  margin-top: 40px;
}

.project-card {
  background-color:#080510 ;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 0 15px #0ef2;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: scale(1.03);
}

.project-card h3 {
  font-size: 20px;
  color: #fff;
}

.subtext {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.tags {
  margin-bottom: 15px;
}

.tags span {
  background-color: #0ef;
  color: #fff;
  padding: 4px 10px;
  margin: 2px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
}

.project-card ul {
  margin-bottom: 20px;
  padding-left: 20px;
  list-style: disc;
  color: #e0e0e0;
}

.project-buttons {
  display: flex;
  gap: 10px;
}

.code-btn, .demo-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

.code-btn {
  background: white;
  color: black;
  border: 2px solid #0ef;
}

.demo-btn {
  background: #0ef;
  color: white;
  border: 2px solid #0ef;
}
.experience{
  padding: 80px 10%;
  background: rgb(14, 41, 54);
  color: white;
  text-align: center;
  margin-bottom: 40px;
}
.web{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  background-color:#080510 ;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 0 15px #0ef2;
  transition: transform 0.3s ease;
}

.experience {
  padding: 80px 10%;
  background: rgb(14, 41, 54);
  color: white;
  text-align: center;
}

.experience-card {
  background: #080510;
  padding: 30px;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.15);
  text-align: left;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.exp-header h3 {
  font-size: 22px;
  color: #fff;
}

.company {
  font-size: 16px;
  color: #b0b3b8;
  margin-top: 5px;
}

.exp-meta p {
  color: #aaa;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0;
}

.exp-details {
  list-style: disc;
  padding-left: 20px;
  color: #e0e0e0;
  font-size: 15px;
  line-height: 1.7;
}
body {
  background-color: rgb(14, 41, 54);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

.education {
  padding: 50px 10%;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #0ef;
  margin: 10px auto 0;
  border-radius: 2px;
}

.edu-card {
  background: #080510;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.15);
}

.edu-date {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color:#0ef;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}

.edu-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 10px;
}

.edu-icon {
  font-size: 30px;
  color: #0ef;
  margin-top: 5px;
}

.edu-card h3 {
  font-size: 20px;
  margin: 0 0 5px;
}

.edu-card p {
  margin: 4px 0;
  font-size: 15px;
  color: #e0e0e0;
}

.edu-card strong {
  color: #fff;
}
.certifications-section {
  text-align: center;
  padding: 40px 20px;
}

.certifications-section h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  border-bottom: 3px solid #0ef;
  display: inline-block;
  padding-bottom: 10px;
}

.cert-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.cert-card {
  background-color: #080510;
  border-radius: 15px;
  padding: 25px;
  width: 300px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cert-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.cert-card h3 {
  font-size: 1.1em;
  margin: 0;
}

.provider {
  font-size: 0.9em;
  color:white;
  font-weight: bold;
  margin-bottom: 15px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  background-color: #0ef;
  border-radius: 15px;
  padding: 5px 10px;
  font-size: 0.8em;
}
.contact-section {
  padding: 60px 20px;
  background:rgb(14, 41, 54);
 
  text-align: center;
  color: #d1d1f0;
}

.contact-section h1 {
  font-size: 36px;
  color: white;
  margin-bottom: 10px;
  border-bottom: 4px solid #0ef;
  display: inline-block;
  padding-bottom: 5px;
}

.contact-section p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.card {
  background-color: #080510;
  padding: 20px;
  border-radius: 12px;
  width: 260px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.card p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;   /* Ensures the email wraps mid-word if needed */
  font-size: 14px;
  margin: 0;
}


.icon {
  font-size: 36px;
  background-color: #6a35c9;
  color: white;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card h3 {
  margin-bottom: 8px;
  color: white;
}

.email-btn {
  background-color: #0ef;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;

}

footer {
  width: 100vw; /* Full width of the viewport */
  background-color: #0c0b12; /* Adjust as per your design */
  color: white;
  text-align: center;
  padding: 30px 10px; /* Adjust height with padding */
  box-sizing: border-box;
  margin-top: 100px;
  position:relative;
  left:0;
  right:0;
  bottom: 0;

}


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

.footer-icons {
  margin-top: 10px;
}

.footer-icons i {
  margin: 0 12px;
  font-size: 20px;
  color: #ededed;
  cursor: pointer;
  transition: color 0.3s;
}

.footer-icons i:hover {
  color: #00bcd4;
}





@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}