* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #222;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar ul li a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.navbar ul li a:hover {
    color: #0077b6;
}

.home-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 85vh;
    background-color: #e0f7fa;
    text-align: center;
    padding: 100px 20px 20px 20px;
}

.home-section h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.home-section span {
    color: #0077b6;
}

.home-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.profile-pic {
    width: 40%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 2px solid #0077b6;
}

.links .btn {
    display: inline-block;
    margin: 5px 10px;
    padding: 10px 20px;
    background-color: #0077b6;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.links .btn:hover {
    background-color: #005f86;
}

.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #0077b6;
}

.skills-grid, .projects-grid, .interests-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.skill-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.skill-card h3 {
    color: #0077b6;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-card ul {
    list-style-type: none;
    padding-left: 0;
}

.skill-card ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
}

.skill-card ul li i {
    color: #0077b6;
    font-size: 1rem;
    min-width: 18px;
    text-align: center;

}

.skill-logo {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

.project-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 15px;
}

.project-card h3 {
    color: #0077b6;
    margin-bottom: 10px;
}

#memora {
    color: #0077b6;
}

.interest-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.interest-card i {
    margin-bottom: 10px;
    color: #0077b6;
}

.interest-card p {
    font-weight: 500;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.education-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.education-card h3 {
    color: #0077b6;
    margin-bottom: 5px;
}

.education-card .year {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}

#contact p {
    text-align: center;
    margin-bottom: 10px;
}

#contact a {
    color: #0077b6;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

footer {
    background-color: #fff;
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    margin-top: 40px;
}

@media (max-width: 800px) {
    .navbar ul li a {
        gap: 0;
        justify-content: center;
    }

    .navbar ul li a span {
        display: none;
    }
}

@media (max-width: 800px) and (pointer: coarse){
    footer{
	padding-bottom: 75px;
    }
}
