body {
    background-color: #f8f9fa;
    font-family: 'Noto Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header img.gov-logo {
position: absolute;
    top: 2vh;
    left: 2vw;
    width: 10vw;
}

.header h1 {
    font-size: 2.5rem; /* Kept as is, but will adjust in media queries */
    margin: 0;
}

.header h3 {
    font-size: 2.5rem; /* Kept as is, will adjust in media queries */
}

.header p {
    font-size: 1.2rem; /* Kept as is, will adjust in media queries */
    margin: 0;
}

/* YouTube Section */
.youtube-section {
    position: absolute;
    top: 1vh;
    right: 2vw;
 width: 25vw;
    height: 14vw;
    padding-bottom: calc(35vw * 9 / 16);
    background-color: #061a63;
    padding: 0.5vw;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid #082076;
    overflow: hidden;
}

.youtube-section .video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.youtube-section iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    display: block;
}

.card {
    margin-bottom: 0;
    border: none;
}

.card-header {
    background-color: #cf0000;
    color: white;
    font-weight: bold;
    text-align: center;
}

.row {
    margin: 0;
    flex: 1;
}

.col-md-3, .col-md-9 {
    padding: 0;
}

/* Updated Employee Section Auto-Scrolling */
.employee-section {
    height: 60vh; /* Changed from 800px to 60vh */
    overflow: hidden;
    position: relative;
}

.employee-wrapper {
    display: flex;
    flex-direction: column;
    animation: autoScrollEmployee 20s linear infinite;
}

.employee-card {
    background-color: #0a2776;
    color: white;
    padding: 1.5vw; /* Changed from 15px to 1.5vw */
    text-align: center;
    margin-bottom: 1vh; /* Changed from 10px to 1vh */
    flex-shrink: 0;
}

.employee-card img {
    width: 15vw; /* Changed from 160px to 15vw */
    height: 15vw; /* Changed from 160px to 15vw */
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 2px solid #ededed;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.employee-wrapper:hover {
    animation-play-state: paused;
}

/* Updated Table Section Auto-Scrolling */
.table-section {
    background-color: #1e3a8a;
    color: white;
    height: 62.6vh; /* Changed from 742px to 55vh */
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.table-header-wrapper {
    background-color: #cf0000;
    position: sticky;
    top: 0;
    z-index: 1;
}

.table-content-wrapper {
    animation: autoScrollTable 30s linear infinite;
}

.table-content-wrapper:hover {
    animation-play-state: paused;
}

.table thead th {
    background-color: #cf0000;
    color: white;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 2;
}

.table tbody td {
    background-color: #1e3a8a;
    color: white;
    vertical-align: middle;
    font-size: 2vw; /* Changed from 25px to 2vw */
}

.table-container {
    position: relative;
}

.fixed-header {
    background-color: #cf0000;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 1vw; /* Changed from 10px to 1vw */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 2;
}

.main-content {
    flex: 1;
    padding-bottom: 5vh; /* Changed from 60px to 5vh */
}

.footer {
    background-color: black;
    color: white;
    padding: 0;
    text-align: center;
    width: 100%;

    bottom: 0;
    position: fixed;
}

.announcement-container {
    background-color: rgba(240, 244, 248, 0.9);
    border-radius: 8px;
    margin-bottom: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(224, 224, 224, 0.8);
    display: flex;
    align-items: center;

    justify-content: center;
}

.announcement-title {
    color: white;
    font-size: 1vw; /* Changed from 18px to 1.5vw */
    font-weight: bold;
    margin-right: 1.5vw; /* Changed from 15px to 1.5vw */
    padding-left: 0;
    border-right: 2px solid rgba(224, 224, 224, 0.8);
    background-color: red;
    padding: 1vw; /* Changed from 10px to 1vw */
}

.announcement-text {
    color: white;
    font-size: 1.3vw; /* Changed from 16px to 1.3vw */
    line-height: 1.4;
    white-space: nowrap;
    font-family: 'Arial', sans-serif;
    margin-left: 1vw; /* Changed from 10px to 1vw */
    font-weight: bold;
}

marquee {
    width: 70%;
    height: auto;
}

marquee::-webkit-scrollbar {
    width: 0.8vw; /* Changed from 8px to 0.8vw */
}

marquee::-webkit-scrollbar-track {
    background: rgba(241, 243, 245, 0.5);
    border-radius: 1vw; /* Changed from 10px to 1vw */
}

marquee::-webkit-scrollbar-thumb {
    background-color: rgba(166, 166, 166, 0.7);
    border-radius: 2vw; /* Changed from 20px to 2vw */
    border: 0.2vw solid rgba(241, 243, 245, 0.5); /* Changed from 2px to 0.2vw */
}

marquee::-webkit-scrollbar-thumb:hover {
    background-color: rgba(126, 126, 126, 0.9);
}

.colorful-blink {
    font-size: 1.5rem; /* Kept as is, will adjust in media queries */
    font-weight: bold;
    animation: colorBlink 1s infinite;
}

@keyframes colorBlink {
    0%   { color: red; }
    20%  { color: orange; }
    40%  { color: yellow; }
    60%  { color: limegreen; }
    80%  { color: cyan; }
    100% { color: magenta; }
}

.header {
    text-align: center;
    padding: 1.1vw; /* Changed from 20px to 2vw */
    background: linear-gradient(135deg, #1346dd, #00052b);
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 2.5rem; /* Kept as is, will adjust in media queries */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2vh; /* Changed from 20px to 2vh */
}

.highlighted {
    font-size: 3.5rem; /* Kept as is, will adjust in media queries */
    font-weight: 700;
    color: #ffcc00;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: smoothScaleColorChange 4s infinite ease-in-out;
    margin-top: 2vh; /* Changed from 20px to 2vh */
}

p {
    font-size: 2vw; /* Changed from 25px to 2vw */
    font-weight: 300;
    font-style: italic;
}

@keyframes smoothScaleColorChange {
    0% {
        transform: scale(1);
        color: #ffcc00;
    }
    33% {
        transform: scale(1.05);
        color: #00b4d8;
    }
    66% {
        transform: scale(1.1);
        color: #32cd32;
    }
    100% {
        transform: scale(1);
        color: #ffcc00;
    }
}

.watermarked-cell {
    position: relative;
    padding: 1vw; /* Changed from 10px to 1vw */
}

.watermarked-cell::before,
.watermarked-cell::after {
    content: attr(data-watermark);
    position: absolute;
    top: 30%;
    left: 25%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 3vw; /* Changed from 36px to 3vw */
    color: #d3d3d3;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

.watermarked-cell::after {
    content: attr(data-watermark2);
    top: 70%;
    left: 75%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 3vw; /* Changed from 36px to 3vw */
}

.announcement-container {
    background-color: #080909;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #0e0d0d;
}

.announcement-text {
    color: white;
    line-height: 1.6;
    white-space: nowrap;
    font-family: 'Arial', sans-serif;
    font-size: 1.8vw !important; /* Changed from 22px to 1.8vw */
}

marquee {
    width: 100%;
    height: auto;
}

.header-container {
    margin-bottom: 1.5vh; /* Changed from 15px to 1.5vh */
}



.elected {
    background: linear-gradient(to right, #007bff, #dc3545, #000);
    color: white;
    border-radius: 0.5vw; /* Changed from 5px to 0.5vw */
    box-shadow: 0 0.2vw 0.4vw rgba(0, 0, 0, 0.1); /* Changed from 2px 4px to 0.2vw 0.4vw */
    animation: slowBlueRedBlack 6s infinite alternate ease-in-out;
}

@keyframes slowBlueRedBlack {
    0% {
        background: linear-gradient(to right, #007bff, #dc3545);
    }
    50% {
        background: linear-gradient(to right, #dc3545, #000);
    }
    100% {
        background: linear-gradient(to right, #000, #007bff);
    }
}

.wadapatra {
    background-image: linear-gradient(to right, blue, red, black, blue);
    color: white;
    border-radius: 0.5vw; /* Changed from 5px to 0.5vw */
    box-shadow: 0 0.2vw 0.4vw rgba(0, 0, 0, 0.1); /* Changed from 2px 4px to 0.2vw 0.4vw */
    background-size: 300% 100%;
    animation: continuousColorShift 8s infinite linear;
}

@keyframes continuousColorShift {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

.news {
    background: black;
    color: white;
    padding: 0.5vw; /* Changed from 15px to 1.5vw */
    border-radius: 0.5vw; /* Changed from 5px to 0.5vw */
    animation: newsColorCycle 8s infinite alternate ease-in-out;
}

@keyframes newsColorCycle {
    0% {
        background: black;
        filter: brightness(1);
    }
    33.33% {
        background: blue;
        filter: brightness(1);
    }
    66.66% {
        background: red;
        filter: brightness(1);
    }
    100% {
        background: black;
        filter: brightness(1);
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .header img.gov-logo {
       top: 2vh;
    left: 2vw;
    width: 10vw;
    }
    .header h1, .header h3 {
        font-size: 2rem;
    }
    .header p {
        font-size: 1rem;
    }
    .youtube-section {
        width: 30vw;
        height: 16.875vw;
        right: 1vw;
        top: 0.5vh;
    }
    .employee-section {
        height: 50vh;
    }
    .employee-card img {
        width: 20vw;
        height: 20vw;
    }
    .table-section {
        height: 50vh;
    }
    .table tbody td {
        font-size: 1.8vw;
    }
    .announcement-title {
        font-size: 1.8vw;
    }
    .announcement-text {
        font-size: 1.5vw;
    }
    .highlighted {
        font-size: 3rem;
    }

}

@media (max-width: 768px) {
    .header img.gov-logo {
      top: 2vh;
    left: 2vw;
    width: 10vw;
    }
    .header h1, .header h3 {
        font-size: 1.8rem;
    }
    .header p {
        font-size: 0.9rem;
    }
    .youtube-section {
        position: relative;
        width: 80vw;
        height: 45vw;
        margin: 2vh auto;
        right: auto;
        top: auto;
    }
    .employee-section {
        height: 40vh;
    }
    .employee-card img {
        width: 30vw;
        height: 30vw;
    }
    .table-section {
        height: 40vh;
    }
    .table tbody td {
        font-size: 2.5vw;
    }
    .announcement-title {
        font-size: 2vw;
    }
    .announcement-text {
        font-size: 1.8vw;
    }
    .highlighted {
        font-size: 2.5rem;
    }

}

@media (max-width: 480px) {
    .header img.gov-logo {
       top: 2vh;
    left: 2vw;
    width: 10vw;
    }
    .header h1, .header h3 {
        font-size: 1.5rem;
    }
    .header p {
        font-size: 0.8rem;
    }
    .youtube-section {
        width: 90vw;
        height: 50.625vw;
        margin: 1vh auto;
    }
    .employee-section {
        height: 30vh;
    }
    .employee-card img {
        width: 40vw;
        height: 40vw;
    }
    .table-section {
        height: 30vh;
    }
    .table tbody td {
        font-size: 3vw;
    }
    .announcement-title {
        font-size: 2.5vw;
    }
    .announcement-text {
        font-size: 2vw;
    }
    .highlighted {
        font-size: 2rem;
    }

}


        .clock-container {
 
color: #fff;
  font-size: 16px;
  font-family: 'Arial Black', sans-serif;
  letter-spacing: 2px;
  margin-top: -4%;
  margin-right: 67%;
}
        