:root {
    --bs-primary: #2E7D32;
    /* Green 800 */
    --bs-primary-rgb: 46, 125, 50;
    --bs-success: #4CAF50;
    --bs-warning: #FFC107;
    /* Amber */
    --bs-yellow: #FFEB3B;
    --bs-body-bg: #f5f5f5;
    --bs-link-color: #2E7D32;
    --bs-link-hover-color: #1B5E20;

    /* Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1rem + 1.25vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);

    /* Fluid Spacing */
    --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
    --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
    --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
    --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
    --space-xl: clamp(2rem, 1.5rem + 2.5vw, 4rem);
}

body {
    font-family: 'Public Sans', sans-serif;
    color: #566a7f;
    font-size: var(--text-base);
    line-height: 1.5;
}

/* Navbar */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 0.125rem 0.25rem rgba(46, 125, 50, 0.15) !important;
}

.navbar .nav-link {
    color: #566a7f !important;
    font-weight: 600;
}

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

.navbar-logo {
    height: 110px;
    margin-top: -35px;
    margin-bottom: -35px;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
    .navbar-logo {
        height: 60px;
        margin-top: -10px;
        margin-bottom: -10px;
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: #1B5E20;
    /* Darker Green */
    border-color: #1B5E20;
    color: #ffeb3b;
    /* Yellow text on hover */
}

.btn-warning {
    background-color: var(--bs-warning);
    border-color: var(--bs-warning);
    color: #212529;
}

.btn-white {
    background-color: #fff;
    border-color: #fff;
    color: var(--bs-primary);
}

.btn-white:hover {
    background-color: var(--bs-yellow);
    border-color: var(--bs-yellow);
    color: var(--bs-primary);
}

/* Hero Section */
.bg-primary {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #4CAF50 100%) !important;
}

.hero-image {
    max-width: 100%;
    height: auto;
    margin-top: var(--space-lg);
}

@media (min-width: 768px) {
    .hero-image {
        max-height: 1000px;
        max-width: none;
        margin-right: -180px;
        margin-top: 100px;
    }
}

/* Cards */
.card {
    border: 0;
    box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
    transition: transform 0.2s;
    border-radius: 0.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(46, 125, 50, 0.2);
}

.card-title {
    color: var(--bs-primary);
    font-weight: 700;
}

/* Footer */
footer {
    background-color: #1B5E20 !important;
    /* Dark Green */
    color: #fff !important;
    padding-top: 3rem;
    margin-top: 3rem;
}

footer a {
    color: #FFEB3B !important;
    /* Yellow links in footer */
    text-decoration: none;
}

footer a:hover {
    color: #fff !important;
    text-decoration: underline;
}

footer .text-secondary {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer .bg-dark {
    background-color: #0d3810 !important;
    /* Even Darker Green instead of black */
}

/* Headers */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #2E7D32;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: var(--text-4xl) !important;
}

h2 {
    font-size: var(--text-3xl) !important;
}

h3 {
    font-size: var(--text-2xl) !important;
}

h4 {
    font-size: var(--text-xl) !important;
}

h5 {
    font-size: var(--text-lg) !important;
}

.text-primary {
    color: #2E7D32 !important;
}

/* Utilities */
.shadow-custom {
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
}