/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: #0d1117;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

header .logo {
    font-size: 1.5rem;
    font-weight: 600;
}

header ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

header ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

header ul li a:hover {
    color: #f39c12;
}

.hero {
    padding: 5rem 0;
    background: url('hero-background.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
    margin-top: 10rem;
}

.hero .btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 10px 20px;
    background-color: #f39c12;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #d35400;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.container {
    width: 80%;
    margin: auto;
    text-align: center;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.project h3 {
    margin: 2rem 0;
}

.project p {
    font-size: 1rem;
    padding-bottom: 15px;
}

.project .btn {
    margin-top: 10rem;
    background-color: #0d1117;
    color: #f39c12;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.project .btn:hover {
    background-color: #d35400;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    display: flex;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill {
    text-align: center;
}

.skill img {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.skill p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;

}

.skill img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}


.about-content ul {
    list-style: none;
    margin-top: 1.5rem;
}

.about-content ul li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form input, form textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 10px 20px;
    background-color: #f39c12;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

form button:hover {
    background-color: #d35400;
}

/* Footer */
footer {
    padding: 2rem 0;
    background: #0d1117;
    color: #fff;
    text-align: center;
}

footer .social a {
    margin: 0 10px;
    color: #f39c12;
    text-decoration: none;
}

footer .social a:hover {
    color: #d35400;
}
