html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body > div {
    flex: 1;
}

.main-mid-text {
    margin-top: 4%;
    margin-left: 7%;
    color: white;
    text-shadow: 2px 2px 15px #1a1a1a;
    font-family: 'Roboto Condensed', Arial, sans-serif;
}


.wel-head {
    font-weight: bold;
    font-size: 48px;
}

.main-sub-text {
    font-size: 24px;
    padding-top: 0.5%;
}


.top-left-logo {
    max-height: 175px;
    margin-top: 5%;
}

.navbar {
    margin-top: -4%;
}

.main-nav-brnd {
    padding-top: 0px;
}

.nav-item {
    display: flex;
    justify-content: center;
}

.hiw {
    margin-right: 10px;
}

.about {
    margin-right: 10px;
    margin-left: 10px;
}

.contact {
    margin-left: 10px;
}

.nav-link {
    color: #777777;
    line-height: 1.5;
    font-size: 15px;
    font-weight: 450;
    font-family: "Roboto Condensed", Arial, sans-serif;
}


/* Video Background Styles */

#video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -999;
    filter: brightness(50%);
    object-fit: cover;
}

/* End Video Background Styles */


.navbar-nav {
    background-color: #fff;
    border-radius: 0.375rem;
    padding: 0 10px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}


.navbar-nav li {
    border-right: 1px solid rgba(26, 30, 33, 0.1);
}

.navbar-nav li:last-child {
    border-right: none;
}

.user-option-buttons {
    display: grid;
    gap: 20px;
    justify-content: center;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}


@media (max-width: 768px) {
    .button-row {
        flex-direction: column;
    }
}

.shadow__btn {
    padding: 5px 10px;
    border: none;
    font-size: 14px;
    height: 50px;
    min-width: 175px;
    color: #fff;
    border-radius: 0.375rem;
    letter-spacing: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.25s;
    transition-property: box-shadow;
    margin-top: 2%;
    margin-bottom: 2%;
}

.shadow__btn {
    background: rgb(64, 159, 255);
    box-shadow: 0 0 25px rgb(37, 150, 190);
}

.shadow__btn:hover {
    box-shadow: 0 0 5px rgb(64, 159, 255),
    0 0 25px rgb(64, 159, 255),
    0 0 50px rgb(0, 140, 255),
    0 0 100px rgb(0, 140, 255);
}


#buyeq-button,
#renteq-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    margin: 2% 2%;

}

.button-icon {
    margin-right: 18px; /* Adjust the margin as needed */
    margin-left: -18px;
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
    scale: 1.1;
}

.button-text {
    text-align: center;
}


.container {
    display: flex;
    align-items: center;
    justify-content: start;
    position: absolute;
    bottom: 0;
    background-color: transparent;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 16px;
}

.content {
    padding: 10px;
}

.content a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
}

.content a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 50%; /* Changed from "0" to "50%" */
    transform: translateX(-50%); /* Added to center the line */
    background-color: #ffffff;
    transition: width 0.5s ease-in-out;
    z-index: 1;
}

.content a:hover::after {
    width: 100%;
    transition: width 0.5s ease-in-out;
}

.divider {
    height: 10px;
    border-left: 0.5px solid #ffffff;
    margin: 0 5px;
}


/*--------- Translator Start ---------*/

.flag {
    width: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.flag:hover {
    transform: scale(1.1);
}

.dropdown-item.active .flag {
    cursor: pointer;
}

.navdrop {
    display: flex;
    flex-direction: row;
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    align-items: flex-end;
    z-index: 9999;
    background-color: transparent;
    border-radius: 10px;
    padding: 8px;
}

.dropdown-item {
    padding: 5px;
    margin-left: 0;
    margin-top: 5px;
    display: none;
}

.dropdown-item.active {
    display: block;
}

/* We added JavaScript toggle functionality for smaller screens*/
.navdrop.show .dropdown-item {
    display: block;
}

.navdrop:not(.show) .dropdown-item:not(.active) {
    display: none;
}

@media (max-width: 768px) {
    .dropdown.navdrop {
        top: 15px;
        right: 15px;
        margin-left: 0;
        margin-bottom: 0;
        position: fixed;
    }
    
    .flag {
        width: 35px;
    }
}


/*--------- Translator End ---------*/


/*--------- Header "YOUR DIGITAL WONDERKID" Start
---------*/
/* let's start with a base font-size of 18px on small screens*/
h1.wel-head {
    font-size: 18px;
}

/* increase the font-size of the h1 according to the screen size */
@media screen and (min-width: 320px) {
    h1.wel-head {
        font-size: calc(24px + 1vw); /* 1vw = 1% of viewport width */
    }
}

/* put a cap on the font size for larger screens */
@media screen and (min-width: 1400px) {
    h1.wel-head {
        font-size: 48px;
    }
}

/*--------- Header "YOUR DIGITAL WONDERKID" End ---------*/


/*--------- Header main-sub-text Start ---------*/

/* Start with a base font-size on small screens */
p.main-sub-text {
    font-size: 14px;
}

/* Increase the font size according to the screen size */
@media screen and (min-width: 360px) {
    p.main-sub-text {
        font-size: calc(18px + 0.5vw); /* 0.5vw = 0.5% of viewport width */
    }
}

/* Cap the font size for larger screens */
@media screen and (min-width: 1400px) {
    p.main-sub-text {
        font-size: 24px;
    }
}

/*--------- Header main-sub-text End ---------*/


/*--------- Bottom Links Start ---------*/

.container .content a {
    font-size: 16px; /* Adjusts font size according to viewport width */
}

@media screen and (max-width: 375px) {
    /* Matches iPhone 5/SE and smaller */
    .container .content a {
        font-size: 4vw;
    }
}

/*--------- Bottom Links End ---------*/


.nav-specs {
    margin-left: 1%;
    margin-right: 1%;
    padding-top: 1%;

}

@media (max-width: 768px) {
    /* Matches iPhone 5/SE and smaller */
    .nav-specs {
        margin-top: -9%;
    }
}


/*--------- Toast Start ---------*/
.main-toast {
    margin-bottom: 2.5%;
}

@media (max-width: 1024px) {
    .main-toast {
        margin-bottom: 8%;
    }
}


#toast-1 {
    min-width: 550px;
}

@media (max-width: 768px) {
    #toast-1 {
        min-width: 300px;
    }
}

@media (max-width: 500px) {
    #toast-1 {
        position: fixed;
        top: 80%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.toast-body {
    background-color: #444444;
    color: #ffffff;
}

.rounded {
    width: 100px;
    height: 90px;
    border-radius: 12px;

}

p {
    font-size: 16px;
    padding-top: 2%
}

a img.rounded {
    box-shadow: 0 0 12px #fff;
    transition: box-shadow 0.3s ease-in-out;
}

a img.rounded:hover {
    box-shadow: 0 0 5px #fff,
    0 0 25px #fff,
    0 0 50px #fff,
    0 0 100px #fff;
}

.strong-text {
    font-weight: bold;
}

.small-text {
    font-weight: 300;
}

.smaller-text {
    font-size: 17px;
}

@media (max-width: 600px) {
    .smaller-text {
        font-size: 15px;
    }
}


/*--------- Toast End ---------*/


/*--------- Footer Start ---------*/
@media (max-width: 768px) {
    #main-footer {
        padding-bottom: 5%;
    }
}

.bottom-router {
    margin-bottom: 3%;
}


#footer-links {
    display: none;
    position: relative;
    z-index: 10;
}

.footer-links a {
    text-decoration: none;
    color: white;
}

.footer-links a:hover {
    color: yellow;
}


.footer-link {
    margin: 2%;
}


.black-background {
    background-color: #383838;
    color: white;
    padding-top: 2%;
}

.white-arrow {
    color: white;
}

.footer-fluid-logo {
    max-width: 75%;
    height: auto;
}

.social-icons a {
    margin-right: 10px; /* Adjust the gap as needed */
    color: white; /* Set the color to white */
    display: inline-block; /* Ensure the icons are inline */
    text-decoration: none; /* Remove underline */
}

.social-icons a:last-child {
    margin-right: 0; /* Remove the margin from the last item */
}

.social-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.social-icons svg {
    vertical-align: middle;
    height: 1em;
    width: 1em;
}

.no-right-padding {
    padding-right: 0 !important;
    padding-left: 0 !important;
}


/*--------- Footer End ---------*/


/*--------- Cookies Modal Start---------*/
.cookies-card {
    position: fixed;
    bottom: 60px;
    left: 20px;
    width: 400px;
    max-width: 90%;
    z-index: 1050;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-family: 'Roboto Condensed', Arial, sans-serif;

}

@media (max-width: 768px) {
    .mobile-cookies-card {
        position: fixed;
        bottom: 5px;
        left: 5%;
        width: 90%;
        margin: 0;
        border-radius: 6px;
        z-index: 1000;
    }
}
/*--------- Cookies Modal End---------*/

/*--------- Compare Button Start ---------*/
#calc-button {
    background: #8640FF;
    border: none;
}

#calc-button:hover {
    background: #8640FF;
}

.shadow__btn__calc {
    position: relative;

    min-width: 175px;
    height: 50px;
    padding: 10px 20px;
    border: none;
    font-size: 14px;
    color: #fff;
    border-radius: 7px;
    letter-spacing: 4px;
    font-weight: 700;
    font-family: "Roboto Condensed", Arial, sans-serif;
    text-transform: uppercase;
    transition: 0.5s;
    transition-property: box-shadow;
    background: #8640FF;
    box-shadow: 0 0 25px #8640FF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shadow__btn__calc:hover {
    box-shadow: 0 0 5px #8640FF,
    0 0 25px #8640FF,
    0 0 50px #8640FF,
    0 0 100px #8640FF;
}

/*--------- Compare Button End ---------*/


/*--------- Announcement Vertical Image Start ---------*/
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
}

.announcement-v-img {
    position: fixed;
    right: 0.5%;
    top: 42%;
    transform: translateY(-50%);
    z-index: 1000;
    width: 8vw;
    height: auto;
}

@media (min-width: 1920px) {
    .announcement-v-img {
        width: 6vw;
    }
}

@media (max-width: 1919px) {
    .announcement-v-img {
        width: 7vw;
    }
}


@media (max-width: 1400px) {
    .announcement-v-img {
        width: 7vw;
    }
}

@media (max-width: 1200px) {
    .announcement-v-img {
        width: 8vw;
        margin-top: -1%;
    }
}


@media (max-width: 1024px) {
    .announcement-v-img {
        width: 9vw;
        margin-top: -1%;
    }
}

@media (max-width: 768px) {
    .announcement-v-img {
        display: none;
    }
}

/*--------- Announcement Vertical Image End ---------*/

/*--------- Announcement Square Image Start ---------*/
.announcement-sqr-img {
    display: block;
    position: absolute;
    right: 0;
    margin-right: 3%;
    transform: translateY(-100%);
    z-index: 1000;
    height: auto;
    max-width: 24vw;
}

@media (min-width: 768px) {
    .announcement-sqr-img {
        display: none;
    }
}

@media (max-width: 768px) {
    .announcement-sqr-img {
        position: absolute;
        max-width: 12vw;
        margin-top: 1%;
    }
}

@media (max-width: 480px) {
    .announcement-sqr-img {
        max-width: 18vw;
        margin-top: 0;
    }
}

@media (max-width: 320px) {
    .announcement-sqr-img {
        max-width: 26vw;
    }
}

/*--------- Announcement Square Image End ---------*/


.badge-new {
    position: absolute;
    top: -12px;
    right: -15px;
    background: #fb2871;
    color: white;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}