/* Modern Clean Design - Sarva Mangal Tap */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-brown: #5a3a31;
    --primary-hover: #6b4a40;
    --accent-orange: #d97706;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 280px;
    background: var(--primary-brown);
    padding: 40px 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar.closed {
    transform: translateX(-280px);
}

.logo-section {
    padding: 0 30px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 18px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    font-size: 36px;
    color: var(--primary-brown);
}

.site-title {
    color: var(--white);
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.nav-menu {
    list-style: none;
    padding: 30px 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 16px 30px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-left: 4px solid var(--accent-orange);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--primary-brown);
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    padding: 60px 40px;
    transition: margin-left 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Content Card */
.content-card {
    background: var(--white);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

/* Typography */
h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 30px;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 20px;
    margin-top: 40px;
}

h2:first-child {
    margin-top: 0;
}

.hindi-title {
    font-size: 32px;
    color: var(--primary-brown);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

p, li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 16px;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 14px;
}

ul li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 24px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-brown);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(90, 58, 49, 0.3);
}

.btn-large {
    width: 100%;
    padding: 20px;
    font-size: 20px;
    margin-top: 20px;
}

/* Form Elements */
input[type="tel"],
input[type="text"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus {
    outline: none;
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 3px rgba(90, 58, 49, 0.1);
}

/* Verification Page */
.verify-container {
    max-width: 500px;
    margin: 0 auto;
}

.verify-box {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.verify-box h2 {
    margin-top: 0;
    margin-bottom: 30px;
}

.verify-box input {
    margin-bottom: 20px;
}

#result {
    margin-top: 30px;
    padding: 20px;
    border-radius: 10px;
    font-size: 16px;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-brown);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 30px auto;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Thank You Page */
.thankyou-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    text-align: center;
}

.thankyou-card h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 24px;
    color: var(--success);
    font-weight: 600;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.id-box {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
}

.id-label {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.id-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-brown);
}

/* Tally Form Embed */
.form-embed-container {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin: 0 auto;
    max-width: 900px;
}

.form-embed-container iframe {
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 968px) {
    .sidebar {
        transform: translateX(-280px);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
        padding: 100px 20px 40px;
    }
    
    .content-card {
        padding: 30px 25px;
    }
    
    .thankyou-card {
        padding: 40px 30px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .hindi-title {
        font-size: 26px;
    }
    
    .id-number {
        font-size: 42px;
    }
}

@media (max-width: 640px) {
    .content-card {
        padding: 25px 20px;
    }
    
    .form-embed-container {
        padding: 20px;
    }
    
    .thankyou-card {
        padding: 30px 20px;
    }
    
    ul li {
        font-size: 15px;
    }
}