.ticker {
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.news-hover:hover {
    background-color: #f8fafc;
}

.breaking-news {
    background: linear-gradient(45deg, #dc2626, #ef4444);
}

.breaking-badge {
    animation: pulse 2s infinite;
}

.animate-scroll {
    animation: scroll-banner 20s linear infinite;
}

@keyframes scroll-banner {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.vertical-ticker {
    display: flex;
    flex-direction: column;
    position: relative;
}

.ticker-item {
    height: 20px;
    line-height: 20px;
    transition: transform 0.5s ease;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

    .mobile-menu.active {
        transform: translateX(0);
    }

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
    .news-grid-mobile {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (max-width: 475px) {
    .news-grid-mobile {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
    }
}

.owl-nav button {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: #02AC05 !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    box-shadow: 0 2px 8px rgba(2,172,5,0.2) !important;
    z-index: 10 !important;
    opacity: 0.9 !important;
}

    .owl-nav button.owl-prev {
        left: -16px !important;
    }

    .owl-nav button.owl-next {
        right: -16px !important;
    }

    .owl-nav button:hover {
        background: #028a04 !important;
        opacity: 1 !important;
    }

.owl-dots {
    display: none !important;
}

.owl-carousel .owl-item {
    padding: 0 8px;
}

.header-menu-item {
    display: flex; 
    align-items: center;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-border {
    border-left: 4px solid #02AC05;
}

.counter-animate {
    font-weight: 900;
    font-size: 1.5rem;
    color: #02AC05;
}

.section-divider {
    height: 2px;
    background: #e5e7eb;
    margin: 3rem 0;
}

.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .form-input:focus {
        border-color: #02AC05;
        box-shadow: 0 0 0 3px rgba(2, 172, 5, 0.1);
    }

.submit-btn {
    background: linear-gradient(135deg, #02AC05, #028a04);
    transition: all 0.3s ease;
}

    .submit-btn:hover {
        background: linear-gradient(135deg, #028a04, #026603);
        box-shadow: 0 5px 15px rgba(2, 172, 5, 0.3);
    }

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.brand-green {
    color: #02AC05;
}

.brand-green-bg {
    background-color: #02AC05;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    padding: 4px 16px 4px 4px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    max-width: calc(100vw - 48px);
}

.whatsapp-icon-circle {
    width: 40px;
    height: 40px;
    background: #128C7E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
}

.whatsapp-icon {
    width: 18px;
    height: 18px;
}

.whatsapp-text {
    white-space: nowrap;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

#cookieConsent {
    z-index: 9999;
}

.policy-section {
    top: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.85rem;
}

.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    pointer-events: none;
}

    .policy-section h2 {
        color: #02AC05;
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        padding-bottom: 0.25rem;
        border-bottom: 2px solid #02AC05;
    }

.policy-section h3 {
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.75rem 0 0.5rem 0;
}

.policy-section p {
    color: #4b5563;
    line-height: 1.5;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.policy-section ul {
    color: #4b5563;
    margin: 0.5rem 0;
    font-size: 0.85rem;
    padding-left: 1.25rem;
}

.policy-section li {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.highlight-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.contact-info {
    background: #02AC05;
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.table-container {
    overflow-x: auto;
    margin: 1rem 0;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

    .policy-table th,
    .policy-table td {
        border: 1px solid #d1d5db;
        padding: 0.75rem;
        text-align: left;
    }

    .policy-table th {
        background: #f9fafb;
        font-weight: 600;
        color: #374151;
    }

    .policy-table td {
        color: #4b5563;
    }

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .gallery-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    .gallery-item img {
        transition: transform 0.3s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.video-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #000;
}

    .video-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #02AC05;
    transition: all 0.3s ease;
}

.video-item:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.video-item:hover .video-overlay {
    transform: translateY(0);
}

.news-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

    .news-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        border-color: #02AC05;
    }

.news-image {
    transition: transform 0.3s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.category-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-highlight {
    background-color: #fef3c7;
    padding: 1px 2px;
    border-radius: 2px;
}

.filter-active {
    background-color: #02AC05 !important;
    color: white !important;
}

.sort-dropdown {
    position: relative;
}

.sort-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    min-width: 200px;
}

.sort-dropdown.active .sort-dropdown-content {
    display: block;
}