/* General styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000219;
    color: #fff;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #222;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.about {
    text-align: center;
    font-size: 30px;
    color: #eaeaea;
    margin-top: 30px;
    margin-bottom: -40px;
}

.underline {
    width: 50%;
    height: 5px;
    background-color: #1e90ff;
    margin-top: 50px;
    margin-left: 320px;
    margin-bottom: -40px;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin-left: 150px;
    display: flex;
}

.navbar ul li {
    margin-left: 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #1e90ff;
}

.login-btn {
    padding: 10px 20px;
    background-color: #1e90ff;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #1c7ed6;
}

.contact-container {
    display: flex;
    height: calc(100vh - 80px); /* Adjust height to fit within viewport minus navbar and footer */
    margin-top: 80px; /* Adjust for navbar height */
}

.contact-left {
    flex: 1;
    padding: 20px;
    background-color: #080c41;
    overflow-y: auto;
}

.contact-right img {
    max-width: 100%;
    max-height: 100%; /* Ensures the image doesn't overflow the container */
    object-fit: contain; /* Ensures the image maintains its aspect ratio */
}

.interactive-line {
    margin: 10px 0;
    cursor: pointer;
    position: relative;
    font-size: 18px;
    line-height: 1.6;
}

.interactive-line::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: transparent;
    transition: background 0.3s;
}

.interactive-line.sparkle::after {
    background: rgba(255, 215, 0, 0.7);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Footer styles */
footer {
    background-color: #000214;
    padding: 20px 0;
    border-top: 1px solid #eaeaea;
    color: #f2efef;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
}

.footer-left, .footer-middle, .footer-right {
    flex: 1;
    margin: 0 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer-logo img {
    width: 100px;
    margin-right: 10px;
}

.footer-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-buttons .footer-star-btn, .footer-buttons .footer-netlify-btn {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.footer-middle ul, .footer-right ul {
    list-style: none;
    padding: 0;
}

.footer-middle ul li, .footer-right ul li {
    margin-bottom: 10px;
}

.footer-middle ul li a, .footer-right ul li a {
    text-decoration: none;
    color: #f1eeee;
}

.footer-social-icons a {
    color: #ffffff;
    margin-right: 15px;
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #eaeaea;
    margin-bottom: -15px;
}

.footer-bottom a {
    color: #007bff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Media Queries for Responsive Design */
@media (max-width: 1200px) {
    .navbar ul {
        margin-left: 0;
    }

    .underline {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-container {
        flex-direction: column;
        height: auto;
        margin-top: 60px; /* Adjust if needed */
    }

    .contact-left, .contact-right {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar ul {
        flex-direction: column;
        margin-left: 0;
    }

    .navbar ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .about {
        font-size: 24px;
    }

    .underline {
        width: 70%;
        margin-left: 0;
        margin-right: 0;
    }

    .contact-container {
        flex-direction: column;
        margin-top: 60px;
    }

    .contact-left {
        padding: 15px;
    }

    .contact-right img {
        width: 100%;
        height: auto;
    }

    .footer-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .footer-left, .footer-middle, .footer-right {
        margin: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .login-btn {
        padding: 8px 15px;
    }

    .about {
        font-size: 20px;
    }

    .underline {
        width: 90%;
        margin-left: 0;
        margin-right: 0;
    }

    .contact-container {
        margin-top: 50px;
    }

    .contact-left {
        padding: 10px;
    }

    .footer-container {
        padding: 0 10px;
    }

    .footer-logo img {
        width: 80px;
    }

    .footer-buttons .footer-star-btn, .footer-buttons .footer-netlify-btn {
        padding: 8px 15px;
    }
}
