*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Inter', 'Poppins', sans-serif;
}

html,
body{
    width: 100%;
    overflow-x: hidden;
}

body{
    background:
        radial-gradient(circle at top, rgba(106, 132, 251, 0.08), transparent 25%),
        linear-gradient(180deg, rgb(17, 17, 17) 0%, rgb(31, 31, 31) 45%, rgb(18, 18, 18) 100%);
    color: #FFFFFF;
    min-height: 100vh;
}

nav{
    background: rgba(25, 25, 25, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
nav .main-section{

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 120px;

    
}
       /* background-color: rgb(25,25,25); */

       /* Hamburger Menu Icon */
.menu-icon {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: #dbcdcd;
    margin: 5px 0;
    transition: 0.4s;
}


.menu{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.menu a{
    text-decoration: none;
    color: rgb(227, 227, 227);
    transition: color 0.25s ease, transform 0.25s ease;
}
.menu a:hover{
    color: #aab9ff;
    transform: translateY(-1px) scale(1.03);
}
.menu .hire-me a{
    background: linear-gradient(135deg, #6a84fb 0%, #8ba7ff 100%);
    color: #07111f;
    padding: 12px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(106, 132, 251, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.menu .hire-me a:hover{
    color: #eff4ff;
    background: linear-gradient(135deg, #0b1220 0%, #1c2d4b 100%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
#first-section{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 120px;
    gap: 140px;
}
#first-section .first-part{
    margin: 50px;
}
.first-part .my-name{
    padding-bottom: 20px;
}
.first-part .writeup{
    padding-bottom: 20px;
    line-height: 31px;
}
.socialMedia-links{
    display: flex;
    gap: 4px;
}
.socialMedia-links a{
    text-decoration: none;
    color: rgb(170, 188, 255);
    border: 1px solid rgba(170, 188, 255, 0.35);
    border-radius: 999px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.socialMedia-links a:hover{
    background: rgba(106, 132, 251, 0.12);
    border-color: rgba(170, 188, 255, 0.65);
    transform: translateY(-1px);
}
.Portfolio-photo img{
    border-radius: 190px;
}
.hero-section {
  height: 15vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  background-color: rgb(31,31,31);
  overflow: hidden;
  
}
.scroll-arrow {
  position: absolute;
  top: 2px;
  font-size: 2em;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
        gap: 12px;
    background-color:  rgb(31,31,31);
    padding: 20px;
    width: 100%;
    max-width: 100%;
}

.box {
    color: white;
    font-size: 44px;
    font-weight: bold;
    background-color:  rgb(31,31,31);
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
    flex: 1 1 220px;
    min-width: 0;
}

.box span{
    opacity: 0.3;
    font-size:15px ;
}
#project {
    padding: 280px;
    display: flex;
    flex-direction: column;
    gap: 80px;
    flex-wrap: wrap;
    
}

#project main{
    /* box-shadow: 0 10px 20px rgba(39, 39, 59, 0.9); */

 /* width: 20%; */
}

@keyframes shadow-animation {
    0% {
        box-shadow: 0 10px 20px rgba(43, 43, 50, 0.9);
    }
    100% {
      box-shadow: none;
    }
  }

.project-detail {
    display: flex;
    gap: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 14px 18px;
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.98), rgba(32, 32, 32, 0.96));
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: shadow-animation 2s infinite alternate;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}


.project-detail img{
    border-radius: 11px;
    width: 70% ;
}
.project-detail img:hover {
   transform: scale(1.01); /* Increases size by 10% */
  /* transform: translateY(-10px); Move the element slightly upward */
 transition: 0.2s;
}
.project-detail div{
    margin-top: 40px;
 }
.project-detail div h1{
color: rgb(106, 132, 251);
font-weight: 600;
}
.project-detail div h5{
font-size: 16px;
font-weight: 600;
display: flex;
gap: 34px;
}
.project-detail div h5 span{
  opacity: 0.5;
}
.project-detail div p{
    /* width: 90%; */
    line-height: 30px;
    opacity: 0.8;
    /* flex-wrap: wrap; */
}
.coding-lang{
    display: flex;
    gap: 5px;
    padding-bottom: 20px;
    flex-wrap: wrap;
}
.coding-lang code{
    color: black;
    background-color: rgb(225,225,252);
    padding: 4px 10px;
    border-radius: 4px;
    flex-wrap: wrap;
}

.project-detail div button{
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    background: linear-gradient(135deg, #2b4a71 0%, #426a98 100%);
    color: #ffffff;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: colorTransition 3s infinite alternate;
}
.project-detail div button:hover{
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}



@keyframes colorTransition {
    0% {
      background-color: #2b4a71;
      color: white;
      border-color: #2b4a71;
    }
    100% {
      background-color: #e0e4eb;
      color: #2b4a71;
      border-color: #e0e4eb;
    }
  }

.seeAll{
   margin-left: auto;
   margin-right: auto;
    width: 40%;
    border-radius: 4px;
    padding: 10px;
    background-color: #2b4a71; 
    color: white;
      box-shadow: 0 10px 20px rgba(39, 39, 59, 0.9);
      animation: colorTransition 3s infinite alternate; /* Animation settings */

}
.hiddenProject-details{
    display: none;
}

#about p{
    text-align: ;
    width: 100%;
     line-height: 30px;
     font-size: 17px;
     font-weight:500;
     color: rgb(181, 181, 196);
}

/* Add custom styling */

#skillsAccordion{
    /* background-color: red; */
}
.accordion-button {
font-weight: bold;
font-size: 1.2rem;
}

.skills-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
margin: 15px 0;
}

.skill-card {
flex: 1 1 calc(20% - 15px); /* Adjust cards to occupy 20% of the row */
max-width: 150px;
text-align: center;
padding: 10px;
background-color: #f8f9fa;
border: 1px solid #ddd;
border-radius: 8px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
transform: scale(1.05);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.skill-card img {
width: 50px;
height: 50px;
margin-bottom: 10px;
}

@media (max-width: 883px) {
    .container {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px;
    }

    .box {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
        font-size: 30px;
        padding: 12px 10px;
    }

    .menu-icon {
        display: block;
        transition: transform 0.8s ease;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 90px;
        right: 0;
        background-color: rgb(25,25,25);
        padding: 60px 16px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .menu.show {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    nav .main-section {
        padding: 20px 16px;
    }

    #first-section {
        flex-direction: column;
        gap: 20px;
        padding: 24px 16px;
    }

    #first-section .first-part {
        margin: 0;
        text-align: center;
    }

    .socialMedia-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .Portfolio-photo img {
        max-width: 100%;
        height: auto;
        border-radius: 50%;
    }

    #project {
        padding: 40px 16px;
        gap: 24px;
    }

    .project-detail {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        padding: 12px;
        box-sizing: border-box;
    }

    .project-detail img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .project-detail div {
        margin-top: 12px;
    }

    .project-detail div h5 {
        flex-wrap: wrap;
        gap: 10px;
    }

    #about p,
    #about h1,
    #about .socialMedia-links {
        text-align: center;
    }

    .seeAll {
        width: 100%;
        max-width: 320px;
    }

    #get-in-touch .contactMe p {
        width: 90%;
        font-size: 16px;
    }

    #get-in-touch .project-detail input {
        width: 90%;
        max-width: 100%;
    }

    .skill-card {
        flex: 1 1 calc(33.33% - 15px);
    }
}

@media (max-width: 480px) {
    .container {
        flex-direction: column;
        align-items: stretch;
    }

    .box {
        flex: 1 1 100%;
        width: 100%;
        font-size: 26px;
        line-height: 1.2;
    }

    .skill-card {
        flex: 1 1 calc(100% - 15px);
    }

    #first-section {
        padding: 18px 12px;
    }

    .menu {
        padding: 48px 12px;
    }
}

#get-in-touch {
    background-color: rgb(48,70,108);
    border-radius: 100px 0px 0px 0px;
    padding-top: 40px;
    padding-bottom: 30px;
}
#get-in-touch .contactMe{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#get-in-touch .contactMe p{
opacity: 0.7;
font-size: 20px;
width: 45%;
text-align: center;
}
#get-in-touch form{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    gap: 30px;
}
#get-in-touch form ol ul{
padding: 5px;
}
#get-in-touch .project-detail  input{
    padding: 10px;
    border-radius: 7px;
    width: 60%;
}
