/* ===================================
   Smart City GIS Portal - Custom CSS
   Bootstrap 5.3 Based
   =================================== */

/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-blue: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-green: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-cyan: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-purple: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-orange: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-red: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-yellow: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --gradient-brown: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: #1f2937;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    transition: all 0.3s ease;
}

/* ===== NAVIGATION ===== */
#mainNav {
    padding: 0.5rem 0;
    background: linear-gradient(135deg, rgb(255 255 255 / 95%) 0%, rgba(30, 64, 175, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#mainNav.scrolled {
    padding: 0.3rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff !important;
}
.navbar-brand img {
    width: 200px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f6f9fc 0%, #e9f2ff 50%, #f0f4ff 100%);
    background-size: 200% 200%;
    animation: heroGradient 12s ease infinite;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}
@keyframes heroGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-image-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.stat-box {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}
.feature-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
}

/* Animated Background - do not block clicks */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.circle-1, .circle-2, .circle-3 {
    position: absolute;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.2);
    animation: pulse 8s ease-in-out infinite;
    opacity: 1;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -200px;
}

.circle-2 {
    width: 600px;
    height: 600px;
    bottom: -300px;
    left: -300px;
    animation-delay: 2s;
}

.circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== SECTION ANIMATED BACKGROUNDS (GIS icons) ===== */
.section-features,
.section-why-us {
    position: relative;
    overflow: hidden;
}
.section-features {
    background: linear-gradient(180deg, #f0f4ff 0%, #e8eeff 50%, #f5f7fc 100%);
}
.section-why-us {
    background: linear-gradient(180deg, #f8f5ff 0%, #f0ebff 50%, #f5f3ff 100%);
}
.section-features .container,
.section-why-us .container {
    z-index: 1;
}

.section-bg-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.section-bg-icons i {
    position: absolute;
    font-size: 2rem;
    opacity: 0.06;
    color: #2563eb;
}
.section-bg-icons--why i {
    color: #6366f1;
}

/* Scatter positions for features icons (satellite, globe, map feel) */
.section-bg-icons--features i:nth-child(1) { top: 8%; left: 5%; animation: floatIcon1 20s ease-in-out infinite; }
.section-bg-icons--features i:nth-child(2) { top: 15%; left: 25%; animation: floatIcon2 18s ease-in-out infinite; }
.section-bg-icons--features i:nth-child(3) { top: 25%; left: 75%; animation: floatIcon1 22s ease-in-out infinite 1s; }
.section-bg-icons--features i:nth-child(4) { top: 40%; left: 10%; animation: floatIcon2 19s ease-in-out infinite 2s; }
.section-bg-icons--features i:nth-child(5) { top: 55%; left: 85%; animation: floatIcon1 21s ease-in-out infinite 0.5s; }
.section-bg-icons--features i:nth-child(6) { top: 70%; left: 30%; animation: floatIcon2 17s ease-in-out infinite; }
.section-bg-icons--features i:nth-child(7) { top: 12%; left: 55%; animation: floatIcon1 23s ease-in-out infinite 3s; }
.section-bg-icons--features i:nth-child(8) { top: 35%; left: 45%; animation: floatIcon2 20s ease-in-out infinite 1.5s; }
.section-bg-icons--features i:nth-child(9) { top: 60%; left: 15%; animation: floatIcon1 18s ease-in-out infinite 2.5s; }
.section-bg-icons--features i:nth-child(10) { top: 75%; left: 60%; animation: floatIcon2 24s ease-in-out infinite; }
.section-bg-icons--features i:nth-child(11) { top: 20%; left: 90%; animation: floatIcon1 19s ease-in-out infinite 0.8s; }
.section-bg-icons--features i:nth-child(12) { top: 50%; left: 65%; animation: floatIcon2 21s ease-in-out infinite 2s; }
.section-bg-icons--features i:nth-child(13) { top: 5%; left: 40%; animation: floatIcon1 22s ease-in-out infinite; }
.section-bg-icons--features i:nth-child(14) { top: 45%; left: 5%; animation: floatIcon2 20s ease-in-out infinite 1s; }
.section-bg-icons--features i:nth-child(15) { top: 80%; left: 45%; animation: floatIcon1 18s ease-in-out infinite 3s; }
.section-bg-icons--features i:nth-child(16) { top: 30%; left: 60%; animation: floatIcon2 23s ease-in-out infinite; }
.section-bg-icons--features i:nth-child(17) { top: 65%; left: 80%; animation: floatIcon1 19s ease-in-out infinite 2s; }
.section-bg-icons--features i:nth-child(18) { top: 10%; left: 80%; animation: floatIcon2 21s ease-in-out infinite 0.5s; }

.section-bg-icons--why i:nth-child(1) { top: 10%; left: 8%; animation: driftIcon1 25s linear infinite; }
.section-bg-icons--why i:nth-child(2) { top: 20%; left: 70%; animation: driftIcon2 22s linear infinite 2s; }
.section-bg-icons--why i:nth-child(3) { top: 45%; left: 15%; animation: driftIcon1 28s linear infinite 1s; }
.section-bg-icons--why i:nth-child(4) { top: 60%; left: 80%; animation: driftIcon2 24s linear infinite; }
.section-bg-icons--why i:nth-child(5) { top: 75%; left: 35%; animation: driftIcon1 26s linear infinite 3s; }
.section-bg-icons--why i:nth-child(6) { top: 15%; left: 45%; animation: driftIcon2 23s linear infinite 1.5s; }
.section-bg-icons--why i:nth-child(7) { top: 35%; left: 55%; animation: driftIcon1 27s linear infinite 0.5s; }
.section-bg-icons--why i:nth-child(8) { top: 55%; left: 40%; animation: driftIcon2 25s linear infinite 2.5s; }
.section-bg-icons--why i:nth-child(9) { top: 70%; left: 10%; animation: driftIcon1 24s linear infinite; }
.section-bg-icons--why i:nth-child(10) { top: 25%; left: 90%; animation: driftIcon2 26s linear infinite 1s; }
.section-bg-icons--why i:nth-child(11) { top: 50%; left: 70%; animation: driftIcon1 22s linear infinite 2s; }
.section-bg-icons--why i:nth-child(12) { top: 85%; left: 60%; animation: driftIcon2 28s linear infinite; }
.section-bg-icons--why i:nth-child(13) { top: 5%; left: 25%; animation: driftIcon1 23s linear infinite 3s; }
.section-bg-icons--why i:nth-child(14) { top: 40%; left: 85%; animation: driftIcon2 21s linear infinite 0.8s; }
.section-bg-icons--why i:nth-child(15) { top: 65%; left: 50%; animation: driftIcon1 26s linear infinite 1.8s; }
.section-bg-icons--why i:nth-child(16) { top: 30%; left: 30%; animation: driftIcon2 24s linear infinite; }
.section-bg-icons--why i:nth-child(17) { top: 80%; left: 75%; animation: driftIcon1 25s linear infinite 2.2s; }
.section-bg-icons--why i:nth-child(18) { top: 12%; left: 65%; animation: driftIcon2 27s linear infinite 0.3s; }

@keyframes floatIcon1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -20px) rotate(5deg); }
    50% { transform: translate(-10px, 15px) rotate(-5deg); }
    75% { transform: translate(20px, 10px) rotate(3deg); }
}
@keyframes floatIcon2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-18px, 12px) rotate(-8deg); }
    66% { transform: translate(12px, -15px) rotate(6deg); }
}
@keyframes driftIcon1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30px, -25px) rotate(360deg); }
}
@keyframes driftIcon2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-25px, 20px) rotate(-360deg); }
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

.feature-card .feature-icon {
    flex-shrink: 0;
}

.feature-card h4 {
    flex-shrink: 0;
}

.feature-card p {
    flex: 1 1 auto;
    min-height: 3.6em;
    margin-bottom: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 2rem;
    color: white;
}

.bg-gradient-blue { background: var(--gradient-blue); }
.bg-gradient-green { background: var(--gradient-green); }
.bg-gradient-cyan { background: var(--gradient-cyan); }
.bg-gradient-purple { background: var(--gradient-purple); }
.bg-gradient-orange { background: var(--gradient-orange); }
.bg-gradient-red { background: var(--gradient-red); }
.bg-gradient-yellow { background: var(--gradient-yellow); }
.bg-gradient-brown { background: var(--gradient-brown); }

.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.feature-link:hover {
    color: var(--secondary-color);
    gap: 0.5rem;
}

/* ===== LIVE CARDS (Current / Live section) ===== */
.live-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.live-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.live-card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.12);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.3); }
    50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
}
.live-card h3 {
    font-size: 1.75rem;
    color: #1f2937;
}

/* Live section header dot */
.live-dot {
    font-size: 0.5rem !important;
    vertical-align: middle;
    animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== CITY CARDS ===== */
.city-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    height: 100%;
}

.city-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.city-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.city-card:hover .city-image img {
    transform: scale(1.1);
}

.city-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.city-content {
    padding: 2rem;
}

/* ===== BOUNDARY CARDS ===== */
.boundary-card {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.boundary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.boundary-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

/* ===== WHY US CARDS ===== */
.why-card {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.why-card .why-icon {
    flex-shrink: 0;
}

.why-card h5 {
    flex-shrink: 0;
}

.why-card p {
    flex: 1 1 auto;
    min-height: 4.2em;
    margin-bottom: 0;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.why-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 14px;
    font-size: 1.25rem;
}

/* ===== TECHNOLOGY BOXES ===== */
.tech-box {
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.tech-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}
.tech-box h6 {
    font-size: 0.95rem;
}

/* ===== ABOUT SECTION ===== */
.about-feature {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.about-feature:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

/* ===== CONTACT SECTION ===== */
.contact-info-box {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: white;
    font-size: 1.75rem;
}

.contact-form-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-control, .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

/* ===== BUTTONS ===== */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer a {
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #fff !important;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: #fff !important;
}

.footer-content {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
}

.footer-link {
    color: #93c5fd !important;
    font-weight: 600;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-icons {
    margin-top: 0.5rem;
}

.footer-icon-box {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.footer-icon-box:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}

.footer-hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-legal:hover {
    color: #fff !important;
}

.social-links .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links .btn:hover {
    background: white;
    color: var(--dark-color) !important;
    transform: translateY(-3px);
}

/* ===== LOGIN PAGE ===== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}
/* Ensure form is always clickable: overlay must not capture clicks */
.login-container .hero-bg-animation {
    pointer-events: none !important;
    z-index: 0;
}
.login-container .container {
    position: relative;
    z-index: 3;
}
.login-container {
    position: relative;
}

.login-page-bg-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.login-page-bg-icons i {
    position: absolute;
    font-size: 3rem;
    opacity: 0.12;
    color: #3f3f40;
}

/* Animated positions for login page icons - well spread out */
.login-page-bg-icons i:nth-child(1) { top: 10%; left: 8%; animation: floatIcon1 22s ease-in-out infinite; }
.login-page-bg-icons i:nth-child(2) { top: 15%; left: 88%; animation: floatIcon2 20s ease-in-out infinite 1s; }
.login-page-bg-icons i:nth-child(3) { top: 30%; left: 12%; animation: floatIcon1 24s ease-in-out infinite 2s; }
.login-page-bg-icons i:nth-child(4) { top: 35%; left: 78%; animation: floatIcon2 19s ease-in-out infinite; }
.login-page-bg-icons i:nth-child(5) { top: 50%; left: 15%; animation: floatIcon1 21s ease-in-out infinite 1.5s; }
.login-page-bg-icons i:nth-child(6) { top: 55%; left: 82%; animation: floatIcon2 23s ease-in-out infinite 0.5s; }
.login-page-bg-icons i:nth-child(7) { top: 70%; left: 10%; animation: floatIcon1 20s ease-in-out infinite 2.5s; }
.login-page-bg-icons i:nth-child(8) { top: 75%; left: 75%; animation: floatIcon2 22s ease-in-out infinite 1s; }
.login-page-bg-icons i:nth-child(9) { top: 22%; left: 50%; animation: floatIcon1 19s ease-in-out infinite; }
.login-page-bg-icons i:nth-child(10) { top: 65%; left: 48%; animation: floatIcon2 25s ease-in-out infinite 3s; }

.login-container .login-box {
    position: relative;
    z-index: 1;
}

.login-box {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.login-container .login-box.row {
    min-height: 480px;
}

.login-left {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-left-inner {
    
}

.login-right {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right-inner {
    max-width: 400px;
    margin: 0 auto;
}

.company-logo-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.company-logo-option {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.company-logo-option:hover,
.company-logo-option.active {
    border-color: var(--primary-color);
    background: #f0f7ff;
}

.company-logo-option img {
    max-height: 60px;
    margin-bottom: 0.5rem;
}

/* ===== DASHBOARD ===== */
.dashboard-container {
    min-height: 100vh;
    background: #f8fafc;
}

.sidebar {
    width: 280px;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-menu {
    padding: 1rem 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.menu-item:hover,
.menu-item.active {
    background: #f0f7ff;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.menu-item i {
    width: 24px;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.main-content {
    margin-left: 280px;
    padding: 2rem;
}

.top-bar {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
}

/* ===== MAP CONTAINER ===== */
.map-container {
    height: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-tools {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.analysis-result-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-top: 1.5rem;
}

/* ===== UTILITIES ===== */
.badge-custom {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .login-left {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 3rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .feature-card,
    .city-card {
        margin-bottom: 1.5rem;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ===== LOADING ANIMATION ===== */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(37, 99, 235, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
#ajaxloder {
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    background: #00000094;
    text-align: center;
    z-index: 9999999;
    display: none;
}

#ajaxloder .ajaxloderbody {
    left: 0;
    margin: 0 auto;
    position: fixed;
    right: 0;
    top: 50%;
}

#ajaxloder .ajaxloderbody i {
    font-size: 45px;
}