body {
    font-family: 'Merriweather', serif;
    background-color: #064e3b;
    color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    scroll-snap-type: y mandatory;
}

h1, h2, h3, .display-font {
    font-family: 'Playfair Display', serif;
}

.full-screen-section {
    position: relative;
    min-height: 100vh;
    min-height: 100svh; 
    width: 100%;
    display: flex;
    overflow: hidden;
    scroll-snap-align: start;
    justify-content: flex-start; 
    align-items: flex-end; 
    padding-bottom: 8vh; 
    padding-left: 5vw; 
    padding-right: 5vw; 
}

.hero-section {
    justify-content: center;
    align-items: center;
    padding-bottom: 0;
    padding-left: 0;
}

.bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 10s ease;
}

@media (hover: hover) {
    .full-screen-section:hover .bg-image {
        transform: scale(1.05);
    }
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(6, 78, 59, 0.4), rgba(2, 44, 34, 0.8));
    z-index: 1;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.content-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.001);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 8px;
    max-width: 450px; 
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 6px solid #34d399;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    cursor: pointer;
    max-height: 70vh; 
    overflow-y: auto;
}

.inner-box {
    background: rgba(255, 255, 255, 0.001) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(3px);
}

.hover-vanish {
    position: relative;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    cursor: pointer;
}

.text-justify-custom { text-align: justify; }

@media (max-width: 768px) {
    .content-card {
        padding: 1.5rem !important;
        margin: 0 10px !important;
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        background: rgba(255, 255, 255, 0.1); 
    }
    .display-font { word-break: keep-all; }
    .bg-image { transition: none; }
}

@media (hover: hover) {
    body .content-card:hover,
    body .hover-vanish:hover {
        opacity: 0 !important;
        transition: opacity 2s ease-in-out 2s !important;
    }

    body section:has(.content-card:hover) .overlay-gradient,
    body section:has(.hover-vanish:hover) .overlay-gradient {
        opacity: 0 !important;
        transition: opacity 2s ease-in-out 2s !important;
    }
}

.clicked-hide {
    opacity: 0 !important;
    transition: opacity 0.5s ease-in-out !important; 
    pointer-events: auto !important;
}

body section:has(.clicked-hide) .overlay-gradient {
    opacity: 0 !important;
    transition: opacity 0.5s ease-in-out !important;
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up.active:not(:hover):not(.clicked-hide) {
    opacity: 1 !important;
}

.slideshow-fade {
    animation: imageFade 12s infinite ease-in-out;
}

@keyframes imageFade {
    0%, 100% { opacity: 0; }
    20%, 80% { opacity: 1; }
}