﻿/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&family=Tangerine:wght@400;700&display=swap');

/* Meitei Mayek Font */
@font-face {
    font-family: LeikoiMayek;
    src: url('/publicAssets/Fonts/LeikoiMayekHU.ttf');
}

/* Color Variables */
:root {
    --primary-blue: #3d8ac5;
    --secondary-blue: #1b76bc;
    --tertiary-blue: #085d9e;
    --light-blue: #bde0fe;
    --lighter-blue: #dff6fb;
    --primary-saffron: #FF671F;
    --secondary-saffron: #d74601;
    --tertiary-saffron: #a23401;
    --light-saffron: #ffe7db;
    --primary-gray: #eee;
    --secondary-gray: #f5f5f5;
    --tertiary-gray: #F2F8FE;
    --primary-white: #fff;
    --primary-black: #333;
    --transparent-primary-black: #000000b3;
}

body, html {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font: 400 16px 'Poppins', sans-serif;
    color: var(--primary-black);
    background: var(--primary-white);
}

/*Font Styles*/
.text-header {
    font-family: 'Oswald', sans-serif;
}

.text-para {
    font-family: 'Open Sans', sans-serif;
}

.text-hand {
    font-family: 'Tangerine', sans-serif;
}

.text-manipuri {
    font-family: 'LeikoiMayek';
}

/*Colors*/
.text-primary-blue {
    color: var(--primary-blue);
}

.text-secondary-blue {
    color: var(--secondary-blue);
}

.text-tertiary-blue {
    color: var(--tertiary-blue);
}

.text-tertiary-blue-hover:hover {
    color: var(--tertiary-blue);
}

.text-secondary-saffron {
    color: var(--secondary-saffron);
}

.text-bs-primary-hover:hover {
    color: var(--bs-primary) !important;
    text-decoration: underline !important;
}

.text-primary-black {
    color: var(--primary-black);
}

.text-primary-white {
    color: var(--primary-white);
}

@media (min-width: 992px) {
    .text-primary-black-lg {
        background: var(--primary-white) !important;
        color: var(--primary-black) !important;
    }
    .text-secondary-blue-lg-hover:hover {
        color: var(--secondary-blue) !important;
    }

    .text-secondary-blue-lg-hover:hover a {
        color: var(--secondary-blue) !important;
    }
}

.bg-primary-blue {
    background: var(--primary-blue);
}

.bg-secondary-blue {
    background: var(--secondary-blue);
}

.bg-tertiary-blue {
    background: var(--tertiary-blue);
}

.bg-light-blue {
    background: var(--light-blue);
}

.bg-lighter-blue {
    background: var(--lighter-blue);
}

.bg-primary-blue-hover:hover {
    background: var(--primary-blue);
    color: var(--primary-white);
}

.bg-primary-blue-hover:hover a {
    color: var(--primary-white);
}

.bg-secondary-blue-hover:hover {
    background: var(--secondary-blue);
    color: var(--primary-white);
}

.bg-tertiary-blue-hover:hover {
    background: var(--tertiary-blue);
    color: var(--primary-white);
}

.bg-light-saffron {
    background: var(--light-saffron);
}

.bg-primary-gray {
    background: var(--primary-gray);
}

.bg-secondary-gray {
    background: var(--secondary-gray);
}

.bg-tertiary-gray {
    background: var(--tertiary-gray);
}

.bg-primary-white {
    background: var(--primary-white);
}

.my-btn-primary {
    --bs-btn-bg: var(--primary-blue);
    --bs-btn-border-color: var(--primary-blue);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--secondary-blue);
    --bs-btn-hover-border-color: var(--tertiary-blue);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--tertiary-blue);
    --bs-btn-active-border-color: var(--tertiary-blue);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-bg: var(--primary-blue);
    --bs-btn-disabled-border-color: var(--primary-blue);
}

.my-btn-warning {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--primary-saffron);
    --bs-btn-border-color: var(--primary-saffron);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--secondary-saffron);
    --bs-btn-hover-border-color: var(--tertiary-saffron);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--tertiary-saffron);
    --bs-btn-active-border-color: var(--tertiary-saffron);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-bg: var(--primary-saffron);
    --bs-btn-disabled-border-color: var(--primary-saffron);
}


.hr-blue {
    width: 100px;
    border: 2px solid var(--primary-blue);
    margin: 0 auto 2rem;
    opacity: 0.6;
}

.hr-white {
    width: 100px;
    border: 2px solid var(--primary-white);
    margin: 0 auto 2rem;
    opacity: 0.6;
}

/*Font Sizes*/
.fs-7 {
    font-size: 0.9rem;
}

.fs-8 {
    font-size: 0.8rem;
}

/* Utilities */
.cursor-pointer {
    cursor: pointer;
}

.underline-hover:hover {
    text-decoration: underline;
}

.no-underline {
    text-decoration: none;
}

.list-none {
    list-style: none;
}

/* Javascript Styles */
.flex {
    display: flex !important;
}

.slide-right {
    transform: translate(0) !important;
}

.dark-mode {
    filter: invert(1) hue-rotate(180deg) !important;
}

.invert {
    filter: invert(1) hue-rotate(180deg) !important;
}

.dark-mode a:not(.inverted a), .dark-mode .nav-title p {
    color: #cc0 !important; /* Set all <a> tags to yellow in dark mode, except those in .inverted */
    filter: invert(1) hue-rotate(180deg) brightness(1); /* Neutralize invert effect */
}

/* Accessibility Section Styles */
.search-modal {
    width: 250px;
    inset: 1.8em auto auto 0;
}

.font-accessibility-modal {
    inset: 1.8em auto auto 0;
}

.font-accessibility-modal button {
    outline: none;
    width: 40px;
}

@media (min-width: 350px) {
    .accessibility-section {
        flex-direction: row !important;
    }
}

@media (min-width: 380px) {
    .skip-to-main {
        margin-left: auto;
    }
}

@media (min-width: 458px) {
    .search-modal {
        inset: 1.8em 0 auto auto;
    }

    .font-accessibility-modal {
        inset: 1.8em 0 auto auto;
    }
}

/* Hero Section Styles */
.rti-image img {
    width: 80px;
}

.kanglasha-image img {
    width: 70px;
}

.menus {
    position: absolute;
    width: 100%;
    inset: 6em auto auto 0;
    transform: translateX(-1000px);
    transition: transform 1s ease;
}

.menus ul {
    min-width: 150px;
}

@media (min-width: 992px) {
    .menus {
        position: relative;
        transform: none;
        background: none;
        width: auto;
        transition: none;
        inset: auto;
    }

    .nav-title{
        border: none !important;
    }


    .nav-modal {
        position: absolute;
        inset: 4.7em auto auto auto;
    }
}

/* Banner Section Styles */
.banner {
    background: url("/publicAssets/Assets/img/clouds.jpg") center/cover no-repeat;
    min-height: 70vh;
}

.banner img {
    width: 80px;
}

.banner p.text-hand {
    font-size: 3rem;
}

.submit-rti {
    max-width: 500px;
}

.submit-rti-buttons a {
    min-width: 250px;
}

@media (min-width: 992px) {
    .banner img {
        width: 100px;
    }

    .submit-rti {
        max-height: 370px;
    }

    .submit-rti-buttons a {
        min-width: auto;
    }
}

/* About Us & Empowering Section Styles */
.about-us a, .empowering a {
    max-width: 200px;
}

.about-us .text-para, .empowering .text-para {
    line-height: 1.8em;
}

.empowering img {
    animation: beating 3s infinite ease-in-out; /* Adjust the duration for faster/slower beating */
}

@keyframes beating {
    0%, 100% {
        transform: scale(1); /* Normal size */
    }

    50% {
        transform: scale(0.9); /* Slightly larger at the peak of the beat */
    }
}

/* Departments Section Styles */
.departments .row {
    /*max-height: 300px;*/
    max-height: 450px;
    overflow-y: auto;
}

.departments .row::-webkit-scrollbar {
    width: 7px;
}


.departments .row::-webkit-scrollbar-track {
    background: #f1f1f1;
}


.departments .row::-webkit-scrollbar-thumb {
    background: var(--secondary-blue);
    border-radius: 5px;
}


.departments .row::-webkit-scrollbar-thumb:hover {
    background: var(--tertiary-blue);
}


.departments .input-group {
    max-width: 500px;
}

/* Services Section Styles */
.services .card-icon img {
    max-width: 70px;
}

@media (min-width: 768px) {
    .services .card-body {
        min-height: 500px;
    }

    .services .card-body a {
        position: absolute;
        bottom: 1em;
    }
}

@media (min-width: 1200px) {
    .services .card-body {
        min-height: 400px;
    }
}

/* Contact Styles */
.contact .col-lg-6:last-child p {
    line-height: 1.8em;
}

/* Footer Styles */
.owl-carousel .item {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
}

.owl-carousel .item img {
    max-width: 200px;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    outline: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #000 !important;
    font-size: 3rem !important;
    font-weight: 500 !important;
    height: 100%;
    width: 3rem;
    margin: 0 !important;
    opacity: 0.2;
    transition: all ease 1s;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    opacity: 1;
    background: transparent !important;
}

.owl-carousel .owl-nav button.owl-prev {
    left: 0;
}

.owl-carousel .owl-nav button.owl-next {
    right: 0;
}

.social-media a {
    width: 40px;
    height: 40px;
}

.social-media a:hover i{
    color: var(--tertiary-blue);
}

.certified-image img {
    max-width: 100px;
}


@media (min-width: 1200px) {
    .certified {
        border-left: 1px solid var(--bs-light);
    }
}

/* Breadcrumb Styles */
.breadcrumb li::after {
    content: "/";
    margin-left: 5px;
    margin-right: 5px;
    color: #999;
}

.breadcrumb li:last-child::after {
    content: none; /* Remove arrow after the last item */
}

/*Login Styles*/
.login-container {
    background: #F2994A; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #F2C94C, #F2994A); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #F2C94C, #F2994A); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.login-container .container {
    max-width: 400px;
}

.login-icon img {
    max-width: 100px;
}

.login-container a.btn:hover {
    text-decoration: none;
}

.login-container .left-icon, .login-container .right-icon {
    top: 0.8em;
    left: 0.6em;
    opacity: 0.6;
}

.login-container .right-icon {
    left: auto;
    right: 0.7em;
    cursor: pointer;
}

.login-container .form-control {
    padding-left: 1.8rem;
    padding-right: 2.2rem;
}

.login-container .captcha-image img {
    max-width: 200px;
}

.citizen-login-container {
    background: #56CCF2; /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #2F80ED, #56CCF2); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #2F80ED, #56CCF2); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

/* Scroll to top Button Styles */
.scroll-to-top-button {
    display: none;
    position: fixed;
    bottom: 0.5em;
    right: 0.5em;
    background-color: var(--primary-black);
    color: #fff;
    border: none;
    outline: none;
    border-radius: 50%;
    padding: 1.5rem 1rem;
    opacity: 0.5;
    z-index: 99;
}

.scroll-to-top-button:hover {
    opacity: 0.8;
}
