/* Global Styles */
:root {
    --primary-color: #134699;
    --secondary-color: #2980b9;
    --accent-color: #C11908;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    font-size: 16px;
}

.logo-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
}
/* =================== Base Navigation Styles =================== */
nav {
    background-color: var(--white);
    border-top: 1px solid #eee;
}

.main-menu {
    display: flex;
    position: relative;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.main-menu > li > a:hover {
    color: var(--primary-color);
    background-color: #f5f5f5;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    width: 220px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    overflow: hidden;
}

.main-menu > li:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    color: var(--dark-color);
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.submenu li a:hover {
    color: var(--primary-color);
    background-color: #f9f9f9;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
}

/* Mobile dropdown icon styles */
.mobile-dropdown {
    display: none;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.mobile-dropdown i {
    transition: transform 0.3s ease;
}

/* =================== Responsive Styles =================== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        border-top: 1px solid #eee;
        z-index: 1000;
    }

    .main-menu.active {
        display: flex;
    }

    .main-menu > li {
        width: 100%;
    }

    .main-menu > li > a {
        padding: 15px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .submenu {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: none;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        background-color: #f8f8f8;
        border-top: 1px solid #eee;
    }

    .main-menu > li.active .submenu {
        display: block;
    }

    .mobile-dropdown {
        display: inline-block;
    }

    /* Prevent hover effects on mobile */
    .main-menu > li > a:hover {
        background-color: transparent;
        color: var(--dark-color);
    }
    
    .main-menu > li.active > a {
        color: var(--primary-color);
    }
    
    .submenu li a:hover {
        background-color: transparent;
        color: var(--primary-color);
    }

    /* Nested submenu items */
    .submenu li a {
        padding-left: 30px;
    }
}

/* Desktop specific hover effects */
@media (min-width: 769px) {
    .main-menu > li:hover > a {
        color: var(--primary-color);
        background-color: #f5f5f5;
    }
    
    .submenu li a:hover {
        color: var(--primary-color);
        background-color: #f9f9f9;
    }
}

/* Hero Slider */
.hero-slider {
    width: 100%;
    height: 0;
    padding-bottom: 31.46%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.slider-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    margin: 0 5px;
    cursor: pointer;
}

.slider-nav button.active {
    background: var(--white);
}

/* Leaders Section */
.leaders-section {
    padding: 50px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.leaders-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.leader-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-10px);
}

.leader-img {
    height: 250px;
    overflow: hidden;
}

.leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-img img {
    transform: scale(1.05);
}

.leader-info {
    padding: 20px;
    text-align: center;
}

.leader-info h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.leader-info p {
    font-size: 16px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* About Section */
.about-section {
    padding: 50px 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    text-align: justify;
}

/* News Ticker */
.news-ticker-container {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 0;
    overflow: hidden;
}

.ticker-label {
    background-color: var(--accent-color);
    padding: 5px 15px;
    font-weight: bold;
    margin-right: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
}

.ticker-items {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker 40s linear infinite;
}

.ticker-item {
    display: inline-block;
    margin-right: 40px;
    color: var(--white);
}

/* Pause animation on hover */
.news-ticker-container:hover .ticker-items {
    animation-play-state: paused;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Cards Container */
.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-header {
    background: #1a5276;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header i {
    font-size: 1.2rem;
}

.card-header h2 {
    margin: 0;
    font-size: 1.3rem;
}

.card-content {
    padding: 20px;
    flex: 1;
}

.card-item h3 {
    color: #1a5276;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
}

/* List Items */
.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card li {
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card li:last-child {
    border-bottom: none;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background: #f5f5f5;
    color: #1a5276;
    font-weight: 600;
}

/* Status Badges */
.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.verified {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.pending {
    background: #fff8e1;
    color: #ff8f00;
    border: 1px solid #ffe0b2;
}

.new {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

/* Card Specific Colors */
.notice-card .card-header {
    background: #1a5276;
}

.career-card .card-header {
    background: #5d4037;
}

.tender-card .card-header {
    background: #2e7d32;
}

/* Gallery Section */
.gallery-section {
    padding: 50px 0;
    background-color: var(--light-color);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 200px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

#lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

#lightbox-caption {
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 1.2em;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    transform: translateY(-50%);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Info Boxes */
.info-section {
    padding: 50px 0;
    background-color: var(--white);
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-box {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-box:hover {
    transform: translateY(-10px);
}

.info-box i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-box h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-box p {
    margin-bottom: 20px;
}

/* Map Section */
.map-section {
    padding: 0;
    height: 400px;
    background-color: var(--light-color);
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 50px 0 0;
}

.footer-container {
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column p {
    margin-bottom: 15px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        flex: none;
        width: 100%;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .social-links {
        margin-top: 10px;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .main-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu > li {
        border-bottom: 1px solid #eee;
    }
    
    .submenu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
    }
    
    .main-menu > li.active > .submenu {
        display: block;
    }
    
    .submenu li a {
        padding-left: 40px;
    }
    
    .mobile-dropdown {
        display: inline-block;
        margin-left: 5px;
        transition: transform 0.3s;
    }
    
    .main-menu > li.active > a .mobile-dropdown {
        transform: rotate(180deg);
    }
    
    .hero-slider {
        height: 50vh;
        min-height: 400px;
    }
    
    .ticker-label {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 40vh;
        min-height: 300px;
    }
    
    .leader-card {
        width: 100%;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .info-boxes {
        grid-template-columns: 1fr;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.pagination-link:hover {
    background-color: #f5f5f5;
}

.pagination-link.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.pagination-link:disabled {
    color: #ccc;
    cursor: not-allowed;
}