@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

:root {
    --moss-green: #69B34C;
    --moss-green-light: #88C96B;
    --moss-green-dark: #2C3E2D;
    --black: #333333;
    --white: #ffffff;
    --gray-bg: #f5f5f5;
    --text-main: #333333;
    --text-alt: #666666;
    --transition: all 0.4s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--black);
}

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

/* Top Bar */
.top-bar {
    background-color: var(--moss-green-dark);
    color: rgba(255,255,255,0.9);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

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

.top-bar-info {
    display: flex;
    gap: 25px;
}

.top-bar-info span i {
    color: var(--moss-green-light);
    margin-right: 8px;
}

/* Header & Nav */
header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(255,255,255,0.98);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--moss-green);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--moss-green);
}

/* Hero Carousel */
.hero {
    height: 85vh;
    position: relative;
    background: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    color: white;
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--moss-green);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--moss-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 93, 35, 0.3);
}

/* Segments Section */
.segments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: -50px;
    position: relative;
    z-index: 20;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.segment-box {
    background-color: var(--moss-green);
    color: white;
    padding: 50px 40px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.segment-box:last-child { border-right: none; }

.segment-box i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.segment-box h3 {
    color: white;
    margin-bottom: 15px;
}

.segment-box p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.segment-box:nth-child(2) { background-color: var(--moss-green-dark); }
.segment-box:nth-child(3) { background-color: #2c3617; }

.segment-box:hover {
    transform: translateY(-10px);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--moss-green);
    margin: 15px auto 0;
}

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

.service-card {
    background: white;
    border-bottom: 5px solid transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--moss-green);
}

.service-img, .service-media {
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: center;
    object-fit: cover;
}

.service-body {
    padding: 40px;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--moss-green);
    margin-bottom: 25px;
    display: block;
}

/* Testimonials */
.testimonials {
    background-color: var(--gray-bg);
}

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

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.stars { color: #f39c12; margin-bottom: 20px; }
.client-name { color: var(--moss-green); font-weight: 800; display: block; margin-top: 15px; }

/* Contact CTA Banner */
.contact-cta {
    background: linear-gradient(rgba(74, 93, 35, 0.9), rgba(74, 93, 35, 0.9)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-attachment: fixed;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.contact-cta h2 { color: white; font-size: 2.5rem; margin-bottom: 10px; }
.contact-cta p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

/* Newsletter */
.newsletter-section {
    background-color: var(--white);
    padding: 80px 0;
}

.newsletter-form {
    max-width: 650px;
    margin: 40px auto 0;
    display: flex;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 4px;
    overflow: hidden;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 20px 30px;
    border: 1px solid #eee;
    outline: none;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--moss-green);
    color: white;
    border: none;
    padding: 0 40px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #0b0d08;
    color: #ababab;
    padding: 100px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--moss-green);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 15px; }
.footer-col a { color: inherit; text-decoration: none; transition: var(--transition); }
.footer-col a:hover { color: white; padding-left: 5px; }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
}

/* Floating Icons */
.floating-icons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1001;
}

.btn-float {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: var(--transition);
}

.btn-whatsapp { background-color: #25d366; }
.btn-phone { background-color: var(--moss-green); }

.btn-float:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 1024px) {
    .segments-grid { grid-template-columns: 1fr; margin-top: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 2.2rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form button { padding: 20px; }
}
