        :root {
            --bg-primary: #0A0A1A;
            --accent-cyan: #00D1FF;
            --accent-purple: #6C5CE7;
            --text-light: #FFFFFF;
            --text-muted: #d1d5db;
            --card-bg: rgba(255, 255, 255, 0.05);
            --card-border: rgba(255, 255, 255, 0.1);
            --card-glow: 0 0 30px rgba(0, 209, 255, 0.15);
            --gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-primary);
            color: var(--text-muted);
            line-height: 1.7;
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            color: var(--text-light);
        }

        .section-padding {
            padding: 100px 0;
        }

        .section-title {
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 2px;
            color: var(--accent-cyan);
            margin-bottom: 10px;
        }

        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .fade-in.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .btn {
            padding: 12px 30px;
            font-weight: 700;
            border-radius: 50px;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .btn:hover {
            transform: scale(1.05);
            box-shadow: 0 0 25px rgba(0, 209, 255, 0.5);
        }

        .btn-cyan {
            background-color: var(--accent-cyan);
            color: var(white);
            border: 2px solid var(--accent-cyan);
        }

        .btn-cyan:hover {
            background-color: #00b8e6;
            border-color: #00b8e6;
            color: var(--bg-primary);
        }


        .navbar-custom {
            background: #0a0a1a;
            transition: background-color 0.4s ease, padding 0.4s ease;
            padding: 20px 0;
        }

        .navbar-custom.scrolled {
            background-color: var(--bg-primary);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            padding: 10px 0;
        }

        .navbar-custom .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
            color: var(--accent-cyan);
            text-shadow: 0 0 10px rgba(0, 209, 255, 0.7);
        }

        .navbar-custom .nav-link {
            color: white;
            font-weight: 600;
            margin: 0 10px;
            text-transform: uppercase;
            font-size: 0.9rem;
        }

        .navbar-custom .nav-link.active,
        .navbar-custom .nav-link:hover {
            color: var(--accent-cyan);
        }

        .navbar-custom .social-icons a {
            color: var(--text-muted);
            font-size: 1.2rem;
            margin-left: 15px;
            transition: all 0.3s ease;
        }

        .navbar-custom .social-icons a:hover {
            color: var(--accent-cyan);
            transform: scale(1.2);
        }


        .hero-section {
            min-height: 100vh;
            background-color: var(--bg-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            padding-top: 100px;
        }
        
        #particle-js-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-visual {
            position: relative;
            margin-top: 40px;
        }

        .hero-visual img {
            border-radius: 15px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.5);
        }

        .play-button-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100px;
            height: 100px;
            background-color: rgba(0, 209, 255, 0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: var(--bg-primary);
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 0 30px rgba(0, 209, 255, 0.7);
        }

        .play-button-overlay:hover {
            transform: translate(-50%, -50%) scale(1.1);
            background-color: var(--accent-cyan);
        }


        .service-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 15px;
            padding: 40px;
            text-align: center;
            height: 100%;
            transition: all 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--card-glow);
            border-color: var(--accent-cyan);
        }

        .service-icon {
            font-size: 3rem;
            color: var(--accent-cyan);
            margin-bottom: 20px;
        }

      
        .portfolio-grid {
            column-count: 3;
            column-gap: 20px;
        }

        .portfolio-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            margin-bottom: 20px;
            display: inline-block;
            width: 100%;
        }

        .portfolio-item img {
            width: 100%;
            height: auto;
            transition: transform 0.4s ease;
        }

        .portfolio-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 209, 255, 0.8), rgba(108, 92, 231, 0.8));
            opacity: 0;
            transition: all 0.4s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .portfolio-item:hover .portfolio-overlay {
            opacity: 1;
        }

        .portfolio-item:hover img {
            transform: scale(1.1);
        }
        
        .play-icon {
            font-size: 3rem;
            color: var(--text-light);
        }

        .tech-tags {
            position: absolute;
            bottom: 15px;
            left: 15px;
            z-index: 3;
        }

        .tech-tags .badge {
            background-color: rgba(10, 10, 26, 0.7);
            color: var(--accent-cyan);
            font-weight: 600;
        }

        @media (max-width: 991px) {
            .portfolio-grid { column-count: 2; }
        }
        @media (max-width: 767px) {
            .portfolio-grid { column-count: 1; }
        }

    
        .diamond-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin-top: 50px;
        }

        .diamond-card {
            width: 220px;
            height: 220px;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            transform: rotate(45deg);
            margin: 30px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        .diamond-card:hover {
            box-shadow: var(--card-glow);
            border-color: var(--accent-cyan);
        }

        .diamond-content {
            transform: rotate(-45deg);
            text-align: center;
            color: var(--text-light);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--accent-cyan);
            display: block;
        }


        .team-section {
            position: relative;
            background-color: #0c0c1e; 
        }
        .team-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('https://picsum.photos/seed/circuit/1920/1080');
            background-size: cover;
            background-position: center;
            opacity: 0.05;
            z-index: 1;
        }
        .team-section .container {
            position: relative;
            z-index: 2;
        }
        .team-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            transition: all 0.3s ease;
        }
        .team-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--card-glow);
        }
        .team-card img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 20px;
            border: 4px solid var(--accent-cyan);
        }
        .team-card h5 {
            color: var(--text-light);
        }
        .team-card p {
            color: var(--accent-cyan);
            font-weight: 600;
            margin-bottom: 15px;
        }
        .team-card .social-link {
            color: var(--text-muted);
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }
        .team-card .social-link:hover {
            color: var(--accent-cyan);
        }

        .blog-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 15px;
            overflow: hidden;
            height: 100%;
            transition: all 0.3s ease;
        }
        .blog-card:hover {
            box-shadow: var(--card-glow);
            transform: translateY(-5px);
        }
        .blog-card .card-body {
            padding: 30px;
        }
        .blog-card .card-title {
            color: var(--text-light);
        }
        .blog-card .card-text {
            color: var(--text-muted);
        }
        .blog-card .blog-date {
            font-size: 0.9rem;
            color: var(--accent-cyan);
            margin-bottom: 10px;
        }
        .blog-card .read-more {
            color: var(--accent-cyan);
            text-decoration: none;
            font-weight: 600;
        }
        .blog-card .read-more:hover {
            text-decoration: underline;
        }

       
        .cta-banner {
            position: relative;
            padding: 100px 0;
            background-image: url('https://picsum.photos/seed/devdesk/1920/1080');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }
        .cta-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 10, 26, 0.85);
        }
        .cta-banner .award {
            font-size: 0.9rem;
            letter-spacing: 2px;
            color: var(--accent-cyan);
            text-transform: uppercase;
        }

     
        .footer-section {
            border-top: 1px solid var(--card-border);
        }
        .footer-section h5 {
            color: var(--text-light);
            margin-bottom: 20px;
            font-weight: 600;
        }
        .footer-section .list-unstyled li {
            margin-bottom: 10px;
        }
        .footer-section .list-unstyled a,
        .footer-section p {
            text-decoration: none;
            color: var(--text-muted);
            transition: all 0.3s ease;
        }
        .footer-section .list-unstyled a:hover {
            color: var(--accent-cyan);
        }
        .footer-bottom {
            border-top: 1px solid var(--card-border);
        }

      
        



/* --- Base Modal (for all modals) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px); /* Optional: Adds a nice blur to the background */
}

/* =================================
FIX: Modal Content Sizing & Gradient Border
================================= */
.modal-content {
    background-color: #1a1a2e; /* Darker background for content */
    color: #e0e0e0; /* Light text for dark background */
    margin: 8% auto; /* FIX: Increased top margin from 5% to 8% */
    padding: 30px;
    border: 3px solid transparent; /* Prepare for gradient border */
    border-radius: 25px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5); /* Stronger shadow */
    animation: slide-down 0.3s ease-out forwards; /* 'forwards' keeps the end state */

    width: 90%;
    max-width: 1200px; /* Adjusted max-width for better two-column layout */
    max-height: 90vh; /* Modal itself is scrollable */
    overflow-y: auto;
    
    /* Gradient Border (initial state) */
    background-image: linear-gradient(#1a1a2e, #1a1a2e), 
                      linear-gradient(to right, #00D1FF, #6C5CE7); /* Teal to Purple */
    background-origin: border-box;
    background-clip: padding-box, border-box;

    /* Animation for the border */
    animation: slide-down 0.3s ease-out forwards, 
               border-animate 5s linear infinite alternate; /* Border animation */
}

@keyframes slide-down {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Keyframes for the gradient border animation */
@keyframes border-animate {
    0% { background-image: linear-gradient(#1a1a2e, #1a1a2e), linear-gradient(to right, #00D1FF, #6C5CE7); } /* Teal to Purple */
    50% { background-image: linear-gradient(#1a1a2e, #1a1a2e), linear-gradient(to right, #6C5CE7, #00D1FF); } /* Purple to Teal */
    100% { background-image: linear-gradient(#1a1a2e, #1a1a2e), linear-gradient(to right, #00D1FF, #6C5CE7); } /* Back to Teal to Purple */
}
@keyframes border-animate {
    0% { transform: rotate(0deg), background-image: linear-gradient(#1a1a2e, #1a1a2e), linear-gradient(to right, #00D1FF, #6C5CE7); }
    50% { transform: rotate(360deg), background-image: linear-gradient(#1a1a2e, #1a1a2e), linear-gradient(to right, #6C5CE7, #00D1FF); }
    100% { transform: rotate(0deg), background-image: linear-gradient(#1a1a2e, #1a1a2e), linear-gradient(to right, #00D1FF, #6C5CE7); }
    
    
}


.close-btn {
    color: #e0e0e0; /* Match modal text color */
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-btn:hover,
.close-btn:focus {
    color: #00D1FF; /* Hover color */
    text-decoration: none;
    cursor: pointer;
}

/* --- "About Me" Modal Specifics --- */
.about-modal-body {
    display: flex;
    flex-wrap: wrap; /* Allows cards to wrap for responsiveness */
    gap: 30px; /* Space between the two main cards */
    align-items: flex-start; /* Ensures content aligns at the top */
}

.about-card {
    flex: 1 1 45%; /* FLEX FIX: Allows cards to grow/shrink, but prefers ~45% width initially */
    min-width: 300px; /* Prevents cards from becoming too narrow before wrapping */
    box-sizing: border-box; /* Include padding/border in element's total width/height */
}

.about-photo {
    flex: 1 1 40%; /* Give photo a bit less preference on wider screens */
    display: flex; /* Helps center image if needed */
    justify-content: center;
    align-items: center;
}

.about-photo img {
    width: 100%;
    height: auto; /* Maintains aspect ratio */
    object-fit: cover;
    border-radius: 20px;
    max-height: 500px; /* Prevents image from being overly tall on larger screens */
    border: 2px solid #6C5CE7; /* Subtle border for image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.about-text {
    flex: 2 1 50%; /* Gives the text more space on wider screens */
    padding: 15px 0; /* Add some padding for visual separation */
}

.about-text h2 {
    margin-top: 0;
    font-size: 2.8rem; /* Slightly larger title */
    color: #00D1FF; /* Teal color for emphasis */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.about-text .lead-bio {
    font-size: 1.35rem; /* Larger lead bio */
    font-weight: 500; /* Slightly lighter */
    color: #bbbbbb; /* Softer white */
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.about-text ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.about-text ul li {
    position: relative;
    padding-left: 30px; /* More space for checkmark */
    margin-bottom: 15px;
    font-size: 1.1rem; /* Slightly larger list items */
    color: #cccccc;
}

.about-text ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0; /* Align with text */
    color: #00D1FF; /* Teal checkmark */
    font-weight: bold;
    font-size: 1.3em;
}

/* Action Buttons within the About section */
.about-text .btn {
    margin-top: 25px;
    margin-right: 15px;
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) { /* Adjust for medium screens (tablets) */
    .modal-content {
        max-width: 90%; /* Allow modal to take up more width */
        padding: 25px;
    }
    .about-modal-body {
        gap: 20px;
    }
    .about-card {
        min-width: 45%; /* Keep side-by-side as long as possible */
    }
    .about-text h2 {
        font-size: 2.2rem;
    }
    .about-text .lead-bio {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) { /* Adjust for smaller screens (mobile) */
    .modal-content {
        width: 95%;
        margin-top: 125px; /* FIX: Set to 45px as you requested */
        margin-bottom: 45px; /* Added for symmetry */
        padding: 20px;
        max-height: 90vh;
    }

    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 2rem;
    }
    
    .about-modal-body {
        flex-direction: column; /* Stacks image and text vertically */
        gap: 25px;
    }
    
    .about-card {
        flex: 1 1 100%; /* Each card takes full width */
        min-width: auto; /* Remove min-width constraint */
    }
    
    .about-photo img {
        max-height: 300px; /* Constrain image height on mobile */
        width: 90%; /* Slightly smaller image to give some padding */
        border-radius: 15px;
    }
    
    .about-text {
        text-align: center;
        padding: 0; /* Remove horizontal padding */
    }

    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text .lead-bio {
        font-size: 1.05rem;
    }
    
    /* Center list items for mobile */
    .about-text ul {
        display: inline-block; /* Allows auto-width and then centering of the block */
        text-align: left; /* Text within the block remains left-aligned */
        margin-top: 1rem;
    }
    .about-text ul li {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .about-text .btn {
        display: block; /* Stack buttons vertically */
        width: 90%;
        margin: 15px auto 0 auto; /* Center buttons */
    }
}

@media (max-width: 480px) { /* Even smaller mobile screens */
    .modal-content {
        background-color: #1a1a2e; /* Darker background for content */
    color: #e0e0e0; /* Light text for dark background */
    margin: 5% auto; /* Centered with 5% top/bottom margin for desktop */
    padding: 30px;
        padding: 15px;
        margin-top: 15px; /* Even less margin from top */
    }
    .about-photo img {
        max-height: 250px;
        width: 95%;
    }
    .about-text h2 {
        font-size: 1.8rem;
    }
    .about-text .lead-bio {
        font-size: 1rem;
    }
    .about-text ul li {
        padding-left: 25px;
        font-size: 0.9rem;
    }
    .about-text ul li::before {
        font-size: 1.2em;
    }
}




.portfolio-link {
    display: block;
    text-decoration: none;
}

.portfolio-link:hover {
    text-decoration: none;
}





.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    
   
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    display: none; 
    align-items: center;
    justify-content: center;
    
  
    opacity: 0;
    transition: opacity 0.3s ease;
}
.login-modal-overlay.show {
    display: flex;
    opacity: 1;
}


@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.glass-form-container {
    position: relative;
    padding: 3px;
    border-radius: 15px;
    overflow: hidden; 
    width: 90%;
    max-width: 400px;

   
   
    background: rgba(10, 10, 26, 0.7); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
   
}


.glass-form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 1;
    
   
    background: conic-gradient(
        #00D1FF, 
        #6C5CE7,
        #00D1FF
    );
    
 
    animation: rotateGlow 4s linear infinite;
    
    
    opacity: 0;
    transition: opacity 0.3s ease;
}


.glass-form-container:hover::before {
    opacity: 1;
}



.glass-form {
    position: relative;
    z-index: 2; 
    
   
    background: var(--bg-primary); 
    
    
    border-radius: 12px;
    padding: 40px;
}





.glass-form .close-btn {

    position: absolute;

    top: 10px;

    right: 20px;

    color: var(--text-muted);

    font-size: 2rem;

    cursor: pointer;

    transition: color 0.2s ease;

}

.glass-form .close-btn:hover {

    color: var(--text-light);

}



.form-tabs {

    display: flex;

    justify-content: space-between;

    margin-bottom: 30px;

}

.form-tabs .tab-link {

    color: var(--text-muted);

    text-decoration: none;

    font-weight: 600;

    padding: 5px 10px;

    border-bottom: 2px solid transparent;

    transition: all 0.3s ease;

}

.form-tabs .tab-link:hover {

    color: var(--text-light);

}

.form-tabs .tab-link.active {

    color: var(--accent-cyan);

    border-bottom-color: var(--accent-cyan);

}



.form-pane {

    display: none; 

}

.form-pane.active {

    display: block; 

}





.glass-form input[type="text"],

.glass-form input[type="email"],

.glass-form input[type="password"] {

    width: 100%;

    padding: 12px;

    border-radius: 5px;

    background-color: var(--card-bg);

    border: 1px solid var(--card-border);

    color: white;

    font-weight: 600;

}

.glass-form input[type="text"]::placeholder,

.glass-form input[type="email"]::placeholder,

.glass-form input[type="password"]::placeholder {

    color: var(--text-muted);

}





.glass-form #toggleLoginPass {

    position: absolute;

    right: 15px;

    top: 50%;

    transform: translateY(-50%);

    cursor: pointer;

    color: var(--text-muted);

}




.toast-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000; 
    
   
    display: flex;
    align-items: center;
    justify-content: center;
    
    
    background: rgba(10, 10, 26, 0.5); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


.gradient-toast {
   
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    
    color: var(--text-light);
    text-align: center;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    
 
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
    opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.gradient-toast .bi {
    font-size: 3rem;
    margin-bottom: 10px;
}
.gradient-toast h4 {
    margin: 0;
    font-weight: 700;
    color: var(--text-light);
}
.gradient-toast p {
    margin: 5px 0 0;
    opacity: 0.9;
}


.toast-overlay.show {
    opacity: 1;
    visibility: visible;
}

.toast-overlay.show .gradient-toast {
    transform: scale(1);
    opacity: 1;
}

.nav-profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    border: 2px solid var(--accent-cyan);
}

a.admin-stat-card {
    text-decoration: none;
    display: block;
}

a.admin-stat-card:hover .service-card {
    transform: translateY(-10px);
    box-shadow: var(--card-glow);
    border-color: var(--accent-cyan);
}

#confirmModal .btn {
    text-transform: none;
    border-radius: 5px;
    font-weight: 600;
}



#certModalOverlay {
    z-index: 1060; 
}


.cert-modal-content {
    position: relative;
    width: 800px;
    height: 450px;
    max-width: 90%; 
    max-height: 90vh; 

    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 10px;
    
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-overlay.show .cert-modal-content {
    transform: scale(1);
    opacity: 1;
}

#certModalImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

#certModalClose {
    position: absolute;
    top: -5px;
    right: 5px;
    z-index: 10;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

.cert-card-link {
    text-decoration: none;
    display: block;
}


.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    background-color: var(--card-bg); 
    border-right: 1px solid var(--card-border);
    padding: 20px;
    z-index: 1040; 
}

.admin-sidebar .admin-logo {
    text-align: center;
    margin-bottom: 20px;
}
.admin-sidebar .admin-logo a {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 209, 255, 0.7);
}

.admin-sidebar .nav-link {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.2s ease;
}
.admin-sidebar .nav-link:hover {
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.1);
}
.admin-sidebar .nav-link.active {
    color: var(--bg-primary);
    background-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.5);
}
.admin-sidebar .nav-link i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

.admin-sidebar .nav-category {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 20px;
    margin-bottom: 5px;
    padding: 0 15px;
}

.admin-sidebar .footer-link {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.admin-page-content {
    margin-left: 260px; 
}




/* For the "nav" size profile pics (40px) */
.profile-pic-div {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* This border was on your old .nav-profile-pic */
    border: 2px solid var(--accent-cyan);
}

/* For the main user profile page (150px) */
.profile-pic-div-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 20px;
    border: 4px solid var(--accent-cyan);
    /* Center it */
    margin-left: auto;
    margin-right: auto;
}