
* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgb(0, 0, 0);

}

header {
    background: linear-gradient(135deg, #1f4037, #a2ecba);
    padding: 1em 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgb(0, 0, 0);
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin: 0 1em;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff7e5f;
}

.intro {
    padding: 10em 0;
    text-align: center;
    background: linear-gradient(to right, #7ce7d9, #de7698);
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    box-shadow: 0 4px 8px rgb(0, 0, 0);

}

.intro h1 {
    font-size: 3.5em;
    margin-bottom: 0.5em;
    animation: fadeInDown 3s ease;

}

.intro p {
    font-size: 3.5em;
    margin-bottom: 1.5em;
    animation: fadeInUp 3s ease;
}

.btn {
    padding: 1em 2em;
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: #0b0b0b;
    color: #fff;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 2em 0;
    
}

#about, #projects, #contact,#sills {
    background: linear-gradient(to right, #7ce7d9, #de7698);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgb(0, 0, 0);
    padding: 4em 2em;
    margin: 2em 0;
    animation: fadeIn 3s ease;
}


h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    position: relative;
}

h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: #ff7e5f;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}


.project {
    background-color: #dedede;
    border-radius: 8px;
    text-align: center;
    padding: 2em;
    margin: 1.5em 0;
    box-shadow: 0 4px 6px rgba(9, 9, 9, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

form input, form textarea {
    width: 100%;
    padding: 0.75em;
    margin-bottom: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

form input:focus, form textarea:focus {
    border-color: #ff7e5f;
    outline: none;
}

form button {
    width: 100%;
    padding: 1em;
    border: none;
    border-radius: 4px;
    background-color: #1f4037;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #99f2c8;
}

footer {
    background-color: #0f0f0f;
    color: #fff;
    text-align: center;
    padding: 1em 0;
    position: relative;
}

footer .container {
    text-align: center;
    display:inline-block;
    justify-content: space-between;
    align-items: center;
}

footer p {
    margin: 0;
    text-align: center;

}

footer .social-links {
    display:inline-block;
    text-align: center;
    justify-content: center;
    margin-top: 1em;
}

footer .social-links a {
    text-align: center;
    color: #fff;
    margin: 0 0.5em;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #ff7e5f;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 0.5em 0;
    }

    .intro {
        padding: 5em 1em;
    }

    .intro h1 {
        font-size: 2.5em;
    }

    .intro p {
        font-size: 1.2em;
    }
}
#contact {
    text-align: center;

    }
#project{
    text-align: center;
}
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #7ce7d9, #de7698);
    color: #333;

}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 2em 0;
    animation: fadeIn 1s ease;

}

h2 {
    text-align: center;
    margin-bottom: 2em;
    font-size: 2.5em;
    color: #333;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 20px;
  margin: 2em 0;
}

.skill {
  text-align: center;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.skill:hover {
  transform: translateY(-5px);
}

.skill img {
  width: 60px;  /* adjust size */
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.skill h3 {
  font-size: 1.2em;
  color: #333;
  margin-top: 0.5em;
}
