/* Global Styles */
:root {
    --primary-color: #8DB600; /* Apple Green */
    --primary-dark: #6e8e00;
    --secondary-color: #0e1c36;
    --text-dark: #333;
    --text-light: #666;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Color Overrides */
.text-primary {
    color: var(--primary-color) !important;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    background-color: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.nav-link {
    font-weight: 600;
    margin-left: 15px;
    color: var(--secondary-color) !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-contact {
    border-radius: 50px;
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    color: white;
    margin-top: 0;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 28, 54, 0.9) 0%, rgba(141, 182, 0, 0.7) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Services */
.section-padding {
    padding: 100px 0;
}

.line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Projects */
.project-card {
    height: 300px;
}

.project-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

.social-icon:hover {
    color: var(--primary-color) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #0e1c36;
        padding: 20px;
        border-radius: 0 0 10px 10px;
    }
    .hero-section {
        height: auto;
        padding: 150px 0 100px;
    }
}