body.home #first-imppression-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image: url('/images/MB_Patterns_Gradient1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.home #home-logo-image {
    max-width: 1000px;
    width: 90%;
    height: auto;
}

body.home .home-heading {
    font-size: 3.5em;
    text-transform: uppercase;
    color: white;
    margin-block-end: 0.10em;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    body.home .home-heading {
        font-size: 2.8em;
    }
}

@media (max-width: 900px) {
    body.home .home-heading {
        font-size: 2.4em;
    }
}

@media (max-width: 600px) {
    body.home .home-heading {
        font-size: 2em;
    }
}

body.home .home-subheading {
    color: #4F12C9;
    letter-spacing: 0.1em;
    margin-block-start: 0.2em;
    text-align: center;
    margin-bottom: 30px;
}

body.home .home-buttons {
    margin-top: 2em;
    margin-bottom: 1em;
    display: flex;
    gap: 5em;
    justify-content: center;
}

@media (max-width: 700px) {
    body.home .home-buttons {
        gap: 2.5em;
    }
}

@media (max-width: 600px) {
    body.home .home-buttons {
        gap: 1.7em;
    }
}

body.home .home-btn {
    background-color: #4F12C9;
    color: #fff;
    padding: 1em 2.5em;
    border: none;
    border-radius: 1em;
    text-decoration: none;
    font-size: 1.3em;
    cursor: pointer;
    transition: background 0.2s;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    letter-spacing: 0.15em;
    font-style: normal;
    padding: 24px 36px;
}

/* Ensure visited link buttons maintain original styling */
body.home .home-btn:visited {
    background-color: #4F12C9;
    color: #fff;
}

@media (max-width: 700px) {
    body.home .home-btn {
        font-size: 1.1em;
    }
}

body.home .home-btn:hover {
    background-color: #3a0e96;
}

body.home #home-info-container {
    background-color: white;
}

body.home .info-div {
    position: relative;
    display: flex;
    z-index: 2;
}

body.home .info-inner-div {
    transition: background 0.5s ease;
    text-align: center;
    height: 100%;
    width: 100%;
}

body.home .info-header {
    text-align: center;
    font-size: 2.5em;
}

body.home .info-text {
    font-size: larger;
    text-align: center;
    margin-left: 5em;
    margin-right: 5em;
}

@media (max-width: 700px) {
    body.home .info-text {
        margin: 0.2em;
    }
}

body.home .info-images-wrapper {
    display: flex;
    justify-content: center;
    gap: 2em;
    flex-wrap: wrap;
    margin-top: 4em;
    margin-bottom: 8em;
}

body.home .info-image-container {
    padding: 0.5em;
    border-radius: 15px;
    display: inline-block;
    z-index: 1;
}

@media (max-width: 700px) {
    body.home .info-image-container {
        margin: 1em;
        padding: 0.5em;
    }
}

body.home .info-image {
    width: auto !important;
    height: auto !important;
    
    max-width: 90vw;
    max-height: min(100vh, 425px);
    border-radius: 15px;
    box-shadow: -4px 4px 13px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0;
}