/* General Styles */
html {
    overflow-y: scroll;
    width: 100vw;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.section-title {
    color: #0c2461;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #f9ca24;
}

/* Feature Boxes */
.feature-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 2;
    border-color: rgba(13, 110, 253, 0.2);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08) 0%, rgba(25, 135, 84, 0.08) 100%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-box:hover::before {
    opacity: 1;
}

/* Mandate section highlight */
#mandate-section.highlight {
    animation: highlight 3s ease-out;
    position: relative;
}

@keyframes highlight {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent content from being hidden under fixed header */
:target {
    scroll-margin-top: 100px;
}

.feature-box i {
    font-size: 40px;
    color: #0c2461;
    margin-bottom: 20px;
}

/* News Items */
.news-item {
    margin-bottom: 30px;
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.news-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.news-title {
    color: #0c2461;
    font-weight: 600;
    margin-bottom: 10px;
}

.read-more {
    color: #0c2461;
    font-weight: 600;
    text-decoration: none;
}

.read-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #f9ca24;
}

.read-more:hover i {
    margin-left: 10px;
}

/* Compact News Section */
.news-section {
    padding: 1.5rem 0;
}

.news-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.news-item {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-item img {
    max-height: 120px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.news-date {
    font-size: 0.75rem;
    color: #6c757d;
    display: block;
    margin-bottom: 0.25rem;
}

.news-title {
    font-size: 1rem;
    margin: 0.25rem 0;
}

.news-item p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.read-more {
    font-size: 0.8rem;
}

.read-more i {
    font-size: 0.7rem;
}
