/* custom.css */

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;   
	background-color: #F0FFF0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 10px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: #2c3e50;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Header */
.navbar {
    background-color: #3498db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff !important;
}

.navbar-brand-2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff !important;
}

.nav-link {
    color: #004953 !important;
    font-weight: 550;
    transition: color 0.3s ease;
	font-size: 1.15rem;
}

.nav-link:hover {
    color: #007bff !important;
}

/* Main Content */
main {
    padding: 2rem 0;
}

/* Image Control */
.img-fluid {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Additional image control classes */
.img-thumbnail {
    padding: 0.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-width: 100%;
    height: auto;
}

.img-rounded {
    border-radius: 0.5rem;
}

.img-circle {
    border-radius: 50%;
}

.img-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.3s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

.img-overlay-container {
    position: relative;
    overflow: hidden;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-overlay-container:hover .img-overlay {
    opacity: 1;
}

/* Responsive image gallery */
.img-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.img-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .img-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .img-gallery img {
        height: 150px;
    }
}

/* Forms */
.form-control {
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-group {
    margin-bottom: 1rem;
	 color: #004953 !important;
    font-weight: 550;
    transition: color 0.3s ease;
	font-size: 1.15rem;
}

/* Buttons */
.btn {
    border-radius: 0.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-secondary {
    background-color: #95a5a6;
    border-color: #95a5a6;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    border-color: #7f8c8d;
}

/* Tables */
.table {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table thead th {
    background-color: #3498db;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(52, 152, 219, 0.05);
}

/* Cards */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: #3498db;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}

/* Alerts */
.alert {
    border-radius: 0.25rem;
    border: none;
}

.alert-success {
    background-color: #2ecc71;
    color: #fff;
}

.alert-danger {
    background-color: #e74c3c;
    color: #fff;
}

.alert-warning {
    background-color: #f39c12;
    color: #fff;
}

.alert-info {
    background-color: #3498db;
    color: #fff;
}

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.page-item.active .page-link {
    background-color: #3498db;
    border-color: #3498db;
}

.page-link {
    color: #3498db;
}

/* Dashboard */
.dashboard-card {
    text-align: center;
    padding: 1.5rem;
}

.dashboard-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.dashboard-card .card-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
}

/* Charts */
.chart-container {
    position: relative;
    margin: auto;
    height: 300px;
    width: 100%;
}

/* GIS Map */
#map {
    height: 400px;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.875rem; }

    .table-responsive {
        font-size: 0.875rem;
    }

    .dashboard-card .card-text {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }

    .table {
        border: 1px solid #dee2e6;
    }

    .table td, .table th {
        background-color: #fff !important;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}


/* custom.css */
body {
    font-family: 'Arial', sans-serif;
    background-color: #F0FFF0;
}

.navbar-nav {
    color: #004B49;
}

.navbar-nav .nav-link:hover {
    color: #006B3C;
}

.container {
   
}

h1 {
    color: #004953;
    margin-bottom: 20px;
}

h2 {
    color: #007bff;
    margin-bottom: 20px;
}

h5 {
    color: #006B3C;
    margin-bottom: 20px;
}

h6 {
    color: #006B3C;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.table {
    margin-top: 20px;
}

.pagination {
    justify-content: center;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.alert {
    margin-top: 20px;
}

footer {
    background-color: #343a40;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}