html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

footer {
    background-color: #12372A;
    color: #FBFADA;
    text-align: center;
    padding: 20px 10px;
    position: relative;
    margin-top: auto;
}

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

body {
    font-family: Arial, sans-serif;
    background-color: #436850;
    color: #FBFADA;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Section */
header {
    position: relative;
    width: 100%;
    height: 60vh; /* Increased from 50vh */
    min-height: 500px; /* Increased from 400px */
    background-image: url('/assets/images/nature-background-free-image.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 40px 20px; /* Increased padding */
}

.header-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Changed from center to space-between */
    position: relative;
    gap: 40px; /* Added gap between elements */
}

.logo-container {
    display: flex;
    align-items: center;
    position: absolute;
    top: 20px;
    left: 20px;
    animation: fadeInRight 1.5s ease;
    max-width: 90%;
}

.logo-container img {
    height: clamp(40px, 5vw, 50px);
    width: auto;
}

.logo-container span {
    color: #ADBC9F;
    font-weight: bold;
    font-size: clamp(1.2rem, 3vw, 2rem);
    text-shadow: 
        2px 2px 5px #000000,
        -2px -2px 5px #000000,
        2px -2px 5px #000000,
        -2px 2px 5px #000000;
    margin-left: 10px;
    white-space: nowrap;
}

/* Main Logo with spacing adjustments */
.main-logo {
    width: auto;
    height: auto;
    max-width: min(70%, 280px); /* Reduced from 80% */
    max-height: 25vh; /* Reduced from 30vh */
    object-fit: contain;
    margin: 60px 0 0; /* Top margin only */
    animation: fadeInDown 1.5s ease;
}

/* Slogan with spacing adjustments */
.slogan {
    font-size: clamp(2rem, 5vw, 4rem); /* Slightly reduced max size */
    font-weight: 400;
    color: #ADBC9F;
    text-shadow: 
        2px 2px 5px #000000,
        -2px -2px 5px #000000,
        2px -2px 5px #000000,
        -2px 2px 5px #000000;
    animation: fadeInUp 1.5s ease;
    padding: 0 10%;
    margin: 0 0 40px; /* Bottom margin only */
    line-height: 1.2;
    text-align: center;
    max-width: 90%;
    word-break: break-word;
    hyphens: auto;
}

/* Main Content */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.intro {
    text-align: center;
    margin: 40px 0;
    animation: fadeIn 2s ease;
}

.intro h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #ADBC9F;
    margin-bottom: 10px;
}

.intro p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #FBFADA;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature {
    background-color: #12372A;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    animation: slideIn 1.5s ease;
}

.feature h2 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: #ADBC9F;
    margin-bottom: 10px;
}

.feature p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #FBFADA;
}

.feature:hover {
    transform: translateY(-10px);
}

.testimonials {
    margin: 40px 0;
    animation: fadeIn 2s ease;
}

.testimonials h2 {
    font-size: clamp(1.8rem, 4vw, 2rem);
    color: #ADBC9F;
    margin-bottom: 20px;
    text-align: center;
}

blockquote {
    background-color: #12372A;
    color: #FBFADA;
    padding: 20px;
    border-left: 5px solid #ADBC9F;
    margin-bottom: 20px;
    font-style: italic;
    animation: fadeInLeft 1.5s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.cta {
    text-align: center;
    background-color: #12372A;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 2s ease;
    margin: 40px 0;
}

.cta h2 {
    font-size: clamp(1.8rem, 4vw, 2rem);
    color: #ADBC9F;
    margin-bottom: 10px;
}

.cta p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #FBFADA;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #ADBC9F;
    color: #12372A;
    padding: clamp(10px, 2vw, 12px) clamp(20px, 4vw, 24px);
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #FBFADA;
    transform: scale(1.05);
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    animation: fadeInRight 1s forwards;
}

.section-border {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.section-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.15;
    z-index: 2;
}

.section-border-content {
    position: relative;
    z-index: 3;
    padding: 20px;
    opacity: 0;
    animation: fadeInText 1s 1s forwards;
}

.section-border-content h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 
        2px 2px 5px #000000,
        -2px -2px 5px #000000,
        2px -2px 5px #000000,
        -2px 2px 5px #000000;
}

footer p {
    margin: 10px 0;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInText {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Sticky Button */
.sticky-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #436850;
    color: #FBFADA;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: bold;
    padding: clamp(8px, 1.5vw, 10px) clamp(15px, 3vw, 20px);
    border: 3px solid #000000;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
}

.sticky-button:hover {
    background-color: #ADBC9F;
    color: #12372A;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: fixed;
    top: 60px;
    right: 20px;
    background-color: #12372A;
    border: 3px solid #000000;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
}

.dropdown-content.show {
    display: block;
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content li a {
    display: block;
    padding: clamp(8px, 1.5vw, 12px) clamp(15px, 3vw, 20px);
    text-decoration: none;
    color: #FBFADA;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: bold;
    transition: all 0.3s ease;
}

.dropdown-content li a:hover {
    background-color: #ADBC9F;
    color: #12372A;
}

.dropdown-content li a.active {
    background-color: #436850;
    color: #FBFADA;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        height: 70vh;
        min-height: 500px;
    }
    
    .main-logo {
        max-height: 22vh;
        margin-top: 50px;
    }
    
    .slogan {
        font-size: clamp(1.8rem, 5vw, 3rem);
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    header {
        height: 80vh;
        min-height: 450px;
    }
    
    .logo-container span {
        font-size: clamp(1rem, 4vw, 1.2rem);
        max-width: 180px;
    }
    
    .main-logo {
        max-height: 18vh;
        margin-top: 40px;
    }
    
    .slogan {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        margin-bottom: 25px;
    }
}