/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: #1C75BB;
    text-decoration: none;
    transition: color 0.3s ease;
    text-decoration: underline;
}

    a:hover {
        color: #0056b3;
    }

p {
    font-size: 1.125rem;
    color: #333333;
    margin-top: 1.725rem;
}

.full-img-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tower-img {
    background-image: url('../images/tower-photo.jpg');
    background-position: center right;
}

/* Section layouts */
.section {
    display: flex;
    padding: 0rem;
    min-height: 50vh;
    text-align: center;
}

.section-half {
    flex: 1;
    display: flex;
    padding: 4.375rem 2rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.section-half-content {
    max-width: 640px;
    width: 100%;
}

.light-bg {
    background-image: url('../images/light-bg.jpg');
    background-size: cover;
    background-position: left top;
    background-repeat: no-repeat;
}

.bg-image-section {
    background-image: url('../images/tower-contractor.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

hr {
    margin-bottom: 1.875rem;
}

/* Top section specific styles */
.logo {
    max-width: 200px;
    margin-bottom: 1rem;
}

.title {
    font-size: 2rem;
    /* margin-bottom: 1rem;*/
    color: #1F365C;
}

.subtitle {
    font-size: 1.25rem;
    color: #1F365C;
}

.help-title {
    margin-top: 1.725rem;
    font-size: 1rem;
    margin-bottom: .525rem;
    color: #2a2a2a;
    font-weight: bold;
}

.guide-link {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    color: #1C75BB;
    margin-bottom: 1.875rem;
    text-decoration: underline;
}

.login-title {
    margin-bottom: 1rem;
    background: #1F365C;
    padding: 10px 15px;
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center;
    color: #ffffff;
    border-radius: 15px 15px 0px 0px;
    font-size: 1.75rem;
}

.description {
    margin-bottom: 1.5rem;
}

.cta-button {
    padding: 0.75rem 1.5rem;
    background-color: #1C75BB;
    color: white;
    border: 1px solid #E4E4E4;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
    max-width: 620px;
    width: 100%;
    text-decoration: none;
}

.refer-button {
    margin-top: 1.5rem;
}

.instructions-button {
    position: relative;
}

    .instructions-button.active {
        border-radius: 10px 10px 0px 0px;
    }

.circle-arrow-icon {
    position: absolute;
    right: 20px;
    top: 7px;
    width: 25px;
    height: 25px;
    background-image: url('../images/circle-icon-arrow.png');
    background-size: contain;
    transition: transform 0.3s ease;
}

.instructions-button.active .circle-arrow-icon {
    transform: rotate(180deg);
}

.cta-button:hover {
    background-color: #0056b3;
    color: #ffffff;
}

/* Contact info styles */
.contact-info {
    margin-top: 1.725rem;
    font-size: 1rem;
    font-style: normal;
}

/* Login form styles */
.login-form {
    max-width: 480px;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    regularer: 1px solid #E4E4E4;
    text-align: left;
}

    .login-form .cta-button {
        background-color: #1F365C;
    }

        .login-form .cta-button:hover {
            background-color: #152a4a;
        }

.form-container {
    padding: 20px;
}

.form-group {
    margin-bottom: 1rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 1rem;
        font-weight: bold;
        color: #333333;
    }

    .form-group input {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

/* Bottom section specific styles */
.bg-image-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

/* Accordion styles */
.accordion {
    max-width: 620px;
    margin: 0 auto;
    margin-top: 0rem;
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #E4E4E4;
    border-top: 0px;
    border-radius: 0px 0px 10px 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    padding: 0 1rem;
}

.accordion-list {
    margin-left: 1rem;
    display: block;
    text-align: left;
    padding: 1rem 0;
}

.accordion-item {
    margin-bottom: 1.125rem;
    font-size: .875rem;
}

.accordion.active {
    max-height: 1000px;
    opacity: 1;
    padding: 1rem;
}

/* Form section styles */
.form-section {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.85);
    transition: all 0.5s ease-in-out;
    background-image: url('../images/dark-blue-bg.jpg');
    background-size: cover;
    background-position: left top;
    background-repeat: no-repeat;
}

    .form-section.active {
        max-height: 2000px;
        opacity: 1;
        padding: 4rem 2rem;
    }

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-container {
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

.form-section .title {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .form-row .form-group {
        flex: 1;
    }

.form-section .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #333333;
}

.form-section .form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

    .form-section .form-group input:focus {
        outline: none;
        border-color: #1C75BB;
    }

/* Responsive design */
@media (max-width: 768px) {
    .section {
        flex-direction: column;
        padding: 0;
    }

    .section-half {
        padding: 3.125rem 1rem;
    }

        .section-half.full-img-bg.bg-image-section {
            display: none;
        }

    .title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .login-title {
        font-size: 1.5rem;
    }

    p, .description, .accordion-item {
        font-size: 0.875rem;
    }

    .section-half-content {
        max-width: 100%;
    }

    .login-form {
        margin-top: 0rem;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group {
        width: 100%;
    }

    .form-section.active {
        padding: 3.125rem 1rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .form-container {
        padding: 1rem;
    }
}
