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

:root {
    --primary-green: #2C3E50;
    --dark-green: #385925;
    --light-green: #b5deb1;
    --accent-green: #4fab4a;
    --medium-green: #8ccc8c;
    --dark-gray: #2c3e50;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
}

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

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

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    background-color: white;
    color: black;
    padding: 1rem 0;
    /* position: fixed; */
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}
.logo-img {
    max-height: 194px; /* controls vertical size without affecting header height */
    height: auto;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05); /* optional: subtle zoom on hover */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: black;
}

/* Hero Section */
.hero {
    /* background: linear-gradient(135deg, #ffffff 0%, #ffffff 0%, #73bb44 100%); */
    color: black;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('/static/src/assets/images/banner_bg.png'); */
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #73bb44;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    color: #73bb44;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    border: 1px solid #73bb44;
}

.btn-primary {
    background: #73bb44;
    color: white;
}

.btn-primary:hover {
    background: transparent;
    color: #73bb44;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #73bb44;
    border-color: #73bb44;
}

.btn-secondary:hover {
    background: #73bb44;
    color: white;
    transform: translateY(-2px);
}

/* Stats Section */
.stats {
    background: var(--light-gray);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 500;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 60px;
}

.service-category {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-green);
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-category h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-category .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    margin: 1.5rem 0;
}

.service-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
}

.service-list li:before {
    content: '✓';
    color: var(--primary-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-list li:last-child {
    border-bottom: none;
}

/* About Section */
.about {
    background: var(--light-gray);
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

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

.about-avatar {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    /* crop and fill the circle */
    display: inline-block;
    /* center-friendly */
}

.about-text h3 {
    color: var(--dark-gray);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: white;
}

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

.testimonial {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
    position: relative;
}

.testimonial:before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-green);
    position: absolute;
    top: -10px;
    left: 20px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    padding-top: 20px;
}

.testimonial .author {
    font-weight: bold;
    color: var(--primary-green);
}

/* Contact Form */
.contact {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

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

.footer-section h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #bbb;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    color: #888;
}

/* Analytics Dashboard */
.analytics {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    font-size: 0.9rem;
    z-index: 1000;
    display: none;
}

.analytics.show {
    display: block;
}

.analytics h5 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.analytics p {
    margin: 5px 0;
    color: var(--text-light);
}

/* *********** Services Container ************** */

.hdr-services {
    margin-bottom: 40px;
}

.ttl-services {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
    text-align: center;
}

.sub-services {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-weight: bolder;
}

.prc-services {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: bolder;
}

.sec-parent {
    background-color: white;
    padding: 0;
    margin: 0;
}

.cnt-managed {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

/* Heading */
.hd-managed {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    text-align: left;
    color: black;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

/* Grid */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

/* Individual Card */
.card-unit {
    height: fit-content;
    background: var(--light-gray);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-unit:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Icon */
.icon-unit {
    font-size: 2rem;
    margin-bottom: 1rem;
    width: fit-content;
}

.icon-unit img {
    width: 52px;
}

/* Title */
.ttl-card {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Text */
.txt-card {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-dark);
    flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}
/* Messages styling */
.messages {
    margin: 20px 0;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

/* Loading state for button */
button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}