/* Custom Styles */

body {
    font-family: Arial, sans-serif; /* Adjusted to a common font for replication */
    color: #333;
}

/* Header/Welcome Section on Index Page */
.welcome-section {
    background: url('images/Background.jpg') no-repeat center center;
    background-size: cover;
    min-height: 600px; /* Adjust as needed */
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.welcome-background-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    position: absolute; /* Ensure overlay covers parent */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* About Us Page Hero Section */
.about-hero-section {
    background: url('images/Background.jpg') no-repeat center center; /* NEW: About Us background image */
    background-size: cover;
    min-height: 700px; /* Adjust height as needed for content */
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    color: white; /* Ensure text is white against dark overlay */
}

.about-background-overlay {
    background-color: rgba(0, 0, 0, 0.6); /* Slightly darker overlay for About Us text */
    position: absolute; /* Ensure overlay covers parent */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* General H1 and Lead styles that apply to both welcome and about sections */
.welcome-section h1, .about-hero-section h1 {
    font-size: 2.8rem;
}

.welcome-section .lead, .about-hero-section .lead {
    font-size: 1.1rem;
}

.custom-card {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white card */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Adjust card spacing and font for product grid (Assumed to be in index.html only) */
.bg-primary .card { /* Targeting cards within the .bg-primary section */
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bg-primary .card-title {
    font-size: 1.25rem;
}

.bg-primary .card-text {
    font-size: 0.9rem;
}

/* Bootstrap overrides/adjustments (Brand Colors) */
.btn-outline-success {
    color: #007236;
    border-color: #007236;
}

.btn-outline-success:hover {
    background-color: #007236;
    color: #fff;
}

.btn-success {
    background-color: #007236;
    border-color: #007236;
}

.btn-success:hover,
.btn-success.active { /* Added active state for solid button */
    background-color: #005a2b; /* Slightly darker green on hover/active */
    border-color: #005a2b;
}

.bg-primary {
    background-color: #007236 !important;
}

/* Footer specific adjustments */
footer p.small, footer li, footer a {
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        text-align: center;
        background-color: #f8f9fa;
        padding: 1rem;
        border-radius: 5px;
        margin-top: 10px;
    }
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    .welcome-section, .about-hero-section { /* Apply to both hero sections */
        min-height: auto;
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .welcome-section h1, .about-hero-section h1 { /* Apply to both hero sections */
        font-size: 2rem;
    }
    .welcome-section .lead, .about-hero-section .lead { /* Apply to both hero sections */
        font-size: 1rem;
    }
    .col-lg-6.d-flex.flex-column.justify-content-between {
        gap: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .row.row-cols-md-2 > .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .text-lg-start, .text-lg-end {
        text-align: center !important;
    }
    footer .col-lg-4:not(:last-child) {
        margin-bottom: 1.5rem;
    }
}

