/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Full screen layout */

/* Container */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
}

/* Left section */
.text-section {
    width: 45%;
}

.text-section h1 {
    color: #F4A261;
    font-size: 2em;
    font-weight: 500;
    margin-bottom: 1em;

}

.text-section .links {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: flex-start;
    justify-content: center;
    margin: 0 auto;
}

.text-section .links a {
    color: #fff;
    font-size: 2em;
    text-decoration: none;
    font-weight: normal;
    width: fit-content;
}
.offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: stretch;
    justify-content: center;
    margin: 0 auto;
  }

.offcanvas-body >a{
    color: #fff;
    font-size: 2em;
    text-decoration: none;
    font-weight: bold;
    width: fit-content;
}

.offcanvas-body nav{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.offcanvas-header {
    flex-direction: row;
}

/* Right section */
.carousel{
    overflow: hidden;
}
.image-section {
    border-radius:10px ;
    width: 45%;
    position: relative;
}

.carousel-inner img {
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
}





/* Header */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1em 5%;
    display: flex;
    justify-content: flex-end;
    gap: 2em;
    font-size: 1em;
    align-items: center;
    flex-direction: row;
    z-index: 1000;
    background-color: transparent; /* Default transparent */
    transition: background-color 0.3s ease; /* Smooth transition */
}

.header.scrolled {
    background-color: rgba(10, 27, 42, 0.9); /* Visible background when scrolled */
}


.header a {
    color: #ffffffa2;
    text-decoration: none;
    font-weight: normal;
}

/* Logo */
.logo {
    position: absolute;
    top: 1em;
    left: 5%;
    color: #fff;
    font-size: 1em;
}

.logo img{
    width: 40px;
}

/* fonts */
.josefin-sans {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


@media (max-width: 768px) {
    .offcanvas.offcanvas-end {
        width: 100%; /* For smaller screens, you can make it nearly full width */
    }
}

 /* Style for animated bottom line */
 .animated-link {
    position: relative;
    color: #fff;
    text-decoration: none;
    padding: 5px 0;
    margin-right: 20px;
    font-size: 1.2em;
    font-weight: bold;
}

/* Animated bottom line */
.animated-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f4a361a7;
    opacity: 0;
    animation: underline-sequence 6s ease-in-out infinite;
    animation-delay: var(--animation-delay); /* Delay for each link */
}

/* Keyframes for sequential animation */
@keyframes underline-sequence {
    0%, 25% {
        opacity: 0;
        width: 0;
        transform-origin: left;
    }
    5%, 20% {
        opacity: 1;
        width: 100%;
        transform-origin: left; /* Expanding from left to right */
    }
    25%, 50% {
        opacity: 1;
        width: 100%;
        transform-origin: right; /* Preparing to collapse from right */
    }
    50%, 75% {
        opacity: 1;
        width: 0;
        transform-origin: right; /* Collapse from right to left */
    }
    75%, 100% {
        opacity: 0;
        width: 0;
        transform-origin: left; /* Reset for next cycle */
    }
}

/* off canvas */


#offcanvasMenu{
    background-color: #0A1B2A; /* Background color for blending */
}
#btn-close{
    background-color: transparent;
    border: none;
    color: white;
    font-size: 1em;
}
.menu-container i{
    color: white;
    font-size: 2em;
    font-weight: 500;
}