:root {
    --primary-color: #003b65;
    --secondary-color: #0056a3;
    --accent-color: #f8d210;
    --dark-blue: #002244;
    --light-gray: #f8f9fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    padding-top: 100px;
}
.modal {
    backdrop-filter: blur(4px);
    transform: skewX(351deg);
}


/* Top Navigation Bar */
.top-navbar {
    background: var(--dark-blue) !important;
    height: 30px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    width: 100%;
    flex-wrap: wrap;
    align-content: flex-start;
}

.top-navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.top-navbar .container .nav-wrap {
    position: relative;
    width: 100%;
    flex-wrap: wrap;
    align-content: flex-start;
}

.top-navbar .nav-links {
    display: flex;
    gap: 1px;
    align-items: center;
}

.top-navbar .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    padding: 5px 30px;
    transition: all 0.3s ease;
}

.top-navbar .nav-links a:hover {
    background: var(--accent-color);
    /* border-radius: 3px; */
    color: var(--dark-blue);
}

.top-navbar .contact-info {
    display: flex;
    gap: 1px;
    align-items: center;
    padding: 5px 0px;
    font-size: 12px;
    color: white;
}

.top-navbar .contact-info span {
  min-width: 160px;
}

.top-navbar .contact-info i {
    margin-right: 5px;
}

/* Main Navigation Bar */
.navbar {
    background: var(--primary-color) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 1040;
    height: 70px;
}

.navbar-brand {
    color: white !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: white !important;
    /* padding: 0.8rem 1rem !important; */
    transition: all 0.3s ease;
}
.navbar-nav .nav-special {
    color: white !important;
    padding: 0.8rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.navbar-nav .nav-link.active {
    background-color: #003b65;
    border-radius: 4px;
}

.nav-login {
    background-color: var(--accent-color) !important;
    color: var(--dark-blue) !important;
    border-radius: 4px;
    transition: all 0.3s ease;    
    padding: 13.3px 35px !important;
    min-width: 128px;
    margin: 15px 0px 15px 5px;
}


.nav-login:hover {
    background-color:  var(--dark-blue) !important;
    color: var(--accent-color) !important;
    transition: all 0.3s ease;
    padding: 13.3px 35px !important;
}

/* Search functionality */
.nav-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 40px 8px 15px;
    margin: 18px 5px;
    border-radius: 20px;
    width: 250px;
    transition: all 0.3s ease;
    display: none;
}

.nav-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
}

.nav-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-icon {
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    padding: 18px 8px;
    transition: all 0.3s ease;
}

.search-icon:hover {
    color: var(--accent-color);
}

.close-search {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 12px;
    display: none;
}

.search-submit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: none;
}

/* Blog Page Styles */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.05)"><polygon points="0,0 1000,0 1000,100 0,100"/></svg>');
    background-size: cover;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.blog-categories {
    background: var(--light-gray);
    padding: 40px 0;
}

.category-pill {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 8px 16px;
    margin: 5px;
    border-radius: 20px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-pill:hover {
    background: var(--accent-color);
    color: var(--dark-blue);
    transform: translateY(-2px);
}

.category-pill.active {
    background: var(--primary-color);
    color: white;
}

.featured-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.featured-post-image {
    height: 300px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.blog-meta {
    color: #0dcaf0;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--accent-color);
}

.blog-tag {
    background: var(--accent-color);
    color: var(--dark-blue);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-right: 5px;
    display: inline-block;
}

.read-more-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--dark-blue);
    color: white;
    transform: translateY(-2px);
}

.pagination-custom {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination-custom .page-link {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin: 0 2px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pagination-custom .page-link:hover {
    background: var(--primary-color);
    color: white;
}

.pagination-custom .page-item.active .page-link {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.newsletter-section {
    background: var(--dark-blue);
    color: white;
    padding: 60px 0;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border-radius: 25px;
    padding: 12px 20px;
    border: none;
    margin-bottom: 20px;
}

.newsletter-btn {
    background: var(--accent-color);
    color: var(--dark-blue);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.newsletter-btn:hover {
    background: #e6c007;
    transform: translateY(-2px);
}

.footer {
    background: var(--dark-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color);
}

/* Search Page Styles */
.search-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.search-results {
    padding: 20px;
}

.search-result {
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.search-result h5 {
    font-weight: bold;
    margin-bottom: 10px;
}

.search-result-meta {
    font-size: 0.9rem;
    color: #0dcaf0;
} 

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-info-card h5 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    border: none;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border-radius: 5px;
    padding: 15px;
    border: 1px solid #ddd;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contact-form .btn {
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
}

        .contact-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .contact-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        .contact-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
        }
        .loading-spinner {
            display: none;
        }
        .map-container {
            height: 400px;
            width: 100%;
        }
        .country-flag {
            font-size: 1.5rem;
            margin-right: 10px;
        }

    .top-navbar .nav-links .active {
        background-color: #003b65;
    border-left: 0.001px solid #f8d210;
    border-top: 1px solid #f8d210;
    border-right: 1px solid #f8d210;
    }

/* Responsive Design */
@media (max-width: 990px) {
    .top-navbar .contact-info {
        display: none;
    }

    .top-navbar .nav-links {
        gap: 10px;
        justify-content: center;
        width: 100%;
    }
    .top-navbar .nav-links a {
        flex: 1;
        text-align: center;
        font-size: 11px;
        padding: 5px 8px;
    }

    .blog-hero {
        padding: 60px 0;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    .nav-search-input {
        width: 200px;
    }

    #navbarNav {
        background-color: rgb(0 34 68);
        border-radius: 8px;
        margin-top: 10px;
        padding: 10px;
    }

    .navbar-collapse {
        text-align: center;
    }


    .navbar-nav .nav-item {
        flex: 1;
        text-align: center;
    }

    .navbar-nav .nav-login {
        flex: 1;
        text-align: center;
        background-color: #f8d210 !important;
        color: #002244 !important;
        padding: 12.3px 35px !important;
        margin: 5px;
        border-radius: 4px;
    }


    .navbar-nav .nav-link {
        padding: 1rem !important;
        display: block;
        width: 100%;
    }

    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: rgba(0, 0, 0, 0.1);
        border: none;
        box-shadow: none;
    }

    .navbar-nav .dropdown-item {
        color: white;
        text-align: center;
        padding: 0.5rem 1rem;
    }

    .navbar-nav .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .navbar-nav:last-child {
        margin-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }

    .contact-info-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .top-navbar .nav-links a {
        font-size: 10px;
        padding: 3px 5px;
    }

    .nav-search-input {
        width: 150px;
    }

    .featured-post-image {
        height: 200px;
        font-size: 2rem;
    }

    .blog-card-image {
        height: 150px;
        font-size: 1.5rem;
    }

    .contact-hero {
        padding: 40px 0;
    }

    .contact-info-card {
        padding: 20px;
    }
}
#home {
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 0;
    position: relative;
    overflow: hidden;
}

#home-globe {
  object-fit: cover;
}

/* For small screens (e.g., mobile devices) */
@media (max-width: 767px) {
  #home-globe {
    width: 100%;
    height: 130px !important;
  }
  .rounded-start {
    border-bottom-left-radius: 0px !important;
    border-top-right-radius: var(--bs-border-radius) !important;
    border-top-left-radius: var(--bs-border-radius) !important;
}
.rounded-end {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: var(--bs-border-radius) !important;
    border-bottom-left-radius: var(--bs-border-radius) !important;
}
}

/* For large screens (e.g., desktops) */
@media (min-width: 768px) {
  #home-globe {
    width: 500px;
    height: 300px;
  }
  .c-body {
    padding: 114px 0 !important;
  }
}
.carousel-item-1 {
  background-image: url('../../assets/img/slides/slide-1.jpg'); 
  background-size: cover; 
  background-position: center;
}
.carousel-item-2 {
  background-image: url('../../assets/img/slides/slide-2.jpg'); 
  background-size: cover; 
  background-position: center;
}
.carousel-item-3 {
  background-image: url('../../assets/img/slides/slide-3.jpg'); 
  background-size: cover; 
  background-position: center;
}
.carousel-item-4 {
  background-image: url('../../assets/img/slides/slide-4.jpg'); 
  background-size: cover; 
  background-position: center;
}

@media (min-width: 992px) {
  .carousel-item-1 {
    background-image: none !important;
    color: #fff !important;
  }
  .carousel-item-2 {
    background-image: none !important;
    color: #fff !important;
  }
  .carousel-item-3 {
    background-image: none !important;
    color: #fff !important;
  }
  .carousel-item-4 {
    background-image: none !important;
    color: #fff !important;
  }
}

@media (max-width: 991px) {
  .carousel-item-1 {
    color: #fff !important;
  }
  .carousel-item-2 {
    color: #fff !important;
  }
  .carousel-item-3 {
    color: #fff !important;
  }
  .carousel-item-4 {
    color: #fff !important;
  }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-height: 300px !important;
    padding: 15px 0;
}

.btn-primary {
    background: var(--accent-color);
    border: none;
    color: var(--dark-blue);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #e6c007;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 210, 16, 0.3);
}

.service-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.quick-access {
    background: var(--light-gray);
    padding: 80px 0;
}

.quick-access-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.quick-access-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.footer {
    background: var(--dark-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color);
}

.login-section {
    background: var(--primary-color);
    color: white;
    padding: 40px 0;
}

.login-form {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.news-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}




        /* Enhanced Link Styles - Modern Version */
        a, a:link {
            color: var(--accent-color);
            text-decoration: none;
            position: relative;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            font-weight: 600;
            display: inline-block;
            padding: 4px 8px;
            border-radius: 6px;
            overflow: hidden;
            text-shadow: 1px 1px 1px var(--dark-blue);
        }

        /* Shimmer effect background */
        a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(248, 210, 16, 0.2), transparent);
            transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: -1;
        }

        /* Enhanced underline animation */
        a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, #f8d210, #002244, #f8d210);
            background-size: 200% 100%;
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            transform: translateX(-50%);
            border-radius: 2px;
            box-shadow: 0 2px 8px rgba(248, 210, 16, 0.3);
        }

        /* Hover effects */
        a:hover {
            color: #002244;
            transform: translateY(-2px) scale(1.02);
            background: rgba(248, 210, 16, 0.1);
            box-shadow: 0 8px 25px rgba(248, 210, 16, 0.2);
        }

        a:hover::before {
            left: 100%;
        }

        a:hover::after {
            width: 100%;
            background-position: 100% 0;
            box-shadow: 0 4px 15px rgba(248, 210, 16, 0.4);
        }

        /* Visited state with modern twist */
        a:visited {
            color: #6c5ce7;
        }

        a:visited::after {
            background: linear-gradient(90deg, #6c5ce7, #002244, #6c5ce7);
        }

        a:visited:hover {
            color: #002244;
            background: rgba(108, 92, 231, 0.1);
        }

        a:visited:hover::after {
            background: linear-gradient(90deg, #f8d210, #6c5ce7, #f8d210);
        }

        /* Active state */
        a:active {
            color: #002244;
            transform: translateY(0) scale(0.98);
            transition: all 0.1s ease;
        }


/* Enhanced Card Styles - Light Theme */
.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 18px rgb(0 34 68 / 15%);
    background: #ffffff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 3px solid transparent;
}

/* Sliding Border Effect */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f8d210, #002244, #f8d210);
    transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.card:hover::before {
    left: 0;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 8px 35px rgb(0 34 68 / 25%), 0px 0 25px rgb(248 210 16 / 30%);
}

/* Alternative Border Effects */
.card-variant-2 {
    border-top: 3px solid #e0e0e0;
    transition: all 0.4s ease;
}

.card-variant-2::before {
    display: none;
}

.card-variant-2:hover {
    border-top: 3px solid #f8d210;
    box-shadow: 0px 8px 35px rgb(0 34 68 / 25%), 0px -3px 15px rgb(248 210 16 / 40%);
}

.card-variant-3::before {
    background: linear-gradient(90deg, #002244, #f8d210, #002244, #f8d210);
    background-size: 200% 100%;
    animation: none;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-variant-3:hover::before {
    opacity: 1;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.card-header, .card-footer {
    border-color: #e0e0e0;
    background-color: #f8f9fa;
    color: #002244;
    padding: 15px;
    transition: color 0.3s ease;
}

.card:hover .card-header,
.card:hover .card-footer {
    color: #f8d210;
    background-color: #002244;
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #002244;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
}

.card:hover .card-title {
    color: #f8d210;
    transform: translateX(5px);
}

.card-title span {
    color: #6c757d;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.card:hover .card-title span {
    color: #f8d210;
}

.card-body {
    padding: 0 20px 20px 20px;
    transition: padding 0.3s ease;
}

.card:hover .card-body {
    padding: 0 25px 25px 25px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.8);
    transition: background-color 0.3s ease;
}

.card:hover .card-img-overlay {
    background-color: rgba(0, 34, 68, 0.6);
}

/* Additional content for demo */
.card-text {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.card:hover .card-text {
    color: #212529;
}

.card-btn {
    background: linear-gradient(135deg, #002244, #f8d210);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 210, 16, 0.4);
    color: #002244;
    background: linear-gradient(135deg, #f8d210, #002244);
}
        .search-hero {
            background: linear-gradient(135deg, var(--secondary-color) 0%, #2b0154 100%);
            color: white;
            padding: 80px 0;
        }

        .search-form-container {
            max-width: 600px;
            margin: 0 auto;
        }

        .search-input-group {
            border-radius: 50px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
            min-width: 134px;
            max-height: 54px;
            margin: 15px 0px;
        }

        .search-input {
            border: none;
            padding: 15px 25px;
            font-size: 16px;
        }

        .search-btn {
    background-color: var(--accent-color) !important;
    color: var(--dark-blue) !important;
            border: none;
            padding: 15px 25px;
            transition: all 0.3s ease;
        }

        .search-btn:hover {
    background-color: var(--dark-blue) !important;
    color: var(--accent-color) !important;
            transform: translateY(-2px);
        }

        .search-filters .form-select {
            border-radius: 25px;
            padding: 8px 15px;
        }

        .search-status {
            border-bottom: 2px solid #f8f9fa;
            padding-bottom: 20px;
        }

        .active-filters {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
        }

        .filter-tag {
            background: #007bff;
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-tag:hover {
            background: #0056b3;
        }

        .filter-tag i {
            margin-left: 5px;
            opacity: 0.7;
        }

        .suggestion-tag {
            background: #e9ecef;
            color: #495057;
            padding: 8px 15px;
            border-radius: 20px;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .suggestion-tag:hover {
            background: #007bff;
            color: white;
            text-decoration: none;
        }

        .search-result-card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .search-result-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }

        .search-result-image {
            height: 200px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .result-overlay {
            position: absolute;
            top: 15px;
            right: 15px;
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .result-overlay i {
            background: rgba(255, 255, 255, 0.9);
            color: #333;
            padding: 8px;
            border-radius: 50%;
            font-size: 14px;
        }

        .relevance-badge {
            background: #28a745;
            color: white;
            padding: 4px 8px;
            border-radius: 10px;
            font-size: 11px;
            font-weight: bold;
        }

        .result-meta {
            font-size: 12px;
            color: #6c757d;
        }

        .result-category {
            background: #f8f9fa;
            color: #495057;
            padding: 4px 10px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: 500;
        }

        mark {
            background: #ffeb3b;
            padding: 2px 4px;
            border-radius: 3px;
            font-weight: 500;
        }

        .pagination-custom .page-link {
            border-radius: 50px;
            margin: 0 5px;
            border: none;
            padding: 10px 15px;
            color: #007bff;
            background: #f8f9fa;
        }

        .pagination-custom .page-item.active .page-link {
            background: #007bff;
            color: white;
        }

        .pagination-custom .page-link:hover {
            background: #007bff;
            color: white;
            transform: translateY(-2px);
        }

        @media (max-width: 768px) {
            .search-hero {
                padding: 60px 0;
            }

            .search-input-group {
                margin-bottom: 15px;
            }

            .search-filters .row {
                gap: 10px;
            }
        }
    
.stats-section {
    background: var(--secondary-color);
    color: white;
    padding: 80px 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

@media (max-width: 990px) {
    .top-navbar .contact-info {
        display: none;
    }

    .top-navbar .nav-links {
        gap: 1px;
        justify-content: center;
        width: 100%;
    }

    .top-navbar .nav-links a {
        flex: 1;
        text-align: center;
        font-size: 11px;
        padding: 5px 8px;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .nav-search-input {
        width: 200px;
    }

    /* Apply background to navbarNav on smaller screens */
    #navbarNav {
        background-color: rgb(0 34 68);
        border-radius: 8px;
        margin-top: 10px;
        padding: 10px;

    }

    /* Main navbar mobile styles */
    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav {
        width: 100%;
        justify-content: center;
        max-width: 400px;
    }

    .navbar-nav .nav-item {
        flex: 1;
        text-align: center;
    }

    .navbar-nav .nav-login {
        flex: 1;
        text-align: center;
        background-color: #f8d210 !important;
        color: #002244 !important;
        padding: 12.3px 35px !important;
        margin: 5px;
        border-radius: 4px;
    }

    .navbar-nav .nav-login:hover {
        background-color: #002244 !important;
        color: #f8d210 !important;
    }

    .navbar-nav .nav-link {
        padding: 1rem !important;
        display: block;
        width: 100%;
    }

    /* Ensure dropdowns work properly on mobile */
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: rgba(0, 0, 0, 0.1);
        border: none;
        box-shadow: none;
    }

    .navbar-nav .dropdown-item {
        color: white;
        text-align: center;
        padding: 0.5rem 1rem;
    }

    .navbar-nav .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    /* Right-aligned nav items on mobile */
    .navbar-nav:last-child {
        margin-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1rem;
    }
}

@media (max-width: 576px) {
    .top-navbar .nav-links a {
        font-size: 10px;
        padding: 3px 5px;
    }

    .nav-search-input {
        width: 150px;
    }
}

        .article-hero {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .article-content {
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .article-content h2 {
            margin-top: 40px;
            margin-bottom: 20px;
            color: var(--primary-color);
        }

        .article-content ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .article-content li {
            margin-bottom: 10px;
            padding-left: 20px;
            position: relative;
        }

        .article-content li::before {
            content: "\f105";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 5px;
            color: var(--accent-color);
        }

        .article-tags {
            margin-top: 40px;
        }

        .article-tags .blog-tag {
            background: var(--accent-color);
            color: var(--dark-blue);
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.8rem;
            margin-right: 5px;
            display: inline-block;
        }

        .article-share {
            margin-top: 40px;
        }

        .article-share ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .article-share li {
            display: inline-block;
            margin-right: 10px;
        }

        .article-share a {
            color: var(--primary-color);
            transition: color 0.3s ease;
        }

        .article-share a:hover {
            color: var(--accent-color);
        }

        @media (max-width: 768px) {
            .article-hero {
                padding: 60px 0;
            }

            .article-content {
                font-size: 1rem;
            }
        }

        @media (max-width: 576px) {
            .article-hero {
                padding: 40px 0;
            }

            .article-content {
                font-size: 0.9rem;
            }
        }