@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root {
    --primary: #2563eb;
    --success: #22c55e;
}

/* 1. Sabse Zaruri: Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Side scrolling khatam karne ke liye */
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    -webkit-text-size-adjust: 100%;
}

/* 2. Responsive Content Fix */
.container {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Sides mein thodi jagah banaye rakhega */
}

/* 3. Cards aur Sections ko Mobile par sahi karna */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem !important; line-height: 1.2; }
    h2 { font-size: 1.4rem !important; }
    
    /* Jo cards bade dikh rahe hain unhe center aur fit karne ke liye */
    .glass-card, .glass {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 1.5rem !important; /* Padding thodi kam mobile ke liye */
    }

    /* Text alignment fix */
    .text-center-mobile {
        text-align: center !important;
    }
}

/* 4. Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
}

.dark-card {
    background: #0f172a;
    color: white;
}

.custom-scrollbar::-webkit-scrollbar {
        width: 4px;
    }
    .custom-scrollbar::-webkit-scrollbar-track {
        background: transparent;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb {
        background: #e2e8f0;
        border-radius: 10px;
    }
    .custom-scrollbar {
        scrollbar-width: thin;
        scrollbar-color: #e2e8f0 transparent;
    }
