/* --- Global Styles & Variables --- */
:root {
    --primary-color: #005f73; /* A deep teal/blue */
    --secondary-color: #0a9396; /* A lighter teal */
    --accent-color: #e9d8a6; /* A sandy/light gold accent */
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #212529;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; text-align: center; }

p {
    margin-bottom: 1rem;
}

section {
    padding: 60px 0;
}

.section-light {
    background-color: var(--light-color);
}

.section-dark {
    background-color: var(--primary-color);
    color: #fff;
}

.section-dark h2 {
    color: #fff;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-color);
}

/* --- Header --- */
header {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--secondary-color);
}

.cta-button-header {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
}
.cta-button-header:hover {
    background-color: var(--primary-color);
    color: #fff;
}


/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero h2 {
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--dark-color);
    text-align: left;
}

.author {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
}

/* --- Section Content (About, Author) --- */
.section-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.content-text, .content-image {
    flex: 1;
}

.content-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Features & Testimonials Grid --- */
.features-grid, .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item, .testimonial-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.05);
    font-style: italic;
}

.testimonial-item p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.testimonial-item cite {
    font-weight: bold;
    font-style: normal;
    color: var(--accent-color);
}

/* --- Final CTA --- */
.cta-final {
    background-color: var(--secondary-color);
    color: #fff;
    text-align: center;
}

.cta-final h2 {
    color: #fff;
}

.cta-final .cta-button {
    background-color: #fff;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 10px;
}

.cta-final .cta-button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* --- Footer --- */
footer {
    background-color: var(--dark-color);
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

footer a {
    color: var(--secondary-color);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    header nav ul {
        padding: 0;
    }

    .hero-content, .section-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
    }

    .hero h2, .hero .author {
        text-align: center;
    }
    
    .features-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}