@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Protest+Revolution&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Nunito Sans", serif;
}

body {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    display: flex;
    flex-direction: column;

    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Contact Section */
#contact {
    padding: 50px 20px;
    text-align: center;
    background-color: #f8f8f8;
}

#title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ff8a00;
    animation: fadeInScale 1.2s ease-in-out;
}

.contact-details {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info {
    max-width: 400px;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: fadeInScale 1.5s ease-in-out;
    text-align: center;
    margin-top: 20px;
}

.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.contact-info p {
    font-size: 1.2em;
    color: #555;
    margin: 12px 0;
}

.contact-info p strong {
    color: #222;
}

/* Keyframe Animations */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        width: 100%;
        max-width: 90%;
    }

    #title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    #title {
        font-size: 1.8em;
    }

    .contact-info {
        padding: 15px;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    margin-top: 10px;
}

.nav {
    display: flex;
    align-items: flex-end;
    margin: 10px;
}

.hamburger .line {
    width: 35px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    position: absolute;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    position: absolute;
    transform: rotate(-45deg);
}

.off-screen-menu {
    background-color: rgba(200, 231, 231, 0.707);
    height: 100vh;
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
    transition: 0.3s ease;
}

.off-screen-menu a {
    text-decoration: none;
    color: black;
    font-weight: 500;
}

.off-screen-menu ul li {
    list-style: none;
}

.off-screen-menu.active {
    right: 0;
}
