:root {
    --primary-color: #01766e;
    --primary-light: #e6fffa;
    --bg-color: #f0fdfa;
    --text-color: #334155;
    --white: #ffffff;
    --shadow: 0 20px 40px rgba(1, 118, 110, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(1, 118, 110, 0.5)), url('back.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    padding: 20px 20px 20px 8%;
}

.container {
    max-width: 700px;
    width: 100%;
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

header {
    margin-bottom: 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60%;
    max-width: 220px;
    height: auto;
    margin-bottom: 10px;
}

.logo-mobile {
    display: none;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #134e4a;
}

.hero p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* CTA Button */
.cta-button {
    padding: 16px 40px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(1, 118, 110, 0.3);
}

.cta-button:hover {
    background-color: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 118, 110, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-item {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #334155;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.contact-item a:hover {
    text-decoration: underline;
    color: #0f766e;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


footer {
    margin-top: 50px;
    font-size: 0.9rem;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    padding-top: 30px;
}

.contact-info {
    display: none; /* Hidden as it's now in the modal */
}

@media (max-width: 992px) {
    body {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(1, 118, 110, 0.5)), url('back-mobile.png');
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        justify-content: center;
        align-items: flex-start; /* Start from top on mobile */
        padding: 40px 20px;
    }

    .container {
        padding: 20px 0;
        background: transparent;
        box-shadow: none;
        border: none;
        backdrop-filter: none;
        text-align: center;
    }

    /* Logo Swapping */
    .logo-desktop {
        display: none;
    }
    
    .logo-mobile {
        display: block;
        margin: 0 auto 10px auto;
    }

    .logo h1 {
        display: none;
    }

    /* Text Colors */
    .hero h2 {
        color: #ffffff !important;
        font-size: 2rem;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

    .hero p {
        color: #ffffff !important;
        opacity: 0.9;
        font-weight: 400;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }

    /* Button Inversion for Mobile */
    .cta-button {
        background-color: #ffffff;
        color: var(--primary-color);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        width: 100%;
        border-radius: 12px;
    }

    .cta-button:hover {
        background-color: #f0fdfa;
        color: #0f766e;
    }

    /* Ensure basic text color is white override */
    body {
        color: #ffffff;
    }

    footer {
        color: rgba(255, 255, 255, 0.7);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
}