﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    overflow: visible !important;
    background-color: #003a94;
    /*max-width: 1200px;*/
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*backdrop-filter: blur(3px);*/
    /*border-radius: 10px;*/
    margin-top: 0px;
    transition: all 0.2s ease;
    z-index: 1000;
}

    nav.sticky {
        background: #003a94;
        padding: 15px 30px;
        
        /*margin-top: 0px;*/
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    }

/* Logo Container */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%; /* Takes full height of navbar */
    text-decoration: none;
    z-index: 1001;
}

/* Logo Image */
.logo-img {
    height: 45px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    /* Ensures perfect vertical alignment */
    position: relative;
    transform: scale(1.4);
    left: 50px;
}

/* Logo Text */
.logo-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    transition: color 0.3s ease;
    /* Perfect vertical alignment */
    line-height: 1;
    display: flex;
    align-items: center;
    height: 45px; /* Match logo height */
    position: relative;
    top: -1px; /* Fine-tune if needed */
}

/* Hover Effects */
.logo:hover .logo-img {
    transform: scale(1.5);
}

.logo:hover .logo-text {
    color: #13e7ff;
}

/* Sticky Navbar Adjustment */
/*nav.sticky .logo-img,
nav.sticky .logo-text {
    height: 36px;
    font-size: 22px;
}*/

/* Responsive Adjustments */
@media (max-width: 992px) {
    .logo-img {
        height: 36px;
    }

    .logo-text {
        font-size: 22px;
        height: 36px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 32px;
        left: 20px;
    }

    .logo-text {
        font-size: 20px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none; /* Hide text on very small screens */
    }

    .logo {
        gap: 0; /* Remove gap when text is hidden */
    }
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
}

    .nav-links a {
        color: white;
        text-decoration: none;
        font-size: 16px;
        transition: color 0.3s ease;
        font-weight: 500;
        position: relative;
    }

        .nav-links a.active {
            color: #ffc423;
            font-weight: 600;
        }

            .nav-links a.active::after {
                content: '';
                position: absolute;
                bottom: -5px;
                left: 0;
                border-radius: 10px;
                width: 100%;
                height: 3px;
                background: linear-gradient(90deg, #3964ff, #65daff);
            }

    .nav-links a {
        position: relative;
        color: #fff; /* Default color */
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .nav-links a:hover {
            color: #13e7ff;
        }

        /* Animated underline */
        .nav-links a::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: -6px;
            width: 0;
            border-radius: 10px;
            height: 4px;
            background: linear-gradient(90deg, #3964ff, #65daff);
            transition: all 0.3s ease;
        }

        .nav-links a:hover::after {
            left: 0;
            width: 100%;
        }

.has-submenu {
    /*position: relative;*/
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #0f45c1;
    border-radius: 5px;
    padding: 10px 0;
    min-width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu a {
    display: block;
    padding: 8px 20px;
    color: white;
    font-size: 14px;
    white-space: nowrap;
}

    .submenu a:hover {
        background: rgba(255,255,255,0.1);
    }

.cta-button {
    border: 2px solid #4c94ff00;
    background-color: white;
    color: crimson;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 16px;
    font-weight:600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s, color 0.3s;
}

    .cta-button:hover {
        background-color: #ff4c4c;
        color: white;
    }

body {
    padding-top: 115px; 
}

/* Banner styles */
.slider-banner {
    position: relative;
    background-color: black; /* or dark blue */
    width: 100%;
    height: 90vh; /* or whatever height you want */
    background: no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 0; /* important: remove the manual margin */
    transition: background-image 1s ease-in-out;
}

.slider-content {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    /*backdrop-filter: blur(3px);
    background-color: rgba(0, 0, 0, 0.3);  semi-transparent black */
    text-align: right;
    color: white;
    padding: 0 20px;
    max-width: 600px;
}

    .slider-content.left {
        left: 50px;
        right: auto;
        text-align: left;
        transform: translateY(-50%);
    }

    .slider-content.right {
        right: 50px;
        left: auto;
        text-align: right;
        transform: translateY(-50%);
    }

    .slider-content.center {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        text-align: center;
    }


.slider-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100vh;
    position: relative;
}

.slider-content {
    text-align: right;
    color: white;
    /*padding: 10px 70px;*/
    max-width: 580px;
}

    .slider-content h1 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .slider-content p {
        font-size: 1rem;
        max-width: 800px;
        margin: 0 0 50px auto;
    }

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

    .hamburger div {
        width: 25px;
        height: 3px;
        background: white;
        margin: 5px;
        transition: all 0.3s ease;
    }

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #0a2a43;
    display: flex;
    flex-direction: column;
    align-items: center;
/*    justify-content: center;*/
    transition: right 0.5s ease;
    z-index: 1000;
    padding-top: 80px;
}

    .mobile-nav.active {
        right: 0;
    }

    .mobile-nav a {
        color: white;
        text-decoration: none;
        font-size: 1.2rem;
        margin: 15px 0;
        padding: 10px 20px;
        transition: all 0.3s ease;
    }

        .mobile-nav a:hover {
            color: #4dabf7;
        }

.mobile-cta {
    margin-top: 20px;
}

.content-section {
    padding: 10px 10%;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
        top:60px !important;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .slider-content h1 {
        font-size: 2.5rem;
    }

    .slider-content p {
        font-size: 1rem;
    }

    .submenu {
        display: block;
        position: static;
        opacity: 1;
        visibility: visible;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin-top: 10px;
        min-width: auto;
    }

        .submenu a {
            padding: 8px 0 8px 20px;
            font-size: 1rem;
        }
}

@media (max-width: 576px) {
    nav {
        width: 95%;
    }

    .slider-content h1 {
        font-size: 2rem;
    }

    .mobile-nav {
        width: 80%;
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

:root {
    --primary-color: #6c63ff;
    --secondary-color: #4d44db;
    --accent-color: #ff6584;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-lighter: rgba(255, 255, 255, 0.7);
}

.footer {
    background: linear-gradient(135deg, #0a1a3b, #1a2a5e);
    color: var(--text-light);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, #003a94, #65daff);
    }

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

    .footer-logo i {
        font-size: 32px;
        margin-right: 10px;
        color: var(--primary-color);
        background: linear-gradient(to right, var(--primary-color), var(--accent-color));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .footer-logo h2 {
        font-size: 24px;
        margin: 0;
        -webkit-background-clip: text;
        background-clip: text;
        color: white;
        font-weight: 700;
    }

.footer-about p {
    line-height: 1.8;
    color: var(--text-lighter);
    margin-bottom: 25px;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

    .footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: white;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

        .footer-social a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .footer-social a:hover::before {
            left: 100%;
        }

        .footer-social a:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

    .footer-social .facebook {
        background-color: #3b5998;
    }

    .footer-social .twitter {
        background-color: #1da1f2;
    }

    .footer-social .instagram {
        background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    }

    .footer-social .linkedin {
        background-color: #0077b5;
    }

    .footer-social .youtube {
        background-color: #ff0000;
    }

.footer-title {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    font-weight: 600;
}

    .footer-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -10px;
        width: 40px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color), #65daff);
        border-radius: 3px;
    }

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-lighter);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 15px;
}

    .footer-links a i {
        margin-right: 8px;
        font-size: 12px;
        color: #63bfff;
        transition: all 0.3s ease;
    }

    .footer-links a:hover {
        color: white;
        padding-left: 5px;
    }

        .footer-links a:hover i {
            color: var(--accent-color);
            transform: rotate(360deg);
        }

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--text-lighter);
    font-size: 15px;
    line-height: 1.6;
}

.footer-contact i {
    margin-right: 12px;
    color: #63c2ff;
    font-size: 16px;
    margin-top: 3px;
}

.newsletter-form {
    margin-top: 20px;
}

    .newsletter-form input {
        width: 100%;
        padding: 12px 15px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 5px;
        color: white;
        margin-bottom: 15px;
        transition: all 0.3s ease;
    }

        .newsletter-form input:focus {
            outline: none;
            box-shadow: 0 0 0 2px var(--primary-color);
            background: rgba(255, 255, 255, 0.2);
        }

        .newsletter-form input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

    .newsletter-form button {
        background: linear-gradient(to right, #63e4ff, #1b46c0);
        color: white;
        border: none;
        padding: 12px 25px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: 500;
        transition: all 0.3s ease;
        width: 100%;
        position: relative;
        overflow: hidden;
    }

        .newsletter-form button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .newsletter-form button:hover::before {
            left: 100%;
        }

        .newsletter-form button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

    .footer-bottom::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 2px;
        background: linear-gradient(to right, transparent, #63bcff, transparent);
    }

    .footer-bottom p {
        color: var(--text-lighter);
        font-size: 14px;
        margin-bottom: 10px;
    }

.footer-credits a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

    .footer-credits a:hover {
        color: var(--accent-color);
        text-decoration: underline;
    }

.footer-pattern {
    position: absolute;
    opacity: 0.03;
    z-index: 0;
}

.pattern-1 {
    top: 20%;
    left: 10%;
    font-size: 150px;
    color: var(--primary-color);
}

.pattern-2 {
    bottom: 15%;
    right: 10%;
    font-size: 120px;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-column {
        margin-bottom: 40px;
    }

    .footer-title::after {
        width: 30px;
    }
}

/* News section styles with animations */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.slider {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.slider-track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 0.7rem;
    padding: 0 1rem;
}

.card {
    background: #fafafa;
    border: 2px solid #e5e8ec;
    border-radius: 10px;
    width: 320px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, background 0.3s ease;
    overflow: hidden;
}

    .card:hover {
        border-color: #1b46c0;
        background: #fff;
    }

.card-header {
    background: #1b46c0;
    color: #fff;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



/* Animation classes */
[data-aos] {
    transition-property: transform, opacity;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
}

    [data-aos="fade-up"].aos-animate {
        transform: translateY(0);
        opacity: 1;
    }


.cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}


.card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}


.card-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-date {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1b1b1b;
    margin: 0 0 12px;
    line-height: 1.3;
}

.card-desc {
    font-size: 14px;
    color: #555;
    flex: 1;
    margin-bottom: 16px;
    line-height: 1.5;
}


.read-more {
    display: inline-block;
    color: #003a94;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.75rem;
}

.slider-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .slider-btn:hover {
        background: #3b82f6;
        color: white;
        border-color: #3b82f6;
    }

.slider-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slider-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}

    .slider-dot.active {
        background: #3b82f6;
        width: 0.75rem;
        height: 0.75rem;
    }

@media (min-width: 640px) {
    .card {
        min-width: calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .card {
        min-width: calc(33.333% - 1rem);
    }
}

.show-more-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

.show-more-btn {
    padding: 0.75rem 2rem;
    background: linear-gradient(90deg, #ff9100, #ff9100);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

    .show-more-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
        background: linear-gradient(90deg, #2563eb, #4f46e5);
    }

    .show-more-btn:active {
        transform: translateY(0);
    }

/* read more button */
.read-more {
    align-self: flex-start;
    text-decoration: none;
    color: #1b46c0;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #1b46c0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .read-more:hover {
        background: #1b46c0;
        color: #fff;
    }

    .read-more i {
        font-size: 13px;
    }



.blue-container {
    background: #003a94;
    padding: 60px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    width: 100%;
    max-width: 700px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.newsletter-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.newsletter-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-bottom: 30px;
}

.blue-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.glow-subscribe {
    display: flex;
    gap: 12px;
    width: 100%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.glow-input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    background: transparent;
    color: white;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

    .glow-input::placeholder {
        color: rgba(255,255,255,0.7);
    }

    .glow-input:focus {
        background: rgba(255,255,255,0.2);
        border-radius: 30px;
    }

.glow-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 28px;
    border: none;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .glow-btn span {
        position: relative;
        z-index: 2;
    }

    .glow-btn svg {
        width: 18px;
        height: 18px;
        transition: transform 0.3s ease;
    }

    .glow-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 210, 255, 0.4);
    }

        .glow-btn:hover svg {
            transform: translateX(3px);
        }

    .glow-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: 0.5s;
    }

    .glow-btn:hover::before {
        left: 100%;
    }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .blue-container {
        padding: 40px 20px;
    }

    .newsletter-title {
        font-size: 1.5rem;
    }

    .newsletter-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .glow-subscribe {
        flex-direction: column;
        gap: 8px;
        border-radius: 20px;
        padding: 12px;
        background: rgba(255,255,255,0.2);
    }

    .glow-input {
        width: 100%;
        padding: 14px 16px;
        border-radius: 30px !important;
    }

    .glow-btn {
        width: 100%;
        height: 50px;
        justify-content: center;
        padding: 12px;
        margin-top: 4px;
    }
}


.concave-top {
    width: 100%;
    height: 60px;
    position: relative;
    overflow: hidden;
    /* Your desired color */
}

    .concave-top::before {
        content: '';
        position: absolute;
        width: 200%; /* Wider than container for smooth curve */
        height: 200%;
        top: 0; /* Position at top */
        left: -50%; /* Center horizontally */
        border-radius: 60%;
        background: #003a94; /* Must match page background */
        transform: translateY(-65%); /* Pull up to create the concave */
    }


.subtitle2 {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.gradient-line2 {
    width: 10%;
    place-self: center;
    height: 3px;
    background: linear-gradient(90deg, #3964ff, #65daff);
    border-radius: 10px;
    margin: 5px 0;
}


.subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    /*max-width: 600px;*/
    margin: 0 auto;
}

.news-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

    .filter-btn:hover, .filter-btn.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 10px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

    .news-card:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

.news-card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-date {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1b1b1b;
    margin: 0 0 12px;
    line-height: 1.3;
}

.card-desc {
    font-size: 14px;
    color: #555;
    flex: 1;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Responsive styles for stacked layout */
@media (max-width: 768px) {
    .cards-container, .slider-track {
        display: flex;
        flex-direction: column; /* stack cards vertically */
        gap: 20px;
        overflow: visible;
        align-items: center; /* center cards horizontally */
        padding: 0 10px; /* optional: some side padding */
    }

    .card {
        width: 100%; /* full width of container */
        max-width: 400px; /* optional: set a max width for readability */
    }

    .card-header {
        text-align: center;
    }

    .card-img {
        height: 220px;
        object-fit: cover;
    }

    .card-title {
        font-size: 18px;
        text-align: center;
    }

    .card-desc {
        font-size: 15px;
        text-align: center;
    }

    .read-more {
        font-size: 14px;
        padding: 8px 12px;
        align-self: center;
    }

    .slider-nav {
        display: none;
    }
}


/*.read-more {
    display: inline-flex;
    align-items: center;
    color: #003a94;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

    .read-more:hover {
        color: var(--primary-dark);
    }

    .read-more i {
        margin-left: 5px;
        font-size: 0.8rem;
        transition: var(--transition);
    }

    .read-more:hover i {
        transform: translateX(3px);
    }*/

.featured-card {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

    .featured-card .card-image {
        height: auto;
    }

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.8rem;
    }
}


/* Mobile: banner content full width */
@media (max-width: 768px) {
    .slider-content,
    .slider-content.left,
    .slider-content.right,
    .slider-content.center {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100%;
        max-width: 100%;
        padding: 20px;
        text-align: center;
        margin: 0 auto;
    }

    .slider-banner {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .slider-content p {
        margin: 0 auto 20px auto;
    }
}


/* Main Menu Styling */
.fancy-menu > a {
    display: flex;
    align-items: center;
    gap: 8px;
   
    border-radius: 8px;
    transition: all 0.3s ease;
    
    font-weight: 500;
}

    .fancy-menu > a:hover {
        background: rgba(0, 118, 255, 0.1);
        color: #0070f3;
    }

    .fancy-menu > a .dropdown-icon {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

.has-submenu:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Submenu Styling */
.fancy-submenu {
    display: none;
    position: fixed;
    top: auto;
    left: 60%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 16px;
    width: 95vw;
    max-width: 700px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    flex-wrap: wrap;
}

.has-submenu:hover .fancy-submenu {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Two-column layout */
.submenu-column {
    flex: 1 1 40%;
    min-width: 0px;
    padding: 0 8px;
}

/* Section Styling */
.submenu-section {
    padding: 8px 0;
}

.submenu-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    padding: 8px 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 3px solid #0070f3;
    background: rgba(0, 118, 255, 0.05);
    border-radius: 4px;
}

/* Link Styling */
.fancy-submenu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    color: #444;
    font-size: 14px;
    transition: all 0.2s ease;
}

    .fancy-submenu a:hover {
        background: rgba(0, 118, 255, 0.08);
        color: #0070f3;
        transform: translateX(4px);
    }

    .fancy-submenu a i {
        width: 18px;
        text-align: center;
        color: #666;
    }

    .fancy-submenu a:hover i {
        color: #0070f3;
    }


/* Main menu active state */
.has-submenu.active > a {
    color: #ffc423;
    font-weight: 600;
    position: relative;
}

    /* Yellow underline for active main menu item */
    .has-submenu.active > a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        border-radius: 10px;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, #3964ff, #65daff);
    }

/* Submenu items active state */
.submenu a.active {
    color: #ffc423;
    font-weight: 600;
    position: relative;
}

    /* Blue underline for active submenu items */
    .submenu a.active::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        border-radius: 10px;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, #3964ff, #65daff);
    }

/* By default, submenu is hidden */
.submenu {
    display: none;
}

    /* Show submenu when parent is hovered or when in CyberHygiene section */
    .has-submenu:hover .submenu,
    .submenu.force-show {
        display: flex;
    }