.navbar-custom {
    background-color: #1d3557;
    z-index: 9999;
}

.navbar-custom .nav-link {
    color: #ffffff !important;
}

.navbar-custom .navbar-brand {
    color: #ffffff !important;
}

.navbar-custom .nav-link:hover {
    color: #a8dadc;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 20px;
    background-color: #f1f1f1;
}

.hero-section img {
    width: 40%;
    border-radius: 10px;
}

.welcome-text {
    width: 55%;
}

.welcome-text h1 {
    font-size: 2.5rem;
    color: #333;
}

.welcome-text p {
    font-size: 1.2rem;
    color: #555;
}

.card-container {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
}

.card {
    width: 30%;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    font-size: 1.1rem;
    color: #555;
}

.news-preview {
    margin-top: 50px;
}

.news-preview h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.news-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.news-item h3 {
    font-size: 1.6rem;
}

.news-item p {
    color: #777;
}

@media (max-width: 640px) {
    .grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .absolute {
        position: static !important;
    }

    .hidden {
        display: none;
    }
}

