:root {
    /* --primary-color: #1e3a8a;  */
    --primary-color: #8a1e79;
    /* --primary-light: #3b82f6;  */
    --primary-light: rgb(95 10 211) !important;
    --accent-color: #d97706;
    /* --bg-color: #f8fafc;      */
    --bg-color: #eeeeee;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --card-bg: #ffffff;
}

body {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}


/*body {
    position: relative;
    z-index: 1;
}
    body::before {
        content: "";
        position: fixed;
        top: 50%;
        left: 50%;
        width: 400px;
        height: 400px;
        transform: translate(-50%, -50%);
        background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Seal_of_Uttar_Pradesh.svg/120px-Seal_of_Uttar_Pradesh.svg.png') no-repeat center;
        background-size: contain;
        opacity: 0.06;
        pointer-events: none;
        z-index: 0;
        animation: rotateWatermark 40s linear infinite, fadeWatermark 6s ease-in-out infinite alternate;
    }
@keyframes rotateWatermark {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
@keyframes fadeWatermark {
    from {
        opacity: 0.04;
    }

    to {
        opacity: 0.08;
    }
}
.watermark-text {
    position: fixed;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.08);
    text-align: center;
    pointer-events: none;
    z-index: 0;
    animation: fadeText 5s ease-in-out infinite alternate;
}

@keyframes fadeText {
    from {
        opacity: 0.05;
    }

    to {
        opacity: 0.12;
    }
}

.top-bar {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 8px 0;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}*/

/* Header & Logo */
.main-header {
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    border-bottom: 3px solid var(--accent-color);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.up-emblem {
    height: 70px; /* Placeholder for UP Emblem */
    width: auto;
}

.dept-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.dept-title p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Navigation */
.navbar-custom {
    background: #ffffff;
    padding: 0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

    .navbar-custom .nav-link {
        color: var(--text-dark);
        font-weight: 600;
        padding: 15px 20px !important;
        transition: all 0.3s ease;
        border-bottom: 3px solid transparent;
    }

        .navbar-custom .nav-link:hover {
            color: var(--primary-color);
            background-color: #f1f5f9;
            border-bottom: 3px solid var(--primary-color);
        }

/* Hero Section */
.hero-section {
    padding: 30px 0;
}

.slider-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
}

.carousel-item img {
    height: 320px;
    object-fit: cover;
}

/* Premium Leader Cards */
.leaders-wrapper {
    display: flex;
    flex-direction: column;
    /* gap: 15px; */
    gap: 7px;
    height: 100%;
    justify-content: space-between;
}

.leader-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .leader-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(30,58,138,0.1);
        /* border-left: 4px solid var(--accent-color); */
        border: 0.5px solid var(--accent-color);
    }

.leader-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f5f9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.leader-info h6 {
    margin: 0 0 4px 0;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.leader-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* News Ticker */
.ticker-wrap {
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(30,58,138,0.2);
    margin-bottom: 40px;
}

.ticker-heading {
    background: var(--accent-color);
    color: #fff;
    padding: 12px 20px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
}

.ticker-content {
    padding: 0 20px;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

    .ticker-content span {
        display: inline-block;
        animation: ticker 25s linear infinite;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Premium Landscape Cards */
.section-header {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    background-color: #8a1e79;
    color: white;
    font-weight: bold;
    padding: 10px;
    border-radius: 19px;
}

    .section-header h3 {
        font-weight: 700;
        color: var(--text-dark);
        font-size: 1.5rem;
        margin: 0;
        color: #ffffff;
    }

    .section-header::after {
        content: '';
        position: absolute;
        left: 18px;
        bottom: 8px;
        width: 104px;
        height: 4px;
        background: var(--accent-color);
        border-radius: 2px;
    }

.stat-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border-top: 4px solid #8a1e79;
    border-bottom: 2px solid #fff300;
    border-left: 1px solid #fff300;
    border-right: 1px solid #8a1e79;
}

    .stat-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(30,58,138,0.08);
        border-color: rgba(30,58,138,0.1);
        border-top: 6px double #8a1e79;
    }

.icon-box {
    width: 75px;
    height: 75px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

.stat-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: #ffffff;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

    .stat-info h5 {
        margin: 0;
        font-size: 1rem;
        color: var(--text-muted);
        font-weight: 600;
    }

    .stat-info h2 {
        margin: 5px 0 0 0;
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--text-dark);
        line-height: 1.2;
    }

/* Map Section */
.map-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    text-align: center;
    margin: 50px 0;
    border: 1px solid rgba(0,0,0,0.03);
}

    .map-wrapper img {
        border-radius: 12px;
        max-width: 100%;
        height: auto;
        transition: transform 0.3s ease;
    }

        .map-wrapper img:hover {
            transform: scale(1.01);
        }

/* Footer */
footer {
    background: var(--primary-color);
    color: #ffffff;
    padding: 25px 0;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation delays */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

a {
    text-decoration: none;
}



h2 {
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* One Row Layout */
.row-container {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    padding: 10px;
}

    .row-container::-webkit-scrollbar {
        height: 6px;
    }

    .row-container::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

/* Card Style */
.card {
    min-width: 214px;
    padding: 15px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    background-color: white !important;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

    /* Glow border effect */
    .card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 20px;
        padding: 2px;
        background: linear-gradient(45deg, #00dbde, #fc00ff);
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: 0.4s;
    }

    .card:hover::before {
        opacity: 1;
    }

    .card:hover {
        transform: translateY(-8px) scale(1.05);
    }

    /* Icons */
    .card i {
        font-size: 40px;
        margin-bottom: 15px;
        color: #00dbde;
        animation: float 3s ease-in-out infinite;
    }

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

.title {
    font-size: 18px;
    font-weight: 600;
}

.range {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 8px;
}

/* Different icon colors */
.c1 i {
    color: #00dbde;
}

.c2 i {
    color: #ff9966;
}

.c3 i {
    color: #56ab2f;
}

.c4 i {
    color: #a18cd1;
}

.c5 i {
    color: #f7971e;
}

