body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    background-color: #f5f5f5;
}

header {
    background: linear-gradient(to right, #0066cc, #003366);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    text-align: center;
}

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

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background 0.3s color 0.3s;
}
nav ul li a:hover {
    background: #005bbc;
    color: #777;
}
main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: -2rem;
    overflow: hidden;
}

section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadein 0.5s ease-in-out;
}

#about {
    margin-top: 40px;
}

section h2 {
    margin-top: 0;
    font-size: 2.5rem;
    color: #0073e6;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

ul.projects-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;

}

ul.projects-list li {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s,  box-shadow 0.3s;
    width: calc(33.333% - 2rem);
}
ul.projects-list li:hover {
    transform: scale(1.05) translate(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

ul.projects-list li a {
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
}

ul.projects-list li a:hover {
    color: #005bbc;
}
form {
    position: relative;
    margin-top: 2rem;
}

form label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
}

form input, form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

form input.error, form textarea {
    border-color: red;
}

.error-message {
    color: red;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

form button {
    background: #0073e6;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 1rem;
    display: inline-block;
}

form button:hover {
    background: #005bbc;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    position: relative;
    bottom: 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

footer p {
    margin: 0 0 1rem 0;
    line-height: 1.8;
}

.made-with-love {
    font-size: 1rem;
    margin-bottom: 0.5rem !important;
}

.heart {
    color: #ff0000;
    font-size: 1.1em;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

.abg-link {
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 4px;
    border-radius: 3px;
}

.abg-link:hover {
    color: #fff;
    background: linear-gradient(45deg, #0073e6, #005bbc);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 115, 230, 0.3);
    animation: linkPulse 0.6s ease-in-out;
}


@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes linkPulse {
    0% { transform: translateY(-1px) scale(1); }
    50% { transform: translateY(-1px) scale(1.05); }
    100% { transform: translateY(-1px) scale(1); }
}

.icon-container {
    margin-top: 1rem;
}

.icon-container i {
    color: #0073e6;
    margin: 0 1rem;
    cursor: pointer;
    transition: color 0.3s;
    font-size: 1.5rem;
}

.icon-container i:hover {
    color: #005bbc;
}
@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    ul.projects-liist li {
        width: calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 0.5rem 0;
    }
    form {
        width: 100%;
        margin-top: 1rem;
    }
    ul.projects-liist li {
        width: calc(100% - 2rem);
    }
}
@media (max-width: 480px) {
    header h1 {
        font-size: 2.5rem;
    }
    nav ul li {
        margin: 0.5rem 0;
    }
    ul.projects-list li {
        width: calc(100% - 2rem);
    }
}
