/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

a {
    text-decoration: none;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    z-index: 1000;
    position: relative;
    background-color: #fff !important;
}

.navbar-toggler {
    z-index: 1001;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-link {
    font-weight: 500;
    color: #555 !important;
    margin-left: 1rem;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2E7D32 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #2E7D32;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.btn {
    padding: 0.5rem 1.5rem !important;
    color: #fff !important;
}

.nav-link.btn::after {
    display: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    height: 70vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    margin-top: 76px;
    /* Navbar height */
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.z-2 {
    z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    padding: 6rem 0 4rem;
    margin-top: 76px;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary,
.btn-success {
    background-color: #2E7D32;
    border-color: #2E7D32;
    transition: all 0.3s;
}

.btn-primary:hover,
.btn-success:hover {
    background-color: #1B5E20;
    border-color: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 94, 32, 0.3);
}

.btn-light {
    color: #2E7D32;
    transition: all 0.3s;
}

.btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Cards */
.service-card,
.assistance-card {
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
}

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

.card-img-wrapper {
    overflow: hidden;
    height: 200px;
}

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

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

.card-title {
    color: #2E7D32;
}

/* List Group */
.list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Contact Form */
.form-control:focus {
    border-color: #2E7D32;
    box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25);
}

/* Utilities */
.text-success {
    color: #2E7D32 !important;
}

.bg-success {
    background-color: #2E7D32 !important;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer {
    background-color: #1a1a1a;
}