/* Reset */
body {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

.logo {
    width: 100px;
    margin: 20px auto;
    display: block;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
}

nav li {
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    color: #444;
}

nav li.active {
    background-color: #eee;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-wrapper hr {
    flex: 1;
    border: none;
    border-top: 1px solid #ccc;
    margin: 0 10px;
}

/* Hero Section */
.hero {
    background-image: url('../imgs/header.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 55px 0px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .hero {
        height: 250px;
        /* Reduce height for mobile */
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 200px;
        /* Further reduce for smaller screens */
        padding: 20px 0;
    }
}

.survey-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

.survey-section h3 {
    text-align: center;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 500;
    color: #444;
    margin-bottom: 30px;
}

.man {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.text-wrapper {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.text-wrapper p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
}

.text-wrapper a {
    color: #007acc;
    text-decoration: none;
}

.text-wrapper a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .man {
        flex-direction: column;
        align-items: center;
    }

    .text-wrapper {
        max-width: 100%;
        text-align: justify;
    }
}

.text {
    background-image: url(../imgs/bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.text-wrapper {
    max-width: 850px;
    padding: 15px 10px;
    border-radius: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #002147;
    line-height: 1.7;
    backdrop-filter: blur(5px);
    /* Optional: for extra smoothness */
}

.text-wrapper p {
    margin-bottom: 16px;
    font-size: 16px;
}

.text-wrapper strong {
    color: #003366;
}

.text-wrapper ul {
    padding-left: 20px;
    list-style-type: disc;
}

.text-wrapper li {
    margin-bottom: 10px;
    font-size: 16px;
}

.survey-sec {
    background-image: url(../imgs/bg2.png);
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #002147;
}

.survey-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

.survey-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.survey-content {
    flex: 1 1 500px;
}

.survey-content p {
    font-size: 16px;
}

.survey-content label {
    display: block;
    font-weight: bold;
    margin: 20px 0 10px;
}

.survey-content ul {
    padding-left: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.survey-content li {
    margin-bottom: 10px;
}

.survey-content h2 {
    font-size: 20px;
    margin-top: 30px;
}

.survey-image {
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.survey-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive behavior */
@media (max-width: 768px) {
    .survey-container {
        flex-direction: column;
        padding: 20px;
    }

    .survey-title {
        font-size: 22px;
    }

    .survey-content h2 {
        font-size: 18px;
    }
}

.form-wrapper {
    width: 50%;
    text-align: left;
    padding: 20px;
    margin-left: 0;
    /* Aligns to the left */
}

form {
    padding: 10px;
}

.input-container {
    width: 100%;
    display: flex;
    gap: 20px;
    /* space between the inputs */
}

.input {
    flex: 1;
    /* each input takes equal space */
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.input2 {
    flex: 1;
    /* each input takes equal space */
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input2 input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.input-container .con {
    padding-top: 40px;
}

.btn {
    background: #5199a8;
    color: white;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .form-wrapper {
        width: 100%;
        padding: 10px;
    }

    .input-container {
        flex-direction: column;
        gap: 10px;
    }
}

.atm-flex-wrapper {
    display: flex;

}

.survey-img img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.atm-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    text-align: center;
    width: 100%;
}

.atm-flex>div {
    flex: 1 1 500px;
}

.atm-flex .sent p {
    text-align: left;
    padding-right: 20px;
    font-size: 15px;
    color: #7b8c89;
    line-height: 2rem;
}

.survey-img img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .atm-flex {
        flex-direction: column;
    }

    .atm-flex>div {
        flex: 1 1 100%;
    }
}

.footer {
    background-image: url(../imgs/footerbg.png);
    background-size: cover;
    background-position: center;
    width: auto;
    padding: 30px;
}

.footer-flex {
    display: flex;
    justify-content: center;
    /* centers the items horizontally */
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    /* allows wrapping on smaller screens */
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.footer-flex>div {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 300px;
}

.footer-flex img {
    width: auto;
    height: 24px;
    max-width: 100%;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .footer-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-flex>div {
        justify-content: center;
        text-align: center;
    }

    .footer-flex img {
        width: auto;
       
    }
}