@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');




*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 550;
    /* font-family: "Playfair Display", serif; */
}

:root {
    --bo-color: #EF476F;
    --bg-color: #081b29;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --main-color: #00abf0;
    --best-color: #ffffff;
    --text-color-2: #000000;
    --span-color: #49ab4d;
    --other-color: #0a59c2;
    --brown-color: #c9750e;
}

section {
    min-height: 100vh;
    padding: 5rem 9% 2rem;
}

button {
    cursor: pointer;
}

span {
    background: var(--second-bg-color) ;
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
}

/* MENU-ICON */
#menu-icon {
    position: relative;
    font-size: 3.6rem;
    color: var(--bg-color);
    cursor: pointer;
    display: none;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--best-color);
    color: var(--text-color-2);
}

.header {
    background: var(--best-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 6%;
    opacity: 90%;
    /* background: transparent; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: .3s;
}

header.sticky {
    background: var(--bg-color);
}

.logo {
    position: relative;
    font-size: 2.5rem;
    color: var(--other-color);
    font-weight: 600;
}

.navbar {
    position: relative;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--text-color-2);
    font-weight: 500;
    margin-left: 3.5rem;
    text-decoration: none; /* Removes underline */
    position: relative;
    transition: color 0.3s;
}

.navbar a:hover, .navbar a.active {
    color: var(--brown-color);
}


.navbar a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px; /* Adjust the distance between the text and dash */
    height: 2px; /* Thickness of the dash */
    background-color: var(--brown-color); /* Dash color */
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

.navbar a:hover::after, .navbar a.active::after {
    transform: scaleX(1);
}

/* SECTION 1 */

.section-1 {
    min-height: 0;
    padding: 0;
}

.slider-container {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    display: table;
}

.nav-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.nav-button {
    background-color: rgba(0, 0, 0, 0.5);

}

.nav-button  i {
    font-size: 35px;
    background: transparent;
}

.contact-container {
    display: flex;
    justify-content: right;
    margin-right: 150px;
}

.contact-container button {
    position: absolute;
    top: 87%;
    background-color: var(--brown-color);
    /* background-color: rgb(69, 218, 53); */
    text-decoration: none;
    padding: 20px 30px;
    border-radius: 7px;
    color: var(--text-color);
}

.contact-container button:hover {
    background-color: var(--second-bg-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .slide img {
        width: 100%;
        height: 60vh;
    }
}

/* SECTION 2 */
.section-2 {
    min-height: 0;
    background-color: var(--bg-color);
    padding: 7rem 9% 4rem;

}

.section2-container, .sec2-paragraph {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 2rem;
    align-items: center;
    color: var(--text-color);
}

.section2-button {
    display: flex;
    justify-content: center;
    margin-top: 70px;
}

.section2-button button {
    background-color: var(--brown-color);
    text-decoration: none;
    padding: 13px 70px;
    border-radius: 3px;
    color: var(--text-color);
    font-size: 2rem;
}

.section2-button button:hover {
    background-color: var(--second-bg-color);
    transform: translateY(-2px);
}

/* SECTION 3 */
.section-3 {
    padding: 5rem 2.5% 2rem;
}

.section3-container h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 3.5rem;
}

.sec3-hr {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin:  0;
}

.sec3-hr .hr-1, .hr-2, .hr-3 {
    width: 80%;
    border: none;
    margin: 3px 0;
}

.sec3-hr .hr-1 {
    height: 3px;
    background-color: var(--brown-color);
}

.sec3-hr .hr-2 {
    width: 70%;
    height: 2px;
    background-color: var(--brown-color);
}

.sec3-hr  .hr-3 {
    width: 60%;
    height: 1px;
    background-color: var(--brown-color);
}

.sec3-body {
    display: flex;
    flex-wrap: wrap;

    margin-top: 50px;
}

.sec3-image img {
    width: 500px;
    height: 400px;
    margin-top: 50px;
}

.sec3-aboutus {
    padding: 30px;
    background-color: #ffffff;
    box-shadow: 0px 0px 20px 0px rgba(120, 120, 120, 0.20);

}

.sec3-body .sec3-aboutus {
    width: 50%;
}

.sec3-h1 h1{
    color: var(--brown-color);
    font-size: 2rem;
    margin-top: 20px;
}

.sec3-heading-container h1{
    font-size: 3rem;
    margin-top: 20px;
}

.sec3-heading-container p {
    font-size: 1.6rem;
    line-height: 20px;
    margin-top: 15px;
}

.section3-button button {
    background-color: var(--brown-color);
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 3px;
    color: var(--text-color);
    font-size: 2rem;
    margin-top: 50px;
}

.section3-button button:hover {
    background-color: var(--second-bg-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .sec3-body, .sec3-image img {
        width: 100%;
    }

    .sec3-body .sec3-aboutus {
        width: 80%;
    }
}

/* SECTION 4 */
.section-4 {
    /* padding: 3rem 4% 5rem; */
    padding: 2rem 5% 2rem;
}

.sec4-heading h1 {
    display: flex;
    justify-content: center;
    font-size: 3.5rem;
}

.sec4-hr {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin:  0;
}

.sec4-hr .hr-1, .hr-2, .hr-3 {
    width: 20%;
    border: none;
    margin: 3px 0;
}

.sec4-hr .hr-1 {
    height: 3px;
    background-color: var(--brown-color);
}

.sec4-hr .hr-2 {
    width: 40%;
    height: 2px;
    background-color: var(--brown-color);
}

.sec4-hr .hr-3 {
    width: 20%;
    height: 3px;
    background-color: var(--brown-color);
}

.sec4-body {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: auto;
    justify-content: center;
    justify-content: space-between;
    margin-top: 50px;
}

.sec4-image img {
    width: 500px;
    height: 400px;
}

.sec4-image {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sec4-image h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 15px 20px;
    color: white;
    font-size: 24px;
    text-transform: capitalize;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    transition: transform 0.5s ease;
}

.sec4-image figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.sec4-image:hover figcaption {
    transform: translateY(0);
}

.sec4-image:hover h3 {
    transform: translateY(-270%);
}

.sec4-image:hover img {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.sec4-image p {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
}

.button-group {
    display: flex;
    gap: 10px;
}

.button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.view-more {
    background-color: #4CAF50;
    color: white;
}

.book-now {
    background-color: #f44336;
    color: white;
}

.button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.section4-container .sec4-button {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.sec4-button button {
    background-color: var(--brown-color);
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 3px;
    color: var(--text-color);
    font-size: 2rem;
    margin-top: 50px;
}

.sec4-button button:hover {
    background-color: var(--second-bg-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .sec4-image:hover h3 {
        transform: translateY(-340%);
    }
}

/* SECTION 5 */
.section-5 {
    /* background-color: #ebf0ec; */
    background-color: #fafcfa;
}

.sec5-heading h1 {
    display: flex;
    justify-content: center;
    font-size: 3.5rem;
}

.sec5-hr {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom:  50px;
}

.sec5-hr .hr-1, .hr-2, .hr-3 {
    width: 20%;
    border: none;
    margin: 3px 0;
}

.sec5-hr .hr-1 {
    height: 3px;
    background-color: var(--brown-color);
}

.sec5-hr .hr-2 {
    width: 40%;
    height: 2px;
    background-color: var(--brown-color);
}

.sec5-hr .hr-3 {
    width: 20%;
    height: 3px;
    background-color: var(--brown-color);
}

.section5-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.sec5-grid {
    display: flex;
    gap: 20px;
}

.sec5-grid img {
    width: 250px;
    height: 200px;
    border: 1px solid #d0d0d0;
    padding: 5px;
}

.sec5-grid .grid-text h1 {
    font-size: 2.5rem;
    margin-top: 20px;
}

.sec5-grid .grid-text p {
    font-size: 1.6rem;
    font-weight: lighter;
    line-height: 20px;
    margin-top: 15px;
    width: 200px;
}

@media (max-width: 768px) {
    .section-5 {
        min-height: 50vh;
    }

    .sec5-grid {
        gap: 15px;
    }

    .sec5-grid img {
        width: 150px;
        height: 150px;
    }

    .sec5-grid .grid-text h1 {
        margin-top: 0;
    }

    .sec5-grid .grid-text p {
        margin-top: 10px;
        width: 150px;
    }

    .sec5-heading h1 {
        display: flex;
        justify-content: center;
        font-size: 2.5rem;
    }

}

/* SECTION 6 */
.section-6 {
    min-height: 50vh;
    padding: 3rem 0% 1rem;
    background-color: var(--bg-color);
}

.sec6-heading h1 {
    display: flex;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--text-color);
}

.sec6-hr {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom:  50px;
}

.sec6-hr .hr-1, .hr-2, .hr-3 {
    width: 20%;
    border: none;
    margin: 3px 0;
}

.sec6-hr .hr-1 {
    height: 3px;
    background-color: var(--brown-color);
}

.sec6-hr .hr-2 {
    width: 40%;
    height: 2px;
    background-color: var(--brown-color);
}

.sec6-hr .hr-3 {
    width: 20%;
    height: 3px;
    background-color: var(--brown-color);
}

.carousel-container {
    max-width: 1200px;
    margin: 0 20px 0 20px;
    position: relative;
    overflow: hidden;
}

.carousel-wrapper {
    overflow: hidden;
    margin-bottom: 20px;
    padding: 0 20px;
}

.carousel-track {
    display: flex;
    gap: 20px;
}

.carousel-slide {
    flex: 0 0 auto;
    width: 300px;
}

.carousel-slide img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.carousel-slide img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding-bottom: 20px;
}

.control-button {
    padding: 10px 20px;
    background-color: var(--brown-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.control-button:hover {
    background-color: var(--second-bg-color);
}

@media (max-width: 768px) {
    .section-6 {
        min-height: 30vh;
    }

    .carousel-slide img {
        width: 200px;
        height: 150px;
    }

    .carousel-slide {
        flex: 0 0 auto;
        width: 200px;
    }

    .carousel-track {
        display: flex;
        gap: 10px;
    }
}


/* SECTION 7 */
.section-7 {
    min-height: 50vh;
    padding: 3rem 0% 2rem;
}

.section7-container {
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
}

/* Target address and contact as direct children */
.section7-container > .sec7-address,
.section7-container > .sec7-contact {
    flex: 1;
    min-width: 300px;
}

/* Keep map full width */
.section7-container > .section7-map {
    width: 100%;
}

.sec7-heading h1 {
    display: flex;
    justify-content: center;
    font-size: 3.5rem;
}

.sec7-hr {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom:  50px;
}

.sec7-hr .hr-1, .hr-2, .hr-3 {
    width: 20%;
    border: none;
    margin: 3px 0;
}

.sec7-hr .hr-1 {
    height: 3px;
    background-color: var(--brown-color);
}

.sec7-hr .hr-2 {
    width: 40%;
    height: 2px;
    background-color: var(--brown-color);
}

.sec7-hr .hr-3 {
    width: 20%;
    height: 3px;
    background-color: var(--brown-color);
}

.section7-map iframe {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1260px;
    max-height: 70vh;
    border-radius: 7px;
}

.sec7-address {
    background: #ffffff;
    padding: 80px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 430px;
    position: relative;
    top: -200px;
    margin-left: 70px;
}

.sec7-address .address-heading h1 {
    position: relative;
    display: flex;
    justify-content: center;
    left: -80px;
}

.address-heading h1 {
    color: var(--brown-color);
    font-size: 1.5rem
}

.address i {
    color: var(--brown-color);
    font-size: 3.5rem;
}

.address {
    align-items: center;
    display: flex;
    margin-top: 20px;
    gap: 15px;
}

.address h1 {
    font-size: 1.6rem;
    margin-bottom: 2px;
}

.address p {
    font-size: 1.6rem;
    font-weight: lighter;
}

.sec7-contact {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    top: 80px;
}

.sec7-contact::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--brown-color);
    border-radius: 50%;
    z-index: 1;
}

.sec7-contact-1::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--brown-color);
    border-radius: 50%;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.contact-header h2 {
    color: #2c3e50;
    font-weight: 600;
}

.contact-form {
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
}

.form-control::placeholder {
    color: #a0a0a0;
}

.form-group i {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #a0a0a0;
    transition: color 0.3s ease;
}

.form-control:focus + i {
    color: #3498db;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: var(--other-color);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 768px) {
    .section7-container {
        gap: 0;
    }

    .section7-map iframe {
        max-height: 40vh;
    }

    .sec7-address {
        max-width: 380px;
        padding: 20px;
        margin-left: 15px;
    }

    .sec7-contact {
        padding: 20px;
        margin: 0 0 0 20px;
        max-width: 350px !important;
        top: -150px !important;
    }
}

/* SECTION 8 */
.section-8 {
    background: var(--bg-color);
    color: var(--text-color);
    margin-top: 35px;
    min-height: 40vh;
    padding: 0rem 2.5% 0rem;
    margin-top: 150px;
    padding-bottom: 30px;
    /* position: relative; */
    /* top: 100px; */
}

.section8-class {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* align-items: center; */
}

.section8-class h1 {
    color: var(--text-color);
}



.section8-about, .section8-mission, .section8-address, .section8-about-2 {
    width: 250px;
    font-size: 1.3rem;
    font-weight: lighter;
    margin-top: 35px;
}

.section8-mission {
    margin-top: -20px;
    margin-bottom: -20px;
}

.section8-mission h1 {
    margin-bottom: 10px;
    font-size: 2.3rem;
}

.section8-about h1 {
    margin-bottom: 10px;
    font-size: 2.3rem;
}

.section8-about p {
    margin-bottom: 18px;
}

.section8-about li {
   list-style: none;
   margin-bottom: 10px;
}

.section8-about a {
    color: var(--other-color);
}

.section8-about-2 h1 {
    margin-bottom: 10px;
    font-size: 2.3rem;
}

.section8-about-2 p {
    margin-bottom: 18px;
}

.section8-about-2 li {
   list-style: none;
   margin-bottom: 10px;
}

.section8-about-2 a {
    color: var(--other-color);
}

.section8-address h1 {
    margin-bottom: 10px;
    font-size: 2.3rem;
}

.section8-address p {
    margin-bottom: 10px;
}

.section8-mission .footer-logo {
    margin: auto;
}

.footer-logo {
    position: relative;
    top: -50px;
    width: fit-content;
    padding: 10px;
    border-radius: 100px;
    text-align: center;
    background: var(--best-color);
    justify-content: center;
}

.footer-logo img {
    border-radius: 100px;
    width: 100px;
}

@media (min-width: 807px) {
    .section8-about-2 {
        display: none;
    }
}

@media (max-width: 806px) {
    .section8-class {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 40px;
        /* justify-content: space-between;
        align-items: center; */
    }

    .section8-about, .section8-mission, .section8-address {
        width: 80%;
        font-size: 1.3rem;
        font-weight: lighter;
        margin-top: 0px;
    }

    .section8-about {
        display: none;
    }

    .section8-about-2 {
        width: 80%;
        font-size: 1.3rem;
        font-weight: lighter;
    }
}

/* footer  */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 9%;
    background-color: rgb(23, 27, 33);
}

.footer-text, .footer-iconTop {
    position: relative;
}

.footer-text p {
    font-size: 1.6rem;
    color: var(--text-color);
}

.footer-text a {
    color: var(--brown-color);
}

.footer-iconTop a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    z-index: 1;
    overflow: hidden;
}

.footer-iconTop a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--second-bg-color);
    z-index: -1;
    transition: .5s;
}

.footer-iconTop a:hover::before {
    width: 100%;
}

.footer-iconTop a i {
    font-size: 1.5rem;
    color: var(--bg-color);
    transition: .5s;
}

.footer-iconTop a:hover i {
    color: var(--main-color);
}


@media (max-width: 768px) {
    .footer {
        flex-direction: column-reverse;
}

.footer-text p {
        font-size: 1.2rem;
}

.footer p {
        margin-top: 2rem;
        text-align: center;
}
}







/* HEADER STYLE MEDIA QUERY */
@media (max-width: 768px) {
    .header {
        background: var(--best-color);
    }

    #menu-icon {
        display: block;
    }
    .navbar {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        padding: 1rem 4%;
        background: var(--bg-color);
        box-shadow: 0 .5rem 1rem rgba(0, 0, .2);
        border-radius: 0 0 1rem 1rem;
        transition: .25s ease;
        transition-delay: .25s;
        z-index: 1;
    }

    .navbar.active {
        left: 0;
        transition-delay: 0s;
    }

    .navbar .active-nav {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--best-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        z-index: -1;
        transition: .25s  ease;
        transition-delay: 0s;
    }

    .navbar.active .active-nav {
        transition-delay: .25s;
        left: 0;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        transform: translateX(-20rem);
        transition: .25s ease;
        transition-delay: 0s;
        color: var(--text-color-2);
    }

    .navbar.active a {
        transform: translateX(0);
        transition-delay: .25s;
    }
}