:root {
    --govt-blue: #000000c2;
    --govt-gold: #ffffff;
    --govt-light-blue: #f8ffd3;
    --govt-dark-blue: #ff9933;
}

/* .main-navbars {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1030;
        }
        .main-container {
            padding-top: 12rem; 
        } */
        

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.top-nav {
    background-color: var(--govt-blue);
    color: white;
    font-size: 0.9rem;
    padding: 0.3rem 0;
}

.top-nav a {
    color: white;
    text-decoration: none;
}

.top-nav a:hover {
    color: var(--govt-gold);
    text-decoration: underline;
}

.main-navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.logo-img {
    height: 80px;
}

.link-img {
    height: 50px;
    margin: 5px;
}

.logo-mobile {
    display: none;
}

/* .nav-link {
    color: var(--govt-blue);
    font-weight: 500;
    padding: 0.8rem 1.2rem;
    transition: background-color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--govt-dark-blue);
    color: black;
    border-bottom: var(--govt-dark-blue) solid;
} */

.carousel-img {
    height: 70%;
    width: 100%;
    /* object-fit: contain; */
    mix-blend-mode: darken;
}

.section-title {
    color: var(--govt-blue);
    border-bottom: 2px solid var(--govt-gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.news-card {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.3s;
    height: 100%;
}

.news-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.news-card .card-header {
    background-color: var(--govt-blue);
    color: white;
    font-weight: 600;
}

.card-btn {
    background-color: var(--govt-blue);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.card-btn:hover {
    background-color: var(--govt-dark-blue);
}
/* 
.nav-tabs .nav-link {
    color: #495057;
    font-weight: 600;
    border: none;
    padding: 0.8rem 1.5rem;
}

.nav-tabs .nav-link.active {
    color: var(--govt-blue);
    border-bottom: 3px solid var(--govt-blue);
    background-color: transparent;
} */


/* .btn-rounded {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--govt-blue);
    color: white;
    border: none;
}

.btn-rounded:hover {
    background-color: var(--govt-dark-blue);
    color: white;
} */

/* .quick-links {
    background-color: var(--govt-light-blue);
    padding: 1.5rem 0;
} */

.quick-link-item {
    display: block;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background-color: #d1d1d1;
    border-left: 4px solid var(--govt-blue);
    text-decoration: none;
    color: #212529;
    font-weight: 500;
    transition: all 0.3s;
}

.quick-link-item:hover {
    background-color: var(--govt-blue);
    color: white;
}

.footer {
    background-color: var(--govt-blue);
    /* background: linear-gradient(to left, var(--govt-dark-blue), var(--govt-blue)); */
    color: white;
    padding: 2.5rem 0 1rem;
    border-top: 4px solid var(--govt-dark-blue);
    font-size: 0.95rem;
}

.footer h5 {
    font-weight: 700;
    /* margin-bottom: 1.2rem; */
    color: whitesmoke;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30%;
    height: 2px;
    background-color: whitesmoke;
}

.footer p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.2rem 0;
    position: relative;
    padding-left: 1.2rem;
}

.footer-links a:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--govt-dark-blue);
}

.footer-links a:hover {
    color: whitesmoke;
    padding-left: 1.5rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    margin-right: 0.7rem;
    transition: all 0.3s;
    text-decoration: none;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
}

.social-icon:hover {
    background-color: var(--govt-dark-blue);
    color: whitesmoke;
    transform: translateY(-2px);
}

.govt-logos {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.govt-logo {
    height: 50px;
    opacity: 0.8;
    transition: opacity 0.8s;
    filter: brightness(0) invert(1);
}

.govt-logo:hover {
    opacity: 1;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2) !important;
    margin: 1.5rem 0;
}

.footer-bottom {
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.footer-contact-icon {
    color: whitesmoke;
    margin-right: 0.8rem;
    margin-top: 0.2rem;
    min-width: 16px;
}

.national-portal {
    background-color: var(--govt-gold);
    padding: 0.3rem 0;
    text-align: center;
}

.national-portal a {
    color: var(--govt-dark-blue);
    font-weight: 600;
    text-decoration: none;
}

.heading-section {
    /* background-image: url('../g20.png');
    background-repeat: no-repeat;
    background-size:auto;
    background-position: 2em -5em; */
    padding: 2rem 0;
    display: flex;
    justify-content: center;
}

.heading-section .heading-logo {
    height: 80px;
    object-fit: contain;
    mix-blend-mode: darken;
}

.info-card {
    border-left: 4px solid var(--govt-blue);
    margin-bottom: 0.8rem;
    transition: all 0.3s;
    position: relative;
    padding-left: 3rem;
}

.info-card:hover {
    background: linear-gradient(to right, var(--govt-dark-blue), var(--govt-blue));
    opacity: 0.9;
    color: whitesmoke;
}

.info-card .fa-solid {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--govt-blue);
    font-size: 1.2rem;
}

.important-cards {
    margin-bottom: 1rem;
}

.important-cards .card {
    border: 1px solid var(--govt-blue);
    border-radius: 8px;
    transition: all 0.3s;
    height: 100%;
}

.important-cards .card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.important-cards .card-title {
    color: var(--govt-blue);
    font-weight: 700;
}

.important-cards .fa-exclamation-triangle {
    color: #dc3545;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.map-img {
    width: -webkit-fill-available;
}

.mobile {
    display: none;
}

/* Vacancies page custom CSS */
.vacancy-card {
    border: 1px solid #1a4480;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.vacancy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: #00264d;
}

.vacancy-card .card-body {
    padding: 1.5rem;
}

.vacancy-header {
    background-color: #500606;
    color: white;
    padding: 1rem;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.vacancy-header h5 {
    margin: 0;
    font-weight: 600;
}

.vacancy-detail {
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
}

.vacancy-label {
    font-weight: 600;
    color: black;
    min-width: 120px;
}

.vacancy-value {
    color: #333;
}


.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: whitesmoke;
    color: #470303;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}


/* Registration Section Styles */
.registration-section {
    /* background: linear-gradient(to bottom, #f8f9fa, #e9ecef); */
    padding: 2rem 0;
    border-top: 3px solid var(--govt-dark-blue);
    border-bottom: 3px solid var(--govt-dark-blue);
}

.steps-card {
    border: 2px solid var(--govt-dark-blue);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.steps-card h2 {
    border-bottom: 2px solid var(--govt-blue);
    padding-bottom: 0.8rem;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}


.steps-card li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
}

/* Login Card */
.login-card {
    border: 2px solid var(--govt-dark-blue);
    border-radius: 8px;
    /* height: 100%; */
}

.login-card h1 {
    border-bottom: 2px solid var(--govt-blue);
    padding-bottom: 0.8rem;
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
}

.login-card .fa-calendar-alt {
    color: var(--govt-dark-blue);
}

.login-card .alert-info {
    background: linear-gradient(to right, #e9f5ff, #f0f8ff);
    border: 1px solid #1a4480;
    border-left: 4px solid #1a4480;
    /* color: #1a4480; */
    border-radius: 6px;
}

.login-card .form-label {
    font-weight: 600;
    color: var(--govt-dark-blue);
    margin-bottom: 0.5rem;
}

.login-card .form-control {
    border: 2px solid #ced4da;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.login-card .form-control:focus {
    border-color: #1a4480;
    box-shadow: 0 0 0 0.2rem rgba(26, 68, 128, 0.25);
}

.login-card .btn-primary {
    background: linear-gradient(to right, var(--govt-dark-blue), #1c9e1c);

    border: none;
    border-radius: 4px;
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--govt-dark-blue), #1c9e1c);
    transform: translateY(-2px);
}

.login-card .text-decoration-none:hover {
    color: var(--govt-dark-blue) !important;
    text-decoration: underline !important;
}

.login-card h5 {
    /* color: #1a4480; */
    font-weight: 700;
}

.btn {
    background: linear-gradient(to right, var(--govt-dark-blue), #1c9e1c);
    color: white !important;
    border: none;
    border-radius: 4px;
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-card .btn:hover {
    background: linear-gradient(to right, var(--govt-dark-blue), #1c9e1c);
    transform: translateY(-2px);
}



    .contact-card {
    /* background: #ffffff; */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.icon-container {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--govt-dark-blue);
}

.contact-card h3 {
    color: var(--govt-dark-blue);
    font-weight: 600;
    font-size: 1.25rem;
}

.contact-info .address-item,
.contact-info .contact-item {
    padding: 0.5rem 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7ff;
    border-radius: 8px;
}

.office-hours .timing-item {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}


.badge-secondary {
    background: #6c757d;
}

.font-weight-medium {
    font-weight: 500;
}

.text-secondary {
    color: #6c757d !important;
}


@media (max-width: 767.98px) {

    .registration-section {
        padding: 1.5rem 0;
    }

    .registration-section .section-title {
        font-size: 1.5rem;
    }

    .steps-card,
    .login-card {
        padding: 1.2rem;
    }

    .steps-card h2 {
        font-size: 1.2rem;
    }

    .login-card h1 {
        font-size: 1.3rem;
    }

    /* .registration-section .info-card {
        padding: 0.8rem 1rem;
    } */

    .top-nav .mobile {
        display: block;
        font-size: smaller;
        padding: 7px;
    }

    .top-nav .nav-computer {
        display: none;
    }

    .carousel-img {
        height: 100%;
        width: 100%;
        /* object-fit: contain; */
    }

    .logo-mobile {
        display: block;
        width: 100%;
    }

    .logo-img {
        display: none;

    }

    .navbar-collapse {
        height: 14rem;
        overflow: auto;
        padding: 4px 0 0 0;
        transition: none;
    }

    /* .main-container {
                padding-top: 11.5rem; 
            } */

    main.h1 {
        margin-top: 3rem;
    }

    .nav-link.active {
        background-color: var(--govt-dark-blue);
        color: white;
        border-bottom: var(--govt-gold) solid;
    }

    /* Vacacncy page css */
    /* .vacancy-detail {
        flex-direction: column;
    } */

    .vacancy-label {
        min-width: auto;
        margin-bottom: 0.2rem;
    }

    /* footer responsive CSS */
    .footer {
        text-align: left;
        padding: 2rem 0 1rem;
    }

    /* .footer h5:after {
        left: 50%;
        transform: translateX(-50%);
    } */

    .footer-links a {
        padding-left: 0;
        justify-content: center;
    }

    .footer-links a:before {
        display: none;
    }
     .contact-card {
        margin-bottom: 1.5rem;
    }
    
    .icon-container {
        width: 45px;
        height: 45px;
        padding: 0.75rem;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
    }

}

/* @media (min-width: 768px) {

    main {
        margin-top: 0;
    }
} */
 .relodcaptcha {
  width: auto;
  height: 30px;
  margin-left: 10px;
  background: linear-gradient(to right, #ff6b6b, #1f97ff, #35c183);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.relodcaptcha:hover {
  background: linear-gradient(to right, #ff4c4c, #0075cc, #29a664);
}
