

.logo a:hover {
    border-bottom: 2px solid #00cc7a;}

/* Contact section */
.contact-card {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 4rem 2rem;
    background: #000f23;
}

.contact {
    flex: 1 1 45%;
    color: #ccc;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #fff;
}

#contact-title {
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.6;
    color: #aaa;
}

/* Form layout */
.contact form {
    display: flex;
    flex-direction: column;
    margin-top: 0.8rem;
    flex-wrap: wrap;
    color: #ccc;
}

.contact form label {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: #ccc;
}

.contact form input,
.contact form textarea {
    padding: 1rem 0;
    border: none;
    border-bottom: 2px solid #888;
    color: #fff;
    line-height: 1.6;
    font-size: 1rem;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact form input:focus,
.contact form textarea:focus {
    border-bottom-color: #00cc7a;
}

/* Submit button */
.submit-link {
    align-self: flex-end;
    background: none;
    border: none;
    border-bottom: 2px solid rgb(237, 36, 78);
    color: #fff;
    font-weight: bold;
    padding: 8px 0;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 1rem;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.submit-link:hover {
    border-bottom-color: #00cc7a;
    color: #00cc7a;
}

/* Error styling */
.error-message {
    color: #ff4d4d;
    font-size: 0.9rem;
    margin-top: 10px;
}

.back-to-top {
    text-align: center;
    background: #000f23;
}

#backToTop {
    background: #000f23;
    border: none;
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 12px;
}

#backToTop:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
        padding: 3rem 1.5rem;
    }

    .contact {
        flex: 1 1 100%;
    }

    .contact h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 2rem 1rem;
    }

    .contact h2 {
        font-size: 1.8rem;
    }

    .submit-link {
        font-size: 0.9rem;
    }
}


/* footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1f2029;
    padding: 1rem 2rem;
    color: #aab8c2;
    /* soft gray */
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer a {
    color: #aab8c2;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.2s ease-in-out;
}

.footer a:hover {
    border-bottom: 2px solid #333;
    border-bottom-color: #00cc7a;
}

.footer .divider {
    color: #3a4a5a;
    margin: 0 0.3rem;
}
.footer svg {
    color: #fff;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-right {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}


/* responsiveness */
@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
        padding: 1rem;
    }
    
    .contact h2 {
        font-size: 2rem;
    }
    
    .submit-link {
        align-self: center;
    }
    
    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

}   


