* {
    box-sizing: border-box;
    margin: 0;
    font-family: "Poppins", sans-serif;
    padding: 0;
}

.active-page {
    background-color: #a5acaf;
}

body {
    flex-direction: column;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    position: relative;
}

.logo-link {
    text-decoration: none;
}

.rr {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 290px;
    height: 420px;
}

.rr p {
    text-align: center;
    font-size: 1.7rem;
    color: #000000;
}

.rr h1 {
    margin-bottom: 30px;
    color: #2983D6;
    text-align: center;
    font-size: 4rem;
}

.about-btn {
    font-family: Urbanist;
    background-color: #2983D6;
    margin-top: 100px;
    border-radius: 50px;
    font-size: 1.4em;
    color: #ffffff;
    width: 170px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    animation: glow21 2s ease-in-out infinite;
}

.video-hero {
    border-radius: 20px;
    /*border: 2px solid rgb(38, 177, 219);*/
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.video-hero video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#navigation-bar {
    position: fixed;
    top: 2vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2vw;
    background: #0a2640;
    background: #5ae0f2;
    background: #1972CE;
    background: linear-gradient(90deg, rgba(25, 114, 206, 1) 0%, rgba(106, 219, 247, 1) 50%, rgba(25, 114, 206, 1) 100%);
    color: white;
    z-index: 1;
    border-radius: 12px;
    box-shadow: 0 0 3px gray, 0 0 7px gray;
}

.logo {
    justify-items: center;
    text-shadow: 0 0 10px rgb(118, 149, 173);
    font-size: 2rem;
    font-family: "Urbanist";
    color: rgb(255, 255, 255);
}

.logo:hover {
    cursor: pointer;
}

.site-info,
.contact-info {
    color: #000000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.site-info a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-family: "Roboto", sans-serif;
    font-size: 1.1rem;
    padding: 0.5rem 0.5rem;
    transition: 0.3s;
}

.site-info a:hover {
    background-color: #174aa7a9;
    color: white;
    border-radius: 5px;
}

.site-info a:active {
    background-color: #000000;
}

.contact-info a i {
    color: white;
}

.contact-info i:hover {}

.contact-info button {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    background-image: linear-gradient(to right, #a5acaf 0%, #cbd1d6 51%, #b4b9bb 100%);
    margin-left: 10px;
    padding: 10px 20px;
    background-size: 200% auto;
    color: rgb(36, 36, 36);
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 10px #eee;
    cursor: pointer;
    transition: 0.5s;
    text-transform: uppercase;
}

.contact-info button:hover {
    background-position: right center;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    z-index: 1111;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 2px;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 1100;
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar a,
.sidebar button {
    color: white;
    margin: 1rem 0;
    text-decoration: none;
    font-size: 1.2rem;
    border: none;
    background: none;
    text-align: left;
}

.sidebar-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    justify-content: center;
    width: 100%;
}

.sidebar-social-icons a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

.close-btn {
    display: none;
    font-size: 2rem;
    color: white;
    align-self: flex-end;
    cursor: pointer;
    background: none;
    border: none;
    margin-bottom: 1rem;
    z-index: 1000;
}

.close-btn:hover {
    color: red;
}

.mobile-audit-link {
    display: none;
}

.desktop-audit-button {
    display: block;
}

.page {
    display: flex;
    flex-direction: column;
}

.video-section,
.nav-section {
    width: 100%;
}

.landing-page {
    display: flex;
    height: 100%;
}

.landing-page {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgb(0, 0, 0);
}

.landing-page h1 {
    padding: 60px;
    font-family: "Urbanist";
    font-size: 5em;
    margin-top: 6rem;
}

.landing-page p {
    font-size: 1.5em;
    color: #555050;
    margin-bottom: 2rem;
}

.body-page-2 {
    height: 100vh;
}

#site2-page1 video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.landing-page1 {
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    color: rgb(0, 0, 0);
}

.landing-page1 h1 {
    font-family: "Urbanist";
    font-weight: 1900;
    letter-spacing: -2px;
    padding: 0px;
    font-size: 3.2em;
}

.landing-page1 h3 {
    text-align: none;
    font-size: 1.3em;
    width: 93%;
    color: #000000;
    padding: 1%;
}

.landing-page1 h4 {
    letter-spacing: -1px;
    font-style: italic;
    width: 80%;
    font-size: 1.1em;
    color: #5f5d5d;
    padding: 1%;
}

.video-hero1 {
    border-radius: 20px;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.video-hero1 video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#site2-page2 {
    height: 100%;
    width: 100%;
    justify-items: center;
}

#site2-page2 .idk {
    margin-top: 3%;
    margin-bottom: 3%;
    text-align: center;
    padding: 3%;
    font-family: Arial, Helvetica, sans-serif;
    width: 47vw;
    font-size: 2.5em;
    justify-items: center;
}

.idknow1 {
    font-size: 1.4em;
    margin-top: 3%;
    text-align: left;
    width: 100%;
    color: #000000;
}

.second-body-page {
    background: #ffffff;
    min-height: 150vh;
    justify-items: center;
}

.idknow2 {
    font-size: 1.15em;
    width: auto;
    height: auto;
    padding: 5%;
    margin-top: 5%;
}

.body-after-video {
    font-family: "Urbanist";
    min-width: 100vw;
    min-height: 55vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    background: hsl(0, 0%, 100%);
}

.body-after-video h3 {
    font-family: "Urbanist";
    margin: 4%;
    font-size: 1.6em;
    color: #1972CE;
}

.body-after-video h1 {
    text-align: center;
    font-size: 2.2em;
    font-family: "Urbanist";
}

.body-after-video p {
    color: #616464;
    font-family: "Urbanist";
    font-weight: 1000;
    margin-bottom: 3%;
    margin-top: 1%;
}

.big-boxx {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 0;
    width: 100%;
}

.boxxx1 {
    flex: 0 1 25%;
    max-width: 25%;
    min-width: 280px;
    height: 25vh;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 1px 1px 8px #555050;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
}


/* First line inside box */

.boxxx1 p:nth-child(1) {
    color: #000000;
    font-size: 2.5em;
    margin: 0;
}

.third-page-full {
    margin-top: 3%;
    align-content: center;
    justify-items: center;
    height: 250vh;
}

.third-page-container {
    flex: 1 1;
    align-items: center;
    gap: 4rem;
    flex-direction: column;
    flex-wrap: wrap;
    display: flex;
    height: 260vh;
    width: 95%;
}

.third-page-container1 {
    border-radius: 20px;
    word-wrap: wrap;
    display: flex;
    align-items: end;
    text-align: left;
    height: 55vh;
    padding: 20px;
    width: 100vw;
}

.a11111 {
    color: #2983D6;
    margin-bottom: 3%;
    font-size: 1.5em;
}

.hhh12 {
    text-align: center;
}

.asdasd {
    font-size: 1.3em;
}

.a423 {
    align-content: center;
    text-align: center;
    height: 70px;
    margin-bottom: 399px;
    font-size: 3em;
}

.a4213 {
    height: 10vh;
}

.third-page-container2 {
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 60vh;
    width: 90vw;
    padding: 20px;
    background: #f5f2f2;
}

.third-page-container3 {
    padding: 20px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60vh;
    width: 90vw;
    background: #f5f2f2;
}

.third-page-pic2 img {
    border-radius: 30px;
    width: 45vw;
}

.third-page-pic3 img {
    border-radius: 30px;
    width: 45vw;
}

.third-page-text1 p {
    margin-top: 22px;
}

.third-page-text1 h1 {
    width: 60vw;
    font-size: 2em;
}

.third-page-text2 h1 {
    font-size: 2.2em;
}

.third-page-text3 h1 {
    font-size: 2.2em;
}


/* Second line inside box */

.boxxx1 p:nth-child(2) {
    font-size: 1.1em;
    margin-top: 0.5rem;
}

@keyframes glow21 {
    0% {
        box-shadow: 0 0 0px blue, 0 0 0px blue;
    }
    50% {
        box-shadow: 0 0 3px #52ceff, 0 0 6px #52ceff, 0 0 9px #52ceff, 0 0 12px #2982d683;
    }
    100% {
        box-shadow: 0 0 0px blue, 0 0 0px blue;
    }
}

@media (max-width: 1000px) {
    .boxxx1 {
        flex: 0 1 80%;
        max-width: 80%;
    }
}

@media (max-width: 1700px) {}

@media (max-width: 1300px) {}

@media (max-width: 1000px) {}

@media (max-width: 350px) {}

@media (max-width: 950px) {}

@media (max-width: 750px) {
    #navigation-bar {
        height: 9vh;
        box-shadow: 0 0 3px gray, 0 0 7px gray;
    }
    .logo {
        font-size: 20px;
    }
    .mobile-audit-link {
        display: block;
        margin: 1rem 0;
        font-size: 1.2rem;
        color: white;
        text-decoration: none;
    }
    .desktop-audit-button {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .site-info,
    .contact-info {
        display: none;
    }
    .landing-page1 h1 {
        margin-top: 50%;
        font-size: 3rem;
    }
    .landing-page h1 {
        font-size: 2.5rem;
        text-shadow: 0 0 110px rgb(255, 255, 255);
    }
    .block {
        flex: 1 1 100%;
    }
}

@media (max-width: 842px) {
    .contact-info button {
        display: none;
    }
    .landing-page1 h1 {
        margin-top: 50%;
        font-size: 3rem;
    }
}

@media (max-width: 750px) {
    .sidebar.active~.content-body #but-1 {
        display: none;
    }
}


/* FIX: Navigation bar and layout responsiveness */

@media (max-width: 800px) {
    #navigation-bar {
        left: 50%;
        transform: translateX(-50%);
        width: 95vw;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .hamburger {
        position: absolute;
        left: 1rem;
    }
    .logo {
        width: 100%;
        text-align: center;
    }
}


/* FIX: Prevent horizontal scrollbars and preserve background video height */

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

.video-hero1 {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.video-hero1 video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.video-hero {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.video-hero video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.body-page3 {
    font-size: 3rem;
    position: fixed;
}


/* Responsive typography on landing page */

@media (max-width: 600px) {
    .landing-page1 {
        min-width: 100vw;
        min-height: 100vh;
        margin-top: 30%;
        font-size: 1rem;
    }
    .landing-page h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    .landing-page p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    .landing-page1 h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    .landing-page1 p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .about-img {
        float: none;
        width: 90%;
        max-width: 300px;
    }
    .about-text {
        padding-top: 1rem;
    }
}

@media (max-width: 600px) {
    .landing-page1 h4 {
        font-size: 0.7em;
        width: 100%;
    }
    #site2-page2 .idk {
        .second-body-page {
            height: auto;
        }
        
    }
    @media (max-width: 1200px) {
        .big-boxx {
            gap: 2em
        }
        .boxxx1 {
            width: 40vh;
        }
        .boxxx1 p:nth-child(1) {
            font-size: 3em;
        }
        .boxxx1 p:nth-child(2) {
            font-size: 1em;
        }
    }
    @media (max-width: 900px) {}
    @media (max-width: 750px) {}
    @media (max-width: 550px) {
        .landing-page1 h4 {
            font-size: 0.8em;
        }
    }
    @media (max-width: 600px) {
        #site2-page2 {
            overflow: hidden;
        }
    }
    @media (max-width: 700px) {
        .boxxx1 {
            width: 60vw;
            height: 30hw;
        }
        .big-boxx {
            height: 50vh;
            margin: 0;
            padding: 0;
            gap: 1em;
        }
        #copyright {
            display: none;
        }
        .third-page-container2 {
            display: flex;
            flex-direction: column;
        }
        .third-page-container3 {
            display: flex;
            flex-direction: column;
        }
        .third-page-pic2 img {
            width: 70vw;
        }
        .third-page-pic3 img {
            width: 70vw;
        }
        .third-page-text2 p {
            font-size: 1.1em;
            margin-top: 10px;
        }
        .third-page-text3 p {
            font-size: 1.1em;
            margin-top: 10px;
        }
        .third-page-text3 h1 {
            font-size: 1.4em;
        }
        .third-page-text2 h1 {
            font-size: 1.4em;
        }
        .third-page-container1 {
            height: 70vh;
        }
        .rr {
            height: 720px;
        }
        .asdasdas23 {
            justify-self: center;
            align-self: center;
            width: 100vw;
            text-align: center;
        }
        .a11111 {
            text-align: center;
        }
        .asdasd {
            text-align: center;
        }
    }
}

.page2-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    /* ✅ keep them centered in a max-width container */
    margin: 0 auto;
}

.page2-boxs {
    flex: 0 0 30%;
    /* ✅ exactly 3 boxes per row */
    max-width: 30%;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 1px 1px 10px gray;
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
    box-sizing: border-box;
    min-height: 40vh;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}


/* ✅ Two boxes per row on medium screens */

@media (max-width: 1000px) {
    .page2-boxs {
        flex: 0 0 45%;
        max-width: 45%;
    }
}


/* ✅ One box per row on small screens */

@media (max-width: 600px) {
    .page2-boxs {
        flex: 0 0 90%;
        max-width: 90%;
    }
    .third-page-container2 {
        display: flex;
        flex-direction: column;
    }
    .third-page-container3 {
        display: flex;
        flex-direction: column;
    }
    .third-page-text3 {
        text-align: center;
    }
    .third-page-text2 {
        text-align: center;
    }
}