:root {
    --primary-green: #2a9d8f;
    --secondary-green: #264653;
    --accent-yellow: #e9c46a;
    --text-dark: #333;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--secondary-green);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo svg {
    margin-right: 10px;
    color: var(--primary-green);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--secondary-green);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-green);
}

/* Hero Section */
#hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    background: url('https://images.unsplash.com/photo-1590324391852-452f357f884a?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(38, 70, 83, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5em;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5em;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--bg-white);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-green);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

#hero .cta-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-color: var(--bg-white);
}

/* General Section Styling */
section {
    padding: 60px 0;
}

section:nth-of-type(even) {
    background-color: var(--bg-white);
}


h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1em;
    color: var(--secondary-green);
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.step-icon {
    margin-bottom: 1em;
    color: var(--primary-green);
}

.step h3 {
    margin-bottom: 0.5em;
    color: var(--secondary-green);
}

/* Benefits Section */
#benefits {
    background-color: var(--secondary-green);
    color: var(--bg-light);
}

#benefits h2 {
    color: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.benefit-card {
    background-color: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-green);
}

.benefit-card h3 {
    color: var(--accent-yellow);
    margin-bottom: 0.5em;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(38, 70, 83, 0.8), transparent);
    color: white;
    padding: 30px 15px 15px;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.team-member {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5em;
    border: 4px solid var(--primary-green);
}

.team-member h3 {
    margin-bottom: 0.25em;
    color: var(--secondary-green);
}

.team-member .team-title {
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1em;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-green);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1em;
    flex-grow: 1;
    position: relative;
    padding-left: 15px;
}

.testimonial-card blockquote::before {
    content: '“';
    position: absolute;
    left: -10px;
    top: -15px;
    font-size: 4rem;
    color: var(--primary-green);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--secondary-green);
    align-self: flex-end;
    text-align: right;
    font-style: normal;
}


/* Contact Section */
#contact .contact-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3em;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    align-items: start;
}

.contact-info h3, form h3 {
    font-size: 1.5rem;
    color: var(--secondary-green);
    margin-bottom: 1.5em;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item svg {
    color: var(--primary-green);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 4px;
}

.info-item p {
    line-height: 1.5;
    margin: 0;
}

.info-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-green);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 30px;
    box-shadow: var(--shadow);
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

form {
    max-width: 100%;
    margin: 0;
}

.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(42, 157, 143, 0.2);
}

textarea {
    resize: vertical;
    margin-bottom: 20px;
}

form button {
    width: 100%;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--secondary-green);
    color: var(--bg-light);
    text-align: center;
    padding: 20px 0;
}

/* Footer Social Icons */
.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-media a {
    color: var(--bg-light);
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: var(--accent-yellow);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    nav ul {
        display: none; /* Simple responsive behavior: hide nav links */
    }
    .form-group {
        flex-direction: column;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}