* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-color-one: #0DBDAD;
    --orange-color-one: #F7921E;
    --dark-green-one: #023442;
    --white-color-one: #FFFFFF;
    --light-green-one: #EFF6EC;
    --light-grey-one: #d9d9d9;
    --spacing-large: 2rem;
}

/*header*/
h1, h2{
    font-family: "Raleway", sans-serif;
}

h3, h4, h5, h6, li {
    font-family: "Raleway", sans-serif;
}

p, label, a {
    font-family: "Outfit", sans-serif;
}

/* Font Sizes */

h1 {
    font-size: clamp(1.7rem, 1.199rem + 3.209vw, 2.4rem);;
}
h2 {
    font-size: clamp(1.5rem, 1.07rem + 2.751vw, 2.1rem)
}

h3 {
    font-size: clamp(1.3rem, 0.942rem + 2.292vw, 1.8rem)
}

h4 {
    font-size: clamp(1rem, 0.642rem + 2.292vw, 1.5rem);
}

li, a, p, h6{
    font-size: clamp(1rem, 0.8rem + 1vw, 1.2rem);
}

p {
    font-weight: 300;
}

h6 {
    font-weight: 500;
}

body h2, body h3, footer h4, footer h6 {
    color: var(--dark-green-one);
}

.flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flex-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

a {
    text-decoration: none;
}



/*header*/
header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    position: absolute;
    z-index: 200;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 5rem;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.logo-box img {
    width: 7rem;
    margin-left: 1rem;
}

/* Hide the actual checkbox */
#menu-toggle {
    display: none;
}

/* Hamburger menu icon styling */
.menu-icon {
    cursor: pointer;
    display: inline-block;
    padding: 1rem;
}

.menu-icon .line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

/* Mobile menu styling */
.menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 5rem;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.menu li {
    list-style: none;
    padding: 10px 0;
}

.menu li a {
    color: white;
    text-decoration: none;
}

.menu li a:hover {
    color: orange;
    background-color: var(--dark-green-one);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

/* Show menu when checkbox is checked */
#menu-toggle:checked + .menu-icon + .menu {
    display: flex;
}

/*hero section*/

.hero {
    position: relative;
    background-image: url("images/background4.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    justify-content: flex-start;
    padding-top: 30vh;
    padding-bottom: 30vh;
}

.hero-title h1 {
    display: inline-block;
    width: 60vw;
    text-align: center;
}

.hero-title h1 span {
    color: var(--white-color-one);
}

.hero-title h2  {
    color: var(--orange-color-one);
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 4s steps(40, end), blink-caret 0.75s step-end infinite ;
    animation-iteration-count: infinite;
    width: 10ch;
    max-width: 100%;
    box-sizing: border-box;
    color: var(--orange-color-one);
    font-weight: 1000;
    text-shadow: 1px 1px var(--white-color-one);
}

@keyframes typing {
    from { width: 0; }
    to { width: 10ch; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: black; }
}

/*section one*/

.section-one {
    margin-top: -5vh;
}
.sc-div1 img {
    width: 90vw;
    z-index: 2;
    height: auto;
}

.sc-div2 {
    padding: var(--spacing-large);
}

.sc-div2 h2 {
    margin-bottom: 1rem;
    text-align: center;
}

/*section-two*/
.section-two {
    flex-direction: column-reverse;
    padding: var(--spacing-large);
}

.sc-two-div1 img {
    width: 100vw;
}

.sc-two-div2 {
    padding: var(--spacing-large);
    gap: 1rem;
}

/*section-three*/

.section-three {
    background-color: var(--light-green-one);
}

.section-three , .sc-three-div1{
    padding: 4rem 2rem;
    gap: 1rem;
}

.sc-three-div1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.section-three img {
    width: 100%;
    transition: filter 0.3s ease;
}

.section-three img:hover {
    filter: brightness(130%) grayscale(70%);
}

.sc-three-div1 p {
    width: 70vw;
}

.sc-three-div2 {
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, auto);
    gap: 8px;
    padding: 2rem;

}

.div3 {
    grid-column: span 2 / span 2;
    grid-row-start: 2;
}

.div8 {
    grid-column: span 2 / span 2;
    grid-row-start: 6;
}

.div4 {
    grid-row-start: 3;
}

.div5 {
    grid-row-start: 3;
}

.div6 {
    grid-column: span 2 / span 2;
    grid-row-start: 4;
}

.div7 {
    grid-column: span 2 / span 2;
    grid-row-start: 5;
}




/*SECTION FOUR*/
.section-four {
    background-image: url("images/background5.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 2rem;
    margin-bottom: 1rem;
}

.sc4-div1 {
    padding: 3rem 1rem;
}

.sc4-div1 h4 {
    color: var(--dark-green-one);
}

.sc4-div1 h1 {
    color: var(--white-color-one);
}


.ssc3-div2-box {
    background-color: var(--light-green-one);
}

.sc3-div2-box p {
    color: var(--dark-green-one);
}

.sc3-div1 h4, .sc3-div2-box h4 {
    color: var(--orange-color-one);
}

.sc3-div2 {
    width: 100%;
    gap: 2rem;
}

.sc3-div2-box {
    width: 90%;
    border: 1px solid var(--orange-color-one);
    padding: 1rem;
    gap: 1rem;
    background-color: var(--white-color-one);
}

.sc3-div2-box:hover {
    border: 5px solid var(--orange-color-one);
}

.button-design {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.8rem;
    background: var(--green-color-one);
    border-radius: 5px;
    opacity: 1;
    transition: 0.3s;
}

.button-design:hover {
    opacity: 0.5;
}

.book-now {
    padding: 6rem;
    gap: 1rem;
    background-color: var(--light-green-one);
    text-align: center;
}

.book-now a {
    color: var(--white-color-one);
}

/*footer section*/
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

footer {
    flex-direction: column;
}


/*accreditation*/
.accreditation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto auto;
    gap: 20px;
    width: 100%;
    padding: var(--spacing-large);
    justify-content: center;
    align-items: center;
}

.right-div {
    margin-left: 0;
    text-align: left;
}

.left-div {
    margin-right: 0;
    text-align: right;
}

.accreditation img {
    width: 25vw;
}

/*more information*/
.company-info {
    padding: var(--spacing-large);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr 1fr;
    gap: 2rem;
}

.footer-a-tag {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.company-info h4 {
    color: var(--orange-color-one);
}

.more-info, .services {
    justify-self: stretch;
    margin-left: 3rem;
}

.address, .disclaimer, .copyright-div{
    padding: var(--spacing-large);
    text-align: center;
}

.copyright-div {
    background-color: black;
    width: 100%;
}

.copyright-div h4 {
    color: var(--white-color-one);
}

.payment-list {
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.payment-options div img {
    width: 50px;
}





/* Medium devices (tablets, 600px to 899px) */
@media (min-width: 600px) and (max-width: 899px) {
    /* Styles for medium screens */
    h1 {
        font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    }

    h2 {
        font-size: clamp(1.6rem, 0.195rem + 3.746vw, 2.3rem);
    }

    h3 {
        font-size: clamp(1.5rem, 0.497rem + 2.676vw, 2rem);
    }

    h4 {
        font-size: clamp(1.1rem, 0.097rem + 2.676vw, 1.6rem);
    }

    .section-two{
        flex-direction: column-reverse;
        padding-left: 3vw;
        padding-right: 3vw;
        gap: 1rem;
        margin-top: 5vh;
    }

    .sc-two-div1 img {
        width: 100vw;
    }
}

/* Large devices (desktops, 900px to 1199px) */
@media (min-width: 900px) and (max-width: 1199px) {
    /* Styles for large screens */
    h1 {
        font-size: clamp(2.3rem, -0.409rem + 4.816vw, 3.2rem);
    }

    li, a {
        font-size: clamp(1.2rem, 1rem + 0.9vw, 1.4rem);
    }

    h2 {
        font-size: clamp(1.8rem, -1.06rem + 5.084vw, 2.75rem);
    }

    h4 {
        font-size: clamp(1.1rem, -0.104rem + 2.14vw, 1.5rem);
    }


    /*navigation menu*/
    .nav-bar {
        flex-direction: row;
        justify-content: space-between;
        padding: var(--spacing-large);
    }

    .menu {
        display: flex;
        position: static;
        flex-direction: row;
        justify-content: space-around;
        width: auto;
        gap: 1.5rem;
        background-color: transparent;
    }

    .menu li {
        padding: 0.5rem;
    }

    .menu-icon {
        display: none;
    }

    /*section-one*/
    .section-one {
        flex-direction: row;
        padding-left: 5vw;
        padding-right: 5vw;
        gap: 1rem;
    }

    .sc-div1 img {
        height: 60vh;
        width: auto;
    }

    /*    section two*/

    .section-two{
        flex-direction: row;
        padding-left: 7vw;
        padding-right: 7vw;
        margin-top: 5vh;
    }

    .sc-two-div1 img {
        width: 60vw;
        z-index: 5;
    }

    .sc-three-div2 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: auto;
        gap: 8px;
        grid-template-areas:
        "div1 div2 div6 div5"
        "div1 div2 div4 div5"
        "div1 div2 div4 div5"
        "div3 div3 div4 div7"
        "div3 div3 div8 div8";
    }

    .div1 {
        grid-area: div1;

    }

    .div2 {
        grid-area: div2; /* div2 is not directly mapped to grid-template-areas; please assign as needed */
    }

    .div3 {
        grid-area: div3;
        align-self: end;
    }

    .div4 {
        grid-area: div4;

    }

    .div5 {
        grid-area: div5;
    }

    .div6 {
        grid-area: div6;
    }

    .div7 {
        grid-area: div7;
    }

    .div8 {
        grid-area: div8;
    }

    /*    section-four*/
    .sc3-div2 {
        flex-direction: row;
    }

    .sc3-div2-box {
        background-color: var(--white-color-one);
        width: 25vw;
        height: 45vh;
    }

    .sc3-div2-box p {
        font-size: 1rem;
    }

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Styles for extra-large screens */
    h1 {
        font-size: clamp(2.5rem, 0.625rem + 2.5vw, 3.75rem);
    }

    li, a {
        font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem);
    }

    h2 {
        font-size: clamp(2rem, 0.5rem + 2vw, 3rem);
    }

    h4 {
        font-size: clamp(1.2rem, 0.6rem + 0.8vw, 1.6rem);
    }

    /*navigation menu*/
    .nav-bar {
        flex-direction: row;
        justify-content: space-between;
        padding: var(--spacing-large);
    }

    .menu {
        display: flex;
        position: static;
        flex-direction: row;
        justify-content: space-around;
        width: auto;
        gap: 1.5rem;
        background-color: transparent;
    }

    .menu li {
        padding: 0.5rem;
    }

    .menu-icon {
        display: none;
    }


    .section-one {
        flex-direction: row;
        padding-left: 20vw;
        padding-right: 20vw;
        gap: 4rem;
    }

    .sc-div1 img {
       height: 80vh;
        width: auto;
    }

    /*section 2*/

    .sc-div2 {
        padding: var(--spacing-large);
    }

    .sc-div2 h2 {
        color: var(--dark-green-one);
        width: 30vw;
    }

/*    section two*/

    .section-two{
        flex-direction: row;
        padding-left: 10vw;
        padding-right: 10vw;
        gap: 4rem;
        margin-top: -5vh;
    }


    .sc-two-div1 img {
        width: 50vw;
        z-index: 5;
        margin-top: -20vh;
    }

    /*section-three*/
    .sc-three-div2 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: auto;
        gap: 8px;
        grid-template-areas:
        "div1 div2 div6 div5"
        "div1 div2 div4 div5"
        "div1 div2 div4 div5"
        "div3 div3 div4 div7"
        "div3 div3 div8 div8";
    }

    .div1 {
        grid-area: div1;

    }

    .div2 {
        grid-area: div2; /* div2 is not directly mapped to grid-template-areas; please assign as needed */
    }

    .div3 {
        grid-area: div3;
        align-self: end;
    }

    .div4 {
        grid-area: div4;

    }

    .div5 {
        grid-area: div5;
    }

    .div6 {
        grid-area: div6;
    }

    .div7 {
        grid-area: div7;
    }

    .div8 {
        grid-area: div8;
    }


/*    section-four*/
    .sc3-div2 {
        flex-direction: row;
    }

    .sc3-div2-box {

        width: 25vw;
        height: 35vh;
    }

    /*footer    */
    .accreditation {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        padding: 4rem;

    }

    .left-div, .right-div {
        text-align: center;
        flex: 1;
    }

    .accreditation img {
        width: auto;
        height: 3rem;
    }

    /*    footer*/
    .company-info {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4rem;
        padding: 1rem;
    }

    .services, .more-info {
        margin-left: 0;
    }

    .info-box {
        padding: var(--spacing-large);
    }

    .disclaimer {
        margin: 0 6rem;
    }

}


