/* Base reset and container styles */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

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

/* Main container */
.box {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Hero section */
.box .hero-section {
    width: 100%;
    height: auto;
    min-height: 800px;
    position: relative;
    margin: 0;
    padding: 0;
}

.box .overlap-group {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 800px;
    margin: 0;
    padding: 0;
}


.box .overlay {
    position: absolute;
    width: 100%;
    height: 224px;
    top: 0;
    left: 0;
    background: linear-gradient(
        360deg,
        rgba(100, 191, 224, 1) 0%,
        rgba(182, 218, 232, 1) 100%
    );
    margin: 0;
    padding: 0;
}

/* Logo and navigation */
.box .logo {
    width: 151px;
    height: 47px;
    /*top: 19px;*/
    /*left: 340px;*/
    max-width: 40%;
}

/* Add this new navigation container */
.box .nav-container {
    /*position: absolute;*/
    /*top: 16px;*/
    /*right: 320px;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1150px;
}

/* Style for the login link */
.box .nav-login {
    font-family: Lato;
    font-weight: 500;
    color: #074b5d;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.box .text-wrapper {
    position: static;
    top: unset;
    right: unset;
    font-family: "Raleway-SemiBold", Helvetica;
    font-weight: 600;
    color: #074b5d;
    font-size: 18px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

/* Buttons */
.box .button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    position: static;
    top: unset;
    right: unset;
    border-radius: 80px;
    border: 1px solid;
    border-color: #074c5d;
}

.box .div {
    position: relative;
    width: fit-content;
    margin-top: -1px;
    font-family: Lato;
    font-weight: 500;
    color: #074c5d;
    font-size: 18px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}


.box .buton-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 80px;
    background: linear-gradient(
        90deg,
        rgba(246, 140, 31, 1) 0%,
        rgba(255, 215, 56, 1) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

.box .text-wrapper-2 {
    position: relative;
    width: fit-content;
    margin-top: -1px;
    font-family: "Raleway-SemiBold", Helvetica;
    font-weight: 600;
    color: #ffffff;
    font-size: 20px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}


/* Text content adjustments */
.box .title {
    position: absolute;
    top: 130px; /* Adjusted to match image positioning */
    left: 50%;
    transform: translateX(-50%);
    font-family: "Raleway-Bold", Helvetica;
    font-weight: 700;
    color: #042f39;
    font-size: clamp(28px, 5vw, 46px);
    text-align: center;
    letter-spacing: 0;
    line-height: 1.3;
    width: 90%;
    max-width: 900px; /* Adjusted to match width in image */
    white-space: normal;
}

.box .title_2 {
    font-family: Lato;
    font-weight: 500;
    left: 50%;
    color: #042f39;
    font-size: clamp(21px, 5vw, 35px);
    text-align: center;
    letter-spacing: 0;
    line-height: 1.3;
    width: 90%;
    max-width: 900px; /* Adjusted to match width in image */
    white-space: normal;
}

.box .subtitle {
    position: absolute;
    top: 260px; /* Adjusted to match image positioning */
    left: 50%;
    transform: translateX(-50%);
    font-family: Lato;
    font-weight: 500;
    color: #004759;
    font-size: clamp(16px, 3vw, 22px); /* Adjusted size */
    text-align: center;
    letter-spacing: 0;
    line-height: 1.5;
    width: 90%;
    max-width: 650px; /* Adjusted to match width in image */
}

.box .subtitle_2 {
    left: 50%;
    font-family: Lato;
    font-weight: 500;
    color: #004759;
    font-size: clamp(12px, 3vw, 16px);
    text-align: center;
    letter-spacing: 0;
    line-height: 1.5;
    width: 90%;
    max-width: 650px; /* Adjusted to match width in image */
}

/* Button positioning adjustment */
.box .buton-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 40px; /* Adjusted size */
    position: absolute;
    top: 345px; /* Adjusted position */
    left: 50%;
    transform: translateX(-50%);
    background-color: #f68c1f;
    border-radius: 80px;
    border: none;
    box-shadow: 0px 12px 20px #f68c1f61;
}


/* Image positioning fix for large screens */
.box .BG-image {
    position: absolute;
    width: 100%;
    height: auto;
    max-height: 1000px;
    top: 215px;
    left: 0;
    background-color: rgba(100, 191, 224, 1);
    object-position: center top;
}

.box .shape {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: -1px;
    left: 0;
    background-size: cover;
    margin: 0;
    padding: 0;
    z-index: 5;
}

/* Adjust hero section height to ensure full image is visible */
.box .hero-section,
.box .overlap-group {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 1200px; /* Increased to accommodate full image */
    margin: 0;
    padding: 0;
}

/* Content section */
.section_layout121 {
    position: relative;
    background-color: #ffffff;
    width: 100%;
    margin-top: -150px;
    padding-top: 1px;
    z-index: 0;
}

/* Media Queries */
/* For tablet and smaller desktops */
@media (max-width: 1479px) {
    .box .hero-section,
    .box .overlap-group {
        min-height: 1100px;
    }
}

@media (max-width: 1193px) {
    .box .hero-section,
    .box .overlap-group {
        min-height: 1000px;
    }
}

@media (max-width: 1100px) {
    .box .hero-section,
    .box .overlap-group {
        min-height: 950px;
    }
    html, body {
        width: 100% !important;
        overflow-x: hidden;
    }

    .box .nav-container {
        right: 40px;
        gap: 18px;
    }

    .box .nav-login,
    .box .text-wrapper {
        font-size: 16px;
    }

    .box .button-secondary {
        padding: 12px 24px;
    }

    .box .div {
        font-size: 16px;
    }

    .box .title {
        top: 180px;
    }

    .box .subtitle {
        top: 310px;
    }

    .box .buton-primary {
        top: 320px;
    }

    .box .logo {
        /*left: 40px;*/
    }
}

@media (max-width: 970px) {
    .box .hero-section,
    .box .overlap-group {
        min-height: 850px;
    }
    /* .box .subtitle {
        top: 225px;

    } */

}

@media (max-width: 890px) {
    .box .hero-section,
    .box .overlap-group {
        min-height: 800px;
    }

      .box .subtitle {
        top: 310px;

    }

}

@media (max-width: 768px) {
    .box .nav-container {
        right: 30px;
        gap: 15px;
    }

       .box .subtitle {
        top: 283px;

    }
    .box .buton-primary {
        top: 360px;
    }

    .box .nav-login,
    .box .text-wrapper {
        font-size: 16px;
    }

    .box .button-secondary {
        padding: 12px 24px;
    }

    .box .div {
        font-size: 16px;
    }

    .box .logo {
        /*left: 30px;*/
        width: 180px;
        height: auto;
    }
}

@media (max-width: 739px) {
    .box .hero-section,
    .box .overlap-group {
        min-height: 720px;
    }
}

@media (max-width: 655px) {
    .box .hero-section,
    .box .overlap-group {
        min-height: 670px;
    }

    .box .subtitle {
        top: 280px;

    }

}

/* For very small screens like mobile phones */
@media (max-width: 480px) {
    .box .nav-container {
        right: 20px;
        gap: 10px;
    }

    .box .nav-login,
    .box .text-wrapper {
        font-size: 14px;
    }

    .box .button-secondary {
        padding: 8px 16px;
    }

    .box .div {
        font-size: 14px;
    }



    .box .title {
        top: 130px;
        font-size: 22px;
        line-height: 1.3;
    }
    .box .title_2 {
        font-size: 18px;
        line-height: 1.3;
    }

    .box .subtitle {
        top: 220px;
        font-size: 16px;
        line-height: 1.4;
    }

    .box .subtitle_2 {
        font-size: 12px;
        line-height: 1.4;
    }

    .box .buton-primary {
        top: 300px;
        padding: 14px 28px;
    }

    .box .text-wrapper-2 {
        font-size: 16px;
    }

    .box .logo {
        width: 150px;
        height: auto;
        /*left: 20px;*/
    }
}


@media (max-width: 375px) {


    .box .logo {
        width: 120px;
        /*left: 15px;*/
        margin-top: 3px;
    }

}

/* For very small screens */
@media (max-width: 365px) {
    .box .nav-container {
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
        top: 15px;
    }

    .box .logo {
        width: 120px;
        /*left: 15px;*/
    }
    .box .subtitle {
    top: 230px;
    }

    .box .button-secondary {
        padding: 6px 12px;
    }

    .box .div {
        font-size: 13px;
    }
}
