/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #F4F4F4; /* Light Grey Background */
    color: #333333; /* Dark Grey Text */
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #2C3E50;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 60px;
    width: auto;
    align-items:left;
}

.additional-logo {
    height: 40px;
    width: auto;
}

.time-display {
    
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: left;
    
    margin-top: 10px;
}

.header-center {
    flex: 1; /* Take remaining space */
    text-align: center; /* Center-align the text */
}

.header-center h1 {
    margin: 0;
    font-size: 2.5rem; /* Font size increased */
}
.header {
    background: linear-gradient(to right, #2c3e50, #34495e); /* Gradient Background */
}

.header img {
    height: 80px;
}

.header h1 {
    font-size: 28px;
    margin-left: 15px;
    font-weight: bold;
}

.announcement {
    background-color: #e67e22;
    color: white;
    font-weight: bold;
    padding: 5px 0;
    text-align: center;
    font-size: 16px;
}

.navbar {
    display: flex;
    justify-content: center;
    background-color: #2c3e50;
    padding: 10px 0;
}

.navbar a {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.navbar a:hover {
    background-color: #e67e22;
    color: white;
    border-radius: 5px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #e67e22;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    color: #2c3e50;
}

@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    .navbar {
        flex-direction: column;
    }
    .navbar a {
        padding: 8px;
    }
    .card {
        margin-bottom: 20px;
    }
}
.breaking-news {
    background-color: #110d09; /* Orange Background */
    color: white;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Navigation */
nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #2C3E50;
    margin: 0;
    width: 100%;
}

nav ul li {
    position: relative;
    margin-right: 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    display: block;
}
nav ul.menu li:hover .submenu {
    display: block;
    width: 200px; 
}
.menu-item:hover .sub-menu {
    min-width: 250px; /* Adjust width to fit text */
}

nav ul.menu .submenu {
    display: none;
    position: absolute;
    background-color: #282323;
    list-style-type: none;
    padding: 100;
    margin: 50;
    top: 100%;
    left: 0;
    z-index: 1000;
}

nav ul.menu .submenu li a {
    padding: 1rem;
    white-space: nowrap;
}
.navbar {
    display: flex;
    justify-content: center;
    background-color: #2c3e50;
    padding: 10px 0;
  }
  .navbar a {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
  }
  .navbar a:hover {
    background-color: #e67e22;
    color: white;
    border-radius: 5px;
  }

/* Main Content */
main {
    padding: 1rem;
}
.content {
    padding: 1rem;
    text-align: justify;
    line-height: 1.6;
}

.content-wrapper {
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.sidebar {
    width: 20%;
    background-color: white; /* White Background */
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-holder.circle {
    width: 150px; /* Adjust size as needed */
    height: 150px; /* Same as width for perfect circle */
    border-radius: 50%; /* Makes it circular */
    overflow: hidden; /* Ensures image stays within the circle */
    border: 3px solid #3498DB; /* Light Blue Border */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.sidebar-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the circle */
    object-position: top; /* Focuses on the head portion */
}
.center-text {
    text-align: center;
    margin: 0.5rem 0;
}

.main-content {
    width: 60%;
    background-color: white; /* White Background */
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    height: auto;
    display: block;
}

/* Updates Section */
.updates {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: white; /* White Background */
}

.update-box {
    width: 23%;
    background-color: white; /* White Background */
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #E67E22; /* Orange */
}

.update-box h3 {
    margin-top: 0;
}

.update-box ul {
    list-style: none;
    padding: 0;
}

.update-box ul li {
    margin-bottom: 0.5rem;
}

.update-box ul li a {
    text-decoration: none;
    color: #333333; /* Dark Grey Text */
}

.update-box button {
    background-color: #E67E22; /* Orange */
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
    display: block;
    margin: 1rem 0 0 0;
    cursor: pointer;
    text-decoration: none;
}

.update-box button a {
    color: white;
    text-decoration: none;
}
table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}
th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
th {
    background: #007bff;
    color: white;
}
tr:nth-child(even) {
    background: #f9f9f9;
}
.yojna-box {
    width: 60%;
    margin: 20px auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.yojna-box h2 {
    color: #333;
    margin-bottom: 15px;
}

.yojna-box ul {
    list-style-type: none;
    padding: 0;
}

.yojna-box ul li {
    margin: 10px 0;
}

.yojna-box ul li a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.yojna-box ul li a:hover {
    text-decoration: underline;
}


/* Footer */
footer {
    background-color: #2C3E50; /* Dark Blue */
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul.menu {
        flex-direction: column;
    }

    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .sidebar,
    .main-content,
    .update-box {
        width: 100%;
    }

    .updates {
        flex-direction: column;
    }

    .footer-col {
        width: 100%;
    }
}