:root {
    --bg: #071127;
    --accent: #00ffd1;
    --blue-1: #0b6cf6;
    --blue-2: #3da1ff;
    --card: #0f2038;
    --text-color: #ffffff;
    --light-grey: #a0a0a0;
    --radius: 14px;
    --soft-green: #2B6D62;
    --navy: #000080;
    --transition: 0.3s ease-in-out;
    --footer-bg: #000000;
    --dark-grey: #1a1a1a;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header Styles */
.main-header {
    background-color: var(--bg);
    padding: 15px 50px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--light-grey);
    text-decoration: none;
    font-weight: 400;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

/* Contact Us Section Styles */
.contact-us-section {
    padding: 80px 20px;
    background-color: var(--bg);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.contact-container.in-view {
    transform: translateY(0);
    opacity: 1;
}

.contact-left {
    flex: 1;
    background: linear-gradient(135deg, var(--soft-green) 0%, #153b36 100%);
    color: #f0f0f0;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.contact-heading {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--accent);
}

.solo {
    text-decoration: none;
}

.contact-paragraph {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.contact-info {
    margin-bottom: 50px;
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1em;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.contact-container.in-view .contact-info .info-item:nth-child(1) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}

.contact-container.in-view .contact-info .info-item:nth-child(2) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.5s;
}

.contact-container.in-view .contact-info .info-item:nth-child(3) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.7s;
}

.contact-info .info-item i {
    margin-right: 20px;
    font-size: 1.4em;
    color: var(--accent);
}

.contact-info .info-item span {
    color: var(--text-color);
    font-weight: 600;
}

.join-team-section {
    text-align: left;
}

.join-team-section h3 {
    font-size: 1.6em;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700;
}

.join-team-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--card);
    color: var(--text-color);
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.join-team-btn:hover {
    background-color: var(--bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.join-team-btn i {
    margin-left: 10px;
}

.contact-right {
    flex: 1;
    background-color: var(--card);
    color: var(--text-color);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.form-and-image-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-form h3 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--accent);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--light-grey);
}

.contact-form label span {
    color: var(--accent);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--card);
    border-radius: 5px;
    font-size: 1em;
    background-color: var(--bg);
    color: var(--text-color);
    box-sizing: border-box;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 5px rgba(0, 255, 209, 0.5);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form select {
    appearance: none;
}

.contact-form .submit-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent);
    color: var(--bg);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-form .submit-btn i {
    margin-left: 10px;
}

.contact-form .submit-btn:hover {
    background-color: #00e6b8;
    transform: scale(1.05);
}

.contact-image-info {
    text-align: center;
}

.contact-image-info img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-image-info .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-image-info .social-links a {
    color: var(--light-grey);
    font-size: 1.5em;
    transition: color var(--transition), transform var(--transition);
}

.contact-image-info .social-links a:hover {
    color: var(--accent);
    transform: translateY(-5px) scale(1.2);
}

/* Footer Styles */
.creative-footer {
    background-color: var(--footer-bg);
    color: var(--light-grey);
    padding-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: left;
    border-bottom: 1px solid var(--dark-grey);
    padding-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 25px;
    position: relative;
    font-weight: 600;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.footer-logo {
    font-size: 2em;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-about {
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: var(--light-grey);
    font-size: 1.2em;
    width: 35px;
    height: 35px;
    background-color: var(--dark-grey);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    color: var(--footer-bg);
    background-color: var(--accent);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light-grey);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-cta-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.footer-cta-btn i {
    margin-right: 15px;
    font-size: 1.2em;
}

.whatsapp-btn {
    background-color: #25D366;
    color: var(--text-color);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.email-btn {
    background-color: var(--accent);
    color: var(--footer-bg);
}

.email-btn:hover {
    background-color: #00e6b8;
    transform: translateY(-3px);
}

.phone-btn {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.phone-btn:hover {
    background-color: var(--accent);
    color: var(--footer-bg);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

.copyright {
    font-size: 0.85em;
    color: var(--light-grey);
}

/* --- Media Queries for Responsiveness --- */

/* Tablet and smaller screens */
@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-left,
    .contact-right {
        padding: 40px;
    }

    .contact-heading {
        font-size: 2.2em;
    }

    .contact-paragraph {
        font-size: 1em;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
    }

    .navbar {
        flex-direction: column;
        text-align: center;
    }

    .nav-logo {
        margin-bottom: 15px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-us-section {
        padding: 40px 15px;
    }

    .contact-left,
    .contact-right {
        padding: 30px 20px;
    }

    .contact-heading {
        font-size: 2em;
    }

    .form-and-image-container {
        flex-direction: column-reverse;
        /* Reverses the order of form and image on mobile */
        gap: 30px;
    }

    .contact-form h3 {
        font-size: 1.8em;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-cta-btn {
        justify-content: center;
    }

    .footer-links a:hover {
        transform: none;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .contact-heading {
        font-size: 1.8em;
    }

    .contact-info .info-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .contact-info .info-item i {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

/* Pop-up (Modal) Styles */
.modal {
    display: none;
    /* By default hidden */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
    /* Show when 'show' class is added by JS */
}

.modal-content {
    background-color: var(--card);
    padding: 40px 60px;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    max-width: 500px;
    margin: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-icon {
    font-size: 3em;
    color: var(--accent);
    margin-bottom: 20px;
    animation: bounceIn 0.6s ease-out;
}

.modal-content h3 {
    font-size: 2em;
    color: var(--text-color);
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--light-grey);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--light-grey);
    font-size: 2.5em;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition);
}

.close-btn:hover {
    color: var(--accent);
}

.modal-close-button {
    background-color: var(--accent);
    color: var(--bg);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.modal-close-button:hover {
    background-color: #00e6b8;
    transform: scale(1.05);
}

/* Update the existing CSS for a glowing effect on hover */
.submit-btn,
.join-team-btn {
    box-shadow: 0 0 10px rgba(0, 255, 209, 0);
    /* Normal state, no glow */
    transition: all 0.4s ease-in-out;
}

.submit-btn:hover,
.join-team-btn:hover {
    background-color: var(--accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 209, 0.7), 0 0 25px rgba(0, 255, 209, 0.5);
    /* Glowing effect on hover */
}