@import url('https://fonts.googleapis.com/css2?family=Hind+Vadodara:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --secondary-color: #64748b;
    --bg-light: #f1f5f9;
    --accent: #f59e0b;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: #1e293b;
}

.gujarati-font, h1, h2, h3, h4, h5, h6, p, li, span, a, button {
    font-family: 'Hind Vadodara', sans-serif;
}

/* Header */
.main-header {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.icon-box { width: 45px; height: 45px; }
.search-area .input-group, #searchInputMobile {
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Back Button */
.btn-back {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-back:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}
.bg-light-transparent {
    background-color: rgba(241, 245, 249, 0.95);
    backdrop-filter: blur(5px);
}

/* --- FIX: Card Radius Update --- */
.category-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 1rem !important; /* Force rounded corners */
    overflow: hidden; /* This clips the bottom children to fix radius issue */
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.category-header {
    background-color: #ffffff;
    color: var(--primary-dark);
    font-weight: 700;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.1rem;
}

.scheme-link {
    text-decoration: none;
    color: var(--secondary-color);
    display: block;
    padding: 12px 15px;
    border-radius: 10px;
    transition: all 0.2s;
    font-weight: 500;
    margin-bottom: 5px;
    background-color: #f8fafc;
}
.scheme-link:hover {
    background-color: #e0e7ff;
    color: var(--primary-color);
    padding-left: 20px;
}

/* Detail Styling */
.detail-section {
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}
.detail-heading-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 10px;
}
.detail-heading {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.15rem;
}
.btn-copy-custom {
    background-color: #f1f5f9;
    color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-copy-custom:hover {
    background-color: var(--primary-color);
    color: white;
}
.detail-text {
    color: #334155;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Animations */
.animate-bottom { animation: slideUp 0.5s ease-out; }
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}