﻿/* =========================================================
   NTS Style Hero Section (Slider, Rectangular Cards & Notice Board)
   ========================================================= */

/* 1. Slider Height Fix (Larger Height for Clear View) */
#ntsHeroCarousel .nts-slider-img,
.hero #ntsHeroCarousel .nts-slider-img {
    height: 280px !important;
    max-height: 280px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

/* 2. Rectangular Action Cards (Chawkora Cards) */
.hero .nts-rect-card,
.nts-rect-card {
    border-radius: 12px !important;
    padding: 16px 10px !important;
    min-height: 115px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    position: relative !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    cursor: pointer !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22) !important;
    transition: all 0.3s ease-in-out !important;
}

    .hero .nts-rect-card:hover,
    .nts-rect-card:hover {
        transform: translateY(-5px) scale(1.03) !important;
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35) !important;
    }

    /* Bright Card Gradient Backgrounds */
    .hero .nts-rect-card.card-red,
    .nts-rect-card.card-red {
        background: linear-gradient(135deg, #e74c3c 0%, #a93226 100%) !important;
    }

    .hero .nts-rect-card.card-blue,
    .nts-rect-card.card-blue {
        background: linear-gradient(135deg, #007bff 0%, #004085 100%) !important;
    }

    .hero .nts-rect-card.card-orange,
    .nts-rect-card.card-orange {
        background: linear-gradient(135deg, #ff9f43 0%, #d35400 100%) !important;
    }

    /* Icon & Headings inside Rectangular Cards */
    .hero .nts-rect-card .icon-box i,
    .nts-rect-card .icon-box i {
        font-size: 2.2rem !important;
        color: #ffffff !important;
        margin-bottom: 8px !important;
        display: block !important;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }

    .hero .nts-rect-card .card-btn-title,
    .nts-rect-card .card-btn-title {
        font-size: 12.5px !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        letter-spacing: 0.5px !important;
        text-transform: uppercase !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
        line-height: 1.2 !important;
        margin-top: 2px !important;
    }

/* 3. Right Side Scrolling Notice Board */
.hero .nts-notice-card,
.nts-notice-card {
    background-color: #ffffff !important;
    border: 1px solid #dcdde1 !important;
    height: 420px !important;
    max-height: 420px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}

.hero .nts-ticker-wrapper,
.nts-ticker-wrapper {
    position: relative !important;
    height: 360px !important;
    overflow: hidden !important;
}

.hero .nts-ticker,
.nts-ticker {
    position: absolute !important;
    width: 100% !important;
    animation: nts-scroll 16s linear infinite !important;
}

/* Hover to Pause Scrolling */
.hero .nts-ticker-wrapper:hover .nts-ticker,
.nts-ticker-wrapper:hover .nts-ticker {
    animation-play-state: paused !important;
}

@keyframes nts-scroll {
    0% {
        top: 100%;
    }

    100% {
        top: -110%;
    }
}

/* Base ASP.NET Layout Styles */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
