body.education-page {
    background: #1a1a1a; /* Match experience page */
    color: rgba(255, 255, 255, 0.9);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.education-page .page-container {
    background: transparent;
    position: relative;
    isolation: isolate;
}

.education-page .content-wrap {
    background: transparent;
    position: relative;
    z-index: 1;
}

/* Modified background effect to work with matrix rain */
.education-page .content-wrap::after {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(74, 158, 255, 0.15), transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(159, 122, 234, 0.15), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(72, 187, 120, 0.15), transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(237, 100, 166, 0.15), transparent 50%);
    background-color: rgba(26, 26, 26, 0.5); /* Match experience page opacity */
    z-index: -1;
    animation: gradientFlow 20s ease-in-out infinite alternate;
    margin-top: -200px;
}

/* Add CRT flicker effect like on experience page */
.education-page .page-container::after {
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    animation: flicker 0.15s infinite;
    opacity: 0.3;
    z-index: -3;
}

@keyframes flicker {
    0% { opacity: 0.3; }
    50% { opacity: 0.4; }
    100% { opacity: 0.3; }
}

/* Header section with matching experience page style */
.education-page .page-header {
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.7) 0%, 
        rgba(44, 62, 80, 0.7) 50%, 
        rgba(52, 152, 219, 0.7) 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(74, 158, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Subtle header overlay animation */
.education-page .page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 60%),
        linear-gradient(to right, rgba(74, 158, 255, 0.05) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(to bottom, rgba(74, 158, 255, 0.05) 1px, transparent 1px) 0 0 / 40px 40px;
    animation: pulse 10s infinite;
    z-index: -1;
    opacity: 0.7;
}

/* Header text styling */
.education-page .page-header h1 {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.education-page .page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    border-radius: 3px;
}

/* Scanning line effect */
.content-wrap::before {
    content: "";
    position: fixed;
    top: -2px; /* Start slightly above viewport */
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 255, 0, 0.2);
    animation: scanning 8s linear 1 forwards; /* Run only once and keep final state */
    pointer-events: none;
    z-index: 1000;
}

/* Connection lines animation - match experience page */
.education-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, rgba(74, 158, 255, 0.03) 0px, rgba(74, 158, 255, 0.03) 1px, transparent 1px, transparent 25px),
        repeating-linear-gradient(90deg, rgba(74, 158, 255, 0.03) 0px, rgba(74, 158, 255, 0.03) 1px, transparent 1px, transparent 25px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.2;
}

/* Animations */
@keyframes gradientFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

@keyframes scanning {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

/* ===== KEEP ALL EXISTING CONTAINER/CARD STYLING BELOW THIS LINE ===== */
/* Main card containers - update to match glass-card styling */
.card {
    background: rgba(40, 45, 60, 0.4) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.4s ease;
    animation: none; /* Remove float animation */
    margin-bottom: 3rem;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(74, 158, 255, 0.1), /* Reduced from 0.15 */
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

/* Remove shine effect from cards */
.card::after {
    display: none; /* Remove the diagonal shining effect */
}

/* Reduce intensity of mouse tracking glow on cards */
.card::before {
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(74, 158, 255, 0.1), /* Reduced from 0.15 */
        transparent 40%
    );
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: rgba(45, 50, 65, 0.5) !important;
}

/* Enhanced Card Headers - Main Section Titles - Remove underlines */
.card > .card-body > h4 {
    color: #ffffff !important;
    font-weight: 800; /* Increased boldness */
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    font-size: 2rem; /* Slightly larger */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); /* Enhanced shadow */
    letter-spacing: 0.6px;
    border-left: 4px solid rgba(74, 158, 255, 0.8); /* Left accent border */
    padding-left: 15px; /* Padding for border */
}

/* Remove the underline effect entirely */
.card > .card-body > h4::after {
    display: none; /* Remove the underline */
}

/* Remove hover effect for underline too */
.card:hover > .card-body > h4::after {
    display: none; /* Ensure it stays removed on hover */
}

/* Category Headings (h5) Improvement */
.certification-category h5 {
    margin-bottom: 2.25rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.4px;
}

.certification-category h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px; /* Start with shorter width */
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(74, 158, 255, 0.9), 
        rgba(159, 122, 234, 0.6), 
        transparent);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.19, 1, 0.22, 1), 
                background 0.4s ease, 
                box-shadow 0.4s ease;
    box-shadow: 0 0 8px rgba(74, 158, 255, 0.1);
}

.certification-category h5:hover::after {
    width: 180px; /* Expand on hover */
    background: linear-gradient(90deg, 
        rgba(74, 158, 255, 1), 
        rgba(159, 122, 234, 0.8),
        rgba(72, 187, 120, 0.5),
        transparent);
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.4), 0 0 15px rgba(159, 122, 234, 0.2);
}

/* Certification Item Headings (h6) Enhancement */
.cert-content h6 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    padding-bottom: 8px; /* More space for underline */
    letter-spacing: 0.3px;
}

.cert-content h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0; /* Start at 0 width */
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(74, 158, 255, 0.8), 
        rgba(159, 122, 234, 0.5));
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 6px rgba(74, 158, 255, 0.2);
}

.certification-item:hover .cert-content h6::after {
    width: 85%; /* Expand further on parent hover */
}

/* Education Content Headings (h5) Enhancement */
.education-content h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.2rem; /* Slightly more space */
    font-size: 1.35rem;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(74, 158, 255, 0.15); /* Subtle border */
    padding-right: 20px; /* Space after text */
}

.education-content h5::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Align with border-bottom */
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(74, 158, 255, 0.9), 
        rgba(159, 122, 234, 0.6),
        transparent);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 0 8px rgba(74, 158, 255, 0.2);
}

.education-item:hover .education-content h5::after {
    width: 95%; /* Nearly full width on hover */
}

/* Module Item Headings (h6) Enhancement */
.module-item h6 {
    color: white;
    font-weight: 700;
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    letter-spacing: 0.2px;
    padding-left: 12px; /* Space for left accent */
}

.module-item h6::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 3px;
    background: linear-gradient(to bottom, 
        rgba(74, 158, 255, 0.8), 
        rgba(159, 122, 234, 0.5));
    border-radius: 3px;
    opacity: 0.6;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.module-item:hover h6::before {
    opacity: 1;
    height: 90%;
}

.module-item h6::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 12px; /* Align with padding-left */
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(74, 158, 255, 0.7), 
        rgba(159, 122, 234, 0.4));
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.module-item:hover h6::after {
    width: 70%; /* Expand on hover */
}

/* Special styling for Completed Modules section */
.cert-modules {
    margin-bottom: 3rem;
}

.cert-modules h6 {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    padding-bottom: 0.5rem;
}

/* Remove underline effect from Completed Modules heading */
.cert-modules h6.text-muted {
    color: rgba(102, 183, 255, 0.9) !important; /* Bright blue color similar to other highlights */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); /* Enhanced shadow for better visibility */
    letter-spacing: 0.3px; /* Slight letter spacing */
    font-weight: 700; /* Make it bold */
}

.cert-modules h6.text-muted::after {
    display: none; /* Remove the underline effect */
}

/* Ensure no underline appears on hover */
.certification-item:hover .cert-modules h6.text-muted::after {
    width: 0;
    display: none;
}

/* Section title emphasis */
.text-primary {
    color: rgba(102, 183, 255, 1) !important; /* Brighter blue */
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Container for education and certifications */
.education-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* Add shine animation */
@keyframes shine {
    0% { transform: translateX(-100%) rotate(35deg); }
    100% { transform: translateX(100%) rotate(35deg); }
}

/* Certification items with enhanced glass card styling */
.certification-item {
    background: rgba(40, 45, 60, 0.7);
    border-radius: 15px;
    padding: 1.8rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transform-style: preserve-3d;
}

.certification-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(74, 158, 255, 0.08), /* Reduced from 0.15 */
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.certification-item:hover {
    transform: translateY(-5px) translateZ(10px);
    background: rgba(50, 55, 70, 0.8);
    box-shadow: 0 12px 30px rgba(74, 158, 255, 0.2);
}

/* Remove shine effect from certification items */
.certification-item::after {
    display: none; /* Remove the diagonal shining effect */
}

/* Reduce intensity of mouse tracking glow on certification items */
.certification-item::before {
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(74, 158, 255, 0.08), /* Reduced from 0.15 */
        transparent 40%
    );
}

.cert-content {
    position: relative;
    z-index: 2;
}

.cert-content h6 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
    position: relative;
    display: inline-block;
    padding-bottom: 8px; /* More space for underline */
    letter-spacing: 0.3px;
}

.cert-content h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0; /* Start at 0 width */
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(74, 158, 255, 0.8), 
        rgba(159, 122, 234, 0.5));
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 6px rgba(74, 158, 255, 0.2);
}

.certification-item:hover .cert-content h6::after {
    width: 85%; /* Expand further on parent hover */
}

/* Education content heading improvements */
.education-content h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.2rem; /* Slightly more space */
    font-size: 1.35rem;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(74, 158, 255, 0.15); /* Subtle border */
    padding-right: 20px; /* Space after text */
}

.education-content h5::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Align with border-bottom */
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(74, 158, 255, 0.9), 
        rgba(159, 122, 234, 0.6),
        transparent);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 0 8px rgba(74, 158, 255, 0.2);
}

.education-item:hover .education-content h5::after {
    width: 95%; /* Nearly full width on hover */
}

/* Module item heading improvements */
.module-item h6 {
    color: white;
    font-weight: 700; /* Increased from 600 */
    position: relative;
    z-index: 2;
    margin-bottom: 1rem; /* Increased from 0.8rem */
    font-size: 1.1rem; /* Added font size */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Added text shadow */
    position: relative;
    display: inline-block;
    letter-spacing: 0.2px;
    padding-left: 12px; /* Space for left accent */
}

.module-item h6::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 3px;
    background: linear-gradient(to bottom, 
        rgba(74, 158, 255, 0.8), 
        rgba(159, 122, 234, 0.5));
    border-radius: 3px;
    opacity: 0.6;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.module-item:hover h6::before {
    opacity: 1;
    height: 90%;
}

.module-item h6::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 12px; /* Align with padding-left */
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(74, 158, 255, 0.7), 
        rgba(159, 122, 234, 0.4));
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.module-item:hover h6::after {
    width: 70%; /* Expand on hover */
}

/* Special grid sizing just for Programming & AI section */
/* .programming-ai-section .certification-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); /* Increased from 300px 
    gap: 1.8rem; /* Increased from 1.5rem 
} */

/* Remove special grid sizing for Programming & AI section - revert to standard sizing */
.programming-ai-section .certification-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Standard size - reverted from 360px */
    gap: 1.5rem; /* Standard gap - reverted from 1.8rem */
}

/* Revert container size changes but keep styling enhancements */
.programming-ai-section .certification-item {
    background: rgba(35, 40, 55, 0.75);
    border: 1px solid rgba(74, 158, 255, 0.15);
    padding: 1.8rem; /* Standard padding - reverted from 2.2rem */
    margin: 1.5rem 0; /* Standard margin - reverted */
}

/* Keep enhanced hover effects but with standard lift */
.programming-ai-section .certification-item:hover {
    background: rgba(40, 45, 60, 0.85);
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(74, 158, 255, 0.15);
    transform: translateY(-5px) translateZ(10px); /* Standard lift - reverted from -8px */
}

/* Revert to standard title size */
.programming-ai-section .cert-content h6 {
    font-size: 1.25rem; /* Standard size - reverted from 1.35rem */
    margin-bottom: 1rem; /* Standard margin - reverted from 1.2rem */
}

/* Revert to standard logo size */
.programming-ai-section .cert-logo {
    width: 60px; /* Standard size - reverted from 70px */
    height: 60px; /* Standard size - reverted from 70px */
    margin-right: 0.75rem !important; /* Standard spacing - reverted */
}

/* Keep enhanced styling but with standard sizing for buttons */
.programming-ai-section .cert-badges .btn {
    padding: 0.5rem 1rem 0.5rem 1.8rem; /* Standard height - reverted */
    min-width: 160px; /* Standard width - reverted from 200px */
    font-size: 0.875rem; /* Standard size - reverted */
    margin-bottom: 8px;
    background: rgba(30, 35, 45, 0.7);
    border-color: rgba(74, 158, 255, 0.4);
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Keep standard spacing between buttons */
.programming-ai-section .cert-badges {
    gap: 10px; /* Standard gap - reverted from 15px */
    margin-top: 1rem; /* Standard margin - reverted from 1.5rem */
    display: flex;
    flex-wrap: wrap;
}

/* Keep the enhanced arrow styling but with standard positioning */
.programming-ai-section .cert-badges .btn::before {
    left: 0.6rem; /* Standard position - reverted from 0.8rem */
    font-size: 0.85rem; /* Standard size - reverted from 1rem */
    color: rgba(74, 158, 255, 1);
    text-shadow: 0 0 5px rgba(74, 158, 255, 0.5);
}

/* Enhanced Programming & AI Section */
.programming-ai-section {
    position: relative;
}

/* Make Programming & AI buttons more advanced looking */
.programming-ai-section .cert-badges .btn {
    background: rgba(30, 35, 45, 0.7);
    border-color: rgba(74, 158, 255, 0.4);
    color: rgba(255, 255, 255, 0.9) !important;
    padding-left: 1.8rem;
    padding-right: 1rem;
    border-radius: 8px;
    min-width: 160px;
    box-shadow: inset 0 0 10px rgba(74, 158, 255, 0.1), 0 3px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    margin-bottom: 8px;
}

.programming-ai-section .cert-badges .btn:hover {
    background: rgba(40, 45, 60, 0.95);
    border-color: rgba(74, 158, 255, 0.8);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: inset 0 0 15px rgba(74, 158, 255, 0.2), 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* Keep the existing arrow style but enhance its appearance */
.programming-ai-section .cert-badges .btn::before {
    content: ">"; /* Simple > arrow instead of FontAwesome */
    font-family: inherit; /* Use the default font instead of Font Awesome */
    font-weight: bold; /* Make the arrow bold for better visibility */
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    line-height: 1;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    height: 100%;
    color: rgba(74, 158, 255, 1);
    text-shadow: 0 0 5px rgba(74, 158, 255, 0.5);
}

/* Enhanced arrow appearance on hover */
.programming-ai-section .cert-badges .btn:hover::before {
    opacity: 1;
    left: 0.7rem;
    animation: pulse-arrow 1.5s infinite;
}

/* Add pulsing animation for the arrow */
@keyframes pulse-arrow {
    0%, 100% { opacity: 0.8; text-shadow: 0 0 5px rgba(74, 158, 255, 0.5); }
    50% { opacity: 1; text-shadow: 0 0 10px rgba(74, 158, 255, 0.8); }
}

/* Enhance the underline effect */
.programming-ai-section .cert-badges .btn::after {
    content: '';
    position: absolute;
    bottom: 0.4rem;
    left: 1.8rem;
    width: calc(100% - 2.2rem);
    height: 2px;
    background: linear-gradient(90deg, rgba(74, 158, 255, 0.8), rgba(159, 122, 234, 0.5));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.programming-ai-section .cert-badges .btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    background: linear-gradient(90deg, rgba(74, 158, 255, 1), rgba(159, 122, 234, 0.8));
    box-shadow: 0 0 8px rgba(74, 158, 255, 0.3);
}

/* Make the AI section certification items stand out */
.programming-ai-section .certification-item {
    background: rgba(35, 40, 55, 0.75);
    border: 1px solid rgba(74, 158, 255, 0.15);
}

.programming-ai-section .certification-item:hover {
    background: rgba(40, 45, 60, 0.85);
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(74, 158, 255, 0.15);
}

/* Special tech-themed highlight for programming section logos */
.programming-ai-section .cert-logo {
    position: relative;
    overflow: visible;
}

.programming-ai-section .cert-logo::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 15px;
    background: transparent;
    border: 1px solid rgba(74, 158, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.programming-ai-section .certification-item:hover .cert-logo::after {
    opacity: 1;
    animation: logo-pulse 2s infinite;
}

@keyframes logo-pulse {
    0%, 100% { border-color: rgba(74, 158, 255, 0.2); box-shadow: 0 0 10px rgba(74, 158, 255, 0.1); }
    50% { border-color: rgba(74, 158, 255, 0.4); box-shadow: 0 0 15px rgba(74, 158, 255, 0.2); }
}

/* Animations for buttons */
@keyframes pulse-border {
    0%, 100% { border-color: rgba(74, 158, 255, 0.3); }
    50% { border-color: rgba(74, 158, 255, 0.7); }
}

/* Add pulse animation to important buttons */
.programming-ai-section .cert-badges .btn:focus {
    animation: pulse-border 2s infinite;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 158, 255, 0.2);
}

/* Back to top button styling */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.9), rgba(22, 82, 240, 0.9));
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(84, 168, 255, 1), rgba(32, 92, 250, 1));
}

/* Improve visibility of Data Engineering Module items text */
.cert-modules .module-item h6 {
    color: #4a9eff !important; /* Bright blue color instead of white */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); /* Enhanced shadow for better contrast */
    font-weight: 700; /* Make it bold for better visibility */
}

/* Add a subtle gradient background to module items for better contrast */
.module-item {
    background: rgba(35, 40, 55, 0.75) !important; /* Darker background for better contrast */
    border: 1px solid rgba(74, 158, 255, 0.15); /* Add subtle border */
}

.module-item:hover {
    background: rgba(40, 45, 60, 0.85) !important; /* Slightly lighter on hover */
    border-color: rgba(74, 158, 255, 0.3); /* More visible border on hover */
}

/* Make module item dates more visible */
.module-item p.small.text-muted {
    color: rgba(200, 220, 255, 0.8) !important; /* Light blue-ish color instead of gray */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Add subtle shadow for better contrast */
}

.blockchain-badge {
    color: #1976d2 !important; /* Brighter blue for visibility */
    font-weight: 600;
}