/**
 * Compact Professional Layout - Maximum Data in Minimum Space
 * Best-in-Class Government Website Design
 */

/* ============================================
   COMPACT SPACING SYSTEM
   ============================================ */
:root {
    --compact-xs: 0.25rem;   /* 4px */
    --compact-sm: 0.375rem;  /* 6px */
    --compact-md: 0.75rem;   /* 12px */
    --compact-lg: 1rem;      /* 16px */
    --compact-xl: 1.5rem;     /* 24px */
}

/* ============================================
   COMPACT CONTAINER & SECTIONS
   ============================================ */
.container {
    max-width: 1400px !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.quick-links-section,
.about-section,
.programmes-section,
.stats-section-professional {
    padding: 1.5rem 0 !important;
}

.section-header {
    margin-bottom: 1rem !important;
}

.section-title {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
}

.section-subtitle {
    font-size: 0.9rem !important;
    margin-top: 0.25rem !important;
}

/* ============================================
   COMPACT QUICK LINK CARDS
   ============================================ */
.quick-link-card.professional {
    padding: 1rem 0.75rem !important;
    min-height: 140px !important;
    border-radius: 8px !important;
}

.quick-link-icon-wrapper {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 0.75rem !important;
    border-radius: 12px !important;
}

.quick-link-icon {
    font-size: 2rem !important;
}

.quick-link-card.professional h5 {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
}

.quick-link-arrow {
    margin-top: 0.5rem !important;
    font-size: 1rem !important;
}

/* ============================================
   COMPACT HERO SECTION
   ============================================ */
.hero-slider,
.hero-default {
    height: 280px !important;
}

.hero-content {
    padding: 1.5rem 1rem !important;
    max-width: 100% !important;
}

.hero-badge {
    padding: 0.4rem 0.875rem !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.75rem !important;
}

.hero-title {
    font-size: 2rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.2 !important;
}

.hero-title i {
    font-size: 1.75rem !important;
}

.hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.5 !important;
}

.hero-subtitle i {
    font-size: 1.1rem !important;
}

.btn-hero {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
}

/* ============================================
   COMPACT ABOUT SECTION
   ============================================ */
.about-section {
    padding: 1.5rem 0 !important;
}

.about-content {
    padding: 0 !important;
}

.section-badge {
    padding: 0.4rem 1rem !important;
    font-size: 0.85rem !important;
    margin-bottom: 1rem !important;
}

.section-title-left {
    font-size: 1.75rem !important;
    margin-bottom: 0.875rem !important;
    line-height: 1.3 !important;
}

.content-text {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    margin-bottom: 1rem !important;
}

.about-features {
    gap: 0.5rem !important;
    margin-bottom: 1.25rem !important;
}

.feature-item {
    padding: 0.875rem 1.125rem !important;
    border-radius: 8px !important;
}

.feature-item i {
    font-size: 1.25rem !important;
}

.feature-item span {
    font-size: 0.95rem !important;
}

.btn-primary-professional {
    padding: 0.75rem 1.75rem !important;
    font-size: 0.95rem !important;
}

/* ============================================
   COMPACT STATISTICS SHOWCASE
   ============================================ */
.stats-showcase {
    gap: 0.75rem !important;
}

.stat-showcase-item {
    padding: 1.25rem 1.25rem !important;
    border-radius: 10px !important;
}

.stat-number-large {
    font-size: 2.5rem !important;
    margin-bottom: 0.5rem !important;
}

.stat-label-large {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
}

/* ============================================
   COMPACT NEWS TICKER
   ============================================ */
.news-ticker-compact {
    padding: 0.75rem 0 !important;
    color: #ffffff !important;
}

.news-ticker-compact * {
    color: #ffffff !important;
}

.news-ticker-title {
    font-size: 0.9rem !important;
    color: #ffffff !important;
}

.news-ticker-title * {
    color: #ffffff !important;
}

.news-item-compact {
    font-size: 0.85rem !important;
    padding: 0.25rem 0.5rem !important;
    color: #ffffff !important;
}

.news-item-compact:link,
.news-item-compact:visited {
    color: #ffffff !important;
}

.news-item-compact:hover {
    color: #ff6600 !important;
}

/* ============================================
   COMPACT PROGRAMME CARDS
   ============================================ */
.programme-card-professional {
    border-radius: 10px !important;
}

.programme-image {
    height: 160px !important;
}

.programme-content {
    padding: 1.25rem !important;
}

.programme-badge {
    padding: 0.35rem 0.875rem !important;
    font-size: 0.8rem !important;
    margin-bottom: 0.75rem !important;
}

.programme-title {
    font-size: 1.15rem !important;
    margin-bottom: 0.625rem !important;
    line-height: 1.3 !important;
}

.programme-description {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.875rem !important;
}

.programme-link {
    padding: 0.4rem 0.875rem !important;
    font-size: 0.9rem !important;
    margin-top: 0.75rem !important;
}

/* ============================================
   COMPACT GRID SPACING
   ============================================ */
.row.g-4 {
    --bs-gutter-x: 1rem !important;
    --bs-gutter-y: 1rem !important;
}

.row.g-3 {
    --bs-gutter-x: 0.75rem !important;
    --bs-gutter-y: 0.75rem !important;
}

/* ============================================
   COMPACT TYPOGRAPHY
   ============================================ */
h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.75rem !important;
}

h2 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
}

h3 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.625rem !important;
}

h4 {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
}

h5 {
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
}

h6 {
    font-size: 1rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
}

p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.875rem !important;
}

/* ============================================
   COMPACT CARDS
   ============================================ */
.card {
    border-radius: 8px !important;
    margin-bottom: 1rem !important;
}

.card-body {
    padding: 1rem !important;
}

.card-header {
    padding: 0.875rem 1rem !important;
    font-size: 1.05rem !important;
}

/* ============================================
   COMPACT BUTTONS
   ============================================ */
.btn {
    padding: 0.625rem 1.25rem !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
}

.btn-sm {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
}

.btn-lg {
    padding: 0.875rem 1.75rem !important;
    font-size: 1rem !important;
}

/* ============================================
   COMPACT NAVBAR - PROFESSIONAL
   ============================================ */
.navbar {
    padding: 0 !important;
    min-height: 48px !important;
    max-height: 50px !important;
}

.navbar-brand {
    font-size: 1.1rem !important;
}

.navbar-nav .nav-link {
    padding: 0.65rem 1.2rem !important;
    font-size: 14.5px !important;
    line-height: 1.3 !important;
}

/* ============================================
   COMPACT FOOTER
   ============================================ */
footer {
    padding: 2rem 0 1rem 0 !important;
}

footer .container {
    padding-top: 1.5rem !important;
}

footer h5 {
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
}

footer p,
footer li {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.5rem !important;
}

/* ============================================
   COMPACT TOP BAR
   ============================================ */
.top-bar {
    padding: 0.5rem 0 !important;
}

.top-bar .small {
    font-size: 0.85rem !important;
}

/* ============================================
   COMPACT RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .quick-links-section,
    .about-section,
    .programmes-section {
        padding: 1rem 0 !important;
    }
    
    .hero-slider,
    .hero-default {
        height: 240px !important;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
    }
    
    .quick-link-card.professional {
        min-height: 120px !important;
        padding: 0.875rem 0.5rem !important;
    }
    
    .quick-link-icon-wrapper {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 0.5rem !important;
    }
    
    .quick-link-icon {
        font-size: 1.75rem !important;
    }
    
    .quick-link-card.professional h5 {
        font-size: 0.85rem !important;
    }
    
    .section-title {
        font-size: 1.25rem !important;
    }
    
    .stat-number-large {
        font-size: 2rem !important;
    }
}

/* ============================================
   COMPACT UTILITIES
   ============================================ */
.mb-compact {
    margin-bottom: 0.75rem !important;
}

.mt-compact {
    margin-top: 0.75rem !important;
}

.py-compact {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.px-compact {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

