:root {
    --bullet-red: #e41e26;
    --bullet-black: #1a1a1a;
    --bullet-white: #f7f7f7;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    scroll-behavior: smooth;
}

.lang-en {
    font-family: 'Montserrat', sans-serif;
}

.lang-si {
    font-family: 'Noto Sans Sinhala', sans-serif;
}

.lang-ta {
    font-family: 'Noto Sans Tamil', sans-serif;
}

.bg-bullet-red {
    background-color: var(--bullet-red);
    color: var(--bullet-white);
}

.bg-bullet-black {
    background-color: var(--bullet-black);
    color: var(--bullet-white);
}

h1,
h2 {
    font-weight: 700;
    color: var(--bullet-white);
}

.logo {
    max-width: 200px;
    margin-bottom: 20px;
}

/* Service Tiles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    padding: 0 15px;
}

.service-tile {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-tile:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.service-tile i {
    color: var(--bullet-white);
    margin-right: 10px;
    font-size: 1.5rem;
}

.service-tile p {
    margin: 0;
    font-size: 1.1rem;
}

/* CTA Button */
.btn-cta {
    margin-top: 30px;
    background-color: var(--bullet-white);
    color: var(--bullet-red);
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--bullet-white);
    color: var(--bullet-black) !important;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
}

.language-switcher button {
    background-color: var(--bullet-white);
    border: none;
    color: var(--bullet-black);
    font-weight: 600;
    padding: 6px 14px;
    margin-left: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.language-switcher button.active {
    background-color: var(--bullet-red);
    color: var(--bullet-white);
}

.scroll-down-icon {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
}

.news-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.news-img,
.skeleton-img {
    height: 180px;
    object-fit: cover;
}

.news-card {
    border-radius: 12px;
    overflow: hidden;
}

.news-card h6 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.skeleton-img {
    background: linear-gradient(90deg, #222 25%, #333 50%, #222 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.skeleton-line {
    height: 15px;
    background: #333;
    margin-bottom: 10px;
    border-radius: 4px;
}

.skeleton-line.short { width: 60%; }

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}


/* Mobile / Small screen improvements */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .btn-cta {
        font-size: 1rem;
        padding: 10px 20px;
    }
}