/* Modern Clean Variables */
:root {
    --primary-color: #66cc33;
    /* Adjustable based on logo exact hex */
    --primary-dark: #4da626;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --danger: #e74c3c;

    --font-main: 'Outfit', sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);

    --radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-wrap: balance;
    /* Prevent orphans in headings */
}

h1 {
    font-size: 3rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    /* Adjust based on logo proportions */
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 100px;
    /* Reduced from 120px */
    padding-bottom: 50px;
    /* Reduced from 80px */
    min-height: 80vh;
    /* Reduced height */
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
}

/* Base Mobile-First Hero Typography */
.hero-content .hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center on mobile by default */
    margin-bottom: 2rem;
    color: var(--text-dark);
    /* Dark text on mobile */
}

.title-l1 {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    line-height: 1.1;
    font-weight: 300;
}

.title-l2 {
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
}

.title-l3 {
    font-size: clamp(2.4rem, 6.5vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 5px;
    margin-right: -0.1em;
}

@media (min-width: 851px) {
    .hero {
        background-image: url('hero_photo.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(10, 15, 20, 0.95) 0%, rgba(10, 15, 20, 0.8) 35%, rgba(10, 15, 20, 0) 75%);
        z-index: 1;
    }

    .hero-container {
        position: relative;
        z-index: 2;
    }

    .hero-content .hero-title {
        color: var(--white);
        align-items: flex-start;
        /* Left align on desktop */
    }

    .title-l3 {
        text-shadow: 0 0 15px rgba(102, 204, 51, 0.3);
    }

    .hero-content p {
        color: rgba(255, 255, 255, 0.9);
    }

    .hero-image {
        display: none;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 550px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 0;
    line-height: 1.7;
    text-align: left;
}

@media (max-width: 850px) {
    .hero-content p {
        text-align: center;
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    /* Simple animation */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Services Section */
.services {
    padding: 60px 0;
    /* Reduced from 100px */
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}


.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius);
    border: 1px solid #f1f1f1;
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card .icon {
    width: 70px;
    height: 70px;
    background-color: rgba(102, 204, 51, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* About Section */
.about {
    padding: 60px 0;
    /* Reduced from 100px */
    background-color: var(--bg-light);
}

.about-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    text-align: justify;
    /* Equality/Block look */
    text-justify: inter-word;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    /* Reduced from 100px */
    background-color: var(--white);
}

/* Restored Split Layout */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
}

.contact-info {
    padding: 40px;
    background-color: var(--text-dark);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.contact-form-container {
    padding: 20px 0;
    background-color: transparent;
    /* Blend with section background */
}

/* Fix inputs to be white so they stand out */
.form-group input,
.form-group textarea {
    background-color: var(--white);
    border: 1px solid #e1e1e1;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: var(--white);
    border-color: var(--primary-color);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p,
.info-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

/* Message Section */
.message-section {
    background-color: var(--bg-light);
    /* No border, cleaner look */
    padding: 80px 0;
    /* Increased breathing room */
}

.message-section .section-header {
    text-align: center;
    max-width: 800px;
    /* Match form width */
    margin: 0 auto 50px;
}

/* Footer */
footer {
    background-color: #1a252f;
    color: var(--white);
    padding: 60px 0 0;
    /* Remove bottom padding to tighten copyright */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* Spaced between, pushing edges */
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.footer-column h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-column {
    display: flex;
    justify-content: flex-end;
}

/* Tooltip Styling */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    /* Info cursor */
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    border-radius: 6px;
    padding: 6px 0;
    position: absolute;
    z-index: 100;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
    pointer-events: none;
    box-shadow: var(--shadow-md);
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .social-column {
        justify-content: center;
    }
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-column h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.brand p {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
    margin: 0 10px;
    /* Spacing between icons */
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    /* Ultra minimal padding */
    margin-top: 30px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.copyright p {
    margin: 0;
    /* Remove default paragraph margin */
}

/* Benefits Section */
.benefits {
    padding: 60px 0;
    background-color: var(--white);
}

.benefits .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.benefit-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: #f1f1f1;
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.testimonial-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 50px;
}

.testimonial-window {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* We use JS to calculate absolute movement, but let's base sizes on strict flex layout */
}

/* Base: 3 items per view (desktop), meaning 1/3 of the container width minus gap adjustment */
.testimonial-track .testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    margin-right: 30px;
    /* This serves as the gap for calculation */
    /* Remove padding/margin from last element dynamically in JS if needed, or just let it overflow safely */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

@media (max-width: 992px) {
    .testimonial-track .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 650px) {
    .testimonial-slider-wrapper {
        padding: 0 35px;
    }

    .testimonial-track .testimonial-card {
        flex: 0 0 100%;
        margin-right: 0;
        /* No margin on mobile if it's 100% and single item scroll */
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .prev-btn {
        left: 0;
    }

    .next-btn {
        right: 0;
    }
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.testimonial-card .stars {
    color: #f39c12;
    margin-bottom: 15px;
}

.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.testimonial-card .author {
    font-weight: 700;
    color: var(--primary-color);
}


/* Responsive */
@media (max-width: 850px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-image {
        order: 1;
    }

    .hero-content {
        order: -1;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 30px;
    }

    .nav-links {
        display: none;
        /* Hide for mobile initially, toggle via JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }
}