body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #0E0F10;
    color: #E7FAF7;
    min-height: 100vh; /* Make sure body takes full viewport height */
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: flex-start;
    align-items: center; /* Align logo and text vertically */
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5em;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-weight: bold;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 5%; /* Adjusted padding for better fit */
    max-width: 1200px;
    margin: auto; /* Center hero section vertically and horizontally */
    text-align: left;
    flex-grow: 1; /* Allow hero section to grow and take available space */
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #E7FAF7;
}

.hero-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #28BBA5;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #E7FAF7;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 70%; /* Reduced size of origami */
    height: auto;
}

.call-to-action {
    background: linear-gradient(135deg, #28BBA5 0%, #22a090 100%);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(40, 187, 165, 0.2);
}

.call-to-action:hover {
    background: linear-gradient(135deg, #22a090 0%, #1d8a7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(40, 187, 165, 0.4);
}

.call-to-action:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(40, 187, 165, 0.3);
}

/* Form will be moved to a popup */
.contact-form {
    display: none; /* Hide the form initially */
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #0E0F10;
    color: #E7FAF7;
    font-size: 0.9em;
    border-top: 1px solid #28BBA5;
    margin-top: auto; /* Push footer to the bottom */
}

footer a {
    color: #28BBA5;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Modal (Popup) styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.85); /* Black w/ opacity */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #181A1B;
    margin: auto;
    padding: 40px;
    border: 2px solid #28BBA5;
    width: 90%;
    max-width: 550px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 8px 32px rgba(40, 187, 165, 0.2);
    animation: modalFadeIn 0.3s ease-out;
}

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

.modal-content .form-group {
    margin-bottom: 20px;
}

.modal-content .form-group input,
.modal-content .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #2d3748;
    border: 2px solid #4a5568;
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s;
    box-sizing: border-box;
}

.modal-content .form-group input:hover,
.modal-content .form-group textarea:hover {
    border-color: #28BBA5;
}

.modal-content .form-group input:focus,
.modal-content .form-group textarea:focus {
    outline: none;
    border-color: #28BBA5;
    box-shadow: 0 0 0 3px rgba(40, 187, 165, 0.1);
}

.close-button {
    color: #a0aec0;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    top: 16px;
    right: 24px;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}

.close-button:hover,
.close-button:focus {
    color: #28BBA5;
    transform: scale(1.1);
    text-decoration: none;
}

.modal-content h2 {
    text-align: center;
    margin: 0 0 32px 0;
    color: #e2e8f0;
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-content .form-group label {
    color: #e2e8f0;
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.modal-content button[type="submit"] {
    background: linear-gradient(135deg, #28BBA5 0%, #22a090 100%);
    color: white;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 8px;
}

.modal-content button[type="submit"]:hover {
    background: linear-gradient(135deg, #22a090 0%, #1d8a7a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 187, 165, 0.3);
}

.modal-content button[type="submit"]:active {
    transform: translateY(0);
}

.modal-content form {
    display: flex;
    flex-direction: column;
}

@media (min-width: 601px) {
    .modal-content form {
        flex-direction: column;
    }
    .modal-row {
        display: flex;
        gap: 30px;
        margin-bottom: 15px;
    }
    .modal-row .form-group {
        flex: 1 1 0;
        margin-bottom: 0;
    }
    .modal-content .form-group.company {
        width: 100%;
        margin-bottom: 20px;
    }
    .modal-content .form-group.company input {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .hero-image {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.2em;
    }
    .hero-content h2 {
        font-size: 1.8em;
    }
    .modal-row {
        flex-direction: column;
        gap: 0;
    }
    .modal-content .form-group.company input {
        width: 100%;
        box-sizing: border-box;
    }
}

.text-accent {
    color: #28BBA5;
}

#thankYouModal .modal-content {
    text-align: center;
    padding: 48px 40px;
}

#thankYouModal .modal-content h2 {
    color: #28BBA5;
    margin-bottom: 16px;
}

#thankYouModal .modal-content p {
    text-align: center;
    font-size: 1.1rem;
    color: #e2e8f0;
    line-height: 1.6;
}
