* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;

}

body {
    min-height: 100vh;
    max-width: 100%;
    font-family: Helvetica, Arial,  sans-serif;
    overflow-x: hidden;
    overflow-y: visible;
    background-color:rgba(0, 0, 0, 0.1);
    height: 100%;
    width: 100%;
}



#overlap{
    min-width: fit-content;
    width: 200px;
}

nav {
    background-color: white;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between; /* Distribute space between elements */
    align-items: center;
    width: 100vw; /* Use the full viewport width */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Center all nav items */
    align-items: center;
    flex-grow: 1; /* Allow space to grow */
}

nav li {
    height: 90px;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
    cursor: default;
}

nav a.ed {
    align-items: flex-end; /* Align text at the bottom of the <a> */
    justify-content: center;
    font-size: 14px; /* Adjust the font size as needed */
}

nav li:first-child {
    margin-right: auto;
}

nav li.last {
    margin-left: auto;
}


.merge {
    height: 25px;
}

.break {
    height: 20px;
}

.breakend {
    height: 30px;
}

/* width */
::-webkit-scrollbar {
    width: 2px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}



#logo {
    max-height: 100%;
    height: 100%;
}
.right-box {
    flex: 1; /* Takes up available space on the right side */

}

img {
    height: auto; /* Maintain aspect ratio */
    max-height: 80%; /* Ensure images fit their container */
    width: auto; /* Maintain aspect ratio */
}


.hrfc {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 3px -3px 5px rgba(0, 0, 0, 0.1);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #f1f1f1;
    margin-right: 20px;
    padding-top: 10px;
}



.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px; /* Add space between the two sections */
    margin: 20px;

}

.r{
    list-style-type: disc; margin-left: 20px;
}

.shadowx{
    box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.1), 3px 3px 5px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    margin-left: 20px;
    margin-top: 10px;
    margin-right: 20px;
    border-radius: 20px;
    padding: 1px;
    

}
.shadowxy{
    box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.1), 3px 3px 5px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 15px;
    margin-left: 20px;
    margin-top: 20px;
    margin-right: 20px;
    height: fit-content;

    border-radius: 20px;

}
.shadowxyz{
    box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.1), 3px 3px 5px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 15px;
    margin-left: 20px;
    margin-top: 20px;
    margin-right: 20px;
    height: fit-content;

    border-radius: 20px;
    height: 999px;

}

.shadowx, .shadowxy, .shadowxyz {
    max-width: 100%; /* Ensure the element doesn't overflow */
    box-sizing: border-box; /* Include padding and border in the element's width calculation */
    
}
iframe{
    border-radius: 20px;
    max-width: 100%;
    max-height: 100%;

}


.space {
    padding-left: 30px;
    margin-left: 20px;
    padding-right: 20px;

}



.space2{
    flex: 1;
    width: fit-content;
    box-shadow: 3px -3px 5px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    padding-right: 20px;
    padding-left: 10px;

    padding-top: 20px;
    border-top-right-radius: 20px;
    min-height: 100vh;


}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
}

td, th {
    text-align: left;
    padding: 8px;
    word-wrap: break-word;
}

td:first-child {
    width: 35%; /* Set the left column to 30% width */
}

td:last-child {
    width: 65%; /* Set the right column to 70% width */
}



@media (max-width: 950px) {
    nav li {
        height: 35px;
    }

    .break {
        height: 5px !important;
    }

    .hrfc {
        margin-right: 10px;
        padding: 8px;
    }

    b {
        font-size: 5px;
    }

    nav a {
        padding: 0 10px;
    }

    ::-webkit-scrollbar {
        width: 5px;
    }

    .merge {
        height: 12px;
    }
    #overlap{
        
        width: max-content
    }
    .space2{
        margin-right:10px ;
    }
}

@media (max-width: 700px) {
    .hrfc {
        margin-right: 10px;
        padding: 5px;
        flex-direction: column;

    }
    nav li {
        height: 45px;
        
    }
    .space2{
        min-height: 90%;
        height: fit-content !important;

    }
}

a:link, a:visited, a:hover, a:active {
    color: black !important;
}

table a {
    color: black !important;
}

/* Basic styles for animation */
.hrfc h3, .hrfc p  {
    opacity: 0;  /* Initially invisible */
    animation: slideInFromBottom 1.5s ease-out forwards;  /* Apply the animation */
}

/* Define the keyframes for the animation */
@keyframes slideInFromBottom {
    0% {
        transform: translateY(100%); /* Start off-screen */
        opacity: 0;
    }
    100% {
        transform: translateY(0);    /* End at normal position */
        opacity: 1;
    }
}

.hrfc h3:nth-of-type(1), .hrfc p:nth-of-type(1) {
    animation-delay: 1.0s;  /* Increased delay */
}

.hrfc h3:nth-of-type(2), .hrfc p:nth-of-type(2) {
    animation-delay: 1.5s;  /* Increased delay */
}

.hrfc h3:nth-of-type(3), .hrfc p:nth-of-type(3) {
    animation-delay: 1.9s;  /* Increased delay */
}

.hrfc h3:nth-of-type(4), .hrfc p:nth-of-type(4) {
    animation-delay: 1.9s;  /* Increased delay */
}

.hrfc h3:nth-of-type(5), .hrfc p:nth-of-type(5) {
    animation-delay: 2.2s;  /* Increased delay */
}

.hrfc h3:nth-of-type(6), .hrfc p:nth-of-type(6) {
    animation-delay: 2.5s;  /* Increased delay */
}

.hrfc h3:nth-of-type(7), .hrfc p:nth-of-type(7) {
    animation-delay: 2.8s;  /* Increased delay */
}

.hrfc h3:nth-of-type(8), .hrfc p:nth-of-type(8) {
    animation-delay: 4.8s;  /* Increased delay */
}

.hrfc h3:nth-of-type(9), .hrfc p:nth-of-type(9) {
    animation-delay: 3.4s;  /* Increased delay */
}

.hrfc h3:nth-of-type(10), .hrfc p:nth-of-type(10) {
    animation-delay: 3.7s;  /* Increased delay */
}


/* Add a shadow effect to the map container and contact box */
.right-box {
    animation: fadeIn 2s ease-out forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Apply the same slide-in animation to each li */
.hrfc ul.r li {
    opacity: 0;  /* Initially invisible */
    animation: slideInFromBottom 1.5s ease-out forwards;  /* Apply the animation */
}


/* Apply staggered animation delays to each li */
.hrfc ul.r li:nth-child(1) {
    animation-delay: 3.0s;
}

.hrfc ul.r li:nth-child(2) {
    animation-delay: 3.6s;
}

.hrfc ul.r li:nth-child(3) {
    animation-delay: 3.9s;
}

.hrfc ul.r li:nth-child(4) {
    animation-delay: 4.2s;
}

.hrfc ul.r li:nth-child(5) {
    animation-delay: 4.5s;
}
