/* Modern Header Styles */
/* Modern Header Styles */
.main-header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* Softer, deeper shadow */
    padding: 15px 0;
    /* More breathing room */
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header .navbar {
    padding: 0;
}

/* Nav Link Styling */
#header.main-header .nav-link {
    color: #333333 !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px 15px !important;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

/* Animated Underline */
#header.main-header .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: var(--color-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
}

#header.main-header .nav-link:hover::after,
#header.main-header .nav-item.active .nav-link::after {
    width: 80%;
    /* underline width */
}

#header.main-header .nav-link:hover,
#header.main-header .nav-item.active .nav-link {
    color: #000000 !important;
    /* Force Black for visibility */
    background: none !important;
    /* Remove any background */
}

/* Dropdown Modernization */
.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    background: #fff;
    margin-top: 15px;
    /* Offset from header */
}

.dropdown-item {
    border-radius: 6px;
    padding: 8px 15px;
    font-size: 14px;
    color: var(--text-main);
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: var(--bg-section);
    color: var(--color-primary);
    padding-left: 20px;
    /* Slide effect */
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--color-primary);
    padding: 8px 0;
    color: #fff;
    font-size: 13px;
}

.top-address {
    font-weight: 500;
}

.top-address i {
    margin-right: 5px;
}

.top-social {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end;
    gap: 15px;
}

.top-social li {
    display: inline-block;
}

.top-social a:hover {
    color: #fff !important;
}

/* Subscribe Button */
/* Subscribe Button */
.btn-subscribe {
    background-color: #FFD700 !important;
    /* Force Yellow */
    color: #000 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    padding: 10px 20px;
    border-radius: 5px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-subscribe:hover {
    background-color: #FFC107 !important;
    /* Darker Yellow */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
    color: #000 !important;
}

/* Card Styles */
.news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-image {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-title a {
    color: var(--text-heading);
}

.card-title a:hover {
    color: var(--color-primary);
}

.card-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
    display: block;
}

/* Footer Styles */
#footer.footer {
    background: var(--color-primary) !important;
    color: #ffffff !important;
}

#footer.footer .footer-menu h4 {
    color: #ffffff !important;
}

#footer.footer a {
    color: #ffffff !important;
}

#footer.footer a:hover {
    color: #ffffff !important;
}

#footer.footer .copyright-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Menu Fixes */
@media (max-width: 991.98px) {
    #header.main-header .nav-link::after {
        display: none !important;
        content: none !important;
    }
}