*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.NavBarContainer {
    background-color: rgba(255, 253, 247);
    display: flex;
    justify-content: space-between;
    padding: 2rem 5rem 2rem;
    border-bottom: solid 1px;
    position: relative;
    z-index: 1000;
}

.NavBarContainerRight {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 2rem;
}

.NavBarContainerLeft img {
    max-width: 200px;
}

.LoginButton {
    font-size: 1rem;
    margin-left: 1rem;
}

/* Hero Banner */

.HeroBanner {
    display: flex;
    flex-direction:column;
    background-color: rgba(217, 239, 255);

}
    .OurTeam {
        background-color: white;
        flex-direction: row;
        justify-content: space-between;
    }

    .FoundationBanner {
        align-items: left;
        padding: 3rem;
    }

.HeroTopBar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    padding-inline: 15rem;
    gap: 3rem;
    width: 100%;
    box-sizing: border-box;
    
}

.HeroTopBarText {
    font-size: 18px;
    font-family: Fraunces;
    color: rgb(84, 113, 138);
    white-space: nowrap;
    align-items: center;
    cursor: pointer;
}

.dropdownItem {
    position: relative;
    list-style-type: none;
}

.dropdownMenu {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 0;
    background-color: #ffffff; 
    list-style: none;
    padding: 10px 10px;
    padding-top: 5px;
    margin: 0px;
    min-width: 150px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05); 
    z-index: 100;
}

.arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #1e293b;
    border-bottom: 2px solid #1e293b;
    transform: rotate(-45deg); 
    transition: transform 0.3s ease; 
    margin-bottom: 2px; 
}

.dropdownItem:hover .dropdownMenu {
    display: block;
}

.dropdownItem:hover .arrow {
  transform: rotate(-135deg);
  margin-bottom: 4px; 
}

.dropdownMenu li {
    margin: 12px 0;
}

.dropdownMenu a {
    color: #5c4017; 
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: block;
}
/* Hero Banner px */

@media (max-width: 1440px ) {
    .HeroTopBar {
        gap: 2rem;
    }
}

@media (max-width: 1100px) {
    .HeroTopBar {
        gap: 1rem;
    }
}

/* Header */
.MiniHeader {
    display: flex;
    color: rgb(132, 166, 196);
    font-size: 14px;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-family: 'Tenor Sans', sans-serif; 
    letter-spacing: 0.1rem;
}

.GiantHeader {
    color: rgba(47, 72, 88);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    font-family: 'Fraunces';
    word-wrap: break-word;
    font-weight: 400;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0 60px 0;
}

.DescTextContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding-inline: 13.5rem;
    padding-top: 3rem;
    gap: 8.5rem;
}

    .alt {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        padding-inline: 20rem;
        padding-top: 1rem;
    }

.DescText {
    font-family: 'Tenor Sans', sans-serif; 
    font-size: 1.7rem;
    color: rgb(84, 113, 138);
}

.Divider {
  width: 2px;
  height: 4em;
  background-color: black;
}

.horizontal-line {
    border: none;               
    height: 1px;               
    background-color: #2f4858; 
    margin: 2rem 0;            
    width: 100%;                
}

@media (max-width: 1440px) {
    .DescTextContainer {
        padding-inline: 10rem;
        padding-top: 1.3rem;
        gap: 6rem;
    }
        .alt {
            padding-top: 2rem;
        }

    .DescText {
        font-family: 'Tenor Sans', sans-serif; 
        font-size: 1.2rem;
        color: rgb(84, 113, 138);
    }

    .Divider {
    width: 0.10rem;
    height: 4rem;
    background-color: black;
    }

}

@media (max-width: 1024px) {
    .DescTextContainer {
        padding-inline: 4rem;
        padding-top: 1rem;
    }
        .alt {
            padding-top: 2rem;
        }

    .DescText {
        font-family: 'Tenor Sans', sans-serif; 
        font-size: 1rem;
        color: rgb(84, 113, 138);
    }

    .Divider {
    width: 0.10rem;
    height: 4rem;
    background-color: black;
    }

}

.tempImage {
    width: 100%;       
    max-width: 1000px;  
    min-height: 550px;
    height: auto;      
    background-color: #e0e0e0;
    border-radius: 2rem;
    margin: 0 auto;    
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
    .teamImage {
        flex: 1;
        max-width: 50%;
        max-width: 800px;  
        min-height: 700px;
        margin: 3rem;
    }

    .HeroBannerImage {
        min-height: 550px;
        height: 300px; 
    }

.tempImage picture {
    display: block;
    width: 100%;
    height: 100%;
}

.imageFit {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    
}

@media (max-width: 1024px) {
    .tempImage {     
        max-width: 800px;  
        max-height: 400px;
    }
        .teamImage {
            max-width: 600px;  
            min-height: 550px;
        }
}

.HeroBannerButtonContainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
}

.my-button {
    display: inline-block;
    padding: 1rem 2rem;      
    font-size: 1.3rem;
    text-decoration: none;    
    cursor: pointer;            
    background-color: orange; 
    color: #ffffff;            
    border: none;               
    border-radius: 100px;         
}

    .alt2 {
        background-color: white;
        color: orange;
    }

/* Our team Stuff*/

.OurTeamDesc {
    display: flex;
    flex-direction: column;        
    flex: 1;
    max-width: 50%;
    padding: 1rem;
    padding-top: 6rem;
}

.TeamHeader {
    font-size: 4.5rem;
    font-weight: bold;
    color: rgb(84, 113, 138);
    word-spacing: 0.7rem;
    padding-bottom: 1rem;
    font-family: Fraunces;
}

.TeamDesc {
    color: rgb(79, 85, 90);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.TeamNames {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.team-member {
    color: rgb(79, 85, 90);
    font-size: 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/*Foundation*/

.FoundationText {
    font-size: 5rem;
    font-family: Fraunces;
}

.FoundationContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
}

.FoundationBoxContainer {
    display: flex;
    flex-direction: column;
    flex: 1 1;
    border: 2px solid black;
    border-radius: 3rem;
    width: 30vw;
    padding: 3rem;
    padding-bottom: 3.5rem; 
}

.FoundationBoxTop {
    display: flex;
    flex-direction: row;
    padding-bottom: 2.5rem; 
    justify-content: space-evenly;
    align-items: center;
}
.FoundationTitle {
    font-size: 2.5rem;
    font-family: Fraunces;
}

.Percent100 {
    font-size: 5rem;
    color: orange;
}

.FoundationBoxBottom {
    font-size: 1.7rem;
    color: rgb(84, 113, 138);
}

@media (max-width: 1700px) {
    .FoundationText {
        font-size: 4rem;
    }

    .FoundationTitle {
        font-size: 2rem;
    }

    .Percent100 {
        font-size: 4rem;
        color: orange;
    }

    .FoundationBoxBottom {
        font-size: 1.3rem;
        color: rgb(84, 113, 138);
    }
}

@media (max-width: 1440px) {
    .FoundationText {
        font-size: 3rem;
    }

    .FoundationTitle {
        font-size: 1.5rem;
    }

    .Percent100 {
        font-size: 3rem;
        color: orange;
    }

    .FoundationBoxBottom {
        font-size: 1.3rem;
        color: rgb(84, 113, 138);
    }

    .FoundationBoxContainer {
        min-height: 30vh;
    }

}

@media (max-width: 1200px) {
    .FoundationText {
        font-size: 2.5rem;
    }

    .FoundationTitle {
        font-size: 1.25rem;
    }

    .Percent100 {
        font-size: 2.5rem;
        color: orange;
    }

    .FoundationBoxBottom {
        font-size: 1.3rem;
        color: rgb(84, 113, 138);
    }

    .FoundationBoxContainer {
        min-height: 30vh;
    }

}

.ProfessionalMainContainer {
    display: flex;
    flex-direction: column;
    background-color: rgba(217, 239, 255);
}

.ProfessionalTitle {
    font-size: 5rem;
    padding: 5rem 3rem;
    font-family: Fraunces;
}

.OurServicesContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    margin: 3rem;
    padding: 3rem;
}

.OurServicesText {
    font-size: 2rem;
}

.OurServicesSubContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative
}

.cardImage {     
    width: 60%;  
    height: 30rem;    
    box-sizing: border-box;
    background-color: grey;
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    position: relative;
    margin-left: -1%;
    z-index: 1;
    overflow: hidden;
}

.cardDescContainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    margin-top: 3rem;
    width: 60%;
    height: 20rem;
    border: 1px solid lightgray;
    background-color: white;
    position: relative;
    margin-left: -5%;
    z-index: 2;
    border-radius: 1rem;
    padding: 2rem;
    row-gap: 1rem;
    align-items: flex-start;
}

.cardTitle {
    padding-top: 2rem;
    font-size: 2rem;
    color: rgb(84, 113, 138);
}

.cardText {
    font-size: 1rem;
    color: rgb(84, 113, 138);
}

.rectangleButton {
    display: inline-block;
    padding: 1rem 2rem;      
    font-size: 1.3rem;
    text-decoration: none;    
    cursor: pointer;            
    background-color: pink; 
    color: #ffffff;            
    border: none;       
}

/* Glaze Containers */

.GlazeContainer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    padding: 5rem 3rem;
}

.GlazeContainerTop {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.GlazeContainerBottom {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.GlazeBox {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    width: 40%;
    min-height: 22rem;;
    border: 1px solid black;
    background-color: white;
    border-radius: 1rem;
    padding: 3rem;
}

.GlazeText {
    font-size: clamp(1.5rem, 2.5vw, 4.5rem);
    line-height: 1;
    color: rgb(84, 113, 138);
}

.GlazeAuthor {
    font-size: clamp(1rem, 1.2vw, 3rem);
    font-family: sans-serif; 
    color: #7c8e9a;
}

.SpecialText {
    font-size: clamp(2rem, 5vw, 4rem);
}

.SpecialTextSmall {
    font-size: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 1250px) {
    .GlazeContainerTop {
        justify-content: center;
    }

    .GlazeBox {
        min-height: 15rem;;
    }

}

/* Form */

.FormPage {
    background-color: rgba(217, 239, 255); 
    padding: 60px 20px;
    font-family: sans-serif;
}

.FormContainer {
    display: flex;
    flex-direction: row;
    gap: 5rem;
    max-width: 75rem;
    margin: 0 auto;
    align-items: flex-start;
}

.FormBox {
    width: 55%;
    background-color: #fcfbfa; 
    border: 1px solid #b9cddc;
    border-radius: 2rem;
    padding: 4rem;
    box-sizing: border-box;
}

.FormTitle {
    font-family: 'Georgia', serif;
    color: #1e3d59;
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin: 0 0 2.5rem 0;
    font-weight: 500;
}

.FormSectionTitle {
    font-family: 'Georgia', serif;
    color: #54718a;
    font-size: 1.2rem;
    margin: 0 0 1.5rem 0;
    font-weight: 500;
}

.InputForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.FormFirstRow {
    display: flex;
    gap: 1.5rem;
}

    .FormFirstRow .InputGroup {
        flex: 1;
    }

.InputGroup {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

    .InputGroup label {
        color: #54718a;
        font-size: 0.85rem;
    }

.InputGroup input[type="text"],
.InputGroup input[type="email"],
.InputGroup textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #7c8e9a;
    border-radius: 0.5rem;
    background-color: #ffffff;
    font-size: 1rem;
    box-sizing: border-box;
}

.InputGroup textarea {
    height: 120px;
    resize: vertical;
    font-family: sans-serif;
}

/* Form Validation Styles (Red Fields) */
.InputGroup.error label {
    color: #c53030;
}
input.error-field {
    border-color: #e53e3e !important;
}
.error-msg {
    color: #e53e3e;
    font-size: 0.75rem;
    margin-top: 0.1rem;
}
.helper-msg {
    color: #a0aec0;
    font-size: 0.8rem;
}

.FormButton {
    background-color: #ff8b72;
    color: white;
    border: none;
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 2rem;
    cursor: pointer;
    margin-top: 1rem;
}

.InfoBox {
    width: 45%;
    color: #1e3d59;
    padding-top: 2rem;
}

.InfoHeader {
    font-family: 'Georgia', serif;
    font-size: 2.2rem;
    margin: 0 0 1.5rem 0;
    font-weight: 500;
}

.InfoDesc1 {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #54718a;
    margin: 0 0 2.5rem 0;
}

.InfoBoxSubContainer {
    margin-bottom: 1.8rem;
}

.InfoBoxSubContainer h4 {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #1e3d59;
    margin: 0 0 0.4rem 0;
}

.InfoBoxSubContainer p, 
.InfoBoxSubContainer a {
    font-size: 1.3rem;
    color: #54718a;
    margin: 0;
    text-decoration: none;
}

.waiver-title {
    font-family: 'Georgia', serif;
    color: #ff8b72; 
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    font-weight: 500;
}

.waiver-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #54718a;
    margin: 0;
}

@media (max-width: 900px) {
  .split-layout-container {
    flex-direction: column;
    gap: 40px;
  }
  .form-card-box, .info-content-box {
    width: 100%;
  }
  .form-card-box {
    padding: 2rem;
  }
  .form-row-two-col {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.carouselContainer {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.carouselContainer.dragging {
    cursor: grabbing;
}

.carouselLine {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 550px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.carouselLine.no-transition {
    transition: none;
}

.carouselCards {
    flex: 0 0 19%;
    height: 85%;
    border-radius: 2rem;
    overflow: hidden;
    opacity: 0.5;
    transform: scale(0.9);
    transition: transform 0.5s ease, opacity 0.5s ease;
    pointer-events: none; /* prevent image drag interference */
}

.carouselCards.active {
    flex: 0 0 60%;
    height: 100%;
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.navButton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e0e0e0;
    width: 45px;
    height: 45px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.prevButton { left: 18%; z-index: 10; } 
.nextButton { right: 18%; z-index: 10; }

.social-icons {
    display: flex;
    padding: 5px;
    gap: 1rem
}

.LMButton {
    color: #1E1A3C;
    margin-top: 30px;
    font-size: 1.3rem;
}

/* Unused */
.MainFooterContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 0 30px 0;
}

.FooterContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
    width: 100%;
    margin: 0 auto;
    max-width: 75rem;
}

.FooterDescBox {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.FooterText {
    font-family: Fraunces;
    font-size: 20px;
    line-height: 1.3;
    color: #54718a;
    margin: 0 0 1rem 0;
}

.FooterSubText {
    font-family: Fraunces;
    color: #54718a;
    font-size: 20px;
    line-height: 1.4;
    margin: 0;
    max-width: 280px;
}

.icon {
    margin-right: 10px;
    font-size: 1rem;
    color: #1e3d59;
}

.FooterContacts {
    font-family: sans-serif;
    font-size: 0.9rem;
    color: #1e3d59;
    text-decoration: none;
}

.FooterIconBox {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: row;
}

.CallingContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap:80px;
}

.DescText {
    font-family: 'Tenor Sans', sans-serif; 
    font-size: 20px;
    color: rgb(84, 113, 138);
}

/*Our services */

.section {
    width: 100%;
    max-width: 100%;
    background-color: white;
    padding: 4rem 3rem;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-family: Fraunces;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: #1a2e3b;
    letter-spacing: -0.02em;
}

.section-header p {
    margin-top: 0.5rem;
    font-size: 15px;
    color: #6b8090;
}

/* Scroll container */
.scroll-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.scroll-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 4px 20px;
    cursor: grab;
    user-select: none;
}

.scroll-track:active { cursor: grabbing; }

.scroll-track::-webkit-scrollbar { height: 4px; }
.scroll-track::-webkit-scrollbar-track { background: #d6e4ed; border-radius: 2px; }
.scroll-track::-webkit-scrollbar-thumb { background: #c0663a; border-radius: 2px; }

/* Card */
.cardServices {
    flex: 0 0 260px;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    opacity: 1;
    transform: translateY(20px);
}
/*dk why ts aint working, temp fix opacity set 1 */
.cardServices.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.25s ease;
}

.cardServices:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.11);
}

.cardServicesimage {
    width: 100%;
    height: 175px;
    object-fit: cover;
    display: block;
    background: #c9dde8;
}

/* Placeholder image using a colored gradient + icon */
.cardServicesimage-placeholder {
    width: 100%;
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
}

.cardServicesbody {
    padding: 18px 20px 20px;
}

.cardServicestitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a2e3b;
    margin-bottom: 4px;
}

.cardServicessub {
    font-size: 13px;
    color: #7a94a3;
    margin-bottom: 16px;
    line-height: 1.5;
}

.cardServicesbtn {
    display: inline-block;
    background: #c0663a;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 9px 22px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    text-decoration: none;
}

.cardServicesbtn:hover { background: #a8522c; transform: scale(1.03); }
.cardServicesbtn:active { transform: scale(0.97); }

/* Nav arrows */
.nav-arrows {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #c0663a;
    background: transparent;
    color: #c0663a;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.arrow-btn:hover { background: #c0663a; color: #fff; }

/* Progress dots */
.dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ccd9e0;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: #c0663a;
    transform: scale(1.3);
}

/* hamburger */
.NavHamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.NavHamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: rgb(84, 113, 138);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.NavHamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.NavHamburger.open span:nth-child(2) {
    opacity: 0;
}
.NavHamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 768px) {

    /* --- Navbar --- */
    .NavBarContainer {
        padding: 1.25rem 1.5rem;
        flex-wrap: wrap;
        align-items: center;
    }

    .NavBarContainerLeft img {
        max-width: 130px;
    }

    .NavHamburger {
        display: flex;
    }

    .HeroTopBar {
        position: fixed;
        top: 0;
        left: 0;
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        padding: 0;
        padding-inline: 0;
        gap: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh; /* accounts for mobile browser chrome */
        background-color: #fffdf7;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        z-index: 999;
    }

    .HeroTopBar.MobileNavOpen {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 6rem 1.5rem 2rem;
    }

    /* Prevent the page behind the menu from scrolling while it's open */
    body.NavMenuOpen {
        overflow: hidden;
    }

    .HeroTopBarText {
        white-space: normal;
        font-size: 16px;
        justify-content: flex-start;
        padding: 0.85rem 0;
        border-bottom: 1px solid #eee;
    }

    .HeroTopBar li.dropdownItem {
        width: 100%;
    }

    /* Dropdowns become inline/expanded instead of hover-floating */
    .dropdownMenu {
        display: none;
        position: static;
        box-shadow: none;
        padding: 0 0 0 1rem;
        min-width: 0;
        background-color: rgb(255, 253, 247);
    }

    .dropdownItem.MobileDropdownOpen .dropdownMenu {
        display: block;
        
    }

    .dropdownMenu li {
        margin: 10px 0;
    }

    .dropdownMenu a {
        font-size: 14px;
    }

    /* Hover behavior doesn't apply on touch; disable it at this width */
    .dropdownItem:hover .dropdownMenu {
        display: none;
    }

    .dropdownItem.MobileDropdownOpen:hover .dropdownMenu,
    .dropdownItem.MobileDropdownOpen .dropdownMenu {
        display: block;
    }

    /* --- Hero Banner / Header text --- */
    .GiantHeader {
        font-size: 2rem;
        padding: 10px 1.5rem 40px;
        max-width: 100%;
    }

    .MiniHeader {
        font-size: 12px;
        padding: 1rem;
        text-align: center;
    }

    .DescTextContainer,
    .alt {
        flex-direction: column;
        padding-inline: 1.5rem;
        gap: 1.5rem;
        text-align: center;
    }

    .Divider {
        width: 60%;
        height: 1px;
    }

    /* --- Hero Carousel --- */
    .carouselLine {
        height: 280px;
        gap: 10px;
    }

    .carouselCards {
        flex: 0 0 60%;
    }

    .carouselCards.active {
        flex: 0 0 85%;
    }

    .prevButton { left: 4%; }
    .nextButton { right: 4%; }

    .HeroBannerButtonContainer {
        padding: 1.5rem;
        gap: 1rem;
    }

    .my-button {
        font-size: 1.05rem;
        padding: 0.85rem 1.5rem;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* --- Our Team / Our Approach (image + text rows) --- */
    .OurTeam {
        flex-direction: column;
    }

    .tempImage {
        margin-top: 1.5rem;
        min-height: 280px;
    }

    .teamImage {
        max-width: 100%;
        width: calc(100% - 2rem);
        min-height: 280px;
        margin: 1.5rem auto 0;
    }

    .OurTeamDesc {
        max-width: 100%;
        padding: 1.5rem;
        padding-top: 2rem;
        text-align: left;
    }

    .TeamHeader {
        font-size: 2.2rem;
        word-spacing: 0.3rem;
    }

    .TeamDesc {
        font-size: 1.05rem;
    }

    .team-member {
        font-size: 1rem;
    }

    /* --- Foundation of Success --- */
    .FoundationBanner {
        padding: 2rem 1.5rem;
    }

    .FoundationText {
        font-size: 2rem;
        text-align: center;
    }

    .FoundationContainer {
        flex-direction: column;
        gap: 1.5rem;
    }

    .FoundationBoxContainer {
        width: 100%;
        height: auto;
        padding: 2rem;
        border-radius: 1.5rem;
    }

    .FoundationTitle {
        font-size: 1.4rem;
    }

    .FoundationBoxBottom {
        font-size: 1.05rem;
    }

    /* --- Our Services cards --- */
    .section {
        padding: 2.5rem 1.25rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .cardServices {
        flex: 0 0 70%;
    }

    /* --- Glaze testimonials --- */
    .GlazeContainer {
        padding: 2.5rem 1.25rem;
    }

    .GlazeBox {
        width: 100%;
        min-height: auto;
        padding: 1.75rem;
    }

    .GlazeText {
        font-size: 1.3rem;
    }

    /* --- Booking Form --- */
    .FormPage {
        padding: 2.5rem 1rem;
    }

    .FormContainer {
        flex-direction: column;
        gap: 2rem;
    }

    .FormBox,
    .InfoBox {
        width: 100%;
        padding: 2rem;
        box-sizing: border-box;
    }

    .FormFirstRow {
        flex-direction: column;
        gap: 1rem;
    }

    .FormTitle {
        font-size: 1.7rem;
    }

    .InfoHeader {
        font-size: 1.6rem;
    }

    /* --- Footer --- */
    .FooterContainer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        align-items: center;
        padding: 0 1.5rem;
    }

    .FooterDescBox {
        width: 100%;
        max-width: 320px;
    }

    .Topbar {
        align-items: center;
        text-align: center;
    }

    .TopBaritem {
        justify-content: center;
        margin-left: 0 !important;
    }

    .address-line {
        justify-content: center;
        text-align: center;
    }

    .social-row {
        justify-content: center;
    }

    .MainFooterContainer {
        padding: 40px 0 24px 0;
    }
}

@media (max-width: 480px) {

    .NavBarContainer {
        padding: 1rem;
    }

    .NavBarContainerLeft img {
        max-width: 100px;
    }

    .GiantHeader {
        font-size: 1.6rem;
        padding-bottom: 30px;
    }

    .carouselLine {
        height: 200px;
    }

    .carouselCards.active {
        flex: 0 0 92%;
    }

    .carouselCards {
        flex: 0 0 0%;
    }

    .navButton {
        width: 36px;
        height: 36px;
    }

    .TeamHeader {
        font-size: 1.8rem;
    }

    .FoundationBoxContainer {
        padding: 1.5rem;
    }

    .FoundationTitle {
        font-size: 1.2rem;
    }

    .GlazeText {
        font-size: 1.1rem;
    }

    .FormBox,
    .InfoBox {
        padding: 1.5rem;
    }

    .FooterText {
        font-size: 17px;
    }

    .FooterDescBox img {
        max-width: 140px;
    }

    .contact-pill {
        font-size: 12px;
        padding: 5px 12px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

}

@media (max-width: 480px) {
    .mobileTemp {
        flex:0;
    }
}

@media (max-height: 500px) and (orientation: landscape) {

    /* --- Navbar --- */
    .NavBarContainer {
        padding: 0.75rem 1.5rem;
    }

    .NavBarContainerLeft img {
        max-width: 110px;
    }

    .HeroTopBar {
        padding: 6rem 1.5rem 1.5rem;
    }

    /* --- Hero Banner / Header text --- */
    .GiantHeader {
        font-size: 1.6rem;
        padding: 10px 1.5rem 24px;
        max-width: 100%;
    }

    .MiniHeader {
        font-size: 12px;
        padding: 0.5rem;
    }

    .DescTextContainer,
    .alt {
        flex-direction: column;
        padding-inline: 1.5rem;
        gap: 1rem;
    }

    /* --- Hero Carousel --- */
    .carouselLine {
        height: 180px;
        gap: 10px;
    }

    .carouselCards {
        flex: 0 0 50%;
    }

    .carouselCards.active {
        flex: 0 0 80%;
    }

    .HeroBannerButtonContainer {
        padding: 1rem;
        gap: 1rem;
    }

    .my-button {
        font-size: 1rem;
        padding: 0.7rem 1.4rem;
    }

    /* --- Our Team / Our Approach (image + text rows) --- */
    .OurTeam {
        flex-direction: column;
    }

    .tempImage,
    .teamImage {
        margin-top: 1rem;
        min-height: 220px;
        max-width: 100%;
        width: calc(100% - 2rem);
        margin-left: auto;
        margin-right: auto;
    }

    .OurTeamDesc {
        max-width: 100%;
        padding: 1rem 1.5rem;
        padding-top: 1rem;
        text-align: left;
    }

    .TeamHeader {
        font-size: 1.8rem;
        word-spacing: 0.3rem;
        padding-bottom: 0.5rem;
    }

    .TeamDesc {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .team-member {
        font-size: 0.9rem;
    }

    /* --- Foundation of Success --- */
    .FoundationBanner {
        padding: 1.5rem;
    }

    .FoundationText {
        font-size: 1.6rem;
        text-align: center;
    }

    .FoundationContainer {
        flex-direction: column;
        gap: 1rem;
    }

    .FoundationBoxContainer {
        width: 100%;
        min-height: 0;
        height: auto;
        padding: 1.25rem;
        border-radius: 1.5rem;
    }

    .FoundationTitle {
        font-size: 1.15rem;
    }

    .FoundationBoxBottom {
        font-size: 0.95rem;
    }

    /* --- Our Services cards --- */
    .section {
        padding: 1.5rem 1.25rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .cardServices {
        flex: 0 0 55%;
    }

    /* --- Glaze testimonials --- */
    .GlazeContainer {
        padding: 1.5rem 1.25rem;
    }

    .GlazeContainerTop {
        flex-direction: column;
    }

    .GlazeBox {
        width: 100%;
        min-height: auto;
        padding: 1.25rem;
    }

    .GlazeText {
        font-size: 1.1rem;
    }

    /* --- Booking Form --- */
    .FormPage {
        padding: 1.5rem 1rem;
    }

    .FormContainer {
        flex-direction: column;
        gap: 1.5rem;
    }

    .FormBox,
    .InfoBox {
        width: 100%;
        padding: 1.5rem;
    }

    .FormFirstRow {
        flex-direction: column;
        gap: 0.75rem;
    }

    .FormTitle {
        font-size: 1.4rem;
    }

    .InfoHeader {
        font-size: 1.3rem;
    }

    /* --- Footer --- */
    .FooterContainer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        align-items: center;
    }

    .FooterDescBox {
        width: 100%;
        max-width: 320px;
    }
    
    .Topbar {
        align-items: center;
        text-align: center;
    }

    .TopBaritem {
        justify-content: center;
        margin-left: 0 !important;
    }
}