﻿/*Meitei Mayek Font*/
@font-face {
    font-family: 'LeikoiMayek';
    src: url('/Assets/fonts/LeikoiMayekHU.ttf') format('truetype');
}

/* Color Variables */
:root {
    --primary-blue: #0052A5;
    --light-blue: #D9F2F7;
    --lighter-blue: #E0F8F2;
    --dark-blue: #143245;
    --transparent-blue: #143143cc;
    --light-purple: #EEECFF;
    --primary-black: #333;
    --primary-yellow: #FFB300;
    --primary-white: #fff;
    --primary-gray: #eeecff;
    --secondary-gray: #f5f5f5;
    --check-form-gray: #80919c;
    --permit-yellow: #ffe77d;
    --permit-purple: #d0bef2;
    --permit-orange: #ffaaa5;
    --permit-blue: #e2eafc;
    --permit-green: #cde5d7;
    --permit-red: #f4bbd3;
}

body, html {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font: 400 16px 'Inter', sans-serif;
    color: var(--primary-black);
    background: var(--primary-white);
    min-height: 100vh;
}

/*Text, Button and Background Colors Clases*/
.text-long {
    line-height: 1.8em;
}

.text-outfit {
    font-family: 'Outfit', sans-serif;
}

.text-aleo {
    font-family: "Aleo", sans-serif;
}

.text-poppins {
    font-family: "Poppins", sans-serif;
}

.text-manipuri {
    font-family: 'LeikoiMayek';
}

.text-primary-blue {
    color: var(--primary-blue);
}

.text-dark-blue-hover:hover {
    color: var(--dark-blue);
}

.text-primary-yellow {
    color: var(--primary-yellow);
}

.text-primary-yellow-hover:hover {
    color: var(--primary-yellow);
}


.my-btn-primary {
    --bs-btn-bg: var(--primary-blue);
    --bs-btn-border-color: var(--primary-blue);
    /* Hover */
    --bs-btn-hover-bg: #004487;
    --bs-btn-hover-border-color: #004487;
    /* Active */
    --bs-btn-active-bg: #00376F;
    --bs-btn-active-border-color: #00376F;
    /* Focus outline (optional) */
    --bs-btn-focus-shadow-rgb: 0, 82, 165;
}

.bg-primary-blue {
    background: var(--primary-blue);
}

.bg-light-blue {
    background: var(--light-blue);
}

.bg-lighter-blue {
    background: var(--lighter-blue);
}

.bg-transparent-blue {
    background: var(--transparent-blue);
}

.bg-dark-blue {
    background: var(--dark-blue);
}

.bg-light-purple {
    background: var(--light-purple);
}

.bg-primary-gray {
    background: var(--primary-gray);
}

.bg-secondary-gray {
    background: var(--secondary-gray);
}

.bg-permit-yellow {
    background: var(--permit-yellow);
}

.bg-permit-purple {
    background: var(--permit-purple);
}

.bg-permit-orange {
    background: var(--permit-orange);
}

.bg-permit-blue {
    background: var(--permit-blue);
}

.bg-permit-green {
    background: var(--permit-green);
}

.bg-permit-red {
    background: var(--permit-red);
}

.hr-blue {
    width: 100px;
    border: 2px solid var(--primary-blue);
    margin: 0 auto 2rem;
    opacity: 0.6;
}

/*Extra Bootstrapy Classes*/
@media (max-width: 576px) {
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 576px) {
    .px-sm-6 {
        padding-left: 4rem !important;
        padding-right: 4rem !important;
    }
}

@media (min-width: 992px) {
    .border-lg-end {
        border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }
}

.pb-6 {
    padding-bottom: 5rem !important;
}

.fs-7 {
    font-size: 0.9rem !important;
}

.fs-8 {
    font-size: 0.8rem !important;
}

.fs-lg {
    font-size: 2rem !important;
}

.fs-xl {
    font-size: 2.5rem !important;
}

.fs-xxl {
    font-size: 3.5rem !important;
}

@media (min-width: 430px) {
    .fs-xs-4 {
        font-size: calc(1.275rem + .3vw) !important;
    }

    .fs-xs-5 {
        font-size: 1.25rem !important;
    }

    .fs-xs-xxl {
        font-size: 3.5rem !important;
    }
}

@media (min-width: 576px) {
    .fs-sm-4 {
        font-size: calc(1.275rem + .3vw) !important;
    }
}

@media (min-width: 768px) {
    .fs-md-3 {
        font-size: 1.75rem !important;
    }
}

@media (min-width: 992px) {
    .fs-lg-6 {
        font-size: 1rem !important;
    }

    .fs-lg-2 {
        font-size: calc(1.325rem + .9vw) !important;
    }
}

@media (min-width: 1200px) {
    .fs-xl-4 {
        font-size: calc(1.275rem + .3vw) !important;
    }

    .fs-xl-6 {
        font-size: 1rem !important;
    }

    .fs-xl-2 {
        font-size: calc(1.325rem + .9vw) !important;
    }
}

/*Other Utilities*/
.cursor-pointer {
    cursor: pointer;
}

.underline-hover:hover {
    text-decoration: underline;
}

.no-underline {
    text-decoration: none;
}

.list-none {
    list-style: none;
}

.flex {
    display: flex !important;
}

@media (min-width: 768px) {
    .text-justify-md {
        text-align: justify;
    }
}

/*--------------------------------------------------------------
# Navbar Styles
--------------------------------------------------------------*/
.navbar {
    overflow: hidden;
}

    .navbar img {
        max-width: 80px;
    }

.nav-item a {
    font-size: 0.9rem;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s ease-out;
    color: var(--primary-white);
}

/* MOBILE MENU & ANIMATION */

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-white);
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.menu-toggle {
    display: none;
}

    .menu-toggle:hover {
        cursor: pointer;
    }

#mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
}

#mobile-menu.is-active .bar:nth-child(1) {
    -webkit-transform: translateY(8px) rotate(45deg);
    -ms-transform: translateY(8px) rotate(45deg);
    -o-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
}

#mobile-menu.is-active .bar:nth-child(3) {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    -ms-transform: translateY(-8px) rotate(-45deg);
    -o-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
}

@media only screen and (max-width: 992px) {
    /* MOBILE NAVIGATION */

    .navbar ul {
        position: fixed;
        justify-content: start;
        inset: 4.5em auto auto 0;
        background-color: var(--primary-blue);
        width: 100%;
        height: calc(100vh - 55px);
        transform: translate(-101%);
        text-align: center;
        overflow: hidden;
        transition: inset 0.3s ease-in-out;
    }

    .navbar li {
        padding: 15px;
    }

        .navbar li:first-child {
            margin-top: 50px;
        }

        .navbar li a {
            font-size: 1.1rem;
        }

    .menu-toggle, .bar {
        display: block;
        cursor: pointer;
    }

    .mobile-nav {
        transform: translate(0%) !important;
    }
}

@media (min-width: 576px) {
    .navbar img {
        max-width: 100px;
    }

    .navbar ul {
        inset: 5.1em auto auto 0;
    }
}

@media only screen and (max-width: 992px) {

    /* When scrolled, make the menu cover full screen */
    .navbar ul.scrolled {
        inset: 0 !important;
        height: 100vh !important;
    }
}

/*Banner Section Styles*/
.banner {
    background: url("/Assets/img/mobile_banner.jpg") center/cover no-repeat;
    min-height: calc(100dvh - 75px);
}

    .banner .apply {
        animation: slide-right ease 2.5s forwards;
    }

@keyframes slide-right {
    0% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(0);
    }
}

.banner .apply-buttons a {
    min-width: 160px;
}

.banner .check-application {
    inset: 1em 1em auto auto;
    animation: slide-left ease 2.5s forwards;
}

@keyframes slide-left {
    0% {
        transform: translateX(200%);
    }

    100% {
        transform: translateX(0);
    }
}

.banner .check-application .form-control {
    min-width: 200px;
}

.banner .check-application-input {
    background-color: var(--check-form-gray) !important;
    border: 1px solid var(--bs-gray-300) !important; /* Bootstrap light */
    color: #ffffff !important;
}

    .banner .check-application-input::placeholder {
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 0.9rem;
    }

    .banner .check-application-input:focus {
        box-shadow: 0 0 0 0.25rem rgba(20, 49, 67, 0.4) !important;
        border-color: #fff !important; /* optional: keeps border light on focus */
    }



@media (min-width: 700px) {
    .banner {
        background: url("/Assets/img/tablet_banner.jpg") center/cover no-repeat;
    }
}

@media (min-width: 992px) {
    .banner {
        background: url("/Assets/img/banner.jpg") center/cover no-repeat;
    }

        .banner .check-application .form-control {
            min-width: 350px;
        }
}

@media (min-width: 1200px) {
    .banner {
        min-height: calc(100dvh - 85px);
    }
}

/* Activity Dashboard Section Styles */
.activity-dashboard .col-md-6 {
    max-width: 400px;
}

.dashboard-icon img.floating-icon {
    width: 60px;
    height: auto;
    z-index: 10;
}

.chart-area {
    width: 200px;
    height: 200px;
}

.chart-labels li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.chart-labels .dot {
    width: 14px;
    height: 14px;
    margin-right: 8px;
    display: inline-block;
    border-radius: 50%;
}

@media (min-width: 768px) {
    .activity-dashboard .card {
        min-height: 440px;
    }

    .chart-area {
        width: 260px;
        height: 260px;
    }
}

@media (min-width: 992px) {
    .activity-dashboard .col-md-6 {
        max-width: 600px;
    }

    .dashboard-icon img.floating-icon {
        width: 70px;
    }
}

@media (min-width: 1200px) {
    .activity-dashboard .card {
        min-height: auto;
    }
}

/* Before You Apply Section Styles */
.before-you-apply .card-image img {
    max-width: 300px;
}

.before-you-apply .col-md-6 {
    max-width: 450px;
}

/* Self Service Kiosk Section Styles */
.self-service .self-service-image img {
    max-width: 800px;
}

/* About ILP Manipur Section Styles */
@media (min-width: 1200px) {
    .about-ilp-manipur img {
        max-width: 600px;
    }
}

/* Permit Types Section Styles */
.permit-types .col-md-6 {
    max-width: 450px;
}


.permit-types .card img {
    max-width: 120px;
}

/* FAQ Section styles */
.custom-acc-btn::after {
    display: none !important;
}

.custom-acc-btn {
    background: var(--secondary-gray);
    color: #000;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.acc-icon {
    position: relative;
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

    .acc-icon .line {
        position: absolute;
        background-color: black;
        transition: 0.3s ease-in-out;
    }

    .acc-icon .horizontal {
        top: 50%;
        left: 50%;
        width: 16px;
        height: 2px;
        transform: translate(-50%, -50%);
    }

    .acc-icon .vertical {
        left: 50%;
        top: 50%;
        width: 2px;
        height: 16px; /* FIXED height */
        transform: translate(-50%, -50%);
    }

.custom-acc-btn:not(.collapsed) .acc-icon .vertical {
    opacity: 0;
    transform: translateX(-50%) scaleY(0);
}

.custom-acc-btn:not(.collapsed) .acc-icon .line {
    background-color: #0a950a;
}

.custom-acc-btn:not(.collapsed) {
    color: var(--primary-blue) !important;
    background: var(--secondary-gray) !important;
}

/* Footer Styles */
.footer .footer-image img {
    max-width: 80px;
}

/*Preloader*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid var(--light-blue); /* main ring */
        border-top-color: var(--transparent-blue); /* highlight */
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: animate-preloader 1s linear infinite;
    }


@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*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;
    }

/* 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 */
}
