/* Custom styles for certifications section */
.page.five .icon {
    background: #7ec6fd;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
}

.page.five .icon span {
    color: white;
    font-size: 24px;
}

.page.five .resume-wrap {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    border-left: 4px solid #85bafa;
}

/* Dark theme support for Certificates */
[data-theme="dark"] .page.five .resume-wrap {
    background: #2d2d2d;
    border-left: 4px solid #85bafa;
}

.page.five .resume-wrap:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: white;
}

[data-theme="dark"] .page.five .resume-wrap:hover {
    background: #3a3a3a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page.five .date {
    color: #6d8cfd;
    font-weight: 600;
}

[data-theme="dark"] .page.five .date {
    color: #85bafa;
}

.page.five .position {
    color: #6c757d;
    font-style: italic;
}

[data-theme="dark"] .page.five .position {
    color: #b0b0b0;
}

/* Ensure all text is visible in dark theme */
[data-theme="dark"] .page.five .text.pl-3 h2 {
    color: #ffffff;
}

[data-theme="dark"] .page.five .text.pl-3 p {
    color: #e0e0e0;
}

[data-theme="dark"] .page.five .heading {
    color: #ffffff;
}

.flaticon-certificate:before {
    content: "📜";
    font-size: 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page.five .resume-wrap {
        flex-direction: column;
        text-align: center;
    }

    .page.five .icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .page.five .text.pl-3 {
        padding-left: 0 !important;
    }
}

/* Navigation styling */
#navi ul {
    list-style: none;
    padding: 0;
}

#navi ul li {
    margin-bottom: 10px;
}

#navi ul li a {
    color: #2c3e50;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    border-radius: 5px;
    transition: all 0.3s ease;
}

#navi ul li a:hover,
#navi ul li a.active {
    background: #3498db;
    color: white;
}