@import url('https://fonts.googleapis.com/css2?family=Arima:wght@100..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kalam:wght@300;400;700&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Outfit:wght@100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


/* If available on Google Fonts */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;

}

:root {
    --dark-red-color: #821518;
    --dark-rose-color: #B53C5B;
    --light-rose-color: #CC879A;
    --cream-color: #F5C3C6;
    --white-color: #fff;
    --dark-marun-color: #753043;
}

body {
    min-height: 100vh;
    /* Ensures the body takes at least full viewport height */
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4.375rem;
    z-index: 9999;
    background-color: transparent;
}

nav .navbar {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    padding: 0 1rem;
}

.navbar .logo {
    width: 80px;
    /* 80px converted to rem (80/16) */
}

.navbar .logo img {
    width: 80px;
    height: 80px;
    display: flex;
}

nav .navbar .nav-links {
    line-height: 4.375rem;
    /* 70px converted to rem */
    height: 100%;
}

nav .navbar .links {
    display: flex;
    /* Flexbox for links alignment */
}

nav .navbar .links li {
    position: relative;
    /* Needed for absolute positioning of sub-menu */
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    padding: 0 0.875rem;
    /* 14px converted to rem (14/16) */
}

nav .navbar .links li a {
    height: 100%;
    /* Link takes full height */
    text-decoration: none;
    /* Removes underline from links */
    white-space: nowrap;
    /* Prevents wrapping */
    color: var(--dark-red-color);
    /* Link color */
    font-size: 0.9375rem;
    /* 15px converted to rem (15/16) */
    font-weight: 500;
    /* Font weight */
}

.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow {
    transform: rotate(180deg);
    /* Animation for arrow on hover */
}

nav .navbar .links li .arrow {
    height: 100%;
    width: 1.375rem;
    /* 22px converted to rem (22/16) */
    line-height: 4.375rem;
    /* 70px converted to rem */
    text-align: center;
    /* Centered text */
    display: inline-block;
    /* Inline-block for proper sizing */
    color: var(--white-color);
    /* Arrow color */
    transition: all 0.3s ease;
    /* Transition effect */
}

nav .navbar .links li .sub-menu {
    position: absolute;
    /* Absolute positioning for sub-menu */
    top: 4.375rem;
    /* 70px converted to rem */
    left: 0;
    /* Align to the left */
    line-height: 2.5rem;
    /* 40px converted to rem (40/16) */
    background: var(--dark-rose-color);
    /* Sub-menu background color */
    box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2);
    /* Shadow effect */
    border-radius: 0 0 0.25rem 0.25rem;
    /* Rounded corners */
    display: none;
    /* Initially hidden */
    z-index: 2;
    /* Stacking order */
}

nav .navbar .links li:hover .sub-menu {
    display: block;
    /* Show on hover */
}

.navbar .links li .sub-menu li {
    padding: 0 1.375rem;
    /* 22px converted to rem (22/16) */
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
    /* Divider */
}

.navbar .links li .sub-menu a {
    color: #fff;
    /* Sub-menu link color */
    font-size: 0.9375rem;
    /* Font size for sub-menu links */
    font-weight: 500;
    /* Font weight */
}

.navbar .links li .sub-menu .more-arrow {
    line-height: 2.5rem;
    /* Vertical alignment for more arrows */
}

.navbar .links li .sub-menu .more-sub-menu {
    position: absolute;
    /* Positioning for nested sub-menu */
    top: 0;
    left: 100%;
    /* Aligned to the right of its parent */
    border-radius: 0 0.25rem 0.25rem 0.25rem;
    /* Rounded corners */
    z-index: 1;
    /* Stacking order */
    display: none;
    /* Initially hidden */
}

.links li .sub-menu .more:hover .more-sub-menu {
    display: block;
    /* Show on hover */
}

.navbar .nav-links .sidebar-logo {
    display: none;
    /* Hidden sidebar logo for larger screens */
}

.navbar .bx-menu {
    display: none;
    /* Hidden menu icon for larger screens */
    cursor: pointer;
    font-size: 40px;

}

.hero-content span {
    color: var(--dark-red-color);
}

/* Media Queries for Responsive Design */
@media (max-width: 1000px) {

    nav .navbar .links li a {

        color: var(--dark-red-color);

    }

    .bx,
    .bx-x {
        color: var(--dark-red-color);
        cursor: pointer;
    }

    /* 920px converted to rem */
    nav .navbar {
        max-width: 100%;
        /* Full width on smaller screens */
        padding: 0 1.5625rem;
        /* 25px converted to rem (25/16) */
    }



    .sidebar-logo img {
        height: 5rem;
        /* Sidebar logo height (80px converted to rem) */
        width: 7.5rem;
        /* Sidebar logo width (120px converted to rem) */
    }

    nav .navbar .links li {
        padding: 0 0.625rem;
        /* 10px converted to rem (10/16) */
        white-space: nowrap;
        /* Prevent wrapping */
    }

    nav .navbar .links li a {
        font-size: 0.9375rem;
        /* Font size for links */
    }
}


@media (max-width:1000px) {
    .navbar .bx-menu {
        display: block;
    }

    nav .navbar .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        display: block;
        width: 100%;
        background: var(--cream-color);
        line-height: 40px;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        transition: all 0.5s ease;
        z-index: 1000;
        color: var(--dark-red-color) !important;
    }

    .navbar .nav-links .sidebar-logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .sidebar-logo .logo-name {
        font-size: 25px;
        color: var(--white-color);
    }

    .sidebar-logo i,
    .navbar .bx-menu {
        font-size: 40px;
        color: var(--dark-red-color);
    }

    nav .navbar .links {
        display: block;
        margin-top: 20px;
    }

    nav .navbar .links li .arrow {
        line-height: 40px;
    }

    nav .navbar .links li {
        display: block;
    }

    nav .navbar .links li .sub-menu {
        position: relative;
        top: 0;
        box-shadow: none;
        display: none;
    }

    nav .navbar .links li .sub-menu li {
        border-bottom: none;

    }

    .navbar .links li .sub-menu .more-sub-menu {
        display: none;
        position: relative;
        left: 0;
    }

    .navbar .links li .sub-menu .more-sub-menu li {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .links li:hover .htmlcss-arrow,
    .links li:hover .js-arrow {
        transform: rotate(0deg);
    }

    .navbar .links li .sub-menu .more-sub-menu {
        display: none;
    }

    .navbar .links li .sub-menu .more span {
        display: flex;
        align-items: center;
    }

    .links li .sub-menu .more:hover .more-sub-menu {
        display: none;
    }

    nav .navbar .links li:hover .htmlCss-sub-menu,
    nav .navbar .links li:hover .js-sub-menu {
        display: none;
    }

    .navbar .nav-links.show1 .links .htmlCss-sub-menu,
    .navbar .nav-links.show3 .links .js-sub-menu,
    .navbar .nav-links.show2 .links .more .more-sub-menu {
        display: block;
    }

    .navbar .nav-links.show1 .links .htmlcss-arrow,
    .navbar .nav-links.show3 .links .js-arrow {
        transform: rotate(180deg);
    }

    .navbar .nav-links.show2 .links .more-arrow {
        transform: rotate(90deg);
    }

    nav .navbar {
        flex-direction: row-reverse;

    }
}

@media (max-width:370px) {
    nav .navbar .nav-links {
        max-width: 100%;
    }
}

@media (max-width: 337px) {
    .hero {

        gap: 0rem;

    }

    .hero button {
        margin-top: 1rem;
    }
}

.button-container-schedule {
    width: 142px;
    height: 45px;
    position: relative;
    border-radius: 8%;
}

.input-container {
    position: fixed;
    bottom: 1rem;
    right: 3rem;
    width: 8rem;
    z-index: 99999999;
}

.button-schedule {
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--dark-red-color) 22%, var(--dark-rose-color) 76%);

    color: var(--white-color) !important;
    border-radius: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

.button-schedule:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.button-schedule::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(to right, var(--dark-red-color) 22%, var(--dark-rose-color) 76%);
    z-index: -1;
    transition: transform 0.4s, opacity 0.4s;
}

.button-schedule:hover::after {
    transform: scale(1.4);
    opacity: 0;
}

.button-animated {
    animation: simulateHover 5s infinite;
}

@keyframes simulateHover {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: translateY(-3px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }
}

#header {

    background: var(--cream-color);
    margin: 10px 1.5% 1.5%;
    width: 97%;
    border-radius: 10px;
}

/* hero css */

.hero {
    width: 100%;
    height: 95vh;
    position: relative;
    background: #CC879A;
    overflow: hidden;
}

.hero svg {
    position: absolute;
    top: 90px;
    width: 100vw;
    height: 90vh;
    background: #CC879A;
}

.right-image {
    position: absolute;
    top: 55%;
    right: -30px;
    transform: translateY(-50%);
    width: 67vw;
    height: 75vh;
    /* max-height: 70vh; */
}

.hero-content {
    z-index: 2;
    position: absolute;
    top: 30%;
    left: 5%;
    width: 30vw;
    color: white;
}

.hero-content h1 {
    font-size: 3vw;
    margin-bottom: 1vh;
}

.hero-content p {
    font-size: 1.5vw;
    margin-bottom: 3vh;
}

@media (max-width: 1290px) {
    .hero {
        overflow: hidden;
        width: 100%;
        height: 85vh;
        position: relative;
        background: #CC879A;
    }

    .hero svg {
        position: absolute;
        top: 60px;
        width: 100vw;
        height: 85vh;
        overflow: hidden;
        background: #CC879A;
    }

    .right-image {
        position: absolute;
        top: 54.5%;
        right: -25px;
        transform: translateY(-50%);
        width: 67vw;
        height: 63.8vh;
        /* max-height: 70vh; */
    }
}

@media (max-width: 1255px) {
    .right-image {
        right: -45px;
        width: 68vw;
        height: 63.8vh;
    }
}

@media (max-width: 1131px) {
    .right-image {
        right: -103px;
        width: 75vw;
        height: 63.8vh;
    }
}

@media (max-width: 1100px) {
    .right-image {
        right: -151px;
        width: 81vw;
        height: 63.8vh;
    }
}

@media (max-width: 970px) {
    .right-image {
        right: -200px;
        width: 89vw;
        height: 63.8vh;
    }
}

@media (max-width: 935px) {
    .right-image {
        right: -232px;
        width: 96vw;
        height: 63.8vh;
    }
}

@media (max-width: 902px) {
    .right-image {
        right: -239px;
        width: 100%;
        height: 63.8vh;
    }
}

@media (max-width: 837px) {
    .right-image {
        right: -256px;
        width: 104%;
        height: 63.8vh;
    }
}

@media (max-width: 796px) {
    .right-image {
        right: -282px;
        width: 112%;
        height: 63.8vh;
    }
}

@media (max-width: 744px) {
    .right-image {
        right: -278px;
        width: 116%;
        height: 63.8vh;
    }
}


@media (max-width: 720px) {
    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        background-image: url(../images/hero-mobile.png);
        background-size: cover;
        background-repeat: no-repeat;
        height: 88vh;
        /* Makes sure the image covers the entire area */
        background-position: center;
    }

    .hero svg {
        display: none;
    }

    .right-image {
        display: none;
    }

    .hero-content {
        position: static;
        width: 90vw;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 20px;
    }

    /* Create the red overlay */
    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(130, 21, 24, 0.5);
    }

    .hero-content span {
        color: var(--cream-color);
    }


}

.hero-content {
    color: var(--cream-color);
}


/* Mimic GT Haptik Medium Rotalic manually */
.nav-links ul li a.active {
    color: #ff6600;
    /* Highlight color */
    font-style: oblique;
    /* Fake italic */
    font-weight: 1000;
    /* Medium thickness */
    transform: rotate(-5deg);
    /* Slight rotation */
    letter-spacing: 0.5px;
    /* Adjust spacing */
}