:root {
    --primary: #2563eb; /* Modern Blue */
    --success: #10b981; /* Soft Green */
    --dark: #1e293b;
    --light: #f1f5f9;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: var(--light);
    color: var(--dark);
    -webkit-tap-highlight-color: transparent;
}

/* 🔥 Modern Header */
header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: var(--white);
    padding: 20px;
    text-align: center;
    border-radius: 0 0 20px 20px;
    box-shadow: var(--shadow);
}
.logo { font-size: 1.8rem; font-weight: 700; letter-spacing: 1px; }
header p { opacity: 0.9; font-size: 0.9rem; margin-top: 5px; }

/* 🏠 Hero Section */
.hero {
    text-align: center;
    padding: 30px 20px;
}
.hero h2 { font-size: 1.6rem; margin-bottom: 10px; color: var(--dark); }
.hero p { color: #64748b; font-size: 1rem; }

/* 📦 Service Grid */
.container { padding: 20px; max-width: 1000px; margin: auto; }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

/* ✨ Glassmorphism Cards */
.card {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255,255,255,0.5);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}
.icon { font-size: 3rem; margin-bottom: 15px; display: block; }
.card h3 { font-size: 1.1rem; margin: 0 0 5px 0; color: var(--dark); }
.price { 
    display: inline-block; 
    background: #dbeafe; 
    color: var(--primary); 
    padding: 5px 12px; 
    border-radius: 50px; 
    font-size: 0.85rem; 
    font-weight: 700; 
}

/* 🚀 Modal / Form Design */
.modal {
    display: none; position: fixed; z-index: 100;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px); /* Blurry Background */
    align-items: center; justify-content: center;
}
.modal-content {
    background: var(--white);
    width: 90%; max-width: 450px;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease-out;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.close { position: absolute; top: 15px; right: 20px; font-size: 28px; cursor: pointer; color: #94a3b8; }
.close:hover { color: var(--dark); }

h2#modalTitle { color: var(--primary); margin-top: 0; }
.req-box { background: #fff7ed; border-left: 4px solid #f97316; padding: 12px; font-size: 0.85rem; color: #c2410c; margin-bottom: 20px; border-radius: 4px; }

/* 📝 Inputs & Buttons */
label { display: block; margin: 15px 0 5px; font-weight: 600; font-size: 0.9rem; color: #475569; }
input, select {
    width: 100%; padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: #f8fafc;
    transition: 0.3s;
    box-sizing: border-box; /* Fixes padding issues */
}
input:focus, select:focus {
    border-color: var(--primary);
    background: var(--white);
    outline: none;
}

.btn-submit {
    width: 100%; margin-top: 25px;
    padding: 14px;
    border: none; border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white; font-size: 1rem; font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.4);
    transition: transform 0.1s;
}
.btn-submit:active { transform: scale(0.98); }

.btn-back {
    background: #94a3b8; color: white;
    padding: 14px; border: none; border-radius: 12px;
    font-weight: 600; cursor: pointer; width: 35%;
}

/* 💰 Payment Box */
.upi-box {
    text-align: center; background: #eff6ff;
    padding: 20px; border-radius: 16px; border: 2px dashed #bfdbfe;
    margin-bottom: 20px;
}
