* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}
.breadcrumbs{
    margin-top: 70px;
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    margin-top: -10px;
}
/* #cards-container{
    margin-top: 60px !important;
} */
.profile-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    width: 300px;
    text-align: center;
}

.circular-image {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.student-name {
    font-size: 1.5em;
    margin: 10px 0;
}

.verified {
    color: green;
}

.student-number, .year {
    font-size: 1em;
    margin: 5px 0;
}

.status-container {
    position: relative;
    width: 100%;
    padding: 20px 0px;
}

.status-bar {
    width: 100%;
    height: 8px;
    appearance: none;
}
.status-bar:disabled {
    background: linear-gradient(to right, #15882e 50%, #f0a400 100%);
    border-radius: 10px;
  }

.status-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7em;
    color: #ffffff;
    background-color: #ffbb00;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.view-profile {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 5px;
}

.view-profile:hover {
    background-color: #0056b3;
}

/* second file  */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.breadcrumbs {
    padding: 10px;
    background-color: #e9ecef;
}

.breadcrumbs a {
    text-decoration: none;
    color: #007bff;
}

.breadcrumbs span {
    color: #6c757d;
}

.profile-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    /* margin-top: 60px; */
}
/* card  */
.left-section, .right-section {
    flex: 1;
    max-width: 600px;
    margin: 10px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    text-align: center;
}

.circular-image {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.student-name {
    font-size: 1.5em;
    margin: 10px 0;
}

.course-name, .student-number {
    font-size: 1em;
    margin: 5px 0;
}

.status-container, .project-slider {
    position: relative;
    width: 100%;
    margin: 10px 0;
}

.status-bar, .project-bar {
    width: 100%;
}

.status-percentage, .project-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7em;
    color: #361414;
    font-weight: bold;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 400px; /* Adjust the height as needed */
    overflow: hidden;
}

canvas {
    width: 100% !important;
    height: 100% !important;
}

.skills-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 60%;
    margin: 0 auto;
    /* padding: 20px; */
    /* border: 1px solid #ddd; */
}

.skills-card {
    display: flex;
    /* flex-direction: column; */
    flex-wrap: wrap;
    justify-content: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    width: 300px;
    text-align: left;
}

.skills-card h3 {
    text-align: center;
    flex: 1 0 100%;
    margin-bottom: 20px;
}

.container {
    width: 100%;
    background-color: #ddd;
    /* margin: 10px 0; */
    border-radius: 5px;
    /* margin-top: 60px !important; */
    overflow: hidden;
}

.skills {
    text-align: right;
    padding: 10px;
    color: white;
    border-radius: 5px;
}

.html {width: 90%; background-color: #04AA6D;}
.css {width: 80%; background-color: #2196F3;}
.js {width: 65%; background-color: #f44336;}
.php {width: 60%; background-color: #808080;}
#pro-title{
    flex: 1 0 100%;
    text-align: center;
    margin: 20px 0;
}
/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .profile-container, .skills-container {
        flex-direction: column;
        /* align-items: center; */
    }

    .left-section, .right-section, .skills-card {
        max-width: 100%;
    }
}

/* new skills  */
/* skills  */
.skills-wrapper {
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
    margin: 0 auto;
}

.skill-box {
    width: 100%;
    margin: 25px 0;
}

.skill-box h3 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.skill-bar {
    height: 8px;
    background: #e6e6e6;
    border-radius: 6px;
    position: relative;
}

.skill-per {
    position: relative;
    display: block;
    height: 100%;
    width: 95%;
    border-radius: 6px;
    background: linear-gradient(to right, #4CAF50, #45a049);
    animation: progress 0.4s ease-in-out forwards;
    opacity: 0;
}

.skill-per.html { width: 90%; }
.skill-per.css { width: 80%; }
.skill-per.javascript { width: 75%; }

.tooltip {
    position: absolute;
    right: -14px !important;
    bottom: -28px; /* Changed from top to bottom */
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    background: #4CAF50;
    z-index: 1;
}

.tooltip::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -5px; /* Changed from bottom to top */
    height: 10px;
    width: 10px;
    z-index: -1;
    background-color: #4CAF50;
    transform: translateX(-50%) rotate(45deg);
}

@keyframes progress {
    0% {
        width: 0;
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    .skills-wrapper {
        padding: 0 10px;
    }
    .skill-box {
        margin: 15px 0;
    }
}


/* new card for main skills  */
.marking-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.marking-container > h2{
    text-align: center;
}
.marks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mark-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.subject-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.grade {
    background: #4CAF50;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.mark-item {
    margin: 15px 0;
}

.mark-bar {
    background: #f0f0f0;
    height: 10px;
    border-radius: 5px;
    position: relative;
    margin-top: 5px;
    margin-right: 25px; /* Added space for percentage */
}

.progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #2196F3, #00BCD4);
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.mark-value {
    position: absolute;
    right: -25px;
    top: -5px; /* Adjusted to align with bar */
    font-size: 12px;
    font-weight: bold;
    color: #333;
    background: transparent;
    padding: 0 2px;
}

.total-marks {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: right;
    font-weight: bold;
}

@media (max-width: 768px) {
    .marks-grid {
        grid-template-columns: 1fr;
    }
}
/* name img cardv start  */
.student-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 6px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
    /* max-width: 500px; */
    /* margin: 20px; */
}

.profile-section {
    display: flex;
    gap: 25px;
    align-items: center;
}

.image-container {
    position: relative;
    flex-shrink: 0;
}

.circular-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #4CAF50;
    transition: transform 0.3s ease;
}

.verify-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #4CAF50;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.profile-info {
    flex: 1;
}

.student-name {
    color: #2c3e50;
    font-size: 24px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.info-item {
    margin: 8px 0;
}

.label {
    color: #4d6892;
    font-size: 14px;
    font-weight: 700;
    margin-right: 10px;
    text-transform: uppercase;
}

.value {
    color: #34495e;
    font-weight: 600;
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    margin: 25px 0;
}

.status-section {
    margin-top: 20px;
}
.status-container {
    position: relative;
    width: 100%;
    margin: 20px 0;
}
.status-label {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 12px;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: visible; /* Changed from hidden to show text */
}

.progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049, #2196F3);
    background-size: 200% 100%;
    border-radius: 6px;
    width: 0;
    transition: width 1s ease-in-out;
    animation: gradientShift 3s linear infinite;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: glowShift 2s linear infinite;
}

.progress-text {
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 14px;
    font-weight: 600;
    color: #4CAF50;
    transition: color 0.3s ease;
}

@keyframes gradientShift {
    0% { background-position: 0 0; }
    100% { background-position: 200% 0; }
}

@keyframes glowShift {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
@media screen and (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
    }

    .image-container {
        margin-bottom: 20px;
    }

    .profile-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
/* right section card info  */
.info-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.info-header {
    text-align: center;
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
}

.info-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    border-radius: 2px;
}

.info-content {
    padding: 10px 0;
}

.info-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    min-width: 100px;
    color: #7f8c8d;
    font-weight: 500;
    font-size: 0.95rem;
}

.info-value {
    color: #2c3e50;
    font-weight: 500;
    flex: 1;
}

@media (max-width: 768px) {
    .info-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .info-label {
        min-width: auto;
    }
}
/* bottom table start  */
.table-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin: 10px auto;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.responsive-table th,
.responsive-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.responsive-table th {
    background-color: #2196F3;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

.polygon-mark {
    background: #4CAF50;
    color: white;
    padding: 10px;
    display: inline-block;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    width: 60px;
    height: 60px;
    line-height: 40px;
    font-weight: bold;
}

.polygon-mark.total {
    background: #2196F3;
    width: 70px;
    height: 70px;
    line-height: 50px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .responsive-table thead {
        display: none;
    }
    
    .responsive-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
    
    .responsive-table td {
        display: block;
        text-align: right;
        padding: 15px;
        position: relative;
        border-bottom: 1px solid #ddd;
    }
    
    .responsive-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        font-weight: bold;
    }
    
    .polygon-mark {
        margin-left: 10px;
    }
}
/* project outer start  */
.project-outer{
    /* border: 1px solid #f5e4e4; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
    margin: 5px auto;
    border-radius: 5px;
    background-color: #f5f5f5;
}
.project-outer #project-main-title{
    flex: 1 0 100%;
    text-align: center;
}

.load-more {
    text-align: center;
    margin: 10px 0;
    padding: 10px;
}

.load-more button {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.load-more button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.load-more button:disabled {
    opacity: 0.7;
    cursor: wait;
    background: #6c757d;
}
