/* ============================= */
/*        Global Styles          */
/* ============================= */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    width: 100%;
    padding-top: 100px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


/* ============================= */
/*        Navbar / Header        */
/* ============================= */

@media (max-width: 950px) {
    .video-text h1 {
        font-size: 2rem;
    }
}


/* ============================= */
/*          Slideshow            */
/* ============================= */

.slideshow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 600px minmax(0, 1fr);
    width: 100%;
    height: 90vh;
}

.slide {
    width: 100%;
    height: 80%;
    position: relative;
}

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(40%);
}

.slide.video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ============================= */
/*     Slideshow Responsiveness  */
/* ============================= */

@media (max-width: 1050px) {
    .slideshow {
        display: flex;
        height: 80vh;
    }

    .slide {
        height: 100%;
    }

    .slide.photo {
        display: none;
    }

    .slide.video {
        display: block;
    }
}

@media (max-width: 600px) {
    .slideshow {
        grid-template-columns: 1fr;
        height: 80vh;
    }

    .slide.video {
        width: 100%;
    }

    .slide.photo {
        display: none;
    }
}


/* ============================= */
/*        Video Overlay          */
/* ============================= */

.slide.video::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}


/* ============================= */
/*      Video Text Content       */
/* ============================= */

.video-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    color: #fff;
    padding: 1rem;
    letter-spacing: 8px;
}

.video-text {
    margin-top: auto;
    margin-bottom: auto;
}

.video-text h1 {
    font-size: 2.2rem;
    margin: 0;
}

.video-text p {
    font-size: 1.4rem;
    margin: 0;
}


/* ============================= */
/*   Video Buttons & Divider     */
/* ============================= */

.video-bottom {
    width: 100%;
}

.video-button {
    width: 100%;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #FFFFFF;
    color: #000000;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 5px;
    letter-spacing: 3px;
    margin-top: 2.5rem;
    transition: background-color 0.3s;
    opacity: 0.75;
    z-index: 3;
}

.video-button:hover {
    background-color: #024371;
    color: #FFFFFF;
}

.video-divider {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    margin-top: 1rem;
    z-index: 3;
}


/* ============================= */
/*    Tablet/Mobile Video Adjustments   */
/* ============================= */

@media (max-width: 1050px) {
    .video-content {
        padding-bottom: 3rem;
    }

    .video-bottom {
        justify-content: flex-end;
    }
}

@media (max-width: 600px) {
    .video-content {
        padding-bottom: 3rem;
    }

    .video-bottom {
        justify-content: flex-end;
    }

    .video-button {
        margin-top: 2rem;
    }

    .video-divider {
        margin-top: 0.75rem;
    }

    .video-text h1 {
        font-size: 1.6rem;
        letter-spacing: 4px;
    }

    .video-text p {
        font-size: 1rem;
        letter-spacing: 3px;
    }
}


/* ============================= */
/*           Services            */
/* ============================= */

.services {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.services h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.services p {
    color: #555;
    margin: 0 auto;
    margin-bottom: 50px;
    line-height: 1.5;
    max-width: 350px;
}


/* ============================= */
/*        Services Grid          */
/* ============================= */

.services-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}


/* ============================= */
/*          Service Cards        */
/* ============================= */

.card {
    position: relative;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card:hover::before {
    background: rgba(0, 0, 0, 0);
}

.card:hover {
    transform: scale(1.01);
    transition: transform 0.3s ease;
}

.card-large {
    grid-row: span 2;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.5s ease;
}

.card span {
    position: relative;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    z-index: 1;
    text-decoration: underline;
}

/* ============================= */
/*   Services Responsiveness     */
/* ============================= */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .card-large {
        grid-column: span 2;
        grid-row: auto;
        height: 300px;
    }

    .card {
        height: 140px;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .card-large {
        grid-column: span 1;
        height: 250px;
    }

    .card {
        height: 220px;
    }
}


/* ============================= */
/*           Reviews             */
/* ============================= */

.reviews-container {
    background: #eee;
    text-align: center;
    padding: 48px 24px;
}

#reviews {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 16px 0;
}

.review {
    scroll-snap-align: start;
    text-align: center;
    min-width: 300px;
    max-width: 400px;
    /*background: #fff;*/
    border-radius: 16px;
    padding: 18px;
}

.review strong {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.review p {
    font-size: 14px;
    color: #444;
}

.stars {
    color: #0a1f44;
    font-size: 20px;
    letter-spacing: 3px;
}

/* ============================= */
/*     Reviews Responsiveness    */
/* ============================= */

@media (max-width: 1024px) {
    .reviews-container {
        padding: 40px 20px;
    }

    .review {
        min-width: 280px;
        max-width: 340px;
        padding: 16px;
    }

    .stars {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .reviews-container {
        padding: 32px 16px;
    }

    #reviews {
        gap: 12px;
    }

    .review {
        min-width: 85%;
        max-width: 85%;
        padding: 16px;
    }

    .review p {
        font-size: 13px;
    }

    .stars {
        font-size: 18px;
        letter-spacing: 2px;
    }
}


/* ============================= */
/*           About us            */
/* ============================= */

.about-us {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.about-us h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 35px;
}

.about-us .grid {
    display: grid;
    grid-template-columns: 0.5fr 0.5fr;
    align-items: center;
    text-align: center;
}

.about-us p {
    text-align: center;
    max-width: 400px;
}

.st-text {
    margin: auto;
    font-size: 20px;
    grid-column: 2;
    grid-row: 1;
}

.st-photo {
    grid-column: 1;
    grid-row: 1;
}

.nd-photo {
    grid-column: 2;
    grid-row: 2;
}

.nd-text {
    font-size: 20px;
    margin: auto;
    grid-column: 1;
    grid-row: 2;
}

.st-photo img,
.nd-photo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
}

@media (max-width: 1000px) {
    .about-us h1 {
        margin-bottom: 0px;
    }

    .st-text,
    .nd-text p {
        font-size: 15px;
        color: #555;
        margin-bottom: 0;
    }

    .about-us .grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
}

/* ============================= */
/*            Footer             */
/* ============================= */

.footer {
    background-color: #00215E;
    padding: 40px 80px;
    padding-bottom: 10px;
    color: #fff;
}

.footer h2,
.footer h3,
.footer p {
    margin: 0;
}

/* ================= DESKTOP ================= */
.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.left-footer {
    max-width: 300px;
}

.left-footer img {
    max-width: 50px;
}

.left-footer .title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.left-footer h2 {
    font-size: 22px;
    line-height: 1.2;
}

.left-footer p {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.middle-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.middle-footer h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.middle-footer p {
    font-size: 14px;
    line-height: 1.6;
}

.right-footer h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.right-footer p {
    font-size: 14px;
    line-height: 1.6;
}

.left-footer,
.middle-footer,
.right-footer {
    text-align: center;
}

.socials {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.socials img {
    width: 28px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.socials img:hover {
    transform: scale(1.1);
}

/* ================= MOBILE ================= */
.footer-container-mobile {
    display: none;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.footer-logo img {
    max-width: 120px;
    margin-bottom: 15px;
}

.footer-title {
    font-size: 26px;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-social img {
    width: 36px;
}

.footer-info {
    text-align: left;
}

.footer-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-info img {
    width: 18px;
}

/* ================= BOTTOM ================= */

.bottom-footer {
    margin-top: 25px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.bottom-footer p {
    font-size: 12px;
    opacity: 0.8;
}

/* ================= BREAKPOINT ================= */

@media (max-width: 970px) {
    .footer {
        padding: 40px 20px 20px;
    }

    .footer-container {
        display: none;
    }

    .footer-container-mobile {
        display: block;
    }
}