html{
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background-color: rgb(23, 24, 25);
}

#menu {
    scroll-margin-top: 70px;
}

#footer-section {
    scroll-margin-top: -450px;
}

.about-message {
    position: relative;
    display: flex;
    height: calc(var(--vh, 1vh) *70);
    /* min-height: 600px; */
    width: 100%;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.about-message::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    height: calc(var(--vh, 1vh) *80);
    /* min-height: 600px; */
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("./images/banner-image-1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

.about-title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-right: 10px;
    white-space: nowrap;
}


.about_titles {
    position: relative;

}

.about-section-title p {
    color: var(--menu-title-color);
    font-size: var(--menu-title-size);
    font-family: var(--menu-title-font);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-weight: 700;
}

.about-section-subtitle p {
    color: var(--menu-subtitle-color);
    font-size: var(--about-title-size);
    font-family: var(--menu-subtitle-font);
    line-height: 1;
}

.about-who-subtitle {
    display: flex;
    max-width: 1000px;
    padding-top: 15px;
    width: 95%;
}

.about-who-subtitle p {
    color: var(--menu-subtitle-color);
    font-size: var(--about-who-title-size);
    font-family: var(--menu-subtitle-font);
    line-height: 1;
    white-space: normal;
}

.about_titles h1 {
    font-size: 4.25rem;
    font-size: clamp(48px, 10vw, 80px);
    font-weight: 700;
    font-family: "Forum", serif;
    color: #ffffff;
    text-align: center;
    /* font-size:80px; */
}

.about_titles h3 {
    font-size: 1.5rem;
    font-size: clamp(15px, 3vw, 24px);
    font-weight: 200;
    font-family: "Forum" serif, Courier, monospace;
    color: #fffbfb;
    text-align: center;
}

.about_titles .about_outlined-text {
    font-size: 4.25rem;
    font-size: clamp(2.25rem, 7vw, 4.25rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-color);
}

.img-separator {
    height: auto;
    width: 110px;
    margin-top: 10px;
    margin-bottom: 0px;
}

.who_we_are {
    /* max-width: 1300px; */
    width: 100%;
    padding: 70px 0px;
    background-color: var(--about-background);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.who_containers {
    max-width: 1300px;
    width: 100%;
    display: flex;
    position: relative;
    justify-content: flex-start;
    align-items: center;
    gap: 5%;
    padding: 50px 15px;
    padding-bottom: 0px;
    align-items: stretch;
}

.who_container {
    display: flex;
    flex-direction: column;
    justify-content: top;
    width: 100%;
    /* background-color: red; */
    justify-content: space-between;
}

.who_text {
    margin-bottom: 30px;
}

.who_text p {
    font-size: var(--menu-item-desc-size);
    font-family: var(--menu-item-desc-font);
    color: white;
    line-height: 1.85em;
}

.who_author p {
    color: var(--menu-title-color);
    font-size: var(--menu-title-size);
    font-family: var(--menu-title-font);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
}

.who_img1 {
    margin: 0;
}

.who_img1 img {
    display: block;
    width: 100%;
    height: 100%;
}

.who_img2 img {
    display: block;
    width: 100%;
    height: 100%;
}

.schedule_frame-container {
    position: relative;
    display: flex;
    /* padding: 80px; */
    /* margin: 80px; */
    justify-content: center;
    align-items: center;
    /* padding:15px; */
    width: 100%;
    height: 100%;
}

.schedule_outer-border {
    position: absolute;
    border: 1px solid #f5d88f;
    /* width: calc(100% + 30px); */
    width: calc(100% - 30px);
    /* width:100%; */
    height: 100%;
    z-index: 2;

    padding: 0px 0px;
    margin: 0px 0px;
    /* left:-15px; */
    left: 15px;
    right: 0px;
    top: 0px;
    bottom: 0px;

}

.schedule_inner-border {
    position: absolute;
    border: 1px solid #f5d88f;
    width: 100%;
    /* height: calc(100% + 30px); */
    height: calc(100% - 30px);
    /* height:100%; */
    z-index: 2;

    padding: 0px 0px;
    left: 0px;
    right: 0px;
    /* top:-15px; */
    top: 15px;
    bottom: 0px;
}

.schedule_inner {
    display: flex;
    position: relative;
    /* padding: 40px 60px; */
    /* background-color: #121212; */
    background-color: var(--about-background);
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 30px 30px;
}

.section_schedule {
    margin: 10px 0px;
}

.divider_schedule {
    font-size: 20px;
    color: #f5d88f;
    margin: 10px 0;
}

.section_schedule a {
    color: #ccc;
    text-decoration: none;
}

.section_schedule a:hover {
    text-decoration: underline;
}

.section_schedule h3 {
    font-family: var(--about-title-font);
    color: var(--about-primary-color);
    font-size: var(--about-size-16);
    font-weight: 800;
    margin-bottom: 5px;

}

.section_schedule p {
    font-family: var(--about-title-font);
    color: var(--about-secondary-color);
    font-size: var(--about-size-16);
}

.section_schedule p a {
    font-family: var(--about-title-font);
    color: var(--about-secondary-color);
    font-size: var(--about-size-16);
}

.about-exp-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: var(--main-background);
}

.about-exp-subtitle p {
    color: var(--menu-subtitle-color);
    font-size: var(--menu-subtitle-size);
    font-family: var(--menu-subtitle-font);
    line-height: 1;
}

.about-exp-text {
    max-width: 420px;
    white-space: normal;
    padding-top: 20px;
    padding-bottom: 30px;
}

.about-exp-text p {
    font-family: var(--menu-title-font);
}

.about-menu-btn {
    background-color: var(--main-background);
    padding: 11px 40px;
    border: 1px solid #f5d88f;
    animation: smallerPulse 2s ease-in-out infinite;
}

.about-menu-btn p {
    color: var(--menu-title-color);
    font-size: var(--menu-title-size);
    font-family: var(--menu-title-font);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-weight: 700;
}

.about-menu-btn:hover {
    background-color: #f5d88f;
    padding: 11px 40px;
    border: 1px solid #f5d88f;
    cursor: pointer;
}

.about-menu-btn:hover p {
    color: var(--main-background);
}

.about-exp-details {
    width: 50%;
    justify-content: center;
    align-items: center;
    padding: 70px 0px;
}

.about-exp-image {
    width: 50%;
}

.about-exp-image img {
    display: block;
    width: 100%;
    height: auto;
}

.about-services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 70px 0px;
    background-color: var(--about-background);
}

.services-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 20px;
    padding-top: 100px;
    padding-bottom: 0px;

}

.services-container {
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

/* Columns */
.services-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
    min-width: 250px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.service_icon {
    width: 100px;
    height: 100px;
    background: var(--about-secondary-background);
    padding: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service_icon img {
    width: 80px;
    height: 80px;
}

/* Center Image */
.services-center-image {
    flex-shrink: 0;
}

.services-center-image img {
    width: 300px;
    height: auto;
    border-radius: 10px;
}

.service-content h3 {
    font-family: var(--about-subtitle-font);
    color: var(--about-primary-color);
    font-size: var(--about-size-25);
    font-weight: 400;
    margin-bottom: 5px;

}

.service-content p {
    font-family: var(--about-title-font);
    color: var(--about-secondary-color);
    font-size: var(--about-size-14);
    margin-bottom: 5px;
}

.about-why {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 70px 0px;
    background-color: var(--main-background);
}

.why-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 40px 15px;
    padding-bottom: 100px;
    max-width: 1200px;
    margin: auto;
}

.why-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
}

.why-card:nth-child(even) {
    padding-top: 40px;
}

.why-card:nth-child(odd) {
    /* padding-bottom: 40px; */
    margin-bottom: 40px;
}

.why-card img.bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.8);
}

.why-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
    /* So clicks go through */
}

.why-card-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.why-card-content img.icon {
    display: block;
    margin-bottom: 15px;
    max-width: 100%;
    height: auto;
}

.why-card-content h3 {
    font-family: var(--about-subtitle-font);
    color: var(--about-primary-color);
    font-size: var(--about-size-25);
    font-weight: 400;
    margin: 0;

}

.p_container {
    width: 100%;
    font-family: "Times New Roman", serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.p_sub_container {
    width: 100%;
    margin: 0;
    justify-content: center;
    align-items: center;
}

.p_carousel_section {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* padding-bottom: 40px; */
}

.p_carousel-container {
    width: 50%;
    position: relative;
    align-items: center;
}

.p_carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.p_card {
    width: 100%;
    flex: 0 0 100%;
    padding-right: 20px;
    padding-left: 20px;
    text-align: center;
    box-sizing: border-box;
}

.p_card_hard {
    flex: 0 0 100%;
    padding-right: 10px;
    padding-left: 10px;
    text-align: center;
    box-sizing: border-box;
}

.p_card-content {
    width: 100%;
    height: 0;
    /* padding-top: 46.26%; */
    padding-top: 58.27%;
    /* 16:9 aspect ratio (9/16 * 100) */
    position: relative;
    background-color: none;
}

.p_card-content img {
    position: absolute;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border-radius: 10px; */
}

@keyframes pulsenav {
    0%, 100% {
        transform: rotate(45deg) scale(1.2);
    }
    50% {
        transform: rotate(45deg) scale(1.4);
    }
}

.p_nav-button {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 34px;
    height: 34px;
    top: calc(50% - 17px);
    border: 1px solid #E4C590;
    background: transparent;

    transform: rotate(45deg) scale(1.3);
    transform-origin: center;
    backface-visibility: hidden;

    -webkit-tap-highlight-color: transparent;
    outline: none;

    animation: pulsenav 1.5s infinite ease-in-out;
}


.p_nav-button::before {
    transform: scale(1.02, 1.02);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    /* Initial background */
    transition: background 0.3s ease;
    z-index: -1;
    /* Place behind the button content */

}

/* .p_nav-button:hover::before {
    background: #E4C590;
    
} */

.arrow-left {
    width: 8px;
    height: 8px;
    border-left: 1px solid #E4C590;
    border-bottom: 1px solid #E4C590;
    margin-left: 3px;
    margin-bottom: 3px;
    transform: scale(1.3, 1.3);
    transition: border-left-color 0.3s ease, border-bottom-color 0.3s ease;
    /* Fade border colors */
    /* backface-visibility: hidden; */
}

.arrow-right {
    width: 8px;
    height: 8px;
    border-right: 1px solid #E4C590;
    border-top: 1px solid #E4C590;
    margin-right: 3px;
    margin-top: 3px;
    transform: scale(1.3, 1.3);
    transition: border-right-color 0.3s ease, border-top-color 0.3s ease;
    /* Fade border colors */
    /* backface-visibility: hidden; */
}

.p_prev {
    left: -45%;
    z-index: 10;
}

.p_next {
    right: -45%;
    z-index: 10;
}


@media (max-width: 1500px) {
    .about-message {
        height: calc(var(--vh, 1vh) * 70);
    }

    .about-message::before {
        height: calc(var(--vh, 1vh) * 70);
    }

}

@media (max-width: 1200px) {
    .about-message {
        height: calc(var(--vh, 1vh) * 55);
    }

    .about-message::before {
        height: calc(var(--vh, 1vh) * 55);
    }

    .who_containers {

        gap: 2%;
    }

}

@media (max-width: 990px) {
    .about-message {
        height: calc(var(--vh, 1vh) * 52);
    }

    .about-message::before {
        height: calc(var(--vh, 1vh) * 52);
    }


    .who_containers {
        flex-wrap: wrap;
        gap: 0;
    }

    .who_container:nth-child(3) {
        width: 100%;
        margin: 2% auto;
    }

    .who_container:nth-child(1),
    .who_container:nth-child(2) {
        width: 49%;
    }

    .who_container:nth-child(1) {
        margin-right: 2%;
    }

    .about-exp-container {
        flex-direction: column;
    }

    .about-exp-image {
        width: 100%;
    }

    .about-exp-details {
        width: 100%;
    }

    .services-container {
        /* flex-direction: column; */
        align-items: center;
    }

    .services-center-image {
        order: 2;
        /* Move the image to the bottom */
        flex-basis: 100%;
        justify-content: center;
        display: flex;
    }

    .services-column {
        order: 1;
        /* Keep the columns on top */
    }

    .why-container {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }

    .p_container {
        padding-bottom: 10px;
    }

    .p_card-content {
        padding-top: 50%;
    }

    .p_carousel-container {
        width: 100%;
    }

    .p_card {
        width: 100%;
        flex: 0 0 100%;
        padding-right: 15px;
        padding-left: 15px;
        text-align: center;
        box-sizing: border-box;
    }

    .p_prev {
        left: 50px;
        z-index: 10;
    }

    .p_next {
        right: 50px;
        z-index: 10;
    }

}

@media (max-width: 768px) {
    .about-message {
        height: calc(var(--vh, 1vh) * 50);
    }

    .about-message::before {
        height: calc(var(--vh, 1vh) * 50);
    }

    .who_containers {
        flex-direction: column;
        gap: 30px;
    }

    .who_container:nth-child(3) {
        width: 100%;
        margin: 0% auto;
    }

    .who_container:nth-child(1),
    .who_container:nth-child(2) {
        width: 100%;
    }

    .who_container:nth-child(1) {
        margin-right: 0%;
    }

    .who_img1 {
        margin-top: 50px;
    }

    .who_text {
        text-align: center;
    }

    .who_signature_img {
        text-align: center;
    }

    .who_author {
        text-align: center;
    }

    .services-column {
        flex-basis: 100%;
    }

}

@media (min-width: 601px) {

    /* First Service Column */
    .services-column:first-child .service-item:nth-child(odd) {
        flex-direction: row;
        /* icon on the left, content on the right */
    }

    .services-column:first-child .service-item:nth-child(even) {
        flex-direction: row-reverse;
        /* icon on the right, content on the left */
        text-align: right;
    }

    /* Second Service Column */
    .services-column:last-child .service-item:nth-child(odd) {
        flex-direction: row-reverse;
        /* icon on the right, content on the left */
        text-align: right;
    }

    .services-column:last-child .service-item:nth-child(even) {
        flex-direction: row;
        /* icon on the left, content on the right */
    }
}

@media (max-width: 600px) {
    .about-message {
        height: calc(var(--vh, 1vh) * 48);
    }

    .about-message::before {
        height: calc(var(--vh, 1vh) * 48);
    }

    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .services-section {
        padding-top:60px;
    }

    .services-center-image {
        order: 2;
        /* Move the image to the bottom */
    }

    .services-column {
        order: 1;
        /* Keep the columns on top */
    }

    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .services-column {
        width: 100%;
    }

    .service-item {
        flex-direction: column;
        /* icon on top of content */
        text-align: center;
    }

    .service-item .service_icon {
        margin-bottom: 10px;
        /* Add some space between icon and content */
    }

    .why-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .why-card:nth-child(even) {
        padding-top: 0px;
    }

    .why-card:nth-child(odd) {
        /* padding-bottom: 40px; */
        margin-bottom: 0px;
    }

    /* @keyframes pulsenav {
        0%, 100% {
            transform: rotate(45deg) scale(0.9);
        }
        50% {
            transform: rotate(45deg) scale(1.1);
        }
    } */

    .p_nav-button {
        width: 26px;
        height: 26px;
        top: calc(50% - 17px);
        border: 1px solid #E4C590;
        /* Gold border */
        transform: rotate(45deg);

    }

    .arrow-left {
        width: 6px;
        height: 6px;
        margin-left: 2px;
        margin-bottom: 2px;
        /* transform: scale(1.3, 1.3); */
        will-change: transform;
    }

    .arrow-right {
        width: 6px;
        height: 6px;
        margin-right: 2px;
        margin-top: 2px;
        will-change: transform;
    }

    .p_prev {
        left: 35px;
    }

    .p_next {
        right: 35px;
    }

}

@media (max-width: 480px) {
    .about-message {
        height: calc(var(--vh, 1vh) * 46);
    }

    .about-message::before {
        height: calc(var(--vh, 1vh) * 46);
    }

}

@media (hover: hover) and (pointer: fine) {
    .p_nav-button:hover::before {
        background: #E4C590;
    }

    .p_nav-button:hover .arrow-left {
        border-left-color: black;
        border-bottom-color: black;
    }

    .p_nav-button:hover .arrow-right {
        border-right-color: black;
        border-top-color: black;
    }
}