* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Titillium Web', sans-serif;
}

body {
    background-image:
        url('../../res/img/backgrounds/tradbg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.plebe1 {
    background: linear-gradient(rgba(18, 35, 72, 0.5), rgba(18, 35, 72, 0.9));
    min-height: 90vh;
    margin: 0;
    padding: 0;
    margin-top: -25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0;
    text-align: center;
}

#plebe_title {
    font-size: 40px;
    font-family: 'Bree Serif', serif;
    letter-spacing: 5px;
    line-height: 1;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
    margin-top: -90px;
    animation: fadeIn 1s ease-in forwards 0.5s;
}

.head h1 {
    font-size: 5rem;
    padding-top: 20px;
    padding-bottom: 5px;
    padding-left: 2px;
    padding-right: 2px;
    font-family: 'Bree Serif', serif;
    letter-spacing: 5px;
    line-height: 1;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.head1 h2 {
    text-align: center;
    font-size: 1.3rem;
    padding-top: 20px;
    padding-bottom: 5px;
    padding-left: 2px;
    padding-right: 2px;
    font-family: 'Bree Serif', serif;
    letter-spacing: 5px;
    line-height: 1;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    animation: fadeIn 1s ease-in forwards 0.5s;
    color: white;
}

.head {
    display: block;
}

hr {
    background-color: #cda757;
    opacity: 100%;
    border: none;
    width: 90%;
    height: 4px;
    border-radius: 6px;
    margin: 0 auto;
}

#plebe_paragraph {
    font-size: 20px;
    font-family: 'Titillium Web', sans-serif;
    letter-spacing: 1px;
    line-height: 1.3;
    padding: 10px;
    width: 80%;
    max-width: 1400px;
    text-align: justify;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease-in forwards 0.5s;
}

.buttons_plebe {
    margin-top: 5px;
}

#btn_plebe {
    font-family: 'Titillium Web', sans-serif;
    background: transparent;
    color: white;
    font-size: 1rem;
    padding: 12px 40px;
    border: 2px solid white;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    animation: fadeIn 1s ease-in forwards 0.5s;
}

#btn_plebe:hover {
    background-color: transparent;
    color: #cda757;
    border: 2px solid #cda757;
    transform: scale(1.05);
}


/*Next section*/
.plebe_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(18, 35, 72, 0.6), rgba(18, 35, 72, 1));
    margin: 0;
    padding: 0;
    background-size: cover;
    padding: 50px 0;
}

.plebe_1 {
    width: 100%;
    animation: fadeInUp 1s ease-in-out;
}

.plebe_1 hr {
    background-color: #cda757;
    height: 4px;
    width: 100%;
}

.head1 hr {
    background-color: #cda757;
    height: 4px;
    width: 30%;
}

.plebe-sec2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
    animation: fadeInUp 1s ease-in-out;
}

/* Left section styling */
.left-section {
    width: 50%;
}

.left-section img {
    width: 100%;
    border-radius: 5px;
}

/* Right section styling */
.right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 100%;
}

.right .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #122348;
    width: 90%;
    margin-left: 20px;
    border-radius: 3px;
}

.right .text h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Bree Serif', serif;
    letter-spacing: 5px;
}

.right .text p {
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: justify;
}

/* Button styling */
.button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #122348;
    background: white;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.button:hover {
    background-color: #cda757;
    color: white;
    cursor: pointer;
}

/*buttons*/
#plebe_buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: url('../../res/img/join/icons/Join2.png') no-repeat center center;
    background-size: cover;
    width: 90%;
    border-radius: 2px;
    margin-bottom: 30px;

}

#plebe_section,
#plebe_step_2 {
    scroll-margin-top: 200px;
}

.button-container {
    display: flex;
    gap: 15px;
}

.plebe_button {
    background: #122348;
    color: white !important;
    padding: 20px;
    border-radius: 5px;
    width: 220px;
    height: 140px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.plebe_button:hover {
    transform: scale(1.05);
    cursor: pointer;
    box-shadow: 0px 10px 20px rgba(205, 168, 87, 0.8);
}

.plebe_button_cont {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plebe_button img {
    width: 60px;
    height: auto;
}

.plebe_button p {
    margin-top: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    color: white !important;
    text-align: center;
}

/*Statements*/
#plebe_statements {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 50px;
}

.statement-card {
    background-color: rgba(255, 255, 255, 0.8);
    color: #122348;
    padding: 30px;
    width: 30%;
    border-radius: 5px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.statement-card:hover {
    transform: translateY(-7px);
    box-shadow: 0px 10px 20px rgba(205, 168, 87, 0.8);
    cursor: pointer;
}

.statement-card h2 {
    font-size: 1.4rem;
}

.statement-img {
    width: 50%;
    height: auto;
    margin: 10px 0;
}

.statement-card p {
    margin-top: 10px;
    font-size: 1.2rem;
    line-height: 1.5;
    align-items: center;
    text-align: justify;
}

/*Modal*/
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 180px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(18, 35, 72, 0.8);
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    max-width: 900px;
    max-height: 70vh;
    overflow-y: auto;
    position: relative;
    color: #122348;
}

.modal-content ul {
    margin-left: 30px;
}

.modal-content h2 {
    font-family: 'Bree Serif', serif;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.close {
    color: #122348;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #cda757;
}

@media screen and (max-width: 1200px) {
    .modal {
        padding-top: 180px;
    }

    /*statements*/
    .statement-img {
        width: 30%;
    }

    #plebe_statements {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px;
    }

    .statement-card {
        width: 90%;
        padding: 20px;
        text-align: center;
        border-radius: 4px;
    }

    .statement-card h2 {
        font-size: 35px;
        height: auto;
    }

    .statement-card p {
        font-size: 20px;
        text-align: center;
    }

    /*buttons*/
    #plebe_buttons {
        display: grid;
        gap: 10px;
        justify-content: center;
        padding: 15px;
        width: 100%;
        margin-bottom: 20px;
    }

    .plebe_button {
        width: 150px;
        height: 120px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .plebe_button img {
        width: 50px;
        height: auto;
    }

    .plebe_button p {
        font-size: 16px;
    }
}

@media screen and (max-width: 1024px) {
    .head h1 {
        font-size: 80px;
    }

    #plebe_paragraph {
        font-size: 25px;
    }

    #btn_plebe {
        font-size: 1.5rem;
        padding: 12px 30px;
        font-weight: 600;
    }

    .plebe-sec2 {
        flex-direction: column;
        align-items: center;
    }

    .left-section {
        order: -1;
    }

    .right .text {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .right {
        width: 100%;
        align-items: center;
    }
}

@media screen and (max-width: 992px) {

    /*statements*/
    .statement-card h2 {
        font-size: 1.4rem;
    }

    .statement-card p {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    .modal {
        padding-top: 190px;
    }

    .head h1 {
        font-size: 50px;
    }

    /*buttons*/
    .button-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        justify-content: center;
        width: 100%;
    }

    .plebe_button {
        width: 100px;
        height: 80px;
    }

    .plebe_button img {
        width: 30px;
    }
}

@media screen and (max-width: 480px) {
    .modal {
        padding-top: 150px;
    }

    .plebe1 {
        min-height: 90vh;
        margin: 0 auto;
        padding: 0;
        margin-top: -25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        padding: 0;
        text-align: center;
    }

    .head h1 {
        font-size: 40px;
    }

    hr {
        width: 50%;
    }

    #plebe_paragraph {
        font-size: 15px;
    }

    #btn_plebe {
        font-size: 0.8rem;
        padding: 6px 20px;
    }

    .left-section {
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    /*buttons*/
    .plebe_button p {
        font-size: 10px;
    }

    /*statements*/

    .statement-card h2 {
        font-size: 22px;
    }

    .statement-card p {
        font-size: 13px;
    }
}