/* Custom Styles */
body {
    background-color: #E8F3E8; 
    color: #2A3C2C;
}

::selection {
    background-color: #739072;
    color: white;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.5 !important;
}
p {
    line-height: 1.8 !important;
}

.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms ease-in-out, opacity 300ms ease-in-out;
    opacity: 0;
}

.faq-content.active {
    grid-template-rows: 1fr;
    opacity: 1;
}

.hover-scale-img:hover {
    transform: scale(1.05);
}

section {
    scroll-margin-top: 6rem; 
}

.hamburger line {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), stroke 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
}

.hamburger.active .line-top {
    transform: translateY(6px) rotate(45deg);
    stroke: #4F6F52; 
}

.hamburger.active .line-middle {
    opacity: 0;
    transform: translateX(10px);
}

.hamburger.active .line-bottom {
    transform: translateY(-6px) rotate(-45deg);
    stroke: #4F6F52; 
}

#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(245, 251, 245, 0.98); 
    backdrop-filter: blur(20px);
    z-index: 40; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    padding-inline-start: 2rem; 
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#mobile-menu.menu-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-item {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease-out;
}

.menu-visible .menu-item {
    opacity: 1;
    transform: translateX(0);
}

#loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: #E8F3E8;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}
#loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

#scroll-top-btn {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.menu-link-hover {
    position: relative;
    display: inline-block;
}
.menu-link-hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; 
    width: 0;
    height: 4px;
    background-color: #4F6F52;
    transition: width 0.3s ease;
}
html[dir="ltr"] .menu-link-hover::after {
    left: 0;
    right: auto;
}
.menu-link-hover:hover::after {
    width: 100%;
}