*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

img, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
/* ===== Header ===== */
.header-top {
    background-color: #1a2e22;
    padding: 6px 0;
    font-size: 0.8rem;
}

    .header-top .lang-links a {
        color: #cfd8d2;
        text-decoration: none;
        margin: 0 6px;
    }

        .header-top .lang-links a.active,
        .header-top .lang-links a:hover {
            color: #fff;
            font-weight: 600;
        }

.header-divider {
    width: 1px;
    height: 14px;
    background: #445347;
    margin: 0 14px;
    display: inline-block;
}

.header-icon-link {
    color: #cfd8d2;
    text-decoration: none;
    margin-left: 16px;
}

    .header-icon-link:hover {
        color: #fff;
    }

.site-header .navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-line1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2e22;
}

.brand-line2 {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #6b7c70;
}

.site-header .nav-link {
    color: #1a2e22 !important;
    font-weight: 500;
}

    .site-header .nav-link:hover {
        color: #2f6b3e !important;
    }

/* ===== Home hero ===== */
.hero-section {
    background: linear-gradient(135deg, #14351f, #1f4b2b);
    color: #fff;
    padding: 80px 0;
}

.hero-eyebrow {
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #8fd6a1;
    font-weight: 600;
}

.hero-section h1 {
    font-weight: 700;
}

.hero-section p.lead {
    color: #dce8de;
    max-width: 640px;
}

/* ===== Section eyebrow style (reused) ===== */
.section-eyebrow {
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #2f6b3e;
    font-weight: 700;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2e22;
}

.stat-label {
    color: #6b7c70;
}

.news-card {
    border: 1px solid #e5e7e5;
    border-radius: 8px;
    height: 100%;
}

.news-date {
    font-size: 0.8rem;
    color: #6b7c70;
}

/* ===== Footer ===== */
.site-footer {
    background-color: #14211a;
    color: #cfd8d2;
    padding: 48px 0 24px;
    margin-top: 40px;
}

    .site-footer h5, .site-footer h6 {
        color: #fff;
    }

    .site-footer .footer-links a,
    .site-footer .footer-legal a {
        color: #cfd8d2;
        text-decoration: none;
    }

    .site-footer .footer-links li {
        margin-bottom: 6px;
    }

    .site-footer .footer-links a:hover,
    .site-footer .footer-legal a:hover {
        color: #fff;
        text-decoration: underline;
    }

    .site-footer .footer-legal a {
        margin-left: 16px;
    }

    .site-footer hr {
        border-color: #2c3a31;
        margin: 24px 0 16px;
    }

/* =====================================================
   SKELETON UI & LOADER SYSTEM
   ===================================================== */

@keyframes ifc-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes ifc-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Global Top Progress Loader Bar */
#ifcGlobalProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #002D62 0%, #1d4ed8 50%, #D92534 100%);
    z-index: 999999;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    box-shadow: 0 0 10px rgba(29, 78, 216, 0.8), 0 0 5px rgba(217, 37, 52, 0.8);
    pointer-events: none;
    opacity: 0;
}

/* Reusable Skeleton Base */
.ifc-skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: ifc-shimmer 1.5s infinite linear;
    border-radius: 6px;
    display: inline-block;
    color: transparent !important;
    user-select: none;
    pointer-events: none;
}

.ifc-skeleton-dark {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
    animation: ifc-shimmer 1.5s infinite linear;
    border-radius: 6px;
    display: inline-block;
    color: transparent !important;
    user-select: none;
    pointer-events: none;
}

/* Skeleton Shapes */
.ifc-skeleton-text {
    height: 12px;
    margin: 4px 0;
    border-radius: 4px;
    width: 100%;
}

.ifc-skeleton-title {
    height: 20px;
    margin-bottom: 8px;
    border-radius: 6px;
    width: 60%;
}

.ifc-skeleton-badge {
    height: 22px;
    width: 70px;
    border-radius: 9999px;
}

.ifc-skeleton-btn {
    height: 34px;
    width: 80px;
    border-radius: 8px;
}

.ifc-skeleton-circle {
    border-radius: 50%;
    display: inline-block;
}

/* Button Loading State */
.btn-is-loading {
    position: relative;
    pointer-events: none !important;
    opacity: 0.85;
}

.btn-is-loading .btn-spinner {
    display: inline-block !important;
    animation: ifc-spin 0.8s linear infinite;
}

/* Brand Flag Logo (Exact Home page match) */
.ifc-brand-logo {
    width: 48px;
    height: 34px;
    border: 1px solid #dce5ef;
    border-radius: 6px;
    object-fit: cover;
    background: #0038A8;
    box-shadow: 0 2px 6px rgba(6, 28, 61, 0.08);
    flex-shrink: 0;
    display: inline-block;
}
