:root {
    color-scheme: dark;
}
html, body {
    scroll-behavior: smooth;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.hero-section {
    min-height: 200px;
    height: 200px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.home-hero {
    min-height: 75vh;
    height: auto;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(9, 21, 55, 0.55);
}
.hero-slide {
    min-height: 75vh;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(9, 21, 55, 0.55);
}
.hero-section .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.hero-section .carousel-caption .text-start {
    position: relative;
    z-index: 2;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.section-title {
    font-size: clamp(2rem, 2.5vw, 2.7rem);
}
.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.feature-box i {
    font-size: 1.25rem;
    margin-top: 0.1rem;
}
.value-badge,
.service-card{
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.service-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
.structure-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.structure-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12) !important;
}
.structure-card-image {
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}
.card-img-top {
    object-fit: cover;
    height: 280px;
}
.afie-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}
.afie-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 5.25rem;
    height: 3rem;
    overflow: hidden;
    flex: 0 0 auto;
    background: transparent;
}
.afie-brand-logo img {
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: left center;
}
.afie-brand-text {
    white-space: normal;
    line-height: 1.15;
    color: #111827;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 1px 0 rgba(255, 193, 7, 0.22);
}
.navbar .nav-link {
    color: #000 !important;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: #000 !important;
    font-weight: 600;
}
.news-announcement-table th:last-child,
.news-announcement-table td:last-child {
    width: 260px;
}
.journal-table th:last-child,
.journal-table td:last-child {
    width: 210px;
}
.partner-logo {
    min-height: 110px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.5rem;
    text-decoration: none;
}
.partner-logo img {
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}
.footer-links li {
    margin-bottom: 0.45rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}
.footer-links a:hover {
    color: #ffc107;
}
.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: #f8f9fa;
    text-decoration: none;
    font-size: 1.25rem;
}
.footer-social-links a:hover {
    color: #ffc107;
}
.footer-map {
    aspect-ratio: 4 / 3;
    min-height: 180px;
    overflow: hidden;
}
.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.footer-bottom {
    background: rgba(0, 0, 0, 0.22);
}
.announcement-ticker-section {
    width: 100%;
    overflow: hidden;
}
.announcement-ticker-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    min-height: 48px;
    padding: 0.75rem 2rem;
    width: 100%;
}
.announcement-ticker-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0;
    color: #ffc107;
}
.announcement-ticker-track {
    overflow: hidden;
    min-width: 0;
}
.announcement-ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-width: max-content;
    animation: announcement-scroll 28s linear infinite;
}
.announcement-ticker-row:nth-child(2) .announcement-ticker-content {
    animation-duration: 32s;
}
.announcement-ticker-track:hover .announcement-ticker-content {
    animation-play-state: paused;
}
.announcement-ticker-link {
    display: inline-flex;
    align-items: center;
    color: #f8f9fa;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.35rem 0;
}
.announcement-ticker-link:hover {
    color: #ffc107;
}
.announcement-ticker-link::after {
    content: '|';
    color: rgba(255, 255, 255, 0.45);
    margin-left: 1rem;
}
@keyframes announcement-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@media (max-width: 991px) {
    .home-hero {
        min-height: 60vh;
    }
    .afie-brand {
        max-width: calc(100% - 4rem);
    }
    .afie-brand-logo {
        width: 4.5rem;
        height: 2.5rem;
    }
    .afie-brand-text {
        font-size: 0.95rem;
    }
    .announcement-ticker-row {
        grid-template-columns: 1fr;
        gap: 0.45rem;
        padding: 0.75rem 0;
        padding-inline: 1rem;
    }
}

