:root {
    --primary-color: #1a5276;
    --secondary-color: #f39c12;
    --accent-color: #27ae60;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
}

body {
    font-family: 'Hind', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.top-header {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.top-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 1;
}

.header-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.header-item i {
    margin-right: 8px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.social-icons a {
    color: white;
    margin-left: 15px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Carousel Styles */
.hero-carousel {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.carousel-image {
    object-fit: fill;
    height: 100%;
    width: 100%;
}

.carousel-content {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 0 15px;
}

.carousel-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.carousel-subtitle {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators .active {
    background-color: var(--secondary-color);
}
/* Overlay for text */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}
.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-wrapper video,
.video-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps aspect ratio, fills entire area */
}


.main-navbar {
    background-color: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.9rem;
    color: var(--dark-color);
    margin: 0;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 20px 15px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-item.active .nav-link::before {
    width: 100%;
}


.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    z-index: 9999;
    transition: width 0.3s ease;
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-item {
        margin: 5px 0;
        justify-content: center;
    }

    .social-icons {
        margin-top: 10px;
        justify-content: center !important;
    }
}

@media (max-width: 992px) {
    .navbar-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .logo-container {
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .brand-text {
        margin-top: 8px;
        text-align: center;
    }

    .navbar-toggler {
        position: absolute;
        right: 45px;
        top: 20px;
    }
}

@media (max-width: 768px) {

    .hero-carousel,
    .carousel-item,
    .video-wrapper {
        height: 300px !important;
    }

    .carousel-title {
        font-size: 1.5rem;
    }

    .carousel-subtitle {
        font-size: 0.9rem;
    }

    .carousel-content {
        bottom: 50px;
    }

    .logo {
        height: 45px;
    }
}

@media (max-width: 576px) {

    .hero-carousel,
    .carousel-item,
    .video-wrapper {
        height: 250px !important;
    }

    .carousel-title {
        font-size: 1.2rem;
    }

    .carousel-subtitle {
        font-size: 0.8rem;
    }

    .brand-title {
        font-size: 1rem;
    }

    .brand-subtitle {
        font-size: 0.7rem;
    }
}

html,
body {
    overflow-x: hidden !important;
    width: 100%;
}



/* Footer */
.footer {
    background: linear-gradient(135deg, #003366, #00509e);
    color: #e2e8f0;
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.footer h5 {
    color: #ffcc66;
    margin-bottom: 25px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.footer p {
    color: #d1d5db;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}

.footer ul li a:hover {
    color: #ff6b35;
    transform: translateX(6px);
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    color: #a0aec0;
    font-size: 14px;
}

.footer-bottom a {
    color: #cbd5e0;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #ff6b35;
}

/* Social Icons */
.social-footer a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    margin: 0 8px;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-footer a:hover {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    transform: translateY(-4px);
}


/* slogan scroller */
.scrolling-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
    padding-right: 50px;
}

.scrolling-wrapper:hover .scrolling-content {
    animation-play-state: paused;
}

.slogan-item {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    margin: 0 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slogan-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.scrolling-wrapper {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    padding: 1.5rem 0;
    background: linear-gradient(135deg, #11998e 0%, #11998e 100%);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
}

.slogan-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.slogan-item:hover::before {
    left: 100%;
}

.slogan-item i {
    margin-right: 10px;
    font-size: 1.2rem;
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@media (max-width: 992px) {
    .header h2 {
        font-size: 2rem;
    }

    .slogan-item {
        padding: 0.8rem 1.5rem;
        font-size: 1.2rem;
        margin: 0 0.75rem;
    }
}

@media (max-width: 768px) {
    .header h2 {
        font-size: 1.8rem;
    }

    .slogan-item {
        padding: 0.7rem 1.2rem;
        font-size: 1.1rem;
        margin: 0 0.5rem;
    }

    .scrolling-content {
        animation: scroll 25s linear infinite;
    }
}

@media (max-width: 576px) {
    .header h2 {
        font-size: 1.6rem;
    }

    .slogan-item {
        padding: 0.6rem 1rem;
        font-size: 1rem;
        margin: 0 0.4rem;
    }

    .scrolling-content {
        animation: scroll 20s linear infinite;
    }
}


/* main section gp info */
.custom-card {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-grid img {
    width: 60px;
    height: 60px;
    margin: 8px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.icon-grid .icon-box:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #f3f5ff, #dbe4ff);
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: fill;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.profile-img1 {
    width: 250px;
    height: 250px;
    object-fit: fill;
    transition: all 0.3s ease;
}

.profile-card {
    background: linear-gradient(145deg, #ffffff, #f1f4ff);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.tax-card-new {
    border-radius: 12px;
    width: 280px;
    /* Make it a bit wider horizontally */
    padding: 12px 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease-in-out;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.tax-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.icon-text-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle-sm {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.text-content {
    display: flex;
    flex-direction: column;
}

.eng-label {
    font-size: 13px;
}

/* Gradients */
.bg-grad-purple {
    background: linear-gradient(135deg, #f57c00, #f57c00);
}

.bg-grad-blue {
    background: linear-gradient(135deg, #0288d1, #01579b);
}


.custom-card {
    background: linear-gradient(145deg, #ffffff, #f4f7ff);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

.section-title {
    font-weight: bold;
    margin-bottom: 8px;
    color: #005792;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 4px;
}

.fact-badge {
    background-color: #dee9ff;
    color: #1c3f74;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 30px;
    margin-right: 8px;
}


.news-widget {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-left: 5px solid #ff9800;
}

.news-header {
    background: #ffe0b2;
    color: #212121;
    padding: 12px 16px;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-body {
    max-height: 580px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.news-body::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.news-item {
    background: linear-gradient(135deg, #0288d1, #01579b);
    color: #fff;
    margin: 10px 16px;
    padding: 8px;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: start;
    gap: 10px;
    transition: transform 0.2s ease;
}

.news-item:hover {
    transform: scale(1.02);
}

.news-icon {
    font-size: 20px;
    margin-top: 2px;
    color: #fffde7;
}

/* 9 themes */
.badge-container {
    background: linear-gradient(135deg, #141e30, #243b55);
    padding: 40px 20px;
}

.badge-card {
    width: 180px;
    height: 230px;
    text-align: center;
    background: linear-gradient(145deg, #ffffff, #f4f7fb);
    border-radius: 20px;
    padding: 15px 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.badge-card:hover {
    transform: translateY(-10px) scale(1.07);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, #fdfbfb, #e8f0ff);
}

.village-badges {
    height: 80px;
    margin: 0 auto 10px auto;
    transition: transform 0.4s ease;
}

.badge-card:hover .village-badges {
    transform: rotate(-6deg) scale(1.15);
}

.badge-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    font-family: "Noto Sans Devanagari", sans-serif;
}

.more-info-btn {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 25px;
    /* padding: 15px 20px; */
    font-size: 12px;
    opacity: 0;
    transition: all 0.4s ease;
    width: fit-content;
}

.badge-card:hover .more-info-btn {
    bottom: 15px;
    opacity: 1;
}

/* Modal */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #141e30, #243b55);
    color: #fff;
    border: none;
}

iframe {
    width: 100%;
    height: 500px;
    border: none;
}

/* grampnachyat about section css */
.about_header {
    text-align: center;
    background: linear-gradient(45deg, #1a73e8, #4285f4);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.about_header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.about_header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about_header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.mission-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission-text {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mission-text:hover {
    transform: translateY(-5px);
}

.mission-text h2 {
    color: #1a73e8;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #1a73e8;
    display: inline-block;
}

.mission-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.mission-image {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(45deg, #1a73e8, #4285f4);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

.mission-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 C50,100 50,0 100,100 L100,0 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.about_cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about_card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.about_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #E54E04, #E54E04);
}

.about_card-icon {
    font-size: 2.5rem;
    color: #E54E04;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: #f8d5c3;
    border-radius: 50%;
    width: fit-content;
}

.about_card h3 {
    color: #E54E04;
    margin-bottom: 1rem;
    font-size: 1.5rem;

}

.about_card p,
.about_card ul {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about_card ul {
    padding-left: 1.5rem;
}

.about_card ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

.about_card ul li::before {
    content: '✓';
    color: #1a73e8;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .about_header h1 {
        font-size: 2.5rem;
    }

    .mission-container {
        flex-direction: column;
    }

    .about_cards-container {
        grid-template-columns: 1fr;
    }
}

/* Quick Services */
.quick-services {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 80px 0;
    position: relative;
}

.quick-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(26, 54, 93, 0.05), transparent);
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 36px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    transform: rotate(10deg) scale(1.1);
}

.service-card h4 {
    color: #1a365d;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

.service-card .btn-sm {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 600;
    margin-top: 15px;
}



/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #1a365d;
    margin-bottom: 20px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* news section */
.news_container {
    background-color: #fbfcfd;
    color: #212529;
}

.marathi-text {
    font-family: 'Hind Siliguri', sans-serif;
}

.news_heading {
    background: linear-gradient(45deg, #1a73e8, #4285f4);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: white;
    position: relative;
    overflow: hidden;
}

.news_heading::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
}

.news_heading h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.news_heading p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.announcement-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-news_heading {
    padding: 15px 20px;
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-body {
    padding: 20px;
}

.card-footer {
    background-color: #f8f9fa;
    padding: 12px 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.2rem;
}

.green-badge {
    background-color: rgba(64, 145, 108, 0.2);
    color: #40916c;
}

.red-badge {
    background-color: rgba(230, 57, 70, 0.2);
    color: #e63946;
}

.blue-badge {
    background-color: rgba(61, 133, 198, 0.2);
    color: #3d85c6;
}

.yellow-badge {
    background-color: rgba(255, 183, 0, 0.2);
    color: #ffb700;
}

.date-badge {
    background-color: #2c7da0;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.animated-border {
    position: relative;
}

.animated-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2c7da0, #a9d6e5);
    transition: width 0.5s ease;
}

.animated-border:hover::after {
    width: 100%;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

.bounce-in {
    animation: bounceIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    60% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news_heading h1 {
        font-size: 2rem;
    }

    .card-news_heading {
        font-size: 1.1rem;
    }
}

/* population css */
.population_container {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.dashboard-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(13, 71, 161, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: cardAppear 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 71, 161, 0.15);
}

.population_heading {
    background: linear-gradient(45deg, #1a73e8, #4285f4);
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.population_heading::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}

.population_heading h1 {
    font-weight: 600;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.population_heading p {
    opacity: 0.9;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.stats-container {
    padding: 30px;
}

.stat-card {
    background: #e3f2fd;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #4e73df;
    box-shadow: 0 5px 15px rgba(13, 71, 161, 0.05);
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.stat-card:nth-child(1) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.4s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.6s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.8s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.1);
    background: white;
}

.stat-card.male {
    border-left-color: #36b9cc;
}

.stat-card.female {
    border-left-color: #e83e8c;
}

.stat-card.family {
    border-left-color: #1cc88a;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 10px;
    display: block;
    animation: countUp 1.5s ease-out forwards;
}

.stat-card.male .stat-number {
    color: #36b9cc;
}

.stat-card.female .stat-number {
    color: #e83e8c;
}

.stat-card.family .stat-number {
    color: #1cc88a;
}

.stat-label {
    font-size: 1rem;
    color: #5a5c69;
    font-weight: 500;
}

.date-section {
    background: #e3f2fd;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #bbdefb;
    font-weight: 500;
    color: #0d47a1;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1s;
    opacity: 0;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    background: rgba(78, 115, 223, 0.1);
    animation: bounceIn 1s ease-out forwards;
}

.stat-card.male .icon-wrapper {
    background: rgba(54, 185, 204, 0.1);
}

.stat-card.female .icon-wrapper {
    background: rgba(232, 62, 140, 0.1);
}

.stat-card.family .icon-wrapper {
    background: rgba(28, 200, 138, 0.1);
}

.icon {
    font-size: 24px;
    color: #4e73df;
}

.stat-card.male .icon {
    color: #36b9cc;
}

.stat-card.female .icon {
    color: #e83e8c;
}

.stat-card.family .icon {
    color: #1cc88a;
}

/* Animations */
@keyframes cardAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes countUp {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }

    .population_heading h1 {
        font-size: 1.5rem;
    }
}

/* temple css */
.temple-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    cursor: pointer;
    height: 350px;
}

.temple-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.temple-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.temple-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.temple-card:hover .temple-image img {
    transform: scale(1.1);
}

.temple-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.9), rgba(247, 147, 30, 0.9));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.temple-card:hover .temple-overlay {
    opacity: 1;
}

.temple-content {
    padding: 25px;
    text-align: center;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.temple-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 15px;
}

.temple-location {
    color: #FF6B35;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 1rem;
}

.view-details-btn {
    background: linear-gradient(45deg, #FF6B35, #F7931E);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    align-self: center;
}

.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

/* Modal Styles */
.temple-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    max-width: 100%;
}

.temple-modal .modal-header {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    border: none;
    padding: 20px 30px;
}

.temple-modal .modal-title {
    font-size: 1.8rem;
    font-weight: 600;
}

/* Changed close button icon color to black */
.temple-modal .btn-close {
    filter: invert(0);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 2l12 12M14 2L2 14'/%3e%3c/svg%3e");
}

.modal-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.temple-details {
    padding: 30px;
}

.detail-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #FFF8F3;
    border-radius: 10px;
    border-left: 4px solid #FF6B35;
}

.detail-label {
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.detail-value {
    color: #7F8C8D;
    line-height: 1.6;
}

.timing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.timing-item {
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #FFD23F;
}

.timing-label {
    font-weight: 600;
    color: #FF6B35;
    font-size: 0.9rem;
}

.timing-value {
    color: #2C3E50;
    font-weight: 500;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .temple-card {
        height: auto;
    }

    .temple-image {
        height: 180px;
    }

    .temple-content {
        height: auto;
        padding: 20px;
    }
}


#scrollTopBtn {
  position: fixed;
  bottom: 160px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: #eb4f06;
  color: #fff;
  font-size: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1060;
}

/* ही class स्क्रोल झाल्यावर दिसण्यासाठी */
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

  /* Gradient background */
    .main {
      /* background: linear-gradient(135deg, #4a90e2 0%, #50e3c2 100%); */
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
    }

    /* Container card */
    .sampark-card {
      background: #fff;
      border-radius: 1.5rem;
      box-shadow: 0 20px 40px rgb(0 0 0 / 0.15);
      max-width: 1800px;
      width: 100%;
      overflow: hidden;
      display: flex;
      flex-wrap: wrap;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .sampark-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 30px 60px rgb(0 0 0 / 0.25);
    }

    /* Left side - map */
    .map-side {
      flex: 1 1 50%;
      min-width: 320px;
      position: relative;
      overflow: hidden;
    }

    .map-side iframe {
      width: 100%;
      height: 100%;
      min-height: 200px;
      border: none;
      filter: drop-shadow(0 0 8px rgba(74, 144, 226, 0.5));
      transition: filter 0.3s ease;
      border-radius: 0 1.5rem 1.5rem 0;
    }

    .map-side iframe:hover,
    .map-side iframe:focus {
      filter: drop-shadow(0 0 15px rgba(80, 227, 194, 0.8));
      outline: none;
    }

    /* Right side - details */
    .details-side {
      flex: 1 1 50%;
      min-width: 320px;
      padding: 3rem 3rem 3rem 4rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: linear-gradient(135deg, #50e3c2 0%, #4a90e2 100%);
      color: white;
      border-radius: 0 1.5rem 1.5rem 0;
      position: relative;
      overflow: hidden;
    }

    /* Decorative circles */
    .details-side::before,
    .details-side::after {
      content: '';
      position: absolute;
      border-radius: 50%;
      opacity: 0.15;
      filter: blur(80px);
      z-index: 0;
    }

    .details-side::before {
      width: 200px;
      height: 200px;
      background: #ffffff;
      top: -50px;
      right: 30px;
    }

    .details-side::after {
      width: 300px;
      height: 300px;
      background: #000000;
      bottom: -100px;
      left: 20px;
    }

    /* Content inside details */
    .details-content {
      position: relative;
      z-index: 1;
    }

    .details-content h2 {
      font-weight: 900;
      font-size: 2.8rem;
      margin-bottom: 1.5rem;
      text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }

    /* Info cards */
    .info-card {
      background: rgba(255 255 255 / 0.15);
      border-radius: 1rem;
      padding: 1.5rem 2rem;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 1.5rem;
      box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
      cursor: default;
      transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

    .info-card:hover,
    .info-card:focus-within {
      background: rgba(255 255 255 / 0.3);
      box-shadow: 0 8px 24px rgb(0 0 0 / 0.2);
      outline: none;
    }

    .info-icon {
      font-size: 2.5rem;
      flex-shrink: 0;
      color: #fff;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    }

    .info-text {
      flex: 1;
      font-size: 1.2rem;
      line-height: 1.5;
      color: #f0f9ff;
    }

    .info-text strong {
      font-weight: 700;
      color: #e0f7fa;
    }

    /* Email link styling */
    .info-text a {
      color: #b2ebf2;
      text-decoration: underline;
      transition: color 0.3s ease;
    }

    .info-text a:hover,
    .info-text a:focus {
      color: #ffffff;
      text-decoration: none;
      outline: none;
    }

    /* Responsive adjustments */
    @media (max-width: 991.98px) {
      .sampark-card {
        flex-direction: column;
      }
      .map-side iframe {
        min-height: 300px;
        border-radius: 1.5rem 1.5rem 0 0;
      }
      .details-side {
        border-radius: 0 0 1.5rem 1.5rem;
        padding: 2rem 2rem 3rem 2rem;
      }
    }

    @media (max-width: 575.98px) {
      .details-content h2 {
        font-size: 2rem;
      }
      .info-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
      }
      .info-icon {
        font-size: 2rem;
      }
      .info-text {
        font-size: 1rem;
      }
    }

    /* Floating contact button */
    .contact-fab {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      background: #50e3c2;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      box-shadow: 0 8px 20px rgb(80 227 194 / 0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 2rem;
      cursor: pointer;
      transition: background-color 0.3s ease, box-shadow 0.3s ease;
      z-index: 1050;
    }

    .contact-fab:hover,
    .contact-fab:focus {
      background: #3ac9a9;
      box-shadow: 0 12px 30px rgb(58 201 169 / 0.8);
      outline: none;
    }