﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f4f6f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.top-bar {
    background: #003366;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

    .top-bar .container {
        display: flex;
        justify-content: space-between;
    }

header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #003366;
    font-weight: 600;
}

    nav a:hover {
        color: #0077cc;
    }

footer {
    background: #003366;
    color: white;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
}
.news-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    height: 100%;
}

    .news-card:hover {
        transform: translateY(-5px);
    }

    .news-card h5 {
        color: #003366;
    }

    .news-card a {
        text-decoration: none;
        font-weight: 600;
        color: #0077cc;
    }
.news-ticker {
    background: linear-gradient(90deg, #003366, #0059b3);
    color: #ffffff;
    padding: 12px 0;
    font-weight: 600;
}

.news-label {
    background: #ffcc00;
    color: #000;
    padding: 6px 12px;
    margin-right: 15px;
    border-radius: 4px;
}

.news-ticker marquee {
    color: #ffffff;
}
/* History Section */
.history-section {
    background-color: #f4f8fc;
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;
}

.history-section p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.history-img {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.history-section .btn-primary {
    background-color: #003366;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
}
/* Our Services Section */
.services-section {
    background: #f8fbff;
    padding: 70px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #003366;
}

.section-subtitle {
    color: #666;
}

.service-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }

.service-icon {
    font-size: 40px;
    color: #0056b3;
    margin-bottom: 15px;
}

.service-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: #555;
}

.service-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 18px;
    background: #003366;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

    .service-btn:hover {
        background: #0056b3;
    }

.login-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

    .login-card h2 {
        font-weight: 700;
        color: #003366;
    }

.captcha-img {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 5px;
}

/* ===== TOP HEADER ===== */
.admin-topbar {
    background: #ffffff;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .admin-topbar h5 {
        font-weight: 600;
        color: #003366;
    }

.toggle-btn {
    background: #003366;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 18px;
}

/* ===== LAYOUT ===== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.admin-sidebar {
    width: 240px;
    background: linear-gradient(90deg, #1565c0, #00acc1);
    color: white;
    padding-top: 20px;
    transition: all 0.3s ease;
}

    /* Hide Sidebar Completely */
    .admin-sidebar.collapsed {
        margin-left: -240px;
    }

    .admin-sidebar ul {
        list-style: none;
        padding: 0;
    }

        .admin-sidebar ul li {
            padding: 10px 20px;
        }

            .admin-sidebar ul li a {
                color: #cfd8dc;
                text-decoration: none;
                display: block;
                font-weight: 500;
            }

                .admin-sidebar ul li a:hover {
                    background: #003366;
                    color: #fff;
                    border-radius: 5px;
                }

    /* Collapsed Sidebar */
    .admin-sidebar.collapsed {
        width: 70px;
    }

/* ===== CONTENT ===== */
.admin-content {
    flex: 1;
    padding: 30px;
    background: #f4f6f9;
}

/* Page Title */
.page-title-card {
    background: linear-gradient(90deg, #1565c0, #00acc1);
    padding: 9px 13px;
    color: white;
    border-radius: 10px;
    font-weight: 600;
}

/* Section Header */
.section-header {
    background: #f1f4f9;
    font-weight: 600;
    color: #003366;
    border-bottom: 2px solid #e3e6f0;
}

/* Card */
.card {
    border-radius: 10px;
    border: none;
}

/* Labels */
.form-label {
    font-weight: 500;
    color: #333;
}
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0; /* small gap top & bottom */
}

.login-card {
    width: 380px;
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
}

    .login-card img {
        width: 160px;
        margin-bottom: 15px;
    }

.form-control {
    margin-bottom: 5px;
    height: 42px;
    border-radius: 8px;
}

.btn-login {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    background: linear-gradient(90deg, #1565c0, #42a5f5);
    border: none;
    color: white;
    font-weight: 600;
    transition: 0.3s;
}

    .btn-login:hover {
        background: linear-gradient(90deg, #0d47a1, #1e88e5);
        transform: translateY(-2px);
    }

.login-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #0d47a1;
}
/* Card Container */
.custom-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding: 25px;
}

/* Tabs Styling */
.nav-tabs .nav-link {
    font-weight: 600;
    color: #0d47a1;
}

    .nav-tabs .nav-link.active {
        background: linear-gradient(90deg,#1565c0,#42a5f5);
        color: #fff !important;
        border: none;
    }

/* Label Title */
.detail-title {
    font-weight: 600;
    color: #0d47a1;
}

/* Value */
.detail-value {
    color: #333;
}

/* GridView */
.table thead {
    background: #1565c0;
    color: white;
}
/* DASHBOARD */
/* Dashboard Wrapper */
.dashboard-wrapper {
    padding: 25px;
}

/* Cards Layout */
.dashboard-cards {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

/* Modern Government Card */
.modern-card {
    flex: 1;
    min-width: 260px;
    padding: 22px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    border-left: 6px solid #1f4e79;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

    .modern-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    }

/* Blue Variations */
.card-blue {
    border-left-color: #1f4e79;
}

.card-lightblue {
    border-left-color: #2a6ebd;
}

.card-darkblue {
    border-left-color: #16365c;
}

/* Icon */
.card-icon {
    font-size: 30px;
    background: #e9f1fb;
    color: #1f4e79;
    padding: 14px;
    border-radius: 50%;
}

/* Text */
.card-title {
    font-size: 14px;
    color: #555;
}

.card-amount {
    font-size: 26px;
    font-weight: 600;
    color: #1f4e79;
    margin-top: 4px;
}

/* Card Styling */
.card-custom {
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: none;
}

/* Grid Styling */
.custom-table th {
    background-color: #0d6efd; /* Change to your header gradient color */
    color: #fff;
    font-weight: 500;
}

.custom-table td {
    vertical-align: middle;
}

/* Property Image */
.property-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #ddd;
    padding: 3px;
    border-radius: 4px;
}

/* Sidebar Logo Section */
.sidebar-logo {
    text-align: center;
    padding: 10px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.logo-img {
    max-height: 150px;
    width: auto;
}

.logo-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
    letter-spacing: 0.5px;
}
