*{
    margin:0;
    padding:0;
    font-family: "Instrument Sans",Arial;
    box-sizing: border-box;
}

body{
    overflow-x: hidden;
}
/* NAVBAR SECTION */
#navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

#nav-main-container {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-image: url('../ASSETS/Homepage/navbar-background-img.jpg');
    background-size: cover;
    background-position: center;
    max-width: 95%;
    border-radius: 45px;
    margin-bottom: 70px;
    padding: 20px;
}

#main-nav-bar {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    min-height: 75px;
    max-height: 50px;
    min-width: 90vw;
    max-width: 90vw;
    background-color: white;
    border-radius: 60px;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

#company-nav-link-elems {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    min-width: 50vw;
    font-weight: 500;
}

#navbar-right-elements {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.navbar-right-svg {
    height: 30px;
    width: auto;
    transition: 0.5s;
    padding: 0 10px;
}

.navbar-right-svg:hover {
    color: #007faf;
    stroke: #007faf;
}

.nav-link {
    text-decoration: none;
    color: black;
    transition: 0.5s;
}

.nav-link:hover {
    color: #007faf;
}

#navbar-text-main-cointainer {
    color: white;
    margin: 20px 0;
    text-align: left;
    padding: 0 8px;
}

#navbar-text-header {
    font-size: 75px;
    font-weight: 700;
}

#contact-us-page-address {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

#contact-us-page-origin-address {
    font-size: 14px;
}

#contact-us-page-address-svg {
    height: 12px;
    width: auto;
    flex-shrink: 0;
}

#contact-us-page-current-address {
    font-size: 14px;
}


/* ── LARGE MOBILE (480px) ── */
@media (max-width: 480px) {
    #nav-main-container {
        border-radius: 20px;
        margin-bottom: 30px;
        min-height: unset;
        min-width: 95vw;
        max-width: 95vw;
    }

    #main-nav-bar {
        min-width: 80vw;
        max-width: 80vw;
        border-radius: 50px;
        padding: 15px;
        max-height: unset;
    }

    #company-nav-link-elems {
        display: none;
    }

    #navbar-text-header {
        font-size: 36px;
    }

    #navbar-text-main-cointainer {
        margin: 20px 0;
        padding: 10px 8px;
    }

    #contact-us-page-origin-address,
    #contact-us-page-current-address {
        font-size: 11px;
    }

    #contact-us-page-address-svg {
        height: 10px;
    }
}


/* ── TABLET (768px) ── */
@media (min-width: 481px) and (max-width: 768px) {
    #nav-main-container {
        border-radius: 30px;
        margin-bottom: 40px;
        max-width: 90vw;
    }

    #main-nav-bar {
        min-width: 80vw;
        max-width: 80vw;
    }

    #company-nav-link-elems {
        display: none;
    }

    #navbar-text-header {
        font-size: 52px;
    }

    #navbar-text-main-cointainer {
        margin: 20px 0;
        padding: 10px 8px;
    }

    #contact-us-page-origin-address,
    #contact-us-page-current-address {
        font-size: 12px;
    }
}


/* ── SMALL DESKTOP / LAPTOP (1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {
    #navbar-text-header {
        font-size: 60px;
    }

    #main-nav-bar {
        max-width: 90%;
        min-width: 90%;
    }

    #navbar-text-main-cointainer {
        margin: 20px 0;
        padding: 10px 8px;
    }

    #company-nav-link-elems {
        font-size: 14px;
    }

    #contact-us-page-origin-address,
    #contact-us-page-current-address {
        font-size: 13px;
    }
}


/* ── LARGE DESKTOP (1280px) ── */
@media (min-width: 1025px) and (max-width: 1280px) {
    #navbar-text-header {
        font-size: 68px;
    }

    #contact-us-page-origin-address,
    #contact-us-page-current-address {
        font-size: 13px;
    }
}


/* ── XL DESKTOP (1281–1536px) ── */
@media (min-width: 1281px) and (max-width: 1536px) {
    #navbar-text-header {
        font-size: 80px;
    }

    #contact-us-page-origin-address,
    #contact-us-page-current-address {
        font-size: 14px;
    }
}


/* ── EXTRA LARGE (1537px+) ── */
@media (min-width: 1537px) {
    #nav-main-container {
        max-width: 95%;
    }

    #main-nav-bar {
        min-width: 90vw;
        max-width: 90vw;
    }

    #navbar-text-header {
        font-size: 90px;
    }

    .navbar-logo {
        height: 48px;
    }

    .navbar-right-svg {
        height: 34px;
    }

    #contact-us-page-origin-address,
    #contact-us-page-current-address {
        font-size: 16px;
    }

    #contact-us-page-address-svg {
        height: 14px;
    }
}

/* ── HAMBURGER BUTTON ── */
#hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 6px;
    flex-shrink: 0;
    z-index: 100;
}

#hamburger-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: #0b1628;
    border-radius: 2px;
    transition: 0.4s ease;
    transform-origin: center;
}

#hamburger-btn.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
#hamburger-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
#hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ── MOBILE DROPDOWN ── */
#main-nav-bar {
    position: relative;
}

#mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px;
    padding: 12px 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#mobile-menu .nav-link {
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: black;
    transition: background 0.2s, color 0.2s;
}

#mobile-menu .nav-link:hover {
    background: #f0f8fc;
    color: #007faf;
}

/* ── SHOW HAMBURGER AT MOBILE + TABLET ── */
@media (max-width: 480px) {
    #hamburger-btn {
        display: flex;
    }
    #company-nav-link-elems {
        display: none;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    #hamburger-btn {
        display: flex;
    }
    #company-nav-link-elems {
        display: none;
    }
}

/* SECTION - 1  */
#section-8-main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 60px 0px;
    padding: 0 20px; /* prevents content touching screen edges */
}

#section-8-headline {
    font-size: clamp(28px, 4.5vw, 55px); /* shrinks smoothly on small screens */
    font-weight: 600;
    max-width: 600px;
    text-align: center;
}

.section-8-review-stars-img {
    height: clamp(60px, 8vw, 100px);
    width: clamp(72px, 10vw, 120px);
    margin: clamp(-20px, -3vw, -40px) clamp(-6px, -1vw, -11px); /* fluid negative margins */
}

#section-8-reviews-container {
    display: flex;
    justify-content: center; /* center instead of space-evenly for better wrapping */
    flex-wrap: wrap;
    align-items: stretch; /* makes all cards same height in a row */
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.section-8-card {
    /* KEY FIX: replace fixed width/height with fluid sizing */
    width: clamp(260px, 28vw, 340px);
    min-height: 360px;
    height: auto; /* let content decide height, not a fixed value */
    background-color: #e8ecfa;
    padding: clamp(24px, 3vw, 40px);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-8-review-details-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-8-review-name {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
}

.section-8-date {
    font-size: clamp(13px, 1.4vw, 16px);
    color: rgb(114, 114, 114);
}

.section-8-review-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 600;
    padding: clamp(12px, 2vw, 20px) 0px;
}

.section-8-review-text {
    text-align: justify;
    color: rgb(114, 114, 114);
    font-size: clamp(13px, 1.3vw, 15px);
    line-height: 1.6;
}

/* Tablet — 2 cards per row */
@media (max-width: 900px) {
    .section-8-card {
        width: calc(50% - 15px); /* 2 per row accounting for the 30px gap */
        min-width: 240px;
    }
}

/* Mobile — 1 card per row */
@media (max-width: 560px) {
    #section-8-main-container {
        margin: 40px 0px;
        gap: 20px;
    }

    .section-8-card {
        width: 100%;
        min-height: unset;
        border-radius: 20px;
    }

    #section-8-reviews-container {
        gap: 20px;
    }
}

#review-page-img-div{
    width:98vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding:40px;
}

#review-page-collage-img{
    width:80%;
    height:auto;
    margin:auto 0;
}



