/* CSS Custom Properties (Variables) */
:root {
    /* Primary Colors (Vibrant Greens) */
    --primary-color: #2e7d32;           /* main eco green - bold, natural */
    --primary-color-dark: #1b5e20;      /* very dark forest green */
    --primary-color-darker: #124116;    /* deep rich green */
    --primary-color-light: #4caf50;     /* fresh and vibrant */
    --primary-color-lighter: #81c784;   /* light leafy green */
    --primary-color-lightest: #c8e6c9;  /* pale mint green for background */
    --primary-color-pale: #e8f5e9;      /* ultra soft green background */

    /* Accent Colors (Bright Lime for highlights & buttons) */
    --accent-color: #aeea00;            /* bright lime – very visible */
    --accent-color-dark: #9ccc65;       /* lime green with depth */

    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f1f8f4;            /* soft clean green-tinted white */
    --bg-hero: linear-gradient(135deg, var(--primary-color-darker) 0%, var(--primary-color-dark) 20%, var(--primary-color) 40%, var(--primary-color-light) 60%, var(--primary-color-lighter) 80%, var(--primary-color-lightest) 100%);
    --bg-services: linear-gradient(to bottom, var(--bg-primary) 0%, rgba(76, 175, 80, 0.3) 50%, var(--bg-primary) 100%);
    --bg-contact: linear-gradient(135deg, var(--primary-color-dark) 0%, var(--primary-color) 30%, var(--primary-color-light) 70%, var(--primary-color-lighter) 100%);

    /* Text Colors (For High Contrast and Modern Look) */
    --text-primary: #1b1f23;         /* very dark gray (almost black) */
    --text-secondary: #2f4f4f;       /* dark desaturated gray-green */
    --text-muted: #4b6f61;           /* earthy green-gray */
    --text-dark: #0e1c14;            /* for dark backgrounds */
    --text-white: #ffffff;
    --text-light: #eafaf1;           /* very light mint for low-emphasis text */
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size for rem calculations */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%; /* Prevent iOS text size adjustment */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation - Mobile First */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 1001;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    height: 100vh;
    text-align: center;
    transition: left 0.3s ease;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding-top: 4rem;
}

.nav-menu.active {
    left: 0;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.25rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 1rem 2rem;
    border-radius: 8px;
    display: block;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 50%;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -8px);
}

/* Hero Section - Mobile First */
.hero {
    min-height: 100vh;
    background: var(--bg-hero);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    z-index: 2;
    text-align: center;
    min-height: calc(100vh - 9rem);
    justify-content: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 100%;
    order: 1;
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-align: center;
}

.hero-title .highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    animation: expandWidth 1.5s ease 0.5s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 90%;
    line-height: 1.6;
    text-align: center;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    margin-top: 1rem;
}

.hero-buttons .btn {
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37,99,235,0.15);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px; /* Touch target size */
}

.hero-buttons .btn-primary {
    background: var(--accent-color);
    color: var(--primary-color-darker);
}

.hero-buttons .btn-primary:hover,
.hero-buttons .btn-primary:active {
    background: var(--accent-color-dark);
    color: var(--text-white);
    transform: translateY(-2px);
}

.hero-buttons .btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-buttons .btn-secondary:hover,
.hero-buttons .btn-secondary:active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 200px;
    flex-shrink: 0;
    order: 2;
    margin-top: 1rem;
}

.hero-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
}

.energy-circle {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.08) 50%, transparent 100%);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 3rem;
    animation: pulse 3s ease-in-out infinite;
    position: relative;
    flex-shrink: 0;
    opacity: 1;
}

.energy-circle::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite 1s;
}

.energy-circle::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 1px solid rgba(251, 191, 36, 0.08);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite 2s;
}

.hero-wave-separator {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    line-height: 0;
}

.hero-wave-separator svg {
    display: block;
    width: 100%;
    height: 40px;
}

.hero-wave-separator svg path {
    fill: var(--bg-primary);
}

/* Section SVG Separator */
.section-separator {
    width: 100%;
    line-height: 0;
    background: none;
    margin: 0;
    padding: 0;
}

.section-separator svg {
    display: block;
    width: 100%;
    height: 30px;
}

.section-separator svg path,
.hero-wave-separator svg path {
    fill: var(--bg-primary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.about::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.about-text {
    order: 2;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 100%;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--primary-color);
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(37,99,235,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.feature-item i {
    font-size: 1.25rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.feature-item:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37,99,235,0.15);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1;
    margin-bottom: 1rem;
}

.image-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 3rem;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: var(--bg-services);
    position: relative;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--bg-primary);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-white);
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Why Us Section */
.why-us {
    padding: 4rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.why-us-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.why-us-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: var(--bg-primary);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.05);
}

.why-us-item:hover {
    transform: translateY(-5px);
    background: #f0f7ff;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.why-us-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.why-us-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.why-us-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: var(--bg-contact);
    color: var(--text-white);
    position: relative;
}

.contact .section-header h2,
.contact .section-header p {
    color: var(--text-white);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    order: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.25rem;
    color: var(--primary-color-lightest);
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    opacity: 0.9;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-form {
    order: 1;
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 48px; /* Touch target size */
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color-lightest);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.2);
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 1rem;
    background: var(--accent-color);
    color: var(--primary-color-darker);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    min-height: 48px;
}

.contact-form .btn:hover,
.contact-form .btn:active {
    background: var(--accent-color-dark);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Tablet Styles */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    .nav-container {
        padding: 0 2rem;
    }

    .navbar {
        padding: 1rem 0;
    }

    .nav-logo {
        font-size: 1.5rem;
    }

    .nav-logo i {
        font-size: 1.8rem;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        background: none;
        width: auto;
        height: auto;
        backdrop-filter: none;
        padding: 0;
        gap: 2rem;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 0.5rem 0;
    }

    .nav-menu a::after {
        bottom: -5px;
        left: 0;
        transform: none;
        width: 0;
    }

    .nav-menu a:hover::after {
        width: 100%;
    }

    .hamburger {
        display: none;
    }

    .hero-content {
        flex-direction: row;
        gap: 3rem;
        text-align: left;
        padding: 4rem 2rem;
    }

    .hero-text {
        flex: 2;
        align-items: flex-start;
        text-align: left;
    }

    .hero-title {
        font-size: 3rem;
        text-align: left;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        text-align: left;
        max-width: 650px;
    }

    .hero-buttons {
        flex-direction: row;
        max-width: none;
    }

    .hero-visual {
        flex: 1;
        margin-top: 0;
        order: 2;
    }

    .energy-circle {
        width: 300px;
        height: 300px;
        font-size: 4rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .section-header p {
        font-size: 1.1rem;
        max-width: 600px;
    }

    .about {
        padding: 6rem 0;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
        text-align: left;
    }

    .about-text {
        flex: 1;
        order: 2;
    }

    .about-image {
        flex: 1;
        order: 1;
        margin-bottom: 0;
    }

    .image-placeholder {
        width: 150px;
        height: 150px;
        font-size: 4rem;
    }

    .about-features {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .feature-item {
        flex: 1;
        min-width: 200px;
    }

    .services {
        padding: 6rem 0;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .service-card {
        padding: 2.5rem;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .why-us {
        padding: 6rem 0;
    }

    .why-us-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 2rem;
    }

    .why-us-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem;
    }

    .why-us-icon {
        margin: 0;
    }

    .contact {
        padding: 6rem 0;
    }

    .contact-content {
        flex-direction: row;
        gap: 4rem;
    }

    .contact-info {
        flex: 1;
        order: 1;
        gap: 2rem;
    }

    .contact-form {
        flex: 2;
        order: 2;
        padding: 2.5rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.8rem;
    }

    .hero-subtitle {
        font-size: 1.35rem;
    }

    .hero-buttons .btn {
        font-size: 1.15rem;
        padding: 1.1rem 2.5rem;
    }

    .about-content {
        flex-direction: row;
    }

    .about-text {
        order: 1;
    }

    .about-image {
        order: 2;
    }

    .image-placeholder {
        width: 300px;
        height: 300px;
        font-size: 8rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .why-us-content {
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        gap: 3rem;
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .container {
        padding: 0 2rem;
    }

    .hero-content {
        padding: 6rem 2rem;
    }
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}