@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #1B4332;
    --secondary-color: #40916C;
    --accent-color: #D8A48F;
    --light-bg: #F7F9F4;
    --text-color: #2D3436;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--light-bg);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Header & Nav */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section - Home */
.hero {
    background: linear-gradient(rgba(27, 67, 50, 0.6), rgba(27, 67, 50, 0.6)), url('img/hero-home.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
}

.btn:hover {
    background-color: var(--primary-color);
}

/* Content Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.text-block {
    margin-bottom: 40px;
    text-align: justify;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Specific Page Styles */

/* About Page Hero */
.about-hero-bg {
    background: linear-gradient(rgba(27, 67, 50, 0.8), rgba(27, 67, 50, 0.8)), url('img/hero-about.jpg');
    height: 60vh;
}

.blockquote-custom {
    border-left: 5px solid var(--secondary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
    font-size: 1.1rem;
    background: white;
    padding: 20px;
    border-radius: 0 10px 10px 0;
}

.team-card {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--secondary-color);
    object-position: center top; 
}

.value-box {
    background: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 8px;
    height: 100%;
}

/* Services Page Hero */
.services-hero-bg {
    background: linear-gradient(rgba(27, 67, 50, 0.8), rgba(27, 67, 50, 0.8)), url('img/hero-services.jpg');
    height: 60vh;
}

.service-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1;
    min-width: 300px;
}

.service-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.service-info {
    flex: 1;
    min-width: 300px;
}

.service-price {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    margin: 20px 0;
}

.features-list li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.features-list li::before {
    content: "✔";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-item h4 {
    cursor: pointer;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.faq-item p {
    font-size: 0.95rem;
    color: #555;
}

/* Blog & Contact Heroes */
.blog-hero-bg {
    background: linear-gradient(rgba(27, 67, 50, 0.8), rgba(27, 67, 50, 0.8)), url('img/hero-blog.jpg');
    height: 50vh;
}

.blog-post {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.blog-img-container {
    height: 350px;
    overflow: hidden;
}

.blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-post:hover .blog-img-container img {
    transform: scale(1.05);
}

.blog-content {
    padding: 40px;
}

.blog-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.blog-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.blog-text {
    color: #555;
    margin-bottom: 20px;
}

.contact-hero-bg {
    background: linear-gradient(rgba(27, 67, 50, 0.8), rgba(27, 67, 50, 0.8)), url('img/hero-contact.jpg');
    height: 50vh;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 5px rgba(64, 145, 108, 0.3);
}

textarea {
    resize: vertical;
    min-height: 150px;
}
/* Styles for legal pages */
.legal-content h3 { margin-top: 30px; font-size: 1.3rem; color: var(--secondary-color); }
.legal-content ul { margin: 15px 0 15px 40px; }
.legal-content li { margin-bottom: 10px; }