/* ============================================
   Nviro Environmental Consultants - Custom Styles
   Theme: Clean & Modern with African Environment
   ============================================ */

/* ===== Root Variables ===== */
:root {
    --primary-color: #2d8f5f;
    --primary-light: #4ab878;
    --primary-dark: #1f5f41;
    --accent-color: #d4a574;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8fafb;
    --border-color: #ecf0f1;
}

/* ===== General Styles ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ===== Color Scheme ===== */
.uk-background-primary {
    background-color: var(--primary-color) !important;
}

.uk-background-secondary {
    background-color: var(--primary-dark) !important;
}

.uk-button-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.uk-button-primary:hover {
    background-color: var(--primary-dark);
}

.uk-button-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.uk-button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ===== Navigation ===== */
.nviro-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 1.8rem;
    margin-right: 8px;
}

.uk-navbar-container {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.uk-navbar-nav > li > a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.uk-navbar-nav > li > a:hover,
.uk-navbar-nav > li.uk-active > a {
    font-weight: 500;
    color: var(--text-dark);
}

.uk-navbar-dropdown {
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 143, 95, 0.85), rgba(31, 95, 65, 0.9));
    z-index: 1;
}

.hero-title {
    font-family: "Inter", sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 200;
    letter-spacing: 1px;
}

.cta-button {
    margin: 0.5rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* ===== Sections ===== */
.uk-section {
    padding: 60px 0;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.uk-background-muted {
    background-color: var(--bg-light);
}

/* ===== Service Cards ===== */
.service-card {
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(45, 143, 95, 0.15);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.service-card h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-card a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-card a:hover {
    color: var(--primary-dark);
}

/* ===== Stats Section ===== */
.stats-section {
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

/* ===== Process Steps ===== */
.process-step {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* ===== Forms ===== */
.uk-input,
.uk-textarea,
.uk-select {
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.uk-input:focus,
.uk-textarea:focus,
.uk-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 143, 95, 0.1);
    outline: none;
}

.uk-form-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* ===== Cards ===== */
.uk-card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.uk-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.uk-card-default {
    background-color: white;
}

.uk-card-body {
    padding: 1.5rem;
}

/* ===== Footer ===== */
footer {
    background-color: var(--primary-dark);
    color: white;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
}

footer a:hover {
    color: white;
}

footer .uk-heading-xsmall {
    color: white;
    margin-bottom: 1rem;
}

/* ===== Responsive Typography ===== */
@media (max-width: 960px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .hero-section {
        min-height: 400px;
    }
    
    .cta-button {
        display: block;
        margin: 0.5rem 0;
    }
}

/* ===== Utilities ===== */
.uk-border-rounded {
    border-radius: 8px;
}

.uk-text-meta {
    color: var(--text-light);
    font-size: 0.875rem;
}

.uk-link-muted {
    color: var(--text-light);
    text-decoration: none;
}

.uk-link-muted:hover {
    color: var(--primary-color);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.uk-animation-fade {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== Scrollspy Effects ===== */
[uk-scrollspy*="cls: uk-animation"] {
    opacity: 0;
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ===== Print Styles ===== */
@media print {
    nav,
    footer,
    .cta-button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}


       