:root {
    /* Colors */
    --clr-bg: #0d1117;
    --clr-surface: #161b22;
    --clr-surface-hover: #21262d;
    --clr-border: #30363d;
    
    --clr-text-primary: #e6edf3;
    --clr-text-secondary: #8b949e;
    
    /* Green brand colors */
    --clr-brand-light: #2ea043;
    --clr-brand: #238636;
    --clr-brand-dark: #195c25;
    
    /* Accents */
    --clr-accent-1: rgba(46, 160, 67, 0.4);
    --clr-accent-2: rgba(46, 160, 67, 0.1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 6rem 2rem;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.text-gradient {
    background: linear-gradient(135deg, #42e861, #2ea043);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--clr-brand);
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border: 1px solid var(--clr-brand-light);
    box-shadow: 0 4px 14px var(--clr-accent-1);
}

.btn-primary:hover {
    background-color: var(--clr-brand-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--clr-accent-1);
}

.btn-primary-small {
    background-color: var(--clr-brand);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    border: 1px solid var(--clr-brand-light);
}

.btn-primary-small:hover {
    background-color: var(--clr-brand-light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-text-primary);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border: 1px solid var(--clr-border);
}

.btn-secondary:hover {
    background-color: var(--clr-surface-hover);
    border-color: var(--clr-brand);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    background-color: var(--clr-accent-2);
    color: #42e861;
    border: 1px solid var(--clr-accent-1);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar-badge {
    margin-bottom: 0;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
}

.brand-logo {
    height: 60px;
    object-fit: contain;
    transition: var(--transition);
}

.brand-logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary-small) {
    color: var(--clr-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary-small):hover {
    color: #ffffff;
}

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

.mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition);
}

.hero-section {
    position: relative;
    padding: 12rem 2rem 8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

.hero-background-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--clr-brand) 0%, transparent 70%);
}

.blob-2 {
    bottom: -20%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #0e4429 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.hero-logo-wrapper {
    margin-bottom: 6rem;
    display: flex;
    justify-content: center;
}

.hero-logo-main {
    max-width: 450px;
    width: 100%;
    height: auto;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(0 0 0 rgba(66, 232, 97, 0));
}

.hero-logo-main:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(66, 232, 97, 0.4)) drop-shadow(0 0 45px rgba(46, 160, 67, 0.2));
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--clr-text-secondary);
    font-size: 1.125rem;
}

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

.service-card {
    background-color: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--clr-brand);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(46, 160, 67, 0.1);
}

.card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(13, 17, 23, 0.9));
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-content p {
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background-color: var(--clr-surface);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    position: relative;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.about-text {
    max-width: 800px;
    text-align: center;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--clr-text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    text-align: left;
}

.features-list li {
    background-color: var(--clr-bg);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* Footer Section */
.footer {
    padding: 4rem 2rem 2rem;
    background-color: #05070a;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    height: 70px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--clr-text-secondary);
    max-width: 300px;
}

.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-contact h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-contact p {
    color: var(--clr-text-secondary);
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-link {
    color: var(--clr-text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--clr-brand-light);
}

.footer-bottom {
    text-align: center;
    color: var(--clr-text-secondary);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-badge {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--clr-surface);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--clr-border);
    }
    
    .nav-links.active {
        display: flex;
    }

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

    .nav-container {
        justify-content: flex-end;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions a {
        width: 100%;
    }
}
