*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    max-width: 100%;
}

img {
    max-width: 100%;
    width: 100%;
    height: 630px;
}

.logo {
    margin: 20px 15px;
    font-size: clamp(36px, 4.5vw, 64px);
    word-break: break-word;
}

.container {
    max-width: 100%;
    width: 100%;
    background-color: white;
}

/* IMAGE + TEXT EFFECT */
.section {
    position: relative;
}

/* IMAGE STAYS IN SAME POSITION */
.firstimg {
    position: sticky;
    width: 100%;
    top: 0px;
    height: 630px;
    z-index: 1;
    object-fit: cover;
    display: block;
}

.sticky-image {
    position: sticky;
    top: 0px;
    height: 630px;
    z-index: 1;
}

.sticky-image img {
    width: 100%;
    height: 630px;
    object-fit: cover;
    display: block;
}

/* WHITE TEXT COMES OVER IMAGE */
.secondinfo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 50px 100px;
    background-color: white;
}

.info {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 100px;
    padding: 50px 100px;
    background-color: white;
}

.info p {
    width: 75%;
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
}

.info .sev {
    font-size: 30px;
}

/* NAVBAR - PERFECTLY CENTERED */
nav {
    position: sticky;
    top: 0px;
    margin-top: 20px;
    padding-top: 20px;
    z-index: 1000;
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 4vw, 55px);
    padding-left: 20px;
    padding-right: 20px;
}

nav a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    margin: 0;
}

nav a:hover {
    color: grey;
    cursor: pointer;
}

nav hr {
    width: 100%;
    flex-basis: 100%;
    margin: 15px 0 0 0 !important;
    border: 0;
    border-top: 0.5px solid grey;
}

/* CONTACT INFO (DESKTOP & LAPTOP) */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 100px;
}

.contact-info p {
    width: auto;
    flex: 1;
    min-width: 220px;
}

.contact-info iframe {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    height: 250px;
    margin-left: 0 !important;
    border: 0;
}

/* FOOTER */
footer .info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 50px 100px;
}

footer .info p {
    width: auto;
    margin: 0;
}

.social {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.social a {
    margin-left: 0;
    display: inline-flex;
    align-items: center;
}

.social img {
    object-fit: contain;
}

.foot {
    position: relative;
    font-size: 25px;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 10px 100px;
    background-color: grey;
}

.foot p {
    margin: 0;
}

/* ===================================================
   TABLETS (768px – 1024px)
   =================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
    .logo {
        font-size: clamp(26px, 3.8vw, 38px);
        margin: 15px 20px;
    }

    nav {
        margin-top: 15px;
        padding-top: 15px;
        gap: clamp(15px, 3vw, 35px);
    }

    nav a {
        font-size: 16px;
        margin: 0;
    }

    nav hr {
        margin: 12px 0 0 0 !important;
    }

    img, .firstimg, .sticky-image, .sticky-image img {
        height: 480px;
        object-fit: cover;
    }

    .secondinfo {
        padding: 30px 40px;
    }

    .info {
        padding: 30px 40px;
        gap: 40px;
    }

    .info p {
        font-size: 16px;
    }

    .info .sev {
        font-size: 24px;
    }

    .contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr 1.2fr;
        gap: 25px;
        padding: 30px 40px;
    }

    .contact-info p {
        width: auto;
        min-width: 0;
    }

    .contact-info iframe {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        height: 250px;
        margin-left: 0 !important;
    }

    footer .info {
        padding: 20px 40px;
        gap: 15px;
    }

    footer .info p:first-child {
        font-size: 22px !important;
        flex: 1;
        min-width: 0;
    }

    .social {
        margin-left: 0;
        gap: 15px;
    }

    .social a:first-child img {
        width: 48px !important;
        height: 48px !important;
    }

    .social a:nth-child(2) img {
        width: 35px !important;
        height: 35px !important;
    }

    .social a:nth-child(3) img {
        width: 38px !important;
        height: 38px !important;
    }

    .foot {
        font-size: 18px;
        padding: 10px 40px;
    }
}

/* ===================================================
   LARGE PHONES (481px – 767px)
   =================================================== */
@media (min-width: 481px) and (max-width: 767px) {
    .logo {
        font-size: 22px;
        margin: 15px 15px;
        text-align: center;
    }

    nav {
        gap: 10px 20px;
        margin-top: 10px;
        padding-top: 12px;
        padding-left: 15px;
        padding-right: 15px;
    }

    nav a {
        margin: 0;
        font-size: 14px;
    }

    nav hr {
        margin: 10px 0 0 0 !important;
    }

    img, .firstimg, .sticky-image, .sticky-image img {
        height: 380px;
        object-fit: cover;
    }

    .secondinfo {
        padding: 20px 25px;
    }

    .info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 25px 25px;
    }

    .info p {
        width: 100%;
        font-size: 15px;
        line-height: 1.6;
    }

    .info p:first-child {
        width: 100%;
    }

    .info p:last-child {
        width: 100%;
    }

    .info .sev {
        font-size: 24px;
    }

    .contact-info {
        display: block;
        padding: 25px 25px;
    }

    .contact-info p {
        width: 100%;
        margin-bottom: 15px;
    }

    .contact-info iframe {
        width: 100%;
        max-width: 100%;
        height: 240px;
        margin-left: 0 !important;
    }

    footer .info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        gap: 15px;
    }

    footer .info p:first-child {
        font-size: 18px !important;
        flex: 1;
        min-width: 0;
    }

    .social {
        margin-left: auto;
        gap: 12px;
    }

    .social a:first-child img {
        width: 42px !important;
        height: 42px !important;
    }

    .social a:nth-child(2) img {
        width: 32px !important;
        height: 32px !important;
    }

    .social a:nth-child(3) img {
        width: 35px !important;
        height: 35px !important;
    }

    .foot {
        font-size: 14px;
        padding: 10px 25px;
    }
}

/* ===================================================
   MOBILE PHONES (320px – 480px)
   =================================================== */
@media (max-width: 480px) {
    .logo {
        font-size: clamp(12px, 3.8vw, 16px);
        margin: 12px 8px;
        text-align: center;
    }

    nav {
        gap: 8px 14px;
        margin-top: 5px;
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    nav a {
        margin: 0;
        font-size: 13px;
    }

    nav hr {
        margin: 8px 0 0 0 !important;
    }

    img, .firstimg, .sticky-image, .sticky-image img {
        height: 280px;
        object-fit: cover;
    }

    .secondinfo {
        padding: 15px 15px;
    }

    .info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px 15px;
    }

    .info p {
        width: 100%;
        font-size: 14px;
        line-height: 1.5;
    }

    .info p:first-child {
        width: 100%;
    }

    .info p:last-child {
        width: 100%;
    }

    .info .sev {
        font-size: 20px;
    }

    .contact-info {
        display: block;
        padding: 20px 15px;
    }

    .contact-info p {
        width: 100%;
        margin-bottom: 12px;
    }

    .contact-info iframe {
        width: 100%;
        max-width: 100%;
        height: 220px;
        margin-left: 0 !important;
    }

    footer .info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 15px 15px;
    }

    footer .info p:first-child {
        font-size: 17px !important;
        width: 100%;
    }

    .social {
        margin-left: 0;
        gap: 10px;
    }

    .social a:first-child img {
        width: 36px !important;
        height: 36px !important;
    }

    .social a:nth-child(2) img {
        width: 28px !important;
        height: 28px !important;
    }

    .social a:nth-child(3) img {
        width: 30px !important;
        height: 30px !important;
    }

    .foot {
        font-size: 12px;
        padding: 10px 15px;
        text-align: center;
        justify-content: center;
    }
}
