* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
    z-index: 1000;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
}
.nav-icon {
    width: 50px;
    height: 50px;
    background-color: #333;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.nav-text {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 500;
}
.container {
    max-width: 1200px;
    width: 100%;
    min-height: 100vh;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
    padding: 80px 20px 20px;
    position: relative;
    z-index: 1;
}
.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}
.logo {
    height: 50px;
}
.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}
.card {
    position: relative;
    background-color: #222;
    border-radius: 15px;
    overflow: hidden;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
}
.card-title {
    font-size: 24px;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}
.card-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 80%);
    z-index: 2;
}
.card-number {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: #0187CE;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    z-index: 3;
}
.recent-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.recent-title {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    background: linear-gradient(45deg, #0187CE, #65B564);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 4s ease infinite;
}
.tabs-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tabs-container::-webkit-scrollbar {
    display: none;
}
.tab {
    flex: 0 0 auto;
    padding: 10px 20px;
    background: linear-gradient(45deg, #015c8e, #467b47);
    background-size: 200% 200%;
    border-radius: 20px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    scroll-snap-align: start;
    transition: background-color 0.3s ease;
    animation: gradientShift 4s ease infinite;
}
.tab.active {
    background: #015c8e;
    animation: none;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.tab-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}
.tab-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
}
.tab-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.tab-card-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
}
.tab-card-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px;
}
.tab-card-title {
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
}
.tab-card-date {
    font-size: 12px;
    color: #aaa;
    z-index: 2;
}
.tab-card-category {
    width: fit-content;
    font-size: 10px;
    text-transform: uppercase;
    padding: 2px 6px;
    border: 1px solid #fff;
    border-radius: 4px;
    z-index: 3;
    color: #fff;
}
.header-consultation-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #0187CE, #4BBDCF, #65B564, #007E41);
    background-size: 200% 200%;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(1, 135, 206, 0.5);
    transition: box-shadow 0.3s ease;
    animation: gradientShift 4s ease infinite, glowPulse 2s ease infinite;
    text-align: center;
    line-height: 1.2;
}
.bottom-consultation-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #0187CE, #4BBDCF, #65B564, #007E41);
    background-size: 200% 200%;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(1, 135, 206, 0.5);
    transition: box-shadow 0.3s ease;
    animation: gradientShift 4s ease infinite, glowPulse 2s ease infinite;
    text-align: center;
    line-height: 1.2;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes glowPulse {
    0% { box-shadow: 0 0 15px rgba(1, 135, 206, 0.5); }
    50% { box-shadow: 0 0 25px rgba(1, 135, 206, 0.8); }
    100% { box-shadow: 0 0 15px rgba(1, 135, 206, 0.5); }
}
.header-consultation-button:hover,
.bottom-consultation-button:hover {
    box-shadow: 0 0 30px rgba(1, 135, 206, 1);
}
@media (max-width: 768px) {
    .nav-menu {
        top: auto;
        bottom: 0;
        padding: 10px 0;
        background-color: #fff;
        justify-content: space-around;
    }
    .nav-icon {
        background-color: #0187CE;
        width: 40px;
        height: 40px;
    }
    .nav-icon img {
        width: 24px;
        height: 24px;
    }
    .nav-item.active .nav-icon {
        background-color: #64B566;
    }
    .nav-item.active .nav-icon img {
        filter: brightness(0);
    }
    .nav-text {
        color: #808285;
        font-size: 12px;
    }
    .container {
        padding: 20px 20px 80px;
    }
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .card {
        height: 160px;
    }
    .card-icon {
        width: 100%;
        height: 100%;
    }
    .card-title {
        font-size: 20px;
    }
    .card-number {
        width: 24px;
        height: 24px;
        font-size: 14px;
        top: 8px;
        right: 8px;
    }
    .tabs-container {
        padding-bottom: 10px;
    }
    .tab {
        min-width: 40%;
        flex: 0 0 40%;
    }
    .tab:nth-child(n+3) {
        margin-right: 10px;
    }
    .tab-cards {
        grid-template-columns: 1fr;
    }
    .tab-card {
        height: 250px;
    }
    .tab-card-title {
        font-size: 16px;
    }
    .tab-card-category {
        font-size: 9px;
        padding: 1px 5px;
    }
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 0;
        flex-direction: row;
    }
    .logo {
        height: 40px;
        width: 50%;
        object-fit: contain;
    }
    .header-consultation-button {
        width: 50%;
        font-size: 14px;
        padding: 8px 5px;
        max-height: 42px;
        line-height: 1.2;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .bottom-consultation-button {
        width: 100%;
        font-size: 16px;
        padding: 10px 5px;
    }
    .recent-title {
        font-size: 30px;
        white-space: nowrap;
    }
}