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

:root {
    --primary-green: #2d7a3e;
    --light-green: #4caf50;
    --dark-green: #1b5e20;
    --accent-green: #66bb6a;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer .logo img {
    height: 60px;
}

.btn-nav {
    background: var(--primary-green);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-nav:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 122, 62, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 120px 0 0;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/family.jpg') center/cover no-repeat;
    opacity: 0.30;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 122, 62, 0.85) 0%, rgba(27, 94, 32, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 0 0 450px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: flex-end;
}

.agent-image {
    width: 100%;
    height: auto;
    max-width: 450px;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    display: block;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-text .hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary-green);
    padding: 18px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    animation: fadeInUp 1.2s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-primary i {
    font-size: 24px;
}

.hero-features {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.feature-item i {
    font-size: 20px;
    color: var(--accent-green);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 40px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(45, 122, 62, 0.2);
    border-color: var(--primary-green);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 35px;
    color: var(--white);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-green) 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-dark {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
}

.btn-large {
    font-size: 20px;
    padding: 20px 50px;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.why-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-green);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.why-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-green);
    opacity: 0.2;
    margin-bottom: 10px;
}

.why-card h3 {
    font-size: 24px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.why-card p {
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--light-gray);
    padding: 35px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(45, 122, 62, 0.15);
}

.stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 18px;
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.author-info h4 {
    color: var(--primary-green);
    margin-bottom: 3px;
}

.author-info span {
    color: var(--text-light);
    font-size: 14px;
}

/* Footer */
.footer {
    background: var(--dark-green);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-section i {
    margin-right: 10px;
    color: var(--accent-green);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

.social-links a i {
    font-size: 18px;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.social-links a:hover {
    background: var(--accent-green);
    transform: translateY(-3px);
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float i {
    line-height: 1;
    margin: 0;
    padding: 0;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .hero-text {
        text-align: center;
        padding-bottom: 0;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text .hero-subtitle {
        font-size: 16px;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }

    .feature-item {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .section-title {
        font-size: 30px;
    }

    .services-grid,
    .why-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .btn-primary {
        padding: 15px 30px;
        font-size: 16px;
    }

    .btn-large {
        font-size: 18px;
        padding: 18px 35px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }

    .navbar .container {
        flex-direction: row;
        gap: 15px;
    }

    .logo img {
        height: 40px;
    }

    .btn-nav {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 50px;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .hero-image {
        display: none;
    }

    .service-card,
    .why-card,
    .testimonial-card {
        padding: 25px 20px;
    }

    .logo img {
        height: 40px;
    }
}
