@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&display=swap');

:root {
    --primary: #3498db;
    --secondary: #2c3e50;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    font-family: "Ubuntu Sans", sans-serif;
    background-color: #f5f7fa;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.nav {
    background-color: var(--secondary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

section {
    padding: 60px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary);
    text-align: center;
    position: relative;
}

h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto;
    border-radius: 2px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

h4 {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    color: var(--gray);
}

ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

.home-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.intro {
    max-width: 600px;
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.intro h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--gray);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: var(--secondary);
    font-size: 1.8rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

.edu-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
    transition: transform 0.3s;
}

.edu-card:hover {
    transform: translateY(-5px);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.skill-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.skill-card:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.extra-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.extra-img {
    width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cert-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.cert-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
        min-height: auto;
    }

    h1 {
        font-size: 2rem;
    }

    .home-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .extra-content {
        flex-direction: column;
        text-align: center;
    }

    .extra-img {
        margin-top: 20px;
    }
}




