@tailwind base;
@tailwind components;
@tailwind utilities;

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 100 900;
  src: url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap")
    format("woff2");
}

body {
  font-family: "Poppins", sans-serif;
}

.max-w-screen{
  max-width: 100vw;
}

.adminActions {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.adminToggle {
    display: none;
}

.adminButton {
    background: #ED107F;
    color: white;
    font-size: 22px;
    padding: 12px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: 0.3s;
}

    .adminButton:hover {
        background: #88bb2a;
    }

.adminButtons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    bottom: 70px;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

    .adminButtons a {
        background: #fff;
        color: #333;
        font-size: 20px;
        padding: 12px;
        border-radius: 50%;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
    }

        .adminButtons a:hover {
            background: #88bb2a;
            color: white;
        }

.adminToggle:checked ~ .adminButtons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.glide__bullet {
    background-color: #E6F8C6 !important;
}

.glide__bullet--active {
    background-color: #88bb2a !important;
}
/* Headline / Latest News */
#news-ticker {
    position: relative;
    height: 20px; /* ek line ki height adjust karo */
    overflow: hidden;
}

.news-item {
    position: absolute;
    width: 100%;
    top: 100%; /* start below container */
    left: 0;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

    .news-item.show {
        top: 0; /* visible line */
        opacity: 1;
    }

    .news-item.hide {
        top: -100%; /* slide up out */
        opacity: 0;
    }

@media (max-width: 768px) {
    .glass-card {
        padding: 30px 20px;
    }

        .glass-card img {
            margin-bottom: 15px;
            height: 80px;
        }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .countdown div {
        min-width: 60px;
        font-size: 1rem;
        padding: 10px 15px;
    }

    .social-icons a {
        font-size: 1.3rem;
        margin: 0 8px;
    }

    .contact-info {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }

    p {
        font-size: 0.9rem;
    }

    .countdown div {
        min-width: 50px;
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .glass-card img {
        height: 70px;
    }
}

.myCenterSlider {
    height: 270px; /* same as 310x250 banner height */


}



.swiper-pagination-bullet {
    background-color: #aabb28;
    width: 10px;
    height: 10px;
    margin: 0 3px;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: #E6f8c6;
}

@media (max-width: 640px) {
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}



