/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #444;
    background-color: #f9f9f9;
    margin: 0;
}

h1, h2, h3 {
    color: #2a2a2a;
}

/* Header Section */
header.hero {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    text-align: center;
    padding: 60px 20px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

header .logo {
    font-size: 2rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 20px 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffe600;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Section Styling */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    color: #2a2a2a;
}

section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #2575fc;
    margin: 10px auto 0;
}

/* About Section */
.about {
    text-align: center;
    color: #555;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.skill {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.skill h3 {
    color: #2575fc;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.skill img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill:hover img {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: center;
}


/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.project img {
    width: 50%;
    height: auto;
    border-radius: 100px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project:hover img {
    transform: scale(1.05);
}


.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project h3 {
    color: #2575fc;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.contact form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input, .contact textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
}

.contact button {
    padding: 15px 20px;
    background: #2575fc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact button:hover {
    background: #1749a3;
}

/* Footer */
footer {
    background: #2a2a2a;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.9rem;
}
