/* ----------------- GENERAL BODY ----------------- */
body {
    font-family: 'Rubik', sans-serif;
    background-color: #f8f9fa;
    color: #1a1a1a;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* ----------------- MAIN CONTAINER ----------------- */
main.container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

/* ----------------- HERO SECTION ----------------- */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to right, #e0f2f1, #b2dfdb);
    border-radius: 0px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #004d40;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    color: #00695c;
}

/* ----------------- SECTION STYLING ----------------- */
section {
    background: #fff;
    padding: 30px 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transform: translateY(100px); /* start fly-in below */
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

section.in-view {
    transform: translateY(0); /* final fly-in position */
    opacity: 1;
}

/* ----------------- HEADINGS ----------------- */
section h2 {
    font-size: 1.8rem;
    color: #004d40;
    margin-bottom: 15px;
}

section h3 {
    font-size: 1.3rem;
    color: #00796b;
    margin-top: 20px;
}

/* ----------------- PARAGRAPHS ----------------- */
section p {
    font-size: 1rem;
    margin-bottom: 15px;
}

/* ----------------- LISTS ----------------- */
section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

section ul li {
    margin-bottom: 8px;
    list-style: disc inside;
}

/* ----------------- LINKS ----------------- */
a {
    color: #004d40;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #00796b;
    text-decoration: underline;
}

/* ----------------- SLIDER SECTION ----------------- */
.slider {
    position: relative;
    height: 400px;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 0px;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align content at the bottom */
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Slide content */
.slide-content {
    position: relative;
    text-align: center;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    padding: 10px;
    margin-bottom: 0px; /* Space from bottom */
}

.slide-content h1 {
    font-size: 2.8rem;
    margin: 0px 0 0px 0;
}

.slide-content p {
    font-size: 1.2rem;
}

/* ----------------- RESPONSIVE ----------------- */
@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    section h3 {
        font-size: 1.1rem;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}/* ----------------- GENERAL BODY ----------------- */
body {
    font-family: 'Rubik', sans-serif;
    background-color: #f8f9fa;
    color: #1a1a1a;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* ----------------- MAIN CONTAINER ----------------- */
main.container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

/* ----------------- HERO SECTION ----------------- */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to right, #e0f2f1, #b2dfdb);
    border-radius: 0px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #004d40;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    color: #00695c;
}

/* ----------------- SECTION STYLING ----------------- */
section {
    background: #fff;
    padding: 30px 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transform: translateY(100px); /* start fly-in below */
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

section.in-view {
    transform: translateY(0); /* final fly-in position */
    opacity: 1;
}

/* ----------------- HEADINGS ----------------- */
section h2 {
    font-size: 1.8rem;
    color: #004d40;
    margin-bottom: 15px;
}

section h3 {
    font-size: 1.3rem;
    color: #00796b;
    margin-top: 20px;
}

/* ----------------- PARAGRAPHS ----------------- */
section p {
    font-size: 1rem;
    margin-bottom: 15px;
}

/* ----------------- LISTS ----------------- */
section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

section ul li {
    margin-bottom: 8px;
    list-style: disc inside;
}

/* ----------------- LINKS ----------------- */
a {
    color: #004d40;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #00796b;
    text-decoration: underline;
}

/* ----------------- SLIDER SECTION ----------------- */
.slider {
    position: relative;
    height: 400px;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 0px;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align content at the bottom */
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Slide content */
.slide-content {
    position: relative;
    text-align: center;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    padding: 10px;
    margin-bottom: 0px; /* Space from bottom */
}

.slide-content h1 {
    font-size: 2.8rem;
    margin: 0px 0 0px 0;
}

.slide-content p {
    font-size: 1.2rem;
}

/* ----------------- RESPONSIVE ----------------- */
@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    section h3 {
        font-size: 1.1rem;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}