* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 70px;
    background-image: linear-gradient(90deg, rgb(22, 79, 184) 0%, rgb(60, 105, 163) 50%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 0 40px;
}

.center-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.center-logo img {
    height: 65px;
    width: auto;
}

.rightc {
    display: flex;
    flex-direction: row;
}

.leftc a,
.rightc a,
.rightc h3 {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.header a:hover {
    text-decoration: underline;
    transform: scale(1.2);
}

.center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 11%;
    font-size: 28px;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.center img {
    height: 200px;
}

.center button {
    margin-top: 5px;
    padding: 10px 20px;
    font-size: 18px;
    background-color: #0b4580;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.center button:hover {
    background-color: #0d5bbf;
    transform: scale(1.2);
}

.main2 {
    display: flex;
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: center; 
    min-height: 100vh;
    background: url(bg4.png);
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
}

.centertop {
    margin-top: 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 24px;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 900px;
}

.form-wrap {
    position: relative;
    width: min(100%, 900px);
    max-width: 900px;
    min-height: 900px;
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.form-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.fallback-link {
    display: flex;
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: white;
    flex-direction: row;
}

.fallback-link a {
    color: #00ccff;
    text-decoration: none;
    font-size: 15px;
}

.fallback-link a:hover {
    text-decoration: underline;
}

.fallback-link p {
    color: rgb(255, 255, 255);
    font-size: 15px;
}

.buttons {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.buttons button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 18px;
    background-color: #0b4580;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.buttons button:hover {
    background-color: #0d5bbf;
    transform: scale(1.2);
}

.main4 {
    background: linear-gradient(135deg, #0f2027 0%, #205072 50%, #2ca0c9 100%);
    width: 100vw;
    padding: 40px;
    color: white;
}

.txtf {
    text-align: center; 
    margin-bottom: 30px;
}

.txtf h2 {
    font-size: 36px;
}

.txtf h4, a {
    font-size: 20px;
    color: white;
}

.footer {
    display: flex;
    justify-content: flex-start; 
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;     
    flex-direction: column;  
}

.fcenter {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    text-align: center;
}

.fcenter iframe {
    border-radius: 20px;
    max-width: 100%;        
}

@media (max-width: 480px) {

    .header {
        height: auto;
        padding: 10px 15px;
        flex-direction: column;
        gap: 10px;
        position: fixed;
    }

    .center-logo {
        position: static;
        transform: none;
    }

    .center-logo img {
        height: 50px;
    }

    .leftc,
    .rightc {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .leftc a,
    .rightc a,
    .rightc h3 {
        font-size: 15px;
        margin: 0;
    }

    .main2 {
        padding: 130px 16px 40px;
    }

    .centertop {
        font-size: 18px;
        margin-top: 0;
    }

    .form-wrap {
        width: 100%;
        min-height: 1250px;
        margin-top: 24px;
        border-radius: 16px;
    }

    .fallback-link {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }

    .buttons {
        flex-wrap: wrap;
        margin-top: 32px;
    }
}

@media (min-width: 700px) and (max-width: 1080px) and (orientation: portrait) {

    .header {
        gap: 15%;
    }

    .leftc a,
    .rightc a,
    .rightc h3 {
        font-size: 18px;
    }

    .main2 {
        padding-top: 120px;
    }

    .form-wrap {
        width: min(100%, 760px);
        min-height: 1100px;
    }
}
