/* --- CSS Variables and Reset --- */
:root {
    --primary-color: #006869;
    --secondary-color: #a8d8cd;
    --accent-color: #f7b733; /* Friendly Yellow */
    --neutral-bg: #f8fbfb;
    --text-dark: #014243;
    --text-light: #ffffff;
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #fff;
}

/* --- Utility Classes --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section {
    padding: 80px 0;
}

.bg-neutral {
    background-color: var(--neutral-bg);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

h1 { font-size: 3.2rem; line-height: 1.2; }
h2 { font-size: 2.8rem; text-align: center; }
h3 { font-size: 1.8rem; }
p { margin-bottom: 1rem; }
u { text-decoration-color: var(--accent-color); }

.subtitle {
    text-align: center;
    max-width: 700px;
    margin: -10px auto 40px auto;
    font-size: 1.1rem;
}

/* --- Header & Navigation --- */
header {
    background-color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 70px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

/* --- Hero Section --- */
#hero {
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(0, 104, 105, 0.6), rgba(0, 104, 105, 0.6)), url('../images/hero-bubbles-lake.jpg');
    background-size: cover;
    background-position: center center;
    color: var(--text-light);
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 100px;
}

#hero h1 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* --- About/Features Section --- */
.features {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 4rem;
}

.feature {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.feature h3 {
    color: var(--primary-color);
}

/* === NEW: Parallax Divider Section === */
#parallax-divider {
    height: 400px; /* Controls the height of the "window" */
    background-image: linear-gradient(rgba(0, 104, 105, 0.3), rgba(0, 104, 105, 0.3)), url('../images/hero-bubbles-lake.jpg');
    
    /* This is the magic that creates the parallax effect */
    background-attachment: fixed;
    
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* --- Core Tools Section --- */
.tool-feature {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}
.tool-feature:last-child {
    margin-bottom: 0;
}
.tool-feature.reverse {
    flex-direction: row-reverse;
}

.tool-image {
    flex: 1;
}

.tool-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 104, 105, 0.15);
}

.tool-description {
    flex: 1;
}

.learn-more-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
}
.learn-more-link:hover {
    text-decoration: underline;
}

/* --- Partners Section --- */
#partners {
    text-align: center;
}
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}
.partner-logos img {
    max-height: 70px;
}

/* --- Footer --- */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 1rem;
}

.footer-about { flex-basis: 40%; }
.footer-links, .footer-contact { flex-basis: 25%; }

.footer-links ul { list-style: none; }
.footer-links a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--accent-color); }
footer h4 { color: #fff; margin-bottom: 1rem; font-family: var(--font-heading); }
.footer-bottom { text-align: center; padding-top: 20px; font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* --- Responsive & Mobile Nav --- */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: var(--primary-color); transition: all 0.3s ease-in-out; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.2rem; }
    nav { display: none; flex-direction: column; width: 100%; background-color: #fff; position: absolute; top: 100px; left: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
    nav.active { display: flex; }
    nav ul { flex-direction: column; width: 100%; text-align: center; }
    nav li { padding: 1rem 0; border-bottom: 1px solid #eee; }
    .hamburger { display: flex; }
    .features, .tool-feature, .tool-feature.reverse, .footer-content { flex-direction: column; }
    .tool-feature { gap: 30px; }
    .partner-logos { gap: 40px; flex-direction: column; }
    
    /* Disables parallax on mobile for better performance */
    #parallax-divider { background-attachment: scroll; }
}
/* === TWEAK: Reduce space above the Tools section === */
#tools {
    padding-top: 30px; /* Reduced from the default 80px to tighten the design */
}