/* ===========================
   LOGIN MODAL
=========================== */

#loginModal .modal-dialog {
    max-width: 1150px;
}

#loginModal .modal-content {
    animation: popup .35s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

@keyframes popup {
    from {
        opacity: 0;
        transform: scale(.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===========================
   LEFT PANEL
=========================== */

.login-left {
    min-height: 520px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(rgba(2, 40, 110, .90), rgba(0, 119, 190, .72)),
        url("assets/images/login-bg.jpg") center/cover;
}

/* ===========================
   HEADER
=========================== */

.login-header {
    background: #fff;
    padding: 18px 30px;
}

.login-header h3 {
    margin: 0;
    color: #114b8b;
    font-size: 33px;
    font-weight: 700;
}

/* ===========================
   BLUE BAR
=========================== */

.login-navbar {
    padding: 14px 30px;
    background: #073d86;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

/* ===========================
   NOTICE
=========================== */

.login-notice {
    padding: 16px;
    background: #fff;
    color: #d00000;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

/* ===========================
   WELCOME AREA
=========================== */

.welcome-area {
    padding: 60px 40px;
    text-align: center;
}

.welcome-area h1 {
    margin-bottom: 25px;
    font-size: 72px;
    line-height: 1.1;
    font-weight: 300;
}

.welcome-area h1 span {
    display: block;
    font-weight: 800;
}

.welcome-area p {
    width: 80%;
    margin: auto;
}

/* ===========================
   LOGIN CARD
=========================== */

.login-card {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    background: #fff;
}

.login-card img {
    display: block;
    margin: auto;
}

/* ===========================
   FORM
=========================== */

.login-card label {
    color: #111;
    font-size: 18px;
    font-weight: 700;
}

.login-card .form-control {
    height: 55px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    box-shadow: none;
    font-size: 18px;
}

.login-card .form-control:focus {
    border-color: #0288d1;
    box-shadow: 0 0 0 .2rem rgba(2, 136, 209, .15);
}

/* ===========================
   BUTTON
=========================== */

.login-card .btn-primary {
    height: 56px;
    border: none;
    border-radius: 4px;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(90deg, #0b2d82, #17a4e5);
}

.login-card .btn-primary:hover {
    background: linear-gradient(90deg, #082568, #108ed0);
}

/* ===========================
   LINKS
=========================== */

.login-card a {
    color: #0b5ed7;
    text-decoration: none;
    font-weight: 600;
}

/* ===========================
   CLOSE BUTTON
=========================== */

#loginModal .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 99;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width:992px) {

    .login-left {
        display: none;
    }

    .login-card {
        min-height: auto;
        padding: 40px 30px;
    }

}

@media (max-width:576px) {

    .login-card {
        padding: 25px;
    }

    .login-card img {
        width: 120px;
    }

    .login-card .btn-primary {
        font-size: 18px;
    }

}

        :root {
            --uidai-orange: #E65100;
            --uidai-dark-orange: #BF360C;
            --uidai-light-orange: #FF9800;
            --uidai-blue: #01579B;
            --uidai-light-blue: #0288D1;
            --uidai-gray: #546E7A;
            --uidai-light-gray: #F5F5F5;
            --uidai-green: #2E7D32;
            --uidai-red: #C62828;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.12);
            --radius: 8px;
            --radius-lg: 16px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            min-height: 100vh;
        }

        /* UIDAI Inspired Header */
        .uidai-header {
            background: white;
            border-bottom: 4px solid var(--uidai-orange);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-top-bar {
            background: linear-gradient(90deg, var(--uidai-blue) 0%, var(--uidai-light-blue) 100%);
            color: white;
            padding: 8px 0;
            font-size: 0.9rem;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 5%;
        }

        .official-badge {
            background: var(--uidai-orange);
            color: white;
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: bold;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .uidai-logo-section {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 15px 0;
        }

        .logo-wrapper {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .national-emblem {
            height: 60px;
            width: auto;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
        }

        .logo-text {
            display: flex;
            flex-direction: column;
        }

        .main-logo {
            color: var(--uidai-blue);
            font-size: 1.8rem;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .logo-subtitle {
            color: var(--uidai-orange);
            font-size: 0.9rem;
            font-weight: 600;
        }

        .nav-container {
            display: flex;
            gap: 30px;
            align-items: center;
        }

        .nav-link {
            color: var(--uidai-blue);
            font-weight: 600;
            font-size: 0.95rem;
            padding: 8px 0;
            position: relative;
            transition: all 0.3s ease;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--uidai-orange);
            transition: width 0.3s ease;
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .apply-btn {
            background: linear-gradient(135deg, var(--uidai-orange) 0%, var(--uidai-dark-orange) 100%);
            color: white;
            padding: 10px 25px;
            border-radius: var(--radius);
            font-weight: 600;
            font-size: 0.95rem;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .apply-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        /* Hero Section with UIDAI Identity */
        .hero-section {
            background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95)), 
                        url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-1.2.1&amp;auto=format&amp;fit=crop&amp;w=1350&amp;q=80');
            background-size: cover;
            background-position: center;
            padding: 80px 5%;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .hero-title {
            font-size: 3.2rem;
            font-weight: 800;
            line-height: 1.2;
            color: var(--uidai-blue);
            margin-bottom: 20px;
        }

        .hero-title span {
            color: var(--uidai-orange);
            position: relative;
        }

        .hero-title span::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            height: 8px;
            background: rgba(230, 81, 0, 0.2);
            z-index: -1;
        }

        .hero-subtitle {
            font-size: 1.2rem;
            color: var(--uidai-gray);
            margin-bottom: 30px;
            max-width: 600px;
        }

        .verification-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: white;
            padding: 15px 25px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin-top: 20px;
            border-left: 4px solid var(--uidai-green);
        }

        /* Aadhaar Card Style Dashboard */
        .aadhaar-card {
            background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
            border-radius: var(--radius-lg);
            padding: 40px;
            box-shadow: var(--shadow-heavy);
            border-top: 8px solid var(--uidai-orange);
            position: relative;
            overflow: hidden;
        }

        .aadhaar-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 150px;
            height: 150px;
            background: linear-gradient(45deg, var(--uidai-orange) 0%, transparent 70%);
            opacity: 0.1;
            border-radius: 0 0 0 100%;
        }

        .card-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--uidai-light-gray);
        }

        .card-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--uidai-orange) 0%, var(--uidai-light-orange) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
        }

        .card-title {
            font-size: 1.5rem;
            color: var(--uidai-blue);
            font-weight: 700;
        }

        .process-steps {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .process-step {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px;
            background: white;
            border-radius: var(--radius);
            border: 2px solid var(--uidai-light-gray);
            transition: all 0.3s ease;
        }

        .process-step:hover {
            border-color: var(--uidai-orange);
            transform: translateX(5px);
        }

        .step-number {
            width: 40px;
            height: 40px;
            background: var(--uidai-blue);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.1rem;
        }

        /* Services Grid */
        .services-section {
            padding: 80px 5%;
            background: white;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            color: var(--uidai-blue);
            margin-bottom: 10px;
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--uidai-orange) 0%, var(--uidai-light-orange) 100%);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .service-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 30px;
            box-shadow: var(--shadow);
            border: 1px solid #e0e0e0;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-heavy);
            border-color: var(--uidai-orange);
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--uidai-blue) 0%, var(--uidai-orange) 100%);
        }

        .service-icon {
            font-size: 2.5rem;
            color: var(--uidai-orange);
            margin-bottom: 20px;
        }

        /* Real-time Stats Counter */
        .stats-section {
            background: linear-gradient(135deg, var(--uidai-blue) 0%, var(--uidai-light-blue) 100%);
            color: white;
            padding: 60px 5%;
            text-align: center;
        }

        .stats-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .stat-item {
            padding: 30px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-lg);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 10px;
            display: block;
        }

        /* UIDAI Official Process Flow */
        .process-flow {
            padding: 80px 5%;
            background: var(--uidai-light-gray);
        }

        .flow-steps {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 50px;
            flex-wrap: wrap;
        }

        .flow-step {
            flex: 1;
            min-width: 250px;
            text-align: center;
            padding: 30px;
            background: white;
            border-radius: var(--radius-lg);
            position: relative;
            z-index: 1;
        }

        .flow-step::before {
            content: '→';
            position: absolute;
            right: -25px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 2rem;
            color: var(--uidai-orange);
            z-index: 2;
        }

        .flow-step:last-child::before {
            display: none;
        }

        /* Official Verification Section */
        .verification-section {
            padding: 80px 5%;
            background: white;
        }

        .verification-container {
            max-width: 800px;
            margin: 0 auto;
            background: linear-gradient(135deg, #fff8f5 0%, #fff 100%);
            border-radius: var(--radius-lg);
            padding: 50px;
            border: 2px solid var(--uidai-orange);
            position: relative;
        }

        .verification-container::before {
            content: '✓ VERIFIED';
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--uidai-green);
            color: white;
            padding: 8px 20px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.9rem;
        }

        /* Official Footer */
        .uidai-footer {
            background: var(--uidai-blue);
            color: white;
            padding: 60px 5% 30px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: var(--uidai-light-orange);
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--uidai-orange);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }

               
        /* Responsive Design */
        @media (max-width: 1024px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .hero-title {
                font-size: 2.5rem;
            }
            
            .flow-steps {
                flex-direction: column;
            }
            
            .flow-step::before {
                content: '↓';
                right: 50%;
                top: auto;
                bottom: -25px;
                transform: translateX(50%);
            }
        }

        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                gap: 15px;
            }
            
            .nav-container {
                width: 100%;
                justify-content: center;
                flex-wrap: wrap;
            }
            
            .hero-title {
                font-size: 2rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate {
            animation: fadeInUp 0.6s ease forwards;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--uidai-orange);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--uidai-dark-orange);
        }
