* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'kumbh Sans', sans-serif;
}

body {
    background: #141414;
    color: #fff;
    height: 100vh;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
  }
  

.navbar{
    position: sticky;
    top: 0;
    background: black;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 1000;

}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    background-color: #ff8177;
    background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}


.navbar__menu{
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
    
    
}

.navbar__links{
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__btn{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 30%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #f77062;
    color: #fff;
}

.button:hover {
    background: #4837ff;
    transition: all 0.3s ease;
}

.navbar__links:hover {
    color: #f77062;
    transition: all 0.3s ease;
}

@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
        background-color: #131313;
    }

    .navbar__menu.active {
        background-color: #131313;
    top: 100%;
    opacity: 1;
    transition: all 0.5s ease;
    z-index: 99;
    height: auto;  /* or use 100vh if you want full screen coverage */
    font-size: 1.6rem; 
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__btn {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;           /* full width parent */
      padding-bottom: 2rem;

    }

    .button {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 90%;               /* more width */
      max-width: 250px;         /* avoid overly wide button */
      padding: 12px 24px;       /* more space for text */
      height: auto;             /* let height grow naturally */
      margin: 0 auto;           /* center it horizontally */
      font-size: 1.1rem;
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

}

    /* Hero Section CSS */

.main__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
    height: 90vh;
    background-color: #141414;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0 50px;
    column-gap: 8rem;
}

.main__content h1 {
    font-size: 4rem;
    background-color: #ff8177;
    background-image: linear-gradient(to top, #b721ff 0%, #21d4fd 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent; 
    font-size: 48px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 2s ease-out forwards;
    animation-delay: 1s; /* Delay before it starts */
}

.main__content h2 {
    font-size: 3rem;
    background-color: #ff8177;
    background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    font-size: 48px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 2s ease-out forwards;
    animation-delay: 2s; /* Delay before it starts */
     
}

/* Animation keyframes */
@keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }


.main__content p {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;

    
}

.main__btn {
    font-size: 1rem;
    background-image: linear-gradient(to top, #f77062 0%, #fe5196 100%);
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    color: #fff;
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.35s;
    outline: none;
}

.main__btn a {
    position: relative;
    z-index: 2;
    color: #fff;
    text-decoration: none;
}

.main__btn:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #4837ff;
    transition: 0.35s;
    border-radius: 4px;
}

.main__btn:hover {
    color: #fff;
}

.main__btn:hover:after {
    width: 100%;
}

.main__img--container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#main__img {
    position: relative;
    width: 350px;
    height: 350px;            /* Make height equal to width */
    border-radius: 50%;       /* Perfect circle */
    border: 1px solid pink;
    left: 100px;
    top: 0;
    animation: slideIn 2s ease-in-out forwards;
    animation-delay: 1s;
    object-fit: cover; 
    
}

@keyframes slideIn {
    from { left: 0px; }
    to { left: 100px; }
}


/* Mobile Responsive */

@media screen and (max-width: 768px) {
    .main__img--container {
        justify-content: center;
        margin-top: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .main__container {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        justify-self: center;
        width: 100%;
        margin: auto;
        height: auto;
        padding: 2rem 1rem;
    }

    .main__content {
        text-align: center;
        margin-bottom: 4rem;
    }

    .main__content h1 {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .main__content h2 {
        font-size: 3rem;
    }

    .main__content p {
        margin-top: 1rem;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .main__content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .main__content h2 {
        font-size: 2rem;
    }

    .main__content p {
        margin-top: 2rem;
        font-size: 1.5rem;
    }
    .main__btn {
        padding: 12px 36px;
        margin: 2.5rem 0;
    }
}

/* About Section CSS*/
.about-section {

    background-color: #141414;
    height: 55vh; /* gives enough scroll space */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px 40px; /* space at top */
    min-height: auto;
  }
  
  .about-text {
    color: #fff;
    text-align: center;
    max-width: 900px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
  }
  
  .about-text.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .about-text.hide {
    opacity: 0;
    transform: translateY(-40px);
  }
  
  .about-text h2 {
    background-color: #ff8177;
    background-image: linear-gradient(to right, #ff8177 0%, #ff867a 0%, #ff8c7f 21%, #f99185 52%, #cf556c 78%, #b1285b 100%);
    background-size: 100%;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
  }
  
  .about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  

/* Experience Section CSS */

.experience h1 {
  background-color: #ff8177;
  background-image: linear-gradient(to right, #ff8177 0%, #ff867a 0%, #ff8c7f 21%, #f99185 52%, #cf556c 78%, #b1285b 100%);
  background-size: 100%;
  margin-bottom: 5rem;
  font-size: 2.5rem;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.experience__container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.experience__card {
  margin: 1rem;
  height: 525px;
  width: 400px;
  border-radius: 4px;
  padding: 20px 20px;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0)
    0%, rgba(17,17,17,0.6) 100%), 
    url('/images/data_org.webp');
  background-size: cover;
  position: relative;
  color: #fff;
  overflow: hidden;
  transition: transform 0.2s ease-in;
}

.experience__card:nth-child(2) {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0)
    0%, rgba(17,17,17,0.6) 100%), 
    url('/images/tech-planet.jpg');
}

.experience__card:nth-child(3) {
    background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0)
    0%, rgba(17,17,17,0.6) 100%), 
    url('/images/HD-wallpaper-penn-state-nittany-lions-logo-american-football-club-ncaa-blue-logo-blue-carbon-fiber-background-american-football-university-park-pennsylvania-usa-penn-state-nittany-lions-pennsylvania-state.jpg');
}

.experience__card:hover {
  transform: scale(1.075);
}

.details {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.experience__card:hover .details {
  opacity: 1;
}

.experience__card h2, .experience__card p, .experience__card h4, .experience__image:hover {
  transition: opacity 0.3s ease;
}

.experience__card:hover h2, .experience__card:hover h4, .experience__image:hover {
  opacity: 0;
}

@media screen and (max-width: 960px) {
  .experience {
    height: 1600px;
  }
  .experience h1 {
    font-size: 2rem;
    margin-top: 12rem;
  }
}

@media screen and (max-width: 480px) {
  .experience {
    height: 1400px;
  }
  .experience h1 {
    font-size: 1.2rem;
  }
  .experience__card {
    width: 300px;
  }
}


/* Project Section CSS */
.project {
  padding: 6rem 1rem;
  background: #141414;
}

.project h1 {
  background-color: #ff8177;
  background-image: linear-gradient(to right, #ff8177 0%, #ff867a 0%, #ff8c7f 21%, #f99185 52%, #cf556c 78%, #b1285b 100%);
  background-size: 100%;
  margin-bottom: 5rem;
  margin-top: 2rem;
  font-size: 2.5rem;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.project__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.project__card {
  position: relative;
  width: 400px;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
  padding: 2rem;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6)), url('/images/project_Alphet.jpg');
  transition: all 0.3s ease;
  color: white;
}

.project__card:nth-child(2) {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6)), url('/images/project_App.jpg');
}

.project__card:nth-child(3) {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6)), url('/images/project_MIS.jpg');
}

/* Curtain effect */
.project__card .curtain {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(4, 76, 135);
  z-index: 2;
  transform: translateY(0%);
  transition: transform 1s ease-out;
}

/* Headings */
.project__card h2,
.project__card h4 {
  position: relative;
  z-index: 3;
  margin: 0.5rem 0;
  transition: opacity 0.5s ease;
}

/* Details */
.project__card .details {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding-top: 1rem;
}

/* On scroll reveal */
.project__card.revealed .curtain {
  transform: translateY(100%);
}

.project__card.revealed .details {
  opacity: 1;
}

/* On hover reverse curtain */
.project__card.revealed:hover .curtain {
  transform: translateY(0%);
}

.project__card.revealed:hover .details {
  opacity: 0;
}

.project__card.revealed:hover h2,
.project__card.revealed:hover h4 {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .project__card {
    width: 90%;
  }
}

@media screen and (max-width: 768px) {
   #project {
    margin-top: 18rem;
    
  }

  .card {
    width: 100%;
  }
}




/* Skills Section */
/* Wrapper to align bars and pies side-by-side */
.skills-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
  margin: 40px auto;
  max-width: 1300px;
  padding: 20px;
}

/* Left side: Bars */
.skills-bars {
  flex: 1 1 48%;
  min-width: 400px;
}

.all_skills h2 {
  background-color: #ff8177;
  background-image: linear-gradient(to right, #ff8177 0%, #ff867a 0%, #ff8c7f 21%, #f99185 52%, #cf556c 78%, #b1285b 100%);
  background-size: 100%;
  margin-bottom: 5rem;
  margin-top: 6rem;
  font-size: 2.5rem;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.skill {
  margin-bottom: 20px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.skill-bar {
  background-color: #eee;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0;
  background-color: #2196f3;
  transition: width 2s ease;
  border-radius: 6px;
}

/* Right side: Pies */
.skills-pies {
  flex: 1 1 30%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}


.pie-chart {
  width: 100px;
  height: 100px;
  position: relative;
}

.pie-chart svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pie-chart circle {
  fill: none;
  stroke-width: 10;
  r: 45;
  cx: 50;
  cy: 50;
}

.pie-chart circle:first-child {
  stroke: #eee;
}

.pie-chart .progress {
  stroke: #2196f3;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 2s ease;
}

.pie-label {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 12px;
  text-align: center;
  transform: translate(-50%, -50%);
  line-height: 1.2;
}

.pie-label span {
  font-weight: bold;
  display: block;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .skills-wrapper {
    flex-direction: column;
  }

  .skills-bars,
  .skills-pies {
    flex: 1 1 100%;
  }

  .skills-pies {
    justify-content: center;
  }
}



/*My Services CSS*/ 

/* Services Section Styling */
.services-section {
  padding: 60px 70px;
  color: #ffffff;
  text-align: center;
  margin-top: 5rem;
}

.section-title {
  color: #ff8177;
  font-size: 2.5em;
  margin-bottom: 5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 8px; /* smaller horizontal gap */
  justify-items: center;
  margin-bottom: 40px;
}

.service-card {
  background-image: linear-gradient(to top, #5182fd 0%, #e2e2e2 100%);
  color: #000;
  width: 350px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px 8px; 
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: swingIn 1s ease;
}

.service-card:hover {
  transform: rotateZ(1deg) scale(1.03);
  box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

/* Call to Action */
.alphet-call {
  color: #f1f1f1;
  font-size: 1.2em;
  line-height: 1.6;
}

.alphet-call a {
  color: #7d79ff;
  text-decoration: underline;
}

.alphet-call a:hover {
  color: #a7a3ff;
}

/* Optional animation for swing-in */
@keyframes swingIn {
  0% {
    transform: rotate(-3deg) scale(0.95);
    opacity: 0;
  }
  100% {
    transform: rotate(0) scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 500px) {
  .services-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}






/* Contact Me CSS */

#contact {
    padding: 60px 20px;
    text-align: center;
    
  }
  
  #contact h2 {
    background-color: #ff8177;
    background-image: linear-gradient(to right, #ff8177 0%, #ff867a 0%, #ff8c7f 21%, #f99185 52%, #cf556c 78%, #b1285b 100%);
    background-size: 100%;
    margin-bottom: 1.5rem;
    margin-top: 5rem;
    font-size: 2.5rem;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
  }
  


  #contact-form {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    margin-top: 4rem;
  }
  
  #contact-form input,
  #contact-form textarea {
    margin-bottom: 15px;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
  }
  
  #contact-form button {
    padding: 12px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  #contact-form button:hover {
    background-color: #0056b3;
  }
  

/* Foot CSS */
.footer__container {
    padding: 3.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer__logo {
    color: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.footer__links {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

.footer__link--wrapper {
    display: flex;
}

.footer__link--items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 16px;
    text-align: left;
    width: 160px;
    box-sizing: border-box;
}

.footer__link--items h2 {
    margin-bottom: 16px;
}

.footer__link--items > h2 {
    color: #fff;
}

.footer__link--items a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer__link--items a:hover {
    color: #ffffff;
    transition: 0.3s ease-out;
}

/* Social icons */

.social__icon--link {
    color: #fff;
    font-size: 24px;
}

.social__media {
    max-width: 1000px;
    width: 100%;
}

.social__media--wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    margin: 40px auto 0 auto; 

}

.social__icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 240px;
}

.social__logo {
    color: #fff;
    justify-self: flex-start;
    margin-left: 20px;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    display: flex;
    align-items: center;
    margin-bottom: 16px;

}

.website__rights {
    color: #fff;
}



@media screen and (max-width: 820px) {
  .footer__links {
    padding-top: 2rem;
  }

  #footer__logo {
    margin-bottom: 2rem;
  }

  .website__rights {
    margin-bottom: 2rem;
  }

  .footer__link--wrapper {
    flex-direction: column;
  }

  .social__media--wrap {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .footer__link--items {
    margin: 0;
    padding: 10px;
    width: 100%;
  }
}
