* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #222;
}

/* Header */

header {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    text-align: center;
    padding: 35px 20px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

header h1 {
    margin: 0;
    font-size: 36px;
}

header p {
    margin-top: 8px;
    font-size: 18px;
}
/* Main */

main {
    width: 90%;
    max-width: 1000px;
    margin: 30px auto;
}

/* Welcome */

.welcome {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.welcome h2 {
    margin-bottom: 10px;
}

/* Dashboard */

.dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.card h3 {
    margin-bottom: 15px;
}

.card p {
    font-size: 30px;
    font-weight: bold;
}

/* Skills */

.skills-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
}

.skills-section h2 {
    margin-bottom: 20px;
}

.skill {
    margin-bottom: 20px;
}

.skill p {
    margin-bottom: 8px;
    font-weight: bold;
}

.progress {
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #1f2937;
    border-radius: 10px;
}

/* DSA Tracker */

.dsa-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
}

.dsa-section h2 {
    margin-bottom: 20px;
}

.dsa-item {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.dsa-item p {
    margin-bottom: 6px;
}

/* Projects */

.projects-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
}

.projects-section h2 {
    margin-bottom: 20px;
}

.project-card {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
}

.project-card h3 {
    margin-bottom: 10px;
}

.project-card p {
    margin-bottom: 8px;
}

/* Mobile */

@media (max-width: 700px) {

    .dashboard {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 450px) {

    .dashboard {
        grid-template-columns: 1fr;
    }

}
/* Certifications */

.certifications-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
}

.certifications-section h2 {
    margin-bottom: 20px;
}

.certificate-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.certificate-card h3 {
    margin-bottom: 8px;
}

.certificate-card p {
    margin-bottom: 5px;
}
/* Career Goals */

.goals-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
}

.goals-section h2 {
    margin-bottom: 20px;
}

.goal-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.goal-card h3 {
    margin-bottom: 8px;
}

.goal-card p {
    line-height: 1.5;
}
/* Footer */

footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

footer p {
    font-size: 14px;
}
.skill,
.project-card,
.certificate-card,
.goal-card,
.dsa-item {
    background: white;
    padding: 20px;
    margin: 15px 0;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.skill:hover,
.project-card:hover,
.certificate-card:hover,
.goal-card:hover,
.dsa-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.12);
}
button {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    margin: 5px;
    transition: 0.2s;
}

button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
body {
    background: #f4f6fb;
    color: #222;
}
input,
select {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    margin: 5px;
    outline: none;
}

input:focus,
select:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.15);
}
@media (max-width: 600px) {

    main {
        padding: 15px;
    }

    .dashboard {
        grid-template-columns: 1fr;
    }

    input,
    select,
    button {
        width: 100%;
        box-sizing: border-box;
        margin: 5px 0;
    }

    header h1 {
        font-size: 28px;
    }

    header p {
        font-size: 16px;
    }
}
