/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #2c5aa0;
    --primary-light: #4a7bc8;
    --primary-dark: #1e3f73;
    --secondary-color: #f8f9fa;
    --accent-color: #28a745;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --text-light: #8e9aaf;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.12);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #ffffff;
    font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* ===== HEADER STYLES ===== */
.header-main {
    background: #ffffff;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--secondary-color);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
}

.contact-info span {
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 6px;
}

.urgent-link {
    color: #dc3545;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(220, 53, 69, 0.1);
    transition: var(--transition);
}

.urgent-link:hover {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.main-nav {
    padding: 12px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.brand-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    font-size: 28px;
    color: var(--primary-color);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.brand-tagline {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 400;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 14px;
}

.navbar-nav .nav-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link i {
    margin-right: 6px;
    font-size: 13px;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    padding: 8px 0;
    margin-top: 8px;
}

.dropdown-item {
    padding: 8px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.cta-btn {
    background: var(--primary-color);
    border: none;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 25px;
    font-size: 14px;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===== MAIN CONTENT STYLES ===== */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 20px 0;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 40px 0;
    margin-bottom: 30px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

.breadcrumb-nav {
    background: var(--secondary-color);
    padding: 12px 0;
    margin-bottom: 20px;
}

.breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-item a {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-secondary);
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 25px;
    margin-bottom: 20px;
}

.section-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--primary-color);
    font-size: 1.2em;
}

.highlight-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.info-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.info-card-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card-title i {
    color: var(--primary-color);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 13px;
}

/* ===== TABLES ===== */
.table {
    font-size: 14px;
}

.table th {
    background: var(--secondary-color);
    color: var(--text-primary);
    font-weight: 600;
    border: none;
    padding: 12px;
}

.table td {
    padding: 12px;
    border-color: var(--border-color);
}

.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(248, 249, 250, 0.5);
}

/* ===== LISTS ===== */
.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-list li:last-child {
    border-bottom: none;
}

.custom-list li i {
    color: var(--accent-color);
    font-size: 14px;
    width: 16px;
}

/* ===== SIDEBAR ===== */
.sidebar {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.sidebar-links li {
    margin-bottom: 8px;
}

.sidebar-links a {
    color: var(--text-secondary);
    font-size: 14px;
    padding: 8px 12px;
    display: block;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.sidebar-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.sidebar-links a.active {
    background: var(--primary-color);
    color: white;
}

/* ===== FOOTER STYLES ===== */
.footer-main {
    background: var(--text-primary);
    color: white;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-title i {
    color: var(--primary-light);
}

.footer-subtitle {
    color: var(--primary-light);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-text {
    color: #adb5bd;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-stats {
    margin-top: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #adb5bd;
}

.stat-item i {
    color: var(--primary-light);
    width: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #adb5bd;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 20px;
    margin-top: 30px;
}

.copyright p {
    color: #adb5bd;
    font-size: 13px;
    margin: 0;
}

.footer-meta {
    color: #adb5bd;
    font-size: 13px;
}

.update-info i {
    color: var(--primary-light);
    margin-right: 5px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
    color: var(--primary-color);
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .main-content {
        padding: 15px 0;
    }
    
    .page-header {
        padding: 25px 0;
        margin-bottom: 20px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .content-section {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    
    .navbar-nav {
        margin-top: 10px;
    }
    
    .cta-btn {
        margin-top: 10px;
        width: 100%;
    }
    
    .top-bar {
        padding: 6px 0;
    }
    
    .top-bar .text-end {
        text-align: left !important;
        margin-top: 5px;
    }
    
    .brand-content {
        gap: 8px;
    }
    
    .brand-icon {
        font-size: 24px;
    }
    
    .brand-name {
        font-size: 16px;
    }
    
    .footer-main {
        padding: 30px 0 15px;
    }
    
    .footer-section {
        margin-bottom: 25px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .content-section {
        padding: 15px 12px;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .info-card {
        padding: 15px;
    }
    
    .highlight-box {
        padding: 15px;
    }
    
    .table {
        font-size: 13px;
    }
    
    .table th,
    .table td {
        padding: 8px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-light-custom {
    background-color: var(--secondary-color) !important;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-light) !important;
}

.rounded-custom {
    border-radius: var(--border-radius) !important;
}

.mb-custom {
    margin-bottom: 1.5rem !important;
}

.mt-custom {
    margin-top: 1.5rem !important;
}

/* ===== BLOG SPECIFIC STYLES ===== */
.blog-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 20px;
}

.blog-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.blog-card-body {
    padding: 20px;
}

.blog-card-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* ===== HOME PAGE SPECIFIC ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-cta {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 30px 0;
    }
    
    .feature-card {
        padding: 20px;
    }
}

