html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
    scroll-behavior: smooth;
}

/* header */
header {
    background : linear-gradient(to right,#0f2027, #203a43, #2c5364);
    color: #f5f5f5;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header p {
    color: #cccccc;
}
.navbar {
  background: linear-gradient(to right,#2c5364,#208fab) ;
  padding: 1rem;
  border-radius: 15px;
}
.nav-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-items li {
  display: flex;
  align-items: center;
}
.nav-items a {
  color: #00e5ff;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  transition: background 0.3s ease;
}
.nav-items a:hover {
  background: linear-gradient(45deg, #21b0ab, #6deded);
  border-radius: 6px;
  color: #f5f5f5;
}

/* Introduction */
#intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    background: linear-gradient(to right, #141e30,#243b55);
    color: #f5f5f5;
    text-align: center;
    padding: 40px;
    border-radius: 8px;
    margin: 20px 0;
}
#intro h2{
    font-size: 32px;
    margin-bottom: 15px;
    color: #00e5ff;
}
.animated-name {
    background: linear-gradient(90deg, #00e5ff, #ff4081, #00e5ff);
    font-size: 40px;
    background-size: 200% 200%;    
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
}
#intro p{
    font-size: 18px;
    max-width: 1200px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(to right, #00b09b, #96c93d);
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}
.btn:hover {
    background: linear-gradient(to right, #96c93d,#00b09b);
    transform: scale(1.05);
}
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;        
    } 50% {
        background-position: 100% 50%;        
    } 100% {
        background-position: 0% 50%;
    }   
}

/* about */
#about {
    position: relative;
    max-width: auto;
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(to right, #2193b0, #6dd5ed);
    border-radius: 12px;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    font-family: 'Inter',sans-serif;
    line-height: 1.8;
    transition: all 0.3s ease;
}
#about h2{
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    color: #00e5ff;
    z-index: 2;
}
#about p {
    flex: 2;
    max-width: 1200px;
    line-height: 1.6;
    font-size: 1.1rem;
    text-align: justify;
    text-indent: 1rem;
    z-index: 2;
}
#about:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}
#about img {
    flex: 1;
    max-width: 150px;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.9);
}

/* skills */
#skills {
    padding: 60px 20px;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    color: #f5f5f5;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}
#skills h2 {
    color: #00e5ff;
    margin-bottom: 30px;
    font-size: 28px;    
}
#skills ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}
#skills li {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #00e5ff;
    padding: 12px 16px;
    margin: 10px 0;
    border-radius: 8px;
    transition: background 0.3s ease;
}
#skills li:hover{
    background: rgba(255, 255, 255, 0.1);
}

/* projects */
#projects{
    padding: 60px 20px;
    background: linear-gradient(to right, #141e30, #243b55);
    border-radius: 10px;
    margin: 20px 0;
    color: #f5f5f5;
    text-align: center;
}
#projects h2{
    color: #00e5ff;
    margin-bottom: 30px;
    font-size: 28px;    
}
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.6);
}
.project-card h3{
    color: #ff4081;
    margin-bottom: 10px;
}
.project-card a{
    color: #00e5ff;
    font-weight: bold;    
}
.project-card a:hover{
    color: #ff9800;
}

/* contact */
#contact{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px;
    background: linear-gradient(to right,#2c5364,#208fab) ;
    color: white;
    border-radius: 10px;
    margin-bottom: 20px;
}
#contact h2 {
    color: #00e5ff;
    margin: 20px 0;
    font-size: 28px;
    text-align: center;
}
#contact ul {
    list-style: none;
    padding: 0;
}
#contact li {
    margin: 10px 0;
    font-size: 16px;    
}
#contact a{
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
    color:#00bcd4;
    justify-content: space-between;
}
#contact a:hover {
   color: #ff4081;
}

/* footer */
footer{
    background : linear-gradient(to right,#0f2027, #203a43, #2c5364);
    color: #cccccc;
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

@media(max-width: 600px){
    #intro {
        padding: 20px;
    }
    #intro h2 {
        font-size: 28px;
    }
    #intro strong {
        font-size: 32px;
    }
    #contact {
        flex-direction: column;
        text-align: center;
    }
    #about {
        flex-direction: column;
        text-align: center;
    }
    #about p {
        margin-right: 0;
        margin-bottom: 20px;
    }
    #skills ul {
        padding: 0 10px;
    }
    #skill li {
        font-size: 14px;
    }
    .nav-items {
        gap: 0.5rem;
    }
    .separator {
        padding: 0 0.25rem;
    }
    .nav-items a {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }
}