/* --- Root Variables --- */
:root {
    --primary: #4361ee;
    --primary-dark: #3730a3;
    --secondary: #ff9f1c;
    --accent: #4cc9f0;
    --success: #06d6a0;
    --danger: #ef476f;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8f9fc;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

/* --- Global Resets --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; }

/* --- Top Bar --- */
.top-announcement-bar {
    background: #111;
    color: white;
    font-size: 13px;
    padding: 8px 0;
}
.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pulse-dot {
    height: 8px; width: 8px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    animation: pulse 1.5s infinite;
}
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

/* --- Header & Nav --- */
.navbar-header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}
.navbar-header.scrolled { padding: 10px 0; }
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
}
.logo-icon {
    background: var(--primary);
    color: white;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
}
.highlight { color: var(--primary); }

.nav-links { display: flex; gap: 25px; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--text-dark); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Buttons */
.btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }

/* --- Hero Section --- */
.hero-section { padding: 80px 0; background: linear-gradient(135deg, #f8f9fc 0%, #e0e7ff 100%); }
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}
.badge-tag {
    background: #e0e7ff;
    color: var(--primary);
    padding: 6px 15px;
    border-radius: 50px;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}
.hero-text h1 { font-size: 48px; line-height: 1.2; margin-bottom: 20px; }
.hero-text p { font-size: 18px; color: var(--text-light); margin-bottom: 30px; }

/* Quick Search Box */
.quick-search-box {
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}
.quick-form { display: flex; gap: 10px; }
.quick-select, .quick-input {
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 8px;
    outline: none;
}
.quick-input { flex: 1; }

/* Hero Visual (PVC Cards) */
.pvc-card-stack { position: relative; height: 300px; }
.pvc-card {
    background: white;
    width: 320px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: absolute;
}
.card-aadhaar { top: 0; left: 0; z-index: 2; border-left: 5px solid #008000; }
.card-pan { top: 60px; left: 40px; z-index: 1; border-left: 5px solid var(--secondary); opacity: 0.9; }

/* --- Services Grid --- */
.section-title { text-align: center; font-size: 36px; margin-bottom: 10px; }
.section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 50px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.service-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #edf2f7;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.card-border-accent { height: 4px; width: 60px; margin-bottom: 20px; border-radius: 10px; }
.border-blue { background: var(--primary); }
.border-amber { background: var(--secondary); }
.service-icon { font-size: 40px; margin-bottom: 20px; }

/* --- Mobile Menu Toggle --- */
.mobile-toggle { display: none; font-size: 24px; background: none; border: none; cursor: pointer; }

/* --- Footer --- */
.footer { background: #111; color: #94a3b8; padding: 80px 0 20px; margin-top: 80px; }
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-column h3 { color: white; margin-bottom: 25px; font-size: 18px; }
.footer-links li { margin-bottom: 12px; }
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
    .hero-text h1 { font-size: 36px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; } /* Hide 3D cards on tablets to save space */
    .quick-form { flex-direction: column; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar-flex { flex-direction: column; gap: 5px; text-align: center; }
    .main-nav {
        position: fixed;
        top: 70px; left: -100%;
        width: 100%; height: calc(100vh - 70px);
        background: white;
        transition: 0.3s ease;
        padding: 40px 20px;
    }
    .main-nav.active { left: 0; }
    .nav-links { flex-direction: column; gap: 20px; }
    .mobile-toggle { display: block; }
    .header-actions { display: none; } /* Hidden in mobile menu to show inside nav instead */
    
    .section-title { font-size: 28px; }
    .process-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
    .footer-top { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 28px; }
    .btn { width: 100%; justify-content: center; }
}

/* Floating Elements */
.floating-whatsapp {
    position: fixed;
    bottom: 30px; right: 30px;
    background: #25d366;
    color: white;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 999;
}
.back-to-top-btn {
    position: fixed;
    bottom: 100px; right: 30px;
    background: var(--primary);
    color: white;
    width: 45px; height: 45px;
    border-radius: 8px;
    display: none;
    align-items: center; justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 999;
}