:root {
    --primary-color: #2C5545;
    /* Dark Pine Green */
    --primary-light: #4A7A66;
    --secondary-color: #F2EBD4;
    /* Sand/Beige */
    --accent-color: #D4AF37;
    /* Gold/Ochre */
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-gray: #f9f9f9;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--secondary-color);
}

.full-width {
    width: 100%;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: var(--accent-color);
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
}

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

.btn-contact-nav {
    background-color: var(--accent-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-contact-nav:hover {
    background-color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 85, 69, 0.4), rgba(44, 85, 69, 0.6));
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Section Common */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.divider-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin: 15px 0;
    position: relative;
    display: inline-block;
}

.divider-icon::before,
.divider-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background-color: var(--accent-color);
}

.divider-icon::before {
    right: 30px;
}

.divider-icon::after {
    left: 30px;
}

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

.service-card {
    background: var(--white);
    padding: 50px 30px;
    /* Increased top/bottom padding */
    border-radius: var(--border-radius);
    text-align: left;
    /* Changed from center to left for better readability */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Softer, larger shadow */
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Subtle border definition */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center the content container, but text inside will be controlled */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 25px;
    /* Increased space after title */
    font-size: 1.4rem;
    font-weight: 700;
    min-height: 3.5rem;
    /* Align titles */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Keep titles centered */
    line-height: 1.3;
    width: 100%;
}

.service-card p {
    margin-bottom: 15px;
    /* Distinct separation between paragraphs */
    line-height: 1.8;
    /* improved readability */
    color: #555;
    /* slightly softer text color */
    font-size: 1.05rem;
    width: 100%;
    /* Ensure text takes full width available */
}

/* Remove margin from last paragraph to keep padding usage correct */
/* Remove margin from last paragraph to keep padding usage correct */
.service-card p:last-child {
    margin-bottom: 0;
}

.service-card strong {
    color: var(--primary-color);
    font-weight: 600;
}

.service-conclusion {
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-style: italic;
    font-weight: 500;
    color: var(--primary-light) !important;
    width: 100%;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 0;
}

.service-card ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
    color: #555;
    font-size: 1rem;
}

.service-card ul li::before {
    content: '\f00c';
    /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* About */
.bg-sand {
    background-color: var(--secondary-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    height: 400px;
    background-color: #e0d8c0;
    /* Fallback/Placeholder color similar to sand but darker */
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Creating a decorative pattern for the placeholder about image */
.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.image-box {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.about-text h2 {
    margin-bottom: 20px;
}

.lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.features-list i {
    color: var(--accent-color);
}

/* CTA */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.info-item h4 {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 5px;
}

.info-item a {
    color: var(--secondary-color);
}

.note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 5px;
    font-style: italic;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.contact-form-container {
    padding: 50px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--light-gray);
}

/* Footer */
footer {
    background-color: #1a332a;
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-brand h3 {
    color: var(--accent-color);
    margin-bottom: 5px;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        padding-top: 80px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Legal Pages Styles */
.page-header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 140px 0 80px;
    /* More spacing for fixed header */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.page-header h1 {
    color: var(--secondary-color);
    font-size: 3rem;
    margin: 0;
}

.text-content {
    padding: 80px 0;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.text-content h2 {
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.text-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.text-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.text-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.text-content li::before {
    content: '\f0da';
    /* FontAwesome caret-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.text-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-underline-offset: 3px;
}

.text-content a:hover {
    color: var(--accent-color);
}

/* ------------------------------------- */
/* FORMULES / PRICING SECTION */
/* ------------------------------------- */

.bg-light-gray {
    background-color: var(--light-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.pricing-price span {
    font-size: 1.5rem;
    font-weight: 500;
}

.pricing-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-intro {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.pricing-intro p {
    margin-bottom: 10px;
}

.pricing-intro p:last-child {
    margin-bottom: 0;
}

.pricing-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    align-self: center;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
}

.pricing-features li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--accent-color);
}

.pricing-features li small {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 2px;
}

.sectors-container {
    margin-top: 50px;
    text-align: center;
}

.sectors-box {
    display: inline-block;
    background: var(--white);
    padding: 25px 40px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sectors-box h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
}

.sectors-box h4 i {
    color: var(--accent-color);
    margin-right: 5px;
}

.sectors-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}


/* ------------------------------------- */
/* FAQ SECTION */
/* ------------------------------------- */

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item.active {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-icon {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--white);
}

.faq-answer-inner {
    padding: 0 25px 25px;
    color: var(--text-color);
    line-height: 1.6;
}

.faq-answer-inner p {
    margin-bottom: 15px;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner ul {
    margin-bottom: 15px;
    padding-left: 20px;
    list-style-type: disc;
}

.faq-answer-inner ul li {
    margin-bottom: 8px;
    color: var(--text-color);
}

/* Update Responsive rules at the end natively or below */
@media (max-width: 768px) {
    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .sectors-box {
        border-radius: 15px;
        padding: 20px;
    }

    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .faq-answer-inner {
        padding: 0 20px 20px;
    }
}