/* Global Styles for Jigyasha Website */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #F8FAFC;
    color: #0F172A;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #0F172A;
    font-weight: 900;
}

p {
    color: #475569;
    font-weight: 500;
}

a {
    color: #4F46E5;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4338CA;
}

/* Buttons */
button {
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

button:active {
    transform: scale(0.98);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 20px;
}

.text-center {
    text-align: center;
}

.text-indigo {
    color: #4F46E5;
}

.bg-indigo {
    background-color: #4F46E5;
}

.gradient-indigo {
    background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Navbar Styles */
nav {
    background: transparent;
    padding: 20px 0;
}

nav.sticky {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

nav a {
    color: #64748B;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #4F46E5;
}

/* Cards */
.card {
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #4F46E5;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.1);
    transform: translateY(-5px);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: #EEF2FF;
    color: #4F46E5;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge.success {
    background: #DCFCE7;
    color: #16A34A;
}

.badge.warning {
    background: #FEF3C7;
    color: #D97706;
}

.badge.danger {
    background: #FEE2E2;
    color: #DC2626;
}

/* Success Messages */
.success-message-banner {
    background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    animation: fadeIn 0.3s ease;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #F8FAFC;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #4F46E5;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 0.95rem;
    }
}

/* Print Styles */
@media print {
    nav,
    footer {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #E2E8F0;
    }
}
