/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    width: 100%;
    background-color: #1a2b50; 

    top: 0;
}


.nav-menu .dropdown > a {
    position: relative; 
}

.nav-menu .dropdown > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1px solid white; 
    border-bottom: 1px solid white;
    transform: rotate(45deg); 
    margin-left: 7px;
    position: absolute;
    top: 50%; 
    transform: translateY(-60%) rotate(45deg); 
    transition: transform 0.3s;
}

.nav-menu .dropdown:hover > a::after {
    transform: translateY(-50%) rotate(-135deg); 
}
.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 5%; 
    transform: translateX(-10%); 
    background-color: #0c1e3e; 
    padding: 15px 0; 
    border-radius: 4px; 
    list-style: none;
    min-width: 200px;
    z-index: 10;
}

.nav-menu .dropdown:hover .dropdown-menu {
    display: block;
}

.nav-menu .dropdown-menu li {
    padding: 12px 20px; 
}

.nav-menu .dropdown-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 300;
}

.nav-menu .dropdown-menu li a:hover {
    color: #4983C3;
}


.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 45px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 300;
    font-size: 1em;
    transition: color 0.3s;
}

.navbar nav ul li a:hover {
    color: #254173;
}

.consultation-button {
    background-color: #254173;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.consultation-button:hover {
    background-color: #102A43;
    color:white;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; 
        flex-direction: column;
        gap: 10px;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        right: 30px;
        padding: 20px;
        border-radius: 10px;
    }

    .nav-menu.active {
        display: flex; 
        animation: slideIn 0.3s forwards;
    }

    .hamburger {
        display: flex;
        cursor: pointer;
        margin-left: 10px;
    }

    .navbar {
        padding: 10px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .consultation-button {
        font-size: 0.9em;
    }

    .nav-menu .dropdown-menu {
        position: static;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 10px 0;
        border-radius: 10px;
    }
}

@keyframes slideIn {
    from {
        right: -100%;
    }
    to {
        right: 30px;
    }
}

.blog-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.blog-section h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}

.filter-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.filter-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 15px;
    border-radius: 20px;
    background-color: #f3f3f3;
    color: #333;
    cursor: pointer;
}

.tag.active, .tag:hover {
    background-color: #254173;
    color: white;
}

.search-bar {
    position: relative;
}

.search-bar input {
    padding: 10px 30px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    outline: none;
}

.search-bar i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; 
    margin-top: 30px;
}

.blog-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    text-align: left;
    padding-bottom: 10px; 
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover; 
}

.blog-card h3 {
    font-size: 1.1em;
    margin: 15px;
    color: #333;
    text-decoration: none; 
}

.article-link {
    text-decoration: none; 
    color: inherit; 
}

.blog-card p {
    font-size: 0.9em;
    margin: 0 15px 15px;
    color: #666;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar nav ul {
        flex-direction: column;
        text-align: center;
    }
}


.footer {
    background-color: #0c1e3e;
    color: white;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-logo-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.footer-logo {
    width: 100px;
    margin-bottom: 10px;
}

.footer-description {
    color: #AAB7C4;
    font-size: 1.1em;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    max-width: 220px;
}

.footer-links {
    display: flex;
    flex: 3;
    justify-content: space-between;
    gap: 20px;
}

.footer-column h4 {
    font-size: 1.1em;
    color: white;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    color: #AAB7C4;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: white;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    border-top: 1px solid #1F2E3E;
    padding-top: 20px;
}


.social-icons a {
    margin-right: 15px;
    font-size: 1.5em; 
    transition: color 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    color: #254173; 
}

.privacy-policy {
    color: #254173;
    margin-right: auto;
    text-decoration: none;
    font-size: 0.9em;
}

.privacy-policy:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
