*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-green: #5A9B8E;
    --secondary-slate: #4A5568;
    --tertiary-cream: #F7F3E9;
    --accent-teal: #3BA99C;
    --text-dark: #2D3748;
    --text-light: #E2E8F0;
    --white: #FFFFFF;
    --error: #E07A5F;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}


/* Navbar */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--tertiary-cream);
    padding: 1rem 2rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(247, 243, 233, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.navbar__list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.navbar__list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.navbar__list a:hover {
    color: var(--accent-teal);
}


/* Mobile Menu Toggle */

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
}


/* Hero */

.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-teal) 40%, var(--secondary-slate) 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    margin-top: 70px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

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


/* Sections */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    margin-bottom: 4rem;
    animation: fadeIn 1s ease;
}

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

.section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-green);
    margin-bottom: 2rem;
    text-align: center;
}

.section>p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #666;
}


/* Info Grid */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-teal);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}


/* Contact Form */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
}

.btn-submit {
    background: var(--accent-teal);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 169, 156, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Status Messages */

#formStatus {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    font-weight: 500;
}

#formStatus.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#formStatus.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* Footer */

footer {
    background: var(--secondary-slate);
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
}

footer a {
    color: var(--accent-teal);
    text-decoration: none;
}


/* Scroll to Top Button */

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent-teal);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top:hover {
    background: var(--primary-green);
    transform: translateY(-5px);
}

.scroll-top.visible {
    display: flex;
}


/* Loading Spinner */

.spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Mobile Styles */

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    .navbar__list {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--tertiary-cream);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s;
        pointer-events: none;
    }
    .navbar__list.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .hero {
        margin-top: 70px;
        min-height: 80vh;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}


/* Smooth Reveal on Scroll */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}