/* Variables and Reset - Using previous styles plus new achievement styles */
 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #cb0c0c;
    --primary-dark: #952624;
    --secondary-color: #f59e0b;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

 

/* Keep all previous sidebar, content-area, page-header, breadcrumb styles from before */
/* (All the sidebar and basic layout CSS from the previous response) */

/* Achievement-specific styles */
.achievements-intro {
    margin-bottom: 30px;
}

.intro-card-achievements {
    background: linear-gradient(135deg, #fff4e6 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(245, 158, 11, 0.15);
    display: flex;
    gap: 25px;
    align-items: center;
}

.intro-icon-achievements {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.intro-content-achievements h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.intro-content-achievements p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.8;
    margin: 0;
}

/* Achievement Cards */
.achievement-card-wrapper {
    margin-bottom: 40px;
}

.achievement-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.achievement-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

/* Certificate Container */
.certificate-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.certificate-container:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.certificate-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.certificate-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(203, 12, 12, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: var(--transition);
    border-radius: 16px;
}

.certificate-container:hover .certificate-hover-overlay {
    opacity: 1;
}

.certificate-hover-overlay i {
    font-size: 48px;
    color: #ffffff;
}

.certificate-hover-overlay span {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Achievement Content */
.achievement-content {
    padding-left: 20px;
}

.year-badge-inline {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(203, 12, 12, 0.3);
}

.achievement-heading {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.achievement-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
}

.achievement-quote {
    background: linear-gradient(135deg, #fff4e6 0%, #ffffff 100%);
    padding: 25px;
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
}

.achievement-quote i {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 40px;
    color: rgba(203, 12, 12, 0.1);
}

.achievement-quote p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-medium);
    margin: 0;
}

.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.achievement-tags .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-medium);
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.achievement-tags .tag:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(203, 12, 12, 0.15);
}

.achievement-tags .tag i {
    font-size: 16px;
    color: var(--primary-color);
}

/* Stats Section */
.achievements-stats {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 50px;
    border: 1px solid var(--border-color);
}

.stats-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
}

.stat-box {
    background: linear-gradient(135deg, #fff4e6 0%, #ffffff 100%);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(245, 158, 11, 0.2);
    transition: var(--transition);
    height: 100%;
}

.stat-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--secondary-color);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-desc {
    font-size: 13px;
    color: var(--text-light);
}

/* Modal Styles */
.certificate-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.certificate-modal .modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border-radius: 20px 20px 0 0;
    padding: 20px 30px;
    border-bottom: none;
}

.certificate-modal .modal-title {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.certificate-modal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.certificate-modal .modal-body {
    padding: 30px;
    background: var(--bg-light);
    max-height: 70vh;
    overflow-y: auto;
}

.modal-cert-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    cursor: zoom-in;
    transition: var(--transition);
}

.modal-cert-img.zoomed {
    cursor: zoom-out;
    transform: scale(1.5);
}

.certificate-modal .modal-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 20px 30px;
    border-radius: 0 0 20px 20px;
    gap: 12px;
}

.certificate-modal .btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.certificate-modal .btn-secondary {
    background: var(--text-light);
    border-color: var(--text-light);
    color: #ffffff;
}

.certificate-modal .btn-secondary:hover {
    background: var(--text-medium);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.certificate-modal .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: #ffffff;
}

.certificate-modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(203, 12, 12, 0.4);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(203, 12, 12, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: #ffffff;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Sidebar Styles (if not already included) */
.sidebar {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 0;
    min-height: 100vh;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
}

.sidebar-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    position: relative;
    z-index: 1;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.2) 100%);
    margin-top: 12px;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav .nav-link {
    color: var(--text-medium);
    padding: 16px 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-nav .nav-link i:first-child {
    font-size: 18px;
    color: var(--text-light);
    transition: var(--transition);
}

.sidebar-nav .nav-link span {
    flex: 1;
}

.sidebar-nav .nav-link .arrow {
    font-size: 14px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    background: linear-gradient(90deg, rgba(203, 12, 12, 0.05) 0%, transparent 100%);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 35px;
}

.sidebar-nav .nav-link:hover i:first-child,
.sidebar-nav .nav-link.active i:first-child {
    color: var(--primary-color);
    transform: scale(1.1);
}

.sidebar-nav .nav-link:hover .arrow,
.sidebar-nav .nav-link.active .arrow {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-footer {
    padding: 20px;
    margin-top: auto;
}

.contact-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.contact-card h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-bottom: 20px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary-dark);
}

/* Content Area */
.content-area {
    background-color: var(--bg-light);
    padding: 0;
    min-height: 100vh;
}

.content-wrapper {
    padding: 40px 60px;
    max-width: 1600px;
}

/* Page Header */
.page-header {
    margin-bottom: 30px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb-link {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-link:hover {
    color: var(--primary-color);
}

.breadcrumb-nav i {
    color: var(--text-light);
    font-size: 12px;
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 500;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 400;
    margin: 0;
}

/* Scrollbar */
.sidebar::-webkit-scrollbar,
.certificate-modal .modal-body::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track,
.certificate-modal .modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb,
.certificate-modal .modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.certificate-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Responsive Design */

/* Tablet */
@media (max-width: 991px) {
    .sidebar {
        min-height: auto;
        position: relative;
        height: auto;
    }
    
    .sidebar-footer {
        display: none;
    }
    
    .content-wrapper {
        padding: 35px 30px;
    }
    
    .page-title {
        font-size: 38px;
    }
    
    .intro-card-achievements {
        padding: 30px;
        gap: 20px;
    }
    
    .intro-icon-achievements {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .achievement-card {
        padding: 30px;
    }
    
    .achievement-content {
        padding-left: 0;
        margin-top: 20px;
    }
    
    .achievement-heading {
        font-size: 24px;
    }
    
    .achievements-stats {
        padding: 40px 30px;
    }
    
    .stats-title {
        font-size: 28px;
    }
    
    .cta-section {
        padding: 50px 40px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .sidebar-header {
        padding: 20px 15px;
    }
    
    .sidebar-title {
        font-size: 22px;
    }
    
    .sidebar-nav .nav-link {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .content-wrapper {
        padding: 25px 20px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 14px;
    }
    
    .intro-card-achievements {
        flex-direction: column;
        padding: 25px;
        text-align: center;
    }
    
    .intro-icon-achievements {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin: 0 auto;
    }
    
    .intro-content-achievements h3 {
        font-size: 20px;
    }
    
    .intro-content-achievements p {
        font-size: 14px;
    }
    
    .achievement-card {
        padding: 25px;
    }
    
    .achievement-heading {
        font-size: 22px;
    }
    
    .achievement-quote {
        padding: 20px;
    }
    
    .achievement-quote i {
        font-size: 30px;
    }
    
    .achievement-quote p {
        font-size: 14px;
    }
    
    .achievement-tags {
        gap: 8px;
    }
    
    .achievement-tags .tag {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .achievements-stats {
        padding: 35px 25px;
    }
    
    .stats-title {
        font-size: 24px;
    }
    
    .stat-box {
        padding: 30px 20px;
        margin-bottom: 15px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .cta-section {
        padding: 40px 25px;
        border-radius: 16px;
    }
    
    .cta-section h3 {
        font-size: 24px;
    }
    
    .cta-section p {
        font-size: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
    }
    
    .certificate-modal .modal-dialog {
        max-width: 95%;
        margin: 0.5rem auto;
    }
    
    .certificate-modal .modal-header {
        padding: 15px;
    }
    
    .certificate-modal .modal-title {
        font-size: 16px;
    }
    
    .certificate-modal .modal-body {
        padding: 15px;
        max-height: 50vh;
    }
    
    .certificate-modal .modal-footer {
        padding: 12px 15px;
        flex-direction: column;
    }
    
    .certificate-modal .btn {
        width: 100%;
        justify-content: center;
    }
    
    .certificate-hover-overlay i {
        font-size: 36px;
    }
    
    .certificate-hover-overlay span {
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .page-title {
        font-size: 28px;
    }
    
    .achievement-heading {
        font-size: 20px;
    }
    
    .stats-title {
        font-size: 22px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .cta-section h3 {
        font-size: 22px;
    }
}

/* Accessibility */
a:focus,
button:focus,
.certificate-container:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.achievement-card-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
    .sidebar,
    .cta-section,
    .breadcrumb-nav,
    .certificate-hover-overlay {
        display: none;
    }
    
    .content-area {
        width: 100% !important;
    }
    
    .achievement-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}