﻿body {
    padding: 0;
    margin: 0;
}

.navbar-toggler {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
}

    .navbar-toggler:hover,
    .navbar-toggler:focus,
    .navbar-toggler:active {
        background-color: transparent !important;
        box-shadow: none !important;
        outline: none !important;
    }


.custom-nav-container {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
}

.header-logo-design {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

/*        Responsive Logo Images*/
/* DEFAULT LOGO SIZES (Large Screens / Desktop First) */
.logo-design img {
    max-width: 240px;
    height: auto;
}

.digital-india-design img {
    max-width: 120px;
    height: auto;
}
/* Lock the slider image boundaries */
.carousel-inner .carousel-item img {
    height: 520px; /* 1. Change this pixel number to your desired desktop height */
    object-fit: cover; /* 2. Prevents the image from squishing or stretching */
    object-position: center; /* 3. Keeps the focus on the center of your graphics */
    width: 100%;
}


/* RESPONSIVE LOGO IMAGES (Reordered Properly) */
/* Medium devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
    .logo-design img {
        max-width: 200px;
        height: auto;
    }

    .digital-india-design img {
        max-width: 100px;
        height: auto;
    }
}

/* Small devices (Landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .logo-design img {
        max-width: 240px;
        height: auto;
    }

    .digital-india-design img {
        max-width: 90px;
        height: auto;
    }

    .carousel-inner .carousel-item img {
        height: 470px; /* Shorter, safer viewport lock for small smartphone screens */
    }
}

/* X-Small devices (Portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .logo-design img {
        max-width: 130px;
        height: auto;
    }

    .digital-india-design img {
        max-width: 50px;
        height: auto;
    }
}


/* Hover Effect in navigation bar*/
.menu-bar-design li a {
    text-decoration: none;
    color: #0e444c !important;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.4s ease;
}

    .menu-bar-design li a::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 3px;
        background-color: #08333C !important;
        transition: width 0.3s ease-in-out;
    }

    /*    .menu-bar-design li a:hover {
        color: orangered !important;
    }*/

    .menu-bar-design li a:hover::after {
        width: 100%;
    }

/*footer Quick links Design*/
.footer-quick-links-design li a {
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.4s ease;
}

    .footer-quick-links-design li a::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 3px;
        background-color: white;
        transition: width 0.3s ease-in-out;
    }

    .footer-quick-links-design li a:hover {
        color: white;
    }

        .footer-quick-links-design li a:hover::after {
            width: 100%;
        }


/*Social Media*/
/* Social Media Circles */
.list-inline-item .circle {
    background-color: darkblue;
    color: white; /* Forces all icons to be white */
    /* Forces a perfectly equal square block */
    width: 40px;
    height: 40px;
    /* Creates a flawless circle every time */
    border-radius: 50%;
    /* Perfect center alignment for the icon inside */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Smooth hover animation transition effect */
    transition: all 0.3s ease;
    text-decoration: none;
}

    /* Optional hover styling for better UI interaction */
    .list-inline-item .circle:hover {
        background-color: #00008b; /* Lighter/darker color variant on hover */
        opacity: 0.9;
    }

/* Container Frame Setup */
.site-footer {
    background-color: #1A202C; /* Deeper slate dark theme */
    color: #CBD5E0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 60px 0 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* Custom asymmetric layout columns balance */
    gap: 40px;
}

/* Headers Formatting */
.footer-title {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
    position: relative;
}

.footer-desc {
    line-height: 1.6;
    font-size: 0.9rem;
    color: #A0AEC0;
}

/* Perfect Flexbox Social Circles */
.social-links-grid {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #2D3748;
    color: #A0AEC0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

    /* Custom interactive hover profiles */
    .social-circle:hover {
        color: #FFFFFF;
        transform: translateY(-2px);
    }

    .social-circle.fb:hover {
        background-color: #3b5998;
    }

    .social-circle.gp:hover {
        background-color: #dd4b39;
    }

    .social-circle.ln:hover {
        background-color: #0077b5;
    }

    .social-circle.ig:hover {
        background-color: #e1306c;
    }

    .social-circle.tw:hover {
        background-color: #1da1f2;
    }

/* Interactive Hover Links Row */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links-list li {
        margin-bottom: 12px;
    }

    .footer-links-list a {
        color: #A0AEC0;
        text-decoration: none;
        font-size: 0.95rem;
        transition: color 0.2s ease;
    }

        .footer-links-list a i {
            font-size: 0.8rem;
            margin-right: 6px;
            transition: transform 0.2s ease;
        }

        .footer-links-list a:hover {
            color: #3182CE; /* Vibrant brand highlight accent tint */
        }

            .footer-links-list a:hover i {
                transform: translateX(3px);
            }

/* Informational Details Section block styling */
.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .contact-details-list li {
        display: flex;
        gap: 15px;
        margin-bottom: 18px;
        font-size: 0.9rem;
        align-items: flex-start;
    }

.contact-icon {
    color: #3182CE;
    font-size: 1.1rem;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.contact-details-list strong {
    display: block;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.contact-details-list a {
    color: #CBD5E0;
    text-decoration: none;
}

/* Copyright Base Panel formatting */
.footer-bottom-bar {
    border-top: 1px solid #2D3748;
    margin-top: 50px;
    padding: 25px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #718096;
}

/* Mobile Responsive Optimization breakpoint scaling */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/*Sticky nav Bar*/
.navbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/*Carousel image Design*/
/* Ensure the item container handles absolute positioning */
.carousel-item {
    position: relative;
}

/* Position the dark overlay directly on top of the image */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Adjust 0.5 (opacity) to make it darker or lighter */
    z-index: 1; /* Sits above image */
}

/* Push text captions above the dark overlay */
.carousel-caption {
    z-index: 1;
}

/*Navigation link Colour Design*/
/* This heavy selector targets exactly what Bootstrap locks down */
body .navbar-light .navbar-nav .nav-link,
body .menu-bar-design .nav-link,
body .menu-bar-design .nav-link,
body .menu-bar-design .nav-link i {
    color: #08333C !important;
}

    /* Hover effect fix */
    body .navbar-light .navbar-nav .nav-link:hover,
    body .menu-bar-design .nav-link:hover {
        color: #08333C !important;
    }



/* ==========================================
           Global Hero Content Canvas Overlay
        ========================================== */
.hero-content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
}

.badge-portal {
    background-color: rgba(6, 36, 29, 0.6);
    color: #2ecc71;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.dot-live {
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
}

.hero-title {
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}
.hero-title1 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.highlight-text {
    color: #FFB703;
}

.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
    max-width: 550px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.btn-sso-main {
    background-color: #ffb800;
    color: #06241d !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.btn-browse-streams {
    border: 1px solid rgba(255,255,255,0.3);
    background-color: rgba(6, 36, 29, 0.4);
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.hero-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}


/*Box Card Design*/

/* Main Card Wrapper */
.info-box {
    background-color: #0e444c;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    color: #ffffff; /* Universal white text */
    font-family: system-ui, -apple-system, sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Icon Circle Container */
.badge-icon-wrapper {
    background-color: #ffe899;
    width: 50px; /* Slightly scaled down icon base */
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 12px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Header Content Styling */
.card-gov-title {
    color: #FFB703; /* Bright gold/yellow label text */
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.card-main-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
}

.card-subtitle {
    font-size: 14px;
    color: #a0aec0; /* Soft muted grey-blue description */
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Status Inner Panels (Grid Content) */
.status-panel {
    background-color: #051613; /* Even darker green for internal boxes */
    border-radius: 8px;
    text-align: left;
    border: none;
}

.panel-label {
    font-size: 10px;
    color: #718096; /* Muted label text */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-value {
    font-size: 10px;
    color: #ffffff;
}

    /* Specific left panel green highlight text */
    .panel-value.live {
        color: #10b981; /* Vibrant bright green */
        display: inline-flex;
        align-items: center;
    }

/* Green Live Dot indicator */
.dot-green {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

/* Primary Call-to-Action Button */
.btn-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #FFB703; /* Bold yellow/gold accent button */
    color: #000000 !important; /* High contrast black text */
    font-weight: 700;
    font-size: 14px;
    padding: 6px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.1s ease;
    border: none;
}

    .btn-card-action:hover {
        background-color: #e5a100; /* Darker yellow on hover */
        transform: translateY(-1px);
    }

    .btn-card-action:active {
        transform: translateY(0);
    }

    .btn-card-action .arrow {
        margin-left: 6px;
        font-weight: bold;
    }

/* Container Box: Becomes a rigid geometric layout shell */
.badge-icon-wrapper {
    width: 80px; /* Increased slightly to accommodate detailed emblem shapes */
    height: 80px; /* Perfectly matches width to maintain aspect constraints */
    margin: 0 auto 15px auto; /* Perfectly centers itself horizontally within the card box */
    /* Layout Logic to make it a circle and center content */
    border-radius: 50%; /* Creates the physical circle shell background shape */
    background-color: white; /* Translucent light white background ring layer */
    border: 2px solid rgba(255, 255, 255, 0.15); /* Accent circular boundary ring stroke lines */

    display: flex; /* Powers child item micro-alignments */
    align-items: center; /* Center anchor vertically inside the circle shell */
    justify-content: center; /* Center anchor horizontally inside the circle shell */
    overflow: hidden; /* Clips any excessive image pixels spilling past the circle edges */
}

/* Image Element: Instructs image assets to scale inside wrapper limits */
.inner-icon {
    width: 75%; /* Constrains the horizontal size to leave clean circular margin space */
    height: 75%; /* Constrains vertical dimensions neatly alongside widths */
    object-fit: contain; /* Prevents the emblem asset from stretching out of proportion */
}


/*Card Effect*/
/* ==========================================
   Card Interaction Effects
========================================== */

/* 1. Base Setup and Smooth State Transitions */
.info-box {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

/* Base interactive transitions for nested children */
.badge-icon-wrapper,
.status-panel,
.btn-card-action,
.btn-card-action .arrow {
    transition: all 0.25s ease-in-out;
}

/* 2. Elevation Elevation and Ambient Shadow Glow on Hover/Focus */
.info-box:hover,
.info-box:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(46, 204, 113, 0.08);
    border-color: rgba(46, 204, 113, 0.15);
    outline: none;
}

    /* 3. Circular Branding Logo Shell Zoom & Micro-rotation */
    .info-box:hover .badge-icon-wrapper,
    .info-box:focus-within .badge-icon-wrapper {
        transform: scale(1.06) rotate(2deg);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    /* 4. Sub-Status Box Subtle Depth Tweaks */
    .info-box:hover .status-panel,
    .info-box:focus-within .status-panel {
        background-color: #051411 !important; /* Drops to a slightly deeper dark background tone */
        border-color: rgba(255, 255, 255, 0.04);
    }

/* 5. Live Portal Network Breathing Pulse Loop */
.dot-green {
    animation: liveNetworkPulse 2s infinite ease-in-out;
}

@keyframes liveNetworkPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
    }

    70% {
        transform: scale(1.25);
        box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}


/*Notification Count circle count Design*/
.notice-link {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    /*    gap: 6px;*/
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.15s ease;
}



.notice-badge-design {
    position: absolute;
    bottom: 30px;
    left: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background-color: red !important;
    color: white !important;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}


/*About SSO Design*/
/* SSO section background */
.section-bg-sso {
    background-image: url('/content/app_img/sikkim_bgc.png');
    background-repeat: no-repeat;
}

/* Footer background */
.footer-bg {
    background-image: url('/content/app_img/sikkim_bgc.png');
    background-size: contain;
}

/* Testimonial border */
.testimonial-pic-border {
    border: 2px dashed #808080;
}


.user-name-truncate {
    display: inline-block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.authenticated-user-dropdown-desing {
    align-content: center !important;
}
    /* 2. Bootstrap dropdown caret on the toggle link */
    .authenticated-user-dropdown-desing .dropdown-toggle::after {
        display: none !important;
    }

    /* 3. Make sure no text underline shows either */
    .authenticated-user-dropdown-desing a {
        text-decoration: none !important;
    }

#instructions,
#sso {
    scroll-margin-top: 110px;
}



/*nav bar make consistent text when user table content link*/

/* Normalizes the form wrapper container inside dropdown systems */
.dropdown-menu form {
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    width: 100%;
}

/* Syncs font sizes, baseline weights, and target padding values */
.dropdown-menu .dropdown-item,
.dropdown-menu button.dropdown-item {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #1e293b !important;
    padding: 0.5rem 1.25rem !important;
    line-height: 1.5 !important;
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
}

    /* Hover style alignment system */
    .dropdown-menu .dropdown-item:hover,
    .dropdown-menu button.dropdown-item:hover {
        background-color: #f1f5f9;
        color: #0f172a !important;
        text-decoration: none;
    }


/* Open on hover for devices that actually support hover (desktop) */
@media (min-width: 992px) and (hover: hover) {
    .authenticated-user-dropdown-desing .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0; /* removes the gap so the menu doesn't close while moving the mouse */
    }
}
