:root {
    --primary: #76c945;
    /* Logo Green */
    --primary-dark: #2d5a27;
    --bg-dark: #0f1215;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Outfit', sans-serif;
}

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

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

/* Glassmorphism Utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s ease;
}

nav.scrolled {
    background: rgba(15, 18, 21, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.nav-logo {
    height: 98px;
    /* Increased by 50% */
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.company-name {
    font-size: 2.4rem;
    /* Reduced by 25% */
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.company-slogan {
    font-size: 0.65rem;
    /* Scaled down */
    color: var(--text-main);
    letter-spacing: 0.5px;
    font-weight: 400;
    text-transform: capitalize;
    width: 100%;
    text-align: justify;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    flex: 1;
    /* Occupy middle third */
    justify-content: center;
}

.nav-row-top,
.nav-row-bottom {
    display: flex;
    gap: 30px;
}

.nav-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 2px 0;
}

.nav-row-bottom a {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: var(--primary);
    /* Subtle emphasis */
    opacity: 0.9;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(15, 18, 21, 0.7), rgba(15, 18, 21, 0.7)), url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    padding: 0 5%;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(45deg, #ffffff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-muted);
}

.cta-button {
    padding: 15px 40px;
    background: var(--primary);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.3s, background 0.3s;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-5px);
    background: var(--primary-dark);
}

.nav-cta {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Align right within the right third */
}

/* Sections */
section {
    padding: 100px 10%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

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

.card {
    padding: 40px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card p {
    color: var(--text-muted);
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    /* ensures the whole badge is visible */
    border-radius: 50%;
    /* Makes the container circular */
    margin-bottom: 20px;
    /* Optional: if there's still a white box, this ensures it's circular */
    background-color: transparent;
}

.product-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Solutions Section */
.solutions-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.solutions-text {
    flex: 1;
    min-width: 300px;
}

.solutions-image {
    flex: 1;
    min-width: 300px;
}

.solutions-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.solution-tags {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.solution-tags span {
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
}

/* About Section */
.about {
    background: rgba(118, 201, 69, 0.03);
    /* Primary with low opacity */
}

.logo-container {
    width: 250px;
    height: auto;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo {
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Footer */
footer {
    padding: 50px 10%;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--primary);
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

    .nav-links {
        display: none;
    }

    section {
        padding: 60px 5%;
    }
}