/* Reset & Base Styles */
:root {
    /* Brand Colors extracted from ei.one - Light Theme */
    --bg-color: #ffffff;
    --bg-darker: #f5f7f9;
    /* Very light grey for alternate sections */

    --text-primary: #10222e;
    /* Deep petrol for text */
    --text-secondary: #5a6b7c;
    /* Lighter petrol/grey for secondary text */

    /* The distinctive green accent */
    --accent-color: #58c913;
    --accent-hover: #46a00f;

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --spacing-section: 80px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    background-image:
        linear-gradient(#f5f7f9 1px, transparent 1px),
        linear-gradient(90deg, #f5f7f9 1px, transparent 1px);
    background-size: 40px 40px;
    /* Subtle grid */
    background-position: 0 0;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-title {
    font-size: 3.5rem;
    background: linear-gradient(90deg, #10222e, #58c913);
    /* Dark Petrol to Green */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    /* Dark Grey/Blue */
    max-width: 700px;
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.mt-4 {
    margin-top: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(88, 201, 19, 0.5);
    /* Neon Glow */
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    /* Hidden initially, ensure it's fully off-screen */
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    /* Max z-index */
    transition: bottom 0.5s ease-out;
    visibility: hidden;
    /* Ensure hidden initially */
    opacity: 0;
}

.cookie-banner.show {
    bottom: 0;
    visibility: visible;
    opacity: 1;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-outline {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.w-100 {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

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

.logo-img {
    height: 40px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--text-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(88, 201, 19, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(88, 201, 19, 0.1), transparent 40%);
    z-index: -1;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    /* Center buttons since content is centered */
}

.hero-logo {
    width: 180px;
    /* Dominant size */
    height: auto;
    margin-bottom: 2rem;
    display: inline-block;
}

/* Sections */
.section {
    padding: var(--spacing-section) 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.feature-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: block;
}

/* Contact Form */
.contact-section {
    background-color: var(--bg-darker);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-header {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
    /* Increased spacing for floating labels */
    position: relative;
}

.floating-label label {
    position: absolute;
    top: 14px;
    left: 12px;
    font-size: 1rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.2s ease;
    background-color: #ffffff;
    /* To cover input border if needed, or transparent */
    padding: 0 4px;
}

.floating-label input:focus~label,
.floating-label input:not(:placeholder-shown)~label,
.floating-label textarea:focus~label,
.floating-label textarea:not(:placeholder-shown)~label,
.floating-label select:focus~label,
.floating-label select:valid~label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
    background-color: #ffffff;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(88, 201, 19, 0.1);
}

/* Contact Info Details */
.contact-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.contact-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: none;
    background-color: #10222e;
    /* Dark footer on light site */
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-links {
    display: flex;
    gap: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--bg-darker);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .contact-details {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

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

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

.fade-in-up {
    opacity: 0;
    /* Hidden initially */
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Hover Effects */
.btn:hover {
    box-shadow: 0 5px 15px rgba(88, 201, 19, 0.3);
}

.contact-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}