/* ============================================
   MODERN HOMEPAGE - ASI Jodhpur Circle
   Government Heritage Style
   ============================================ */

/* ====== TOP BAR ====== */
.top-bar-new {
    background: #1a1a1a;
    color: #ccc;
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 1px solid #333;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.top-bar-new a {
    color: #ccc !important;
    font-size: 12px;
    transition: color 0.2s;
}
.top-bar-new a:hover {
    color: #FFD700 !important;
}
.gov-text {
    color: #FFD700;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gov-text i { margin-right: 4px; }
.gov-divider { color: #555; }
.top-search-mini {
    display: inline-flex;
    align-items: center;
    background: #333;
    border-radius: 20px;
    overflow: hidden;
}
.top-search-mini input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    width: 120px;
    outline: none;
}
.top-search-mini input::placeholder { color: #888; }
.top-search-mini button {
    background: #A0023D;
    border: none;
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    cursor: pointer;
}
.top-search-mini button:hover { background: #c9325e; }

/* ====== LOGO BAR ====== */
.logo-bar-new {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.logo-bar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-logo {
    max-height: 70px;
    width: auto;
}
.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #A0023D !important;
    margin: 0 !important;
    line-height: 1.2;
    text-align: left !important;
}
.site-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #666;
    margin: 2px 0 0 !important;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* ====== MAIN NAVBAR ====== */
.navbar-new {
    background: linear-gradient(135deg, #8B1A1A 0%, #A0023D 50%, #b5134a 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
}
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.navbar-new .nav-menu > li > a,
.navbar-new .nav-menu > li > a:link,
.navbar-new .nav-menu > li > a:visited {
    display: block;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 14px 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    line-height: normal !important;
    height: auto !important;
    white-space: nowrap;
}
.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #FFD700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-menu > li > a:hover::after {
    width: 80%;
}
.nav-menu > li > a:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #FFD700 !important;
}
.nav-menu > li > a i {
    margin-right: 4px;
}
/* Active nav item */
.nav-menu > li > a.nav-active {
    color: #FFD700 !important;
    background: rgba(255,255,255,0.1) !important;
}
.nav-menu > li > a.nav-active::after {
    width: 80% !important;
}

.nav-highlight > a {
    background: rgba(255,215,0,0.15) !important;
    animation: pulse-nav 2s ease-in-out infinite;
}
@keyframes pulse-nav {
    0%, 100% { background: rgba(255,215,0,0.1) !important; }
    50% { background: rgba(255,215,0,0.25) !important; }
}

/* Hide old header/nav styles */
.row.header, .nav-bar, .container.menu, #main,
.top-link, .top-search, .contact-info,
header.container-fluid { display: none !important; }

/* ====== FULLSCREEN HERO ====== */
.hero-fullscreen {
    position: relative;
    height: 80vh;
    min-height: 500px;
    max-height: 750px;
    overflow: hidden;
}

/* CSS-only crossfade slideshow */
.hero-slideshow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
}
.hero-dark-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15) 0%,
        rgba(0,0,0,0.1) 40%,
        rgba(0,0,0,0.55) 75%,
        rgba(0,0,0,0.75) 100%
    );
    z-index: 5;
}
.hero-center-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    width: 90%;
    max-width: 800px;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,215,0,0.2);
    color: #FFD700;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,215,0,0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.5);
    line-height: 1.1;
}
.hero-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 28px;
    font-weight: 300;
    color: #FFD700;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero-tagline {
    font-size: 16px !important;
    color: rgba(255,255,255,0.85) !important;
    margin: 0 0 25px !important;
    font-weight: 300;
    letter-spacing: 1px;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.hero-btn-primary {
    background: #A0023D;
    color: #fff !important;
    border: 2px solid #A0023D;
}
.hero-btn-primary:hover {
    background: #c9325e;
    border-color: #c9325e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(160,2,61,0.4);
    color: #fff !important;
}
.hero-btn-outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.6);
}
.hero-btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #FFD700;
    color: #FFD700 !important;
    transform: translateY(-2px);
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}
.stat-item {
    text-align: center;
}
.stat-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #FFD700;
    line-height: 1;
}
.stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Image name label */
.hero-image-name {
    position: absolute;
    bottom: 15px;
    right: 20px;
    z-index: 10;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
}
.hero-image-name i {
    color: #FFD700;
    margin-right: 6px;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255,255,255,0.6);
    font-size: 24px;
    animation: bounce-down 1.5s ease-in-out infinite;
}
@keyframes bounce-down {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ====== HEADER/HERO RESPONSIVE ====== */
@media (max-width: 991px) {
    /* Navbar mobile */
    .navbar-new .mobile-menu-toggle {
        display: block;
        margin: 8px auto;
    }
    .nav-menu {
        display: none !important;
        flex-direction: column;
    }
    .nav-menu.menu-open {
        display: flex !important;
    }
    .nav-menu > li > a {
        text-align: center;
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-menu > li > a::after { display: none; }

    /* Hero */
    .hero-fullscreen {
        height: 60vh;
        min-height: 400px;
    }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 20px; letter-spacing: 3px; }
    .hero-stats { gap: 25px; }
    .stat-num { font-size: 28px; }
}
@media (max-width: 767px) {
    /* Top bar stack */
    .top-bar-inner { justify-content: center; gap: 6px; }
    .top-bar-left, .top-bar-right { justify-content: center; }
    .gov-text { font-size: 10px; }
    .top-search-mini { display: none; }

    /* Logo bar compact */
    .logo-bar-inner { justify-content: center; flex-direction: column; text-align: center; gap: 8px; }
    .header-logo { max-height: 55px; }
    .site-title { font-size: 20px !important; text-align: center !important; }
    .site-subtitle { font-size: 14px; letter-spacing: 2px; text-align: center; }

    /* Hero compact */
    .hero-fullscreen { height: 55vh; min-height: 350px; }
    .hero-title { font-size: 24px; }
    .hero-subtitle { font-size: 16px; letter-spacing: 2px; }
    .hero-tagline { font-size: 13px !important; }
    .hero-btn { padding: 10px 20px; font-size: 12px; }
    .hero-stats { gap: 20px; }
    .stat-num { font-size: 24px; }
    .stat-label { font-size: 9px; }
    .hero-badge { font-size: 10px; }
}
@media (max-width: 480px) {
    .hero-fullscreen { height: 50vh; min-height: 300px; }
    .hero-title { font-size: 20px; }
    .hero-subtitle { font-size: 14px; letter-spacing: 1px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-stats { gap: 15px; }
    .stat-num { font-size: 20px; }
}

/* --- Announcement Ticker --- */
.announcement-bar {
    background: linear-gradient(135deg, #8B1A1A 0%, #A0023D 100%);
    padding: 10px 0;
    overflow: hidden;
}
.announcement-bar .ticker-content {
    display: flex;
    align-items: center;
    gap: 15px;
}
.announcement-bar .ticker-label {
    background: #fff;
    color: #A0023D;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 3px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.ticker-wrapper {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}
.ticker-scroll {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-move 25s linear infinite;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}
.ticker-scroll a {
    color: #FFD700 !important;
    font-weight: 600;
}
.ticker-scroll a:hover {
    color: #fff !important;
}
.ticker-wrapper:hover .ticker-scroll {
    animation-play-state: paused;
}
@keyframes ticker-move {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.announcement-bar .new-badge {
    display: inline-block;
    background: #FFD700;
    color: #8B1A1A;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    margin: 0 6px;
    text-transform: uppercase;
    animation: pulse-badge 1.5s ease-in-out infinite;
}
@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* --- Quick Links Cards (Premium) --- */
.quick-links-section-new {
    background: linear-gradient(180deg, #f8f5f2 0%, #fff 100%);
    padding: 45px 0;
    border-bottom: 1px solid #e8e0d8;
}
.ql-section-header {
    text-align: center;
    margin-bottom: 30px;
}
.ql-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #A0023D;
    margin: 0 0 6px;
}
.ql-section-header p {
    font-size: 14px !important;
    color: #888 !important;
    margin: 0 !important;
}
.ql-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ql-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    display: block;
    cursor: pointer;
}
.ql-card-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.ql-card:hover .ql-card-bg {
    transform: scale(1.1);
}
.ql-card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(139,26,26,0.82) 0%, rgba(160,2,61,0.75) 100%);
    transition: all 0.3s ease;
}
.ql-card:hover .ql-card-overlay {
    background: linear-gradient(135deg, rgba(139,26,26,0.65) 0%, rgba(160,2,61,0.55) 100%);
}
.ql-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}
.ql-icon {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-size: 24px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.08);
}
.ql-card:hover .ql-icon {
    background: rgba(255,215,0,0.2);
    border-color: #FFD700;
    transform: scale(1.1);
}
.ql-card h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 4px;
}
.ql-desc {
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    font-weight: 400;
}
.ql-arrow {
    position: absolute;
    bottom: 15px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}
.ql-card:hover .ql-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Quick Links Responsive */
@media (max-width: 991px) {
    .ql-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .ql-card { height: 170px; }
    .ql-card h4 { font-size: 15px; }
    .ql-icon { width: 50px; height: 50px; font-size: 20px; }
}
@media (max-width: 767px) {
    .ql-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .ql-card { height: 150px; }
    .ql-card h4 { font-size: 14px; letter-spacing: 0.5px; }
    .ql-icon { width: 42px; height: 42px; font-size: 18px; margin-bottom: 8px; }
    .ql-desc { font-size: 11px; }
    .ql-section-header h2 { font-size: 22px; }
    .quick-links-section-new { padding: 30px 0; }
}
@media (max-width: 480px) {
    .ql-card { height: 130px; }
    .ql-card h4 { font-size: 13px; }
    .ql-icon { width: 36px; height: 36px; font-size: 16px; }
}

/* ====== NEW SIDEBAR ====== */
.sidebar-nav-new, .sidebar-news-new, .sidebar-contact-card {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.sidebar-heading {
    background: linear-gradient(135deg, #8B1A1A, #A0023D);
    color: #fff;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sidebar-heading i { margin-right: 8px; }
.sidebar-heading-news {
    background: linear-gradient(135deg, #1a3a5c, #2a5a8c);
}
.sidebar-heading-contact {
    background: linear-gradient(135deg, #2d6a2e, #3d8b3e);
}
.sidebar-nav-new ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
}
.sidebar-nav-new ul li {
    border-bottom: 1px solid #f0ebe6;
    background: none !important;
}
.sidebar-nav-new ul li:last-child { border-bottom: none; }
.sidebar-nav-new ul li a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 11px 16px !important;
    font-size: 13px !important;
    font-weight: 500;
    color: #444 !important;
    margin: 0 !important;
    transition: all 0.2s ease;
    line-height: normal !important;
}
.sidebar-nav-new ul li a i {
    width: 18px;
    text-align: center;
    color: #A0023D;
    font-size: 13px;
    flex-shrink: 0;
}
.sidebar-nav-new ul li a:hover {
    background: #fdf5f0 !important;
    color: #A0023D !important;
    padding-left: 22px !important;
}
.sidebar-nav-new ul li a:hover i { color: #8B1A1A; }
/* Sidebar active link */
.sidebar-nav-new ul li a.nav-active {
    background: #fdf5f0 !important;
    color: #A0023D !important;
    border-left: 4px solid #A0023D;
    font-weight: 700 !important;
    padding-left: 18px !important;
}
.sidebar-nav-new ul li a.nav-active i { color: #8B1A1A; }

/* Sidebar News */
.sidebar-news-list {
    background: #fff;
    padding: 10px 0;
}
.sidebar-news-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 16px;
    border-bottom: 1px solid #f5f0eb;
}
.sidebar-news-item:last-child { border-bottom: none; }
.news-dot {
    width: 8px;
    height: 8px;
    background: #A0023D;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}
.news-text {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
}
.new-tag {
    display: inline-block;
    background: #A0023D;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
    animation: pulse-badge 1.5s ease-in-out infinite;
}
.news-date-small {
    display: block;
    font-size: 10px;
    color: #999;
    margin-top: 2px;
}
.sidebar-view-all {
    display: block;
    text-align: center;
    padding: 10px;
    background: #fdf5f0;
    color: #A0023D !important;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}
.sidebar-view-all:hover {
    background: #A0023D;
    color: #fff !important;
}

/* Sidebar Contact */
.contact-mini-body {
    background: #fff;
    padding: 12px 16px;
}
.contact-mini-body p {
    font-size: 12px !important;
    color: #555 !important;
    margin: 0 0 6px !important;
    line-height: 1.4 !important;
}
.contact-mini-body p:last-child { margin-bottom: 0 !important; }
.contact-mini-body i {
    width: 16px;
    color: #3d8b3e;
    margin-right: 6px;
}
.contact-mini-body a { color: #2a5a8c !important; }
.contact-mini-body a:hover { color: #A0023D !important; }

/* ====== NEW ABOUT SECTION ====== */
.about-section-new {
    padding: 40px 0 0;
    margin-bottom: 0 !important;
    background: #faf8f6;
}
.about-header-new {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.about-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #A0023D, #c9325e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}
.about-header-new h1 {
    font-family: 'Playfair Display', serif;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #A0023D !important;
    margin: 0 !important;
    text-align: left !important;
    line-height: 1.2;
}
.about-established {
    font-size: 13px !important;
    color: #888 !important;
    margin: 3px 0 0 !important;
    font-weight: 500;
}
.about-card-new {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid #ede8e3;
    margin-bottom: 20px;
}
.about-card-new p {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #444 !important;
    text-align: justify;
}
.about-highlight-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #fdf5f0, #fef9f5);
    border-left: 4px solid #A0023D;
    border-radius: 0 8px 8px 0;
    padding: 15px 20px;
    margin: 20px 0;
    font-size: 15px;
    color: #333;
}
.highlight-icon {
    width: 45px;
    height: 45px;
    background: #A0023D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-size: 18px;
    flex-shrink: 0;
}
.about-read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 24px;
    background: #A0023D;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}
.about-read-more:hover {
    background: #8B1A1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(160,2,61,0.3);
    color: #fff !important;
}
.about-read-more i { margin-left: 6px; }

/* Map Card */
.about-map-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border: 1px solid #ede8e3;
}
.map-card-header {
    background: linear-gradient(135deg, #1a3a5c, #2a5a8c);
    color: #fff;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
}
.map-card-header i { margin-right: 8px; }
.about-map-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.about-map-card:hover img {
    transform: scale(1.02);
}

/* ====== SIDEBAR + ABOUT RESPONSIVE ====== */
@media (max-width: 767px) {
    .about-header-new {
        flex-direction: column;
        text-align: center;
    }
    .about-header-new h1 { text-align: center !important; font-size: 22px !important; }
    .about-highlight-box { flex-direction: column; text-align: center; }
    .about-card-new { padding: 18px; }
    .sidebar-nav-new ul li a { padding: 10px 14px !important; }
}

/* ====== MODERN FOOTER ====== */
.footer-new,
footer.footer-new,
.container-fluid.footer-new,
footer[class*="footer"] {
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    background: none !important;
    border: none !important;
}
/* Hide old footer */
.footer.container-fluid { display: none !important; }

.footer-top {
    background: linear-gradient(135deg, #5a0a1e 0%, #8B1A1A 50%, #A0023D 100%);
    padding: 50px 0 35px;
}
.footer-brand {
    margin-bottom: 20px;
}
.footer-logo {
    max-height: 60px;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #FFD700;
    margin: 0 0 2px;
}
.footer-brand .footer-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 12px;
}
.footer-about-text {
    font-size: 13px !important;
    color: rgba(255,255,255,0.5) !important;
    line-height: 1.6 !important;
    margin: 0 0 15px !important;
}
.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-contact-links a {
    color: rgba(255,255,255,0.7) !important;
    font-size: 13px;
    transition: color 0.2s;
}
.footer-contact-links a:hover {
    color: #FFD700 !important;
}
.footer-contact-links a i {
    width: 20px;
    color: #FFD700;
    margin-right: 6px;
}

/* Footer Nav Columns */
.footer-nav {
    margin-bottom: 20px;
}
.footer-nav h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #A0023D;
    display: inline-block;
}
.footer-nav h4 i {
    margin-right: 6px;
    color: #FFD700;
}
.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-nav ul li {
    margin-bottom: 0;
}
.footer-nav ul li a {
    color: rgba(255,255,255,0.55) !important;
    font-size: 13px;
    line-height: 30px;
    transition: all 0.2s ease;
    display: inline-block;
}
.footer-nav ul li a:hover {
    color: #FFD700 !important;
    padding-left: 5px;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: #4a0818;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-copy {
    font-size: 12px !important;
    color: rgba(255,255,255,0.4) !important;
    margin: 0 !important;
}
.footer-credit {
    font-size: 12px !important;
    color: rgba(255,255,255,0.3) !important;
    margin: 0 !important;
}
.footer-credit a {
    color: #FFD700 !important;
}
.footer-credit a:hover {
    color: #fff !important;
}

/* Footer Responsive */
@media (max-width: 767px) {
    .footer-top { padding: 30px 0 20px; text-align: center; }
    .footer-brand { text-align: center; }
    .footer-contact-links { align-items: center; }
    .footer-nav h4 { display: block; text-align: center; }
    .footer-nav ul { text-align: center; }
    .footer-nav ul li a:hover { padding-left: 0; }
    .footer-bottom-inner { justify-content: center; text-align: center; flex-direction: column; }
}

/* --- World Heritage Section --- */
.heritage-section {
    background: linear-gradient(135deg, #1a0a0a 0%, #2d1515 50%, #3d1a1a 100%);
    padding: 40px 0;
    margin-top: 0;
}
.heritage-section .section-title {
    color: #FFD700;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.heritage-section .section-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-align: center;
    margin-bottom: 30px;
}
.heritage-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    display: block;
    height: 280px;
}
.heritage-card:hover {
    transform: translateY(-5px);
}
.heritage-card img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.5s ease;
}
.heritage-card:hover img {
    transform: scale(1.05);
}
.heritage-card .card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.85) 100%);
    padding: 50px 15px 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}
.heritage-card .card-label small {
    display: block;
    color: #FFD700;
    font-size: 11px;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Tenders Section --- */
.tenders-section-new {
    padding: 40px 0;
    background: #f8f5f2;
}
.tender-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}
.tender-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #A0023D;
    margin: 0;
}
.tender-header h2 i { margin-right: 10px; }
.tender-header p {
    font-size: 13px !important;
    color: #888 !important;
    margin: 3px 0 0 !important;
}
.tender-view-all {
    display: inline-block;
    padding: 10px 22px;
    background: #A0023D;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}
.tender-view-all:hover {
    background: #8B1A1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(160,2,61,0.3);
    color: #fff !important;
}
.tender-view-all i { margin-left: 6px; }

/* Tender Table */
.tender-table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid #ede8e3;
}
.tender-table-head {
    display: flex;
    background: linear-gradient(135deg, #8B1A1A, #A0023D);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tender-table-head .t-col {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}
.tender-table-row {
    display: flex;
    border-bottom: 1px solid #f0ebe6;
    transition: all 0.2s ease;
    align-items: center;
}
.tender-table-row:last-child { border-bottom: none; }
.tender-table-row:hover {
    background: #fdf5f0;
}
.tender-active {
    border-left: 4px solid #A0023D;
}
.t-col {
    padding: 14px 15px;
    font-size: 13px;
    color: #444;
}
.t-sno { width: 6%; text-align: center; font-weight: 600; }
.t-desc { width: 44%; line-height: 1.5; }
.t-date { width: 18%; color: #888; font-size: 12px; }
.t-date i { margin-right: 4px; color: #A0023D; }
.t-status { width: 14%; text-align: center; }
.t-action { width: 18%; text-align: center; }

.tender-badge-open {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}
.tender-badge-open i { margin-right: 3px; }
.tender-badge-closed {
    display: inline-block;
    background: #fce4ec;
    color: #c62828;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}
.tender-badge-closed i { margin-right: 3px; }
.tender-download {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #A0023D;
    color: #fff !important;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}
.tender-download:hover {
    background: #8B1A1A;
    color: #fff !important;
}
.tender-na { color: #ccc; }

/* Tender Responsive */
@media (max-width: 767px) {
    .tender-table-head { display: none; }
    .tender-table-row {
        flex-wrap: wrap;
        padding: 12px 15px;
        gap: 6px;
    }
    .t-col { padding: 4px 0; }
    .t-sno { width: auto; font-size: 12px; }
    .t-desc { width: 100%; font-size: 13px; order: 1; }
    .t-date { width: auto; order: 2; }
    .t-status { width: auto; order: 3; }
    .t-action { width: auto; order: 4; }
    .tender-header { text-align: center; }
    .tender-header h2 { font-size: 20px; }
}

/* --- Photo Gallery Section --- */
.gallery-section-new {
    padding: 45px 0 45px;
    margin-bottom: 0 !important;
    background: #fff;
    border-top: 4px solid #A0023D;
}
.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #A0023D !important;
    text-align: center;
    margin: 0 0 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.gallery-subtitle {
    font-size: 13px !important;
    color: #888 !important;
    text-align: center;
    margin: 0 0 25px !important;
}
.gallery-owl .owl-wrapper-outer {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
}
.gallery-card {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-card:hover img {
    transform: scale(1.08);
}
.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 30px 12px 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}
/* Gallery carousel wrapper - needed for arrow positioning */
.gallery-section-new .container {
    position: relative;
}
/* Owl Nav Arrows for gallery */
.gallery-owl .owl-controls {
    position: static;
    margin: 0;
}
.gallery-owl .owl-controls .owl-buttons {
    position: static;
}
.gallery-owl .owl-controls .owl-buttons .owl-prev,
.gallery-owl .owl-controls .owl-buttons .owl-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
    width: 44px !important;
    height: 44px !important;
    background: rgba(160,2,61,0.85) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 44px !important;
    text-align: center !important;
    opacity: 1 !important;
    transition: all 0.3s;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 20;
}
.gallery-owl .owl-controls .owl-buttons .owl-prev {
    left: -15px !important;
}
.gallery-owl .owl-controls .owl-buttons .owl-next {
    right: -15px !important;
}
.gallery-owl .owl-controls .owl-buttons .owl-prev:hover,
.gallery-owl .owl-controls .owl-buttons .owl-next:hover {
    background: #FFD700 !important;
    color: #8B1A1A !important;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .hero-banner #slider12,
    .hero-banner .item img {
        height: 350px !important;
    }
    .hero-overlay h2 {
        font-size: 24px;
    }
    .heritage-card img {
        height: 180px;
    }
}
@media (max-width: 767px) {
    .hero-banner #slider12,
    .hero-banner .item img {
        height: 220px !important;
    }
    .hero-overlay {
        padding: 30px 20px 15px;
    }
    .hero-overlay h2 {
        font-size: 18px;
    }
    .hero-overlay p {
        font-size: 13px;
    }
    .quick-link-card {
        padding: 15px 10px;
    }
    .quick-link-card .card-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .quick-link-card h4 {
        font-size: 12px;
    }
    .heritage-section {
        padding: 25px 0;
    }
    .heritage-card img {
        height: 160px;
    }
    .about-section h1 {
        font-size: 20px !important;
    }
}
@media (max-width: 480px) {
    .hero-banner #slider12,
    .hero-banner .item img {
        height: 160px !important;
    }
    .heritage-card img {
        height: 140px;
    }
}
