/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: radial-gradient(circle at 20% 80%, rgba(120, 113, 108, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(120, 113, 108, 0.05) 0%, transparent 50%), linear-gradient(135deg, #fafaf9 0%, #f5f5f4 100%);
    color: #1c1917;
    line-height: 1.6;
    min-height: 100vh;
}
a{
    text-decoration: none;
    color: black;
}
a:hover{
    color: black;
}
.buttonColor {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #dc2626 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4), 0 4px 12px rgba(249, 115, 22, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

.textColor {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Safari/Chrome */
    background-clip: text; /* Modern browsers */
    color: transparent; /* Fallback */
}

/* ===== ORIGINAL HEADER STYLING ===== */
.header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 247, 237, 0.9) 50%, rgba(254, 215, 170, 0.8) 100%);
    backdrop-filter: blur(40px);
    padding: 0.5rem 1rem;
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.15), 0 8px 16px rgba(249, 115, 22, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 28px;
    margin: 2.5rem auto;
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: sticky;
    top: 0;
    z-index: 100;
    max-width: 1400px;
    width: calc(100% - 5rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .header:hover {
        box-shadow: 0 32px 64px rgba(249, 115, 22, 0.2), 0 16px 32px rgba(249, 115, 22, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.95);
        transform: translateY(-3px);
    }

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #dc2626 100%);
    border: none;
    border-radius: 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4), 0 4px 12px rgba(249, 115, 22, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .logo-icon:hover {
        transform: scale(1.15) rotate(5deg);
        box-shadow: 0 16px 40px rgba(249, 115, 22, 0.5), 0 8px 20px rgba(249, 115, 22, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .logo-icon::before {
        content: 'TT';
        color: white;
        font-weight: 900;
        font-size: 1.4rem;
        letter-spacing: -0.5px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    white-space: nowrap;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav {
    margin: 0 auto;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 0.8rem;
    border: 1px solid rgba(249, 115, 22, 0.2);
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15), 0 4px 12px rgba(249, 115, 22, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}

    .nav-menu li {
        padding: 0.8rem 1.6rem;
        border-radius: 16px;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        font-weight: 700;
        font-size: 0.95rem;
        color: #475569;
        position: relative;
        white-space: nowrap;
        letter-spacing: -0.025em;
        overflow: hidden;
    }

        .nav-menu li::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.6s ease;
        }

        .nav-menu li:hover::before {
            left: 100%;
        }

        .nav-menu li.active {
            background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #dc2626 100%);
            color: white;
            box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4), 0 4px 12px rgba(249, 115, 22, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
        }

        .nav-menu li:hover:not(.active) {
            background: rgba(249, 115, 22, 0.1);
            color: #ea580c;
            transform: translateY(-2px);
        }

.utility-section {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
}

.utility-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 16px;
    padding: 0.8rem 1.4rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
    color: #475569;
    backdrop-filter: blur(20px);
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15), 0 4px 12px rgba(249, 115, 22, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

    .utility-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent);
        transition: left 0.6s ease;
    }

    .utility-btn:hover::before {
        left: 100%;
    }

    .utility-btn:hover {
        background: rgba(255, 255, 255, 1);
        border-color: #f97316;
        transform: translateY(-3px);
        box-shadow: 0 16px 40px rgba(249, 115, 22, 0.25), 0 8px 24px rgba(249, 115, 22, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .utility-btn .icon {
        width: 22px;
        height: 22px;
        stroke: #475569;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .utility-btn:hover .icon {
        stroke: #ea580c;
        transform: scale(1.1);
    }

    .utility-btn.settings {
        background: rgba(255, 255, 255, 0.98);
    }

    .utility-btn.notifications {
        background: rgba(255, 255, 255, 0.98);
        position: relative;
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .utility-btn.profile {
        background: rgba(255, 255, 255, 0.98);
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

.notification-dot {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5), 0 2px 6px rgba(239, 68, 68, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}


/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: left 0.5s ease;
    }

    .stat-card:hover::before {
        left: 100%;
    }

    .stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    }

    .stat-card.primary .stat-icon {
        background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
        color: white;
    }

    .stat-card.success .stat-icon {
        background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
        color: white;
    }

    .stat-card.warning .stat-icon {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        color: white;
    }

    .stat-card.info .stat-icon {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        color: white;
    }

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: #1c1917;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #78716c;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Left Column */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.greeting-section {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .greeting-section h2 {
        font-size: 1.8rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .greeting-section p {
        font-size: 1rem;
        color: #78716c;
        font-weight: 500;
    }

/* Main Visual */
.main-visual {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    height: 400px;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

    .slider-image.active {
        opacity: 1;
    }

.score-overlay {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    color: white;
    z-index: 10;
}

.score-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.score-value {
    font-size: 2rem;
    font-weight: 900;
    color: #fbbf24;
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.control-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .control-btn:hover {
        background: rgba(249, 115, 22, 0.9);
        transform: scale(1.1);
    }

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dot.active {
        background: #f97316;
        transform: scale(1.2);
    }

/* Right Column */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.qualifications-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.qualification-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .qualification-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    }

.qual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

    .qual-header h3 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #1c1917;
    }

.qual-score {
    font-size: 1.5rem;
    font-weight: 900;
    color: #f97316;
}

.qual-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
    border-radius: 4px;
    transition: width 1s ease;
}

.target {
    font-size: 0.8rem;
    color: #78716c;
    font-weight: 600;
}

/* Schedule Card */
.schedule-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

    .card-header h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #1c1917;
    }

.view-all {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .view-all:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
    }

.schedule-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.appointment {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(249, 115, 22, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(249, 115, 22, 0.1);
}

.time {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f97316;
    min-width: 80px;
}

.appointment-details {
    flex: 1;
}

.name {
    font-weight: 700;
    color: #1c1917;
    margin-bottom: 0.25rem;
}

.type {
    font-size: 0.85rem;
    color: #78716c;
}

/* Bottom Section */
.bottom-section {
    margin-top: 1rem;
}

.alerts-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .alerts-card .card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }

.alert-count {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

    .alert-item.critical {
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.2);
    }

    .alert-item.warning {
        background: rgba(245, 158, 11, 0.1);
        border: 1px solid rgba(245, 158, 11, 0.2);
    }

    .alert-item.info {
        background: rgba(59, 130, 246, 0.1);
        border: 1px solid rgba(59, 130, 246, 0.2);
    }

    .alert-item:hover {
        transform: translateX(8px);
    }

.alert-icon {
    font-size: 1.5rem;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 700;
    color: #1c1917;
    margin-bottom: 0.25rem;
}

.alert-desc {
    font-size: 0.9rem;
    color: #78716c;
}

.alert-action {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .alert-action:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
    }

/* Responsive Design */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-content {
        padding: 1rem;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .qualifications-grid {
        grid-template-columns: 1fr;
    }
}
