/* Stucon World Educational Consultancy Services - Design System */

:root {
    --primary-900: #0b1f3a;
    --primary-800: #0f2b48;
    --primary-700: #163d66;
    --primary-600: #1e5288;
    --primary-500: #2563eb;
    
    --accent-gold: #e5a93c;
    --accent-gold-dark: #b87b12;
    --accent-emerald: #10b981;
    --accent-emerald-dark: #059669;

    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Glassmorphism & Cards */
.glass-nav {
    background: rgba(11, 31, 58, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stucon-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.stucon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -10px rgba(15, 43, 72, 0.12);
    border-color: #cbd5e1;
}

.hero-gradient {
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.25) 0%, rgba(11, 31, 58, 0.98) 70%), #0b1f3a;
}

/* Animated Badges */
.badge-gold {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}
.badge-blue {
    background-color: #eff6ff;
    color: #1e40af;
    border: 1px solid #dbeafe;
}
.badge-green {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.badge-purple {
    background-color: #faf5ff;
    color: #6b21a8;
    border: 1px solid #f3e8ff;
}

/* Application Pipeline Stepper */
.timeline-step {
    position: relative;
    flex: 1;
    text-align: center;
}
.timeline-step::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -50%;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
}
.timeline-step:first-child::before {
    display: none;
}
.timeline-step.completed::before {
    background: #10b981;
}
.timeline-step.active::before {
    background: linear-gradient(to right, #10b981 50%, #3b82f6 50%);
}

.timeline-circle {
    position: relative;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background: #f1f5f9;
    color: #64748b;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.timeline-step.completed .timeline-circle {
    background: #10b981;
    color: #ffffff;
}
.timeline-step.active .timeline-circle {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

/* Smooth Tab Transitions */
.tab-content {
    display: none;
    animation: fadeIn 0.25s ease-in-out;
}
.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sliders */
input[type=range] {
    accent-color: #2563eb;
}

/* Toast Alerts */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.toast-msg {
    animation: slideIn 0.3s ease-out;
    padding: 14px 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 380px;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
