
/* Keyframes for animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Overlay content */
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    z-index: 10;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 0;
}

.overlay-content .overlay-heading {
    font-size: 40px;
    line-height: 1.2;
    margin-top: 20px;
    color: #0073e6;
    font-weight: bold;
    opacity: 0;
    animation: fadeInUp 0.8s ease-in-out forwards;
}

.overlay-content .overlay-text {
    margin-bottom: 180px;
    color: #ffffff;
    font-size: 18px;
    opacity: 0;
    animation: slideInLeft 0.8s ease-in-out forwards;
    animation-delay: 0.2s;
}

.overlay-content .overlay-button {
    display: block;
    text-align: center;
    margin-top: 10px;
    margin-right: 140px;
    opacity: 0;
    animation: scaleIn 0.8s ease-in-out forwards;
    animation-delay: 0.4s;
}

.overlay-button a {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    background-color: #0073e6;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #000000;
    margin-bottom: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease, text-decoration 0.2s ease;
}

.overlay-button a:hover {
    background-color: #005bb5;
    transform: scale(1.05);
    text-decoration: underline;
}

.overlay-button a.second-button {
    background-color: #0073e6;
    color: #000000;
    border: 1px solid #000000;
    font-size: 16px;
    opacity: 0;
    margin-right: -0px;
    animation: scaleIn 0.8s ease-in-out forwards;
    animation-delay: 0.6s;
}

.overlay-button a.second-button:hover {
    background-color: #005bb5;
    transform: scale(1.05);
    text-decoration: underline;
}

.overlay-content.hidden {
    animation: fadeOutDown 0.6s ease-in-out forwards;
}

/* Specific layout adjustments for desktop */
.header-column {
    margin-top: 0;
    padding-top: 0;
}

.Logo {
    margin-top: -65px !important;
}

.wp-block-image.Logo {
    margin-top: -80px !important;
    margin-left: 100px;
    z-index: 10 !important;
    position: relative;
    z-index: 10;
}

.Header-Nav {
    margin-top: 30px !important;
    line-height: 0 !important;
    z-index: 10;
}

.Header-bttn {
    margin-top: 30px !important;
}

.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow:first-child {
    margin-bottom: -300px;
}

.jetpack-sharing-button__button.share-linkedin {
    position: absolute;
    top: 50px;
    left: 1200px;
}

.banner {
    position: relative;
    top: -30px;
    left: 0;
    width: 100%;
    background-color: transparent;
    color: white;
    text-align: center;
    padding: 10px;
    z-index: 0;
    animation: fadeInOut 3s ease-in-out infinite;
}

body {
    padding-top: 20px;
}

.wp-block-heading.has-text-align-center.has-x-large-font-size {
    margin-top: -150px !important;
}

.Header-Nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.Header-Nav ul li {
    position: relative;
}

.Header-Nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    min-width: 200px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.Header-Nav ul li:hover > ul {
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s;
}

.Header-Nav ul li ul li {
    display: block;
    padding: 12px 20px;
    background-color: #0073e6;
    color: white;
    font-size: 16px;
    text-align: left;
    border-bottom: 1px solid #005bb5;
}

.Header-Nav ul li ul li:hover {
    background-color: #005bb5;
    cursor: pointer;
}

.wp-block-navigation-item__content {
    display: block;
    padding: 10px 20px;
    word-wrap: break-word;
    font-size: 16px;
    line-height: 1.4;
}

.wp-block-navigation-item {
    padding-left: 20px;
    padding-right: 20px;
    margin: 0;
}

.wp-block-navigation-item a {
    font-size: 16px !important;
    padding: 10px 20px !important;
}

.Header-Nav ul li a {
    text-decoration: none;
    color: #000;
    transition: text-decoration 0.2s ease, transform 0.2s ease;
}

.Header-Nav ul li a:hover {
    color: #0073e6;
    text-decoration: underline;
    transform: scale(1.05);
}

.Header-Nav {
    position: relative;
    top: 25px;
    right: 50px;
    z-index: 999;
}

.wp-block-button {
    position: relative;
    top: 113px;
    left: 70px;
    display: inline-block;
    z-index: 10;
}

.wp-block-button__link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid transparent;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.wp-block-button__link:hover {
    background-color: #005bb5;
    transform: scale(1.05);
    text-decoration: underline;
}

img.wp-image-1720 {
    position: relative;
    top: -40px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.carousel-button a {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: #0073e6;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease, text-decoration 0.2s ease;
}

.carousel-button a:hover {
    background-color: #005bb5;
    transform: scale(1.05);
    text-decoration: underline;
}

.wp-block-button.has-custom-width.wp-block-button__width-75 {
    margin-top: -230px;
}

/* Mobile Layout Adjustments */
@media (max-width: 768px) {
    /* Position overlay-content below the carousel */
    .overlay-content {
        position: relative;
        top: 450px;
        margin-top: 500px;
        padding-bottom: -1000px;
        width: 120%;
        max-width: 900px !important;
    }

    .wp-block-group.overlay-content {
        margin-top: -120px !important;
        position: relative;
        padding-bottom: 10px;
        padding-top: 3px;
        margin-bottom: -100px !important;
    }

    /* Adjust heading size and spacing */
    .wp-block-heading.has-x-large-font-size {
        font-size: 24px !important;
        line-height: 1.3;
        word-break: normal;
        margin-left: 90px !important;
        white-space: normal;
        text-align: center;
    }

    .overlay-button {
        margin-top: -1950px !important;
    }

    /* Adjust text size and spacing */
    .overlay-text {
        font-size: 10px;
        padding: 0 20px;
			 	margin-bottom: -50px;
    }

    /* Adjust button font size */
    .overlay-button a {
        font-size: 16px;
        padding: 15px 30px;
    }

    /* Ensure proper spacing for sections after overlay content */
    .wp-block-media-text {
        margin-top: 80px;
    }

    .overlay-content {
        margin-bottom: -200px !important;
				padding-bottom: 0px
    }

    /* Hide the overlay heading on smaller screens */
    .wp-block-heading.has-x-large-font-size {
        display: none !important;
    }

		.overlay-button a.second-button {
    margin-top: -2000px; /* Adjust to move the button up */
}
}