.index-page .section-title {
    margin-top: 70px;
}

.index-page .text {
    height: 100%;
}

.index-page .image {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.index-page .image img {
    min-height: 250px;
    max-height: 550px;
}

.index-page .image.zig {
    margin-right: 40px;
}

.index-page .image.zag {
    margin-left: 40px;
}

.index-page .text.zag p {
    text-align: right;
}

.index-page .text.zig {
    padding-left: 5%;
}

.index-page .text.zag {
    padding-right: 5%;
}

.index-page section:first-of-type .image img {
    border: 5px solid #092834;
    border-bottom: none;
    border-radius: 30px 30px 0px 0px;
    box-shadow: 0px 0px 240px 18px rgba(46,98,255,0.4);
}

.index-page section:first-of-type .text {
    margin-bottom: 60px;
}

.index-page section:first-of-type .text p {
    font-size: 1.25rem;
}

.education-page .text {
    width: 100%;
    padding: 0px 70px;
    box-sizing: border-box;
}

.education-page .text p {
    text-align: center;
}

.education-page .education-image {
    object-fit: cover;
    border-radius: 10px;
}

.hobby-page .image {
    gap: 40px;
}

.hobby-page .image img {
    width: auto;
    height: 280px;
    max-width: none;
}

.hobby-page .image #python {
    object-fit: contain;
    width: 450px;
    height: fit-content;
    align-self: center;
}

.hobby-page .text {
    margin: 75px 0px;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 0px 20%;
    box-sizing: border-box;
}

.achievements-page .text {
    padding-left: 5%;
}

.achievements-page .image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.achievements-page .image img {
    max-height: 450px;
}

.description {
    font-style: italic;
    font-size: 18px;
    text-align: center;
    margin-top: 15px;
}

.contact-page .text p {
    text-align: left;
}

.contact-page .image {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.contact-page .image img {
    width: 150px;
}

.contact-modal-content {
    background-color: #173F4F;
    border: 5px solid #A0C5D4;
}

.contact-modal-content .modal-body a img {
    height: 70px;
    width: auto;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #A0C5D4;
    border: 1px solid #A0C5D4;
    opacity: 0.7;
    transition: opacity 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
    background: linear-gradient(45deg, #0E2630, #376476);
    border-color: #0E2630;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #376476;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1081px) {
    .index-page .section-title {
        text-align: center !important;
        margin-top: 0;
    }

    .index-page .image.zag,
    .index-page .image.zig,
    .index-page .text.zag,
    .index-page .text.zig {
        margin: 0;
        padding: 0 20px;
    }

    .index-page .text.zag p {
        text-align: center;
    }

    .hobby-page .image {
        flex-direction: column;
        align-items: center;
    }

    .hobby-page .image img {
        height: auto;
        width: 100%;
        max-width: 320px;
    }

    .hobby-page .text {
        padding: 0 10%;
    }

    .achievements-page .text {
        width: 100%;
        padding: 0;
    }

    .achievements-page .text p {
        text-align: center;
    }

    .achievements-page .image {
        width: 100%;
    }

    .contact-page .text p {
        text-align: center;
    }

    .contact-page .image {
        flex-direction: column;
    }

    .contact-page .image img {
        width: 180px;
    }
}
