/* css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 400;
    background: linear-gradient(135deg, #0a0f29 0%, #1a1f38 50%, #0d1120 100%);
    color: #e0e0e0;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Animated Background Elements */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 0, 0.03) 2px, rgba(0, 255, 0, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 100, 255, 0.03) 2px, rgba(0, 100, 255, 0.03) 4px);
    pointer-events: none;
    z-index: -2;
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #00ff88, transparent);
    border-radius: 50%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 60%;
    left: 80%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #00a8ff, transparent);
    border-radius: 50%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.shape:nth-child(3) {
    top: 80%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #ff0080, transparent);
    border-radius: 50%;
    animation-delay: -10s;
    animation-duration: 30s;
}

.shape:nth-child(4) {
    top: 10%;
    left: 70%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #ffaa00, transparent);
    border-radius: 50%;
    animation-delay: -15s;
    animation-duration: 35s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(100px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(200px, -50px) rotate(180deg);
    }
    75% {
        transform: translate(-100px, 100px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    animation: scan 4s linear infinite;
    z-index: -1;
}

@keyframes scan {
    0% {
        top: 0%;
    }
    100% {
        top: 100%;
    }
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Section */
.header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(10, 15, 41, 0.7);
    border: 1px solid #00ff88;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(10px);
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    animation: header-scan 3s linear infinite;
}

@keyframes header-scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #00ff88;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #0a0f29, #1a1f38);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #00ff88;
}

h1 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 10px;
    font-size: 3em;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.tagline {
    font-family: 'Share Tech Mono', monospace;
    color: #00a8ff;
    font-size: 1.3em;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Updated badge container for more badges */
.badge-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.badge {
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    padding: 8px 15px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid #00a8ff;
    border-radius: 20px;
    font-size: 0.8em;
    color: #00a8ff;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.badge:hover {
    background: rgba(0, 168, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.3);
}

.contact {
    font-family: 'Share Tech Mono', monospace;
    color: #00a8ff;
    font-size: 1.1em;
    margin-bottom: 10px;
    text-align: center;
}

.contact span {
    margin: 0 15px;
}

/* Content Sections */
.section {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(10, 15, 41, 0.7);
    border: 1px solid #444;
    border-radius: 10px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.section:hover {
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

h2 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #00a8ff;
    border-bottom: 2px solid #00a8ff;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-shadow: 0 0 5px rgba(0, 168, 255, 0.3);
    display: flex;
    align-items: center;
}

h2 i {
    margin-right: 15px;
    font-size: 1.2em;
}

.job, .education-item {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(20, 25, 51, 0.6);
    border-left: 4px solid #00ff88;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.job:hover, .education-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.1);
}

.date {
    font-family: 'Share Tech Mono', monospace;
    color: #00a8ff;
    font-size: 0.9em;
}

strong {
    color: #00ff88;
    font-family: 'Orbitron', monospace;
    font-weight: 500;
}

/* Certificate Section */
.certificates-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.certificate-item {
    text-align: center;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
}

.certificate-badge {
    position: relative;
    margin-bottom: 15px;
}

.certificate-image {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    border: 2px solid #00ff88;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.certificate-image:hover {
    border-color: #00a8ff;
    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.3);
}

.certificate-link {
    display: inline-block;
    margin-top: 10px;
    color: #00a8ff;
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    transition: all 0.3s ease;
}

.certificate-link:hover {
    color: #00ff88;
    text-decoration: underline;
}

.certificate-title {
    font-family: 'Orbitron', monospace;
    color: #00ff88;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Training & Skills Section */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.training-card {
    padding: 25px;
    background: rgba(20, 25, 51, 0.8);
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.training-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff0080, #00a8ff, #00ff88);
}

.training-card:hover {
    transform: translateY(-5px);
    border-color: #00a8ff;
    box-shadow: 0 5px 20px rgba(0, 168, 255, 0.2);
}

.training-card h3 {
    font-family: 'Orbitron', monospace;
    color: #00ff88;
    margin-bottom: 15px;
    font-size: 1.2em;
    display: flex;
    align-items: center;
}

.training-card h3 i {
    margin-right: 10px;
    font-size: 1.2em;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.skill-tag {
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid #00a8ff;
    border-radius: 15px;
    padding: 5px 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8em;
    color: #00a8ff;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(0, 168, 255, 0.3);
    transform: translateY(-2px);
}

.platform-link {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    color: #00ff88;
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    transition: all 0.3s ease;
}

.platform-link:hover {
    color: #00a8ff;
    text-decoration: underline;
}

/* Leaderboard Styles */
.leaderboard-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.leaderboard-card {
    background: linear-gradient(145deg, #2a2a4a, #1a1a3a);
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 150px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    position: relative;
    border: 2px solid;
    transition: all 0.3s ease;
}

.leaderboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.leaderboard-card:nth-child(1) {
    border-color: #ff8c00;
}

.leaderboard-card:nth-child(2) {
    border-color: #00bcd4;
}

.leaderboard-card:nth-child(3) {
    border-color: #9c27b0;
}

.rank {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
}

.rank-1 { background-color: #ff8c00; }
.rank-2 { background-color: #00bcd4; }
.rank-3 { background-color: #9c27b0; }

.username {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 30px;
    color: #00ff88;
    font-family: 'Share Tech Mono', monospace;
}

.score {
    font-size: 0.9rem;
    color: #c0c0c0;
    font-family: 'Share Tech Mono', monospace;
}

/* Skill Grid */
.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.skill-card {
    padding: 25px;
    background: rgba(20, 25, 51, 0.8);
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #00a8ff, #ff0080);
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: #00a8ff;
    box-shadow: 0 5px 20px rgba(0, 168, 255, 0.2);
}

.skill-card h3 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 15px;
    font-size: 1.2em;
    display: flex;
    align-items: center;
}

.skill-card h3 i {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Medium Stories Table */
.stories-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: rgba(20, 25, 51, 0.8);
    border-radius: 8px;
    overflow: hidden;
}

.stories-table th, .stories-table td {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid #333;
}

.stories-table th {
    font-family: 'Orbitron', monospace;
    color: #00ff88;
    font-size: 1rem;
    background: rgba(10, 15, 41, 0.9);
}

.stories-table td {
    font-family: 'Rajdhani', sans-serif;
    color: #e0e0e0;
}

.stories-table tr:hover {
    background: rgba(0, 168, 255, 0.1);
}

.story-title {
    font-weight: bold;
    color: #00a8ff;
    margin-bottom: 5px;
}

.story-meta {
    font-size: 0.9rem;
    color: #c0c0c0;
    font-family: 'Share Tech Mono', monospace;
}

.story-link {
    color: #00ff88;
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
}

.story-link:hover {
    color: #00a8ff;
    text-decoration: underline;
}

.views {
    color: #00ff88;
    font-weight: bold;
    font-family: 'Share Tech Mono', monospace;
}

.reads {
    color: #00a8ff;
    font-weight: bold;
    font-family: 'Share Tech Mono', monospace;
}

/* Terminal and Code Blocks */
.terminal {
    font-family: 'Share Tech Mono', monospace;
    background: #1a1a1a;
    border: 1px solid #00ff88;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
    color: #00ff88;
    position: relative;
}

.terminal::before {
    content: ">_";
    position: absolute;
    top: -10px;
    left: 10px;
    background: #1a1a1a;
    padding: 0 10px;
    color: #00ff88;
    font-size: 0.8em;
}

.code-block {
    font-family: 'Share Tech Mono', monospace;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 15px;
    margin: 10px 0;
    color: #00ff88;
    font-size: 0.9em;
}

.ioc-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff0080;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* Article Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.article-card {
    padding: 20px;
    background: rgba(20, 25, 51, 0.8);
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: #00a8ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.2);
}

.article-card h4 {
    font-family: 'Orbitron', monospace;
    color: #00ff88;
    margin-bottom: 10px;
}

.platform-badge {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(255, 0, 128, 0.2);
    border: 1px solid #ff0080;
    border-radius: 4px;
    font-size: 0.8em;
    color: #ff0080;
    margin-right: 8px;
    font-family: 'Share Tech Mono', monospace;
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .contact-section {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    padding: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(20, 25, 51, 0.6);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(20, 25, 51, 0.8);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid #00a8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2em;
    color: #00a8ff;
}

.contact-details h3 {
    font-family: 'Orbitron', monospace;
    color: #00ff88;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.contact-details p {
    font-family: 'Share Tech Mono', monospace;
    color: #e0e0e0;
    font-size: 0.9em;
}

.secure-email-form {
    padding: 20px;
    background: rgba(20, 25, 51, 0.8);
    border-radius: 8px;
    border: 1px solid #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Share Tech Mono', monospace;
    color: #00a8ff;
    font-size: 0.9em;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(10, 15, 41, 0.7);
    border: 1px solid #444;
    border-radius: 5px;
    color: #e0e0e0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(0, 168, 255, 0.2);
    border: 1px solid #00a8ff;
    border-radius: 5px;
    color: #00a8ff;
    font-family: 'Orbitron', monospace;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: rgba(0, 168, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.3);
}

.btn-primary {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid #00ff88;
    color: #00ff88;
}

.btn-primary:hover {
    background: rgba(0, 255, 136, 0.4);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.secure-note {
    margin-top: 15px;
    padding: 10px 15px;
    background: rgba(255, 0, 128, 0.1);
    border: 1px solid #ff0080;
    border-radius: 5px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8em;
    color: #ff0080;
}

.secure-note i {
    margin-right: 5px;
}

.email-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9em;
    text-align: center;
    display: none;
}

.email-status.success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    color: #00ff88;
    display: block;
}

.email-status.error {
    background: rgba(255, 0, 128, 0.1);
    border: 1px solid #ff0080;
    color: #ff0080;
    display: block;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    margin-top: auto;
    border-top: 1px solid #00a8ff;
    color: #00a8ff;
    font-family: 'Share Tech Mono', monospace;
    position: relative;
    z-index: 2;
    background: rgba(10, 15, 41, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header {
        padding: 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .tagline {
        font-size: 1.1em;
    }
    
    .badge {
        padding: 6px 12px;
        font-size: 0.7em;
    }
    
    .badge-container {
        gap: 8px;
    }
    
    .contact span {
        display: block;
        margin: 5px 0;
    }
    
    .certificates-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .certificate-image {
        height: 180px;
    }
    
    .training-grid {
        grid-template-columns: 1fr;
    }
    
    .training-card[style*="grid-column: span 2"] {
        grid-column: span 1;
    }
    
    .leaderboard-container {
        gap: 10px;
    }
    
    .leaderboard-card {
        width: 140px;
    }
    
    .skill-grid {
        grid-template-columns: 1fr;
    }
    
    .stories-table {
        font-size: 0.9em;
    }
    
    .stories-table th, .stories-table td {
        padding: 10px;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
}
/* Add these styles to your existing CSS */

/* Honeypot field styling */
.hp-field {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: -9999px;
}

/* Enhanced security status messages */
.email-status.encrypting {
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid #00a8ff;
    color: #00a8ff;
}

.email-status.warning {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid #ffa500;
    color: #ffa500;
}

/* Security badges */
.security-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    border-radius: 15px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8em;
    color: #00ff88;
    margin: 5px;
}

.security-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

/* Loading animation for encryption */
.encrypting-animation {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #00ff88;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* No JavaScript warning */
.no-js-warning {
    background: rgba(255, 0, 128, 0.2);
    border: 1px solid #ff0080;
    border-radius: 5px;
    padding: 15px;
    margin: 10px 0;
    text-align: center;
    font-family: 'Share Tech Mono', monospace;
}

/* Enhanced form security */
.form-security-note {
    font-size: 0.8em;
    color: #00a8ff;
    text-align: center;
    margin-top: 10px;
    font-family: 'Share Tech Mono', monospace;
}

.secure-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.secure-indicator .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    animation: pulse 2s infinite;
}

.secure-indicator .dot:nth-child(2) {
    animation-delay: 0.5s;
    background: #00a8ff;
}

.secure-indicator .dot:nth-child(3) {
    animation-delay: 1s;
    background: #ff0080;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    /* Fix for training grid on mobile */
    .training-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .training-card[style*="grid-column: span 2"] {
        grid-column: 1 !important;
    }
    
    /* Fix leaderboard container on mobile */
    .leaderboard-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .leaderboard-card {
        width: 100%;
        max-width: 200px;
    }
    
    /* Ensure proper spacing for leaderboard ranks */
    .rank {
        top: -20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .username {
        margin-top: 25px;
        font-size: 1rem;
    }
    
    /* Fix skill tags wrapping */
    .skill-tags {
        gap: 6px;
    }
    
    .skill-tag {
        padding: 4px 10px;
        font-size: 0.75em;
    }
    
    /* Improve section padding on mobile */
    .section {
        padding: 20px 15px;
    }
    
    /* Fix header padding on mobile */
    .header {
        padding: 20px 15px;
        margin-bottom: 40px;
    }
    
    /* Improve badge container on mobile */
    .badge-container {
        gap: 6px;
    }
    
    .badge {
        padding: 5px 10px;
        font-size: 0.7em;
    }
}

/* Additional fixes for very small screens */
@media (max-width: 480px) {
    .training-card {
        padding: 20px 15px;
    }
    
    .leaderboard-card {
        max-width: 180px;
        padding: 15px;
    }
    
    .certificates-container {
        gap: 15px;
    }
    
    .certificate-image {
        height: 150px;
    }
    
    /* Fix security features badges */
    .security-features {
        gap: 5px;
    }
    
    .security-badge {
        padding: 4px 8px;
        font-size: 0.7em;
    }
}
@media (max-width: 768px) {
    .map-embed iframe {
        height: 250px;
    }
    
    .location-badges {
        justify-content: center;
    }
    
    .map-container {
        padding: 15px;
    }
}
/* Badges Section Styles */
.badges-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
    padding: 20px;
    background: rgba(20, 25, 51, 0.8);
    border-radius: 10px;
    border: 1px solid #333;
}

.nav-btn {
    padding: 12px 20px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid #00a8ff;
    border-radius: 25px;
    color: #00a8ff;
    font-family: 'Orbitron', monospace;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn:hover {
    background: rgba(0, 168, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.3);
}

.nav-btn.active {
    background: rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
    color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.badges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.badge-card {
    background: rgba(20, 25, 51, 0.9);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.badge-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00ff88, #00a8ff, #ff0080);
    opacity: 0.8;
}

.badge-card:hover {
    transform: translateY(-8px);
    border-color: #00ff88;
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2);
}

.badge-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.badge-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid #00ff88;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: #00ff88;
}

.badge-header h3 {
    font-family: 'Orbitron', monospace;
    color: #00ff88;
    margin: 0;
    font-size: 1.4em;
    flex: 1;
}

.badge-level {
    background: rgba(255, 0, 128, 0.2);
    border: 1px solid #ff0080;
    border-radius: 15px;
    padding: 4px 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8em;
    color: #ff0080;
}

.badge-image {
    text-align: center;
    margin-bottom: 20px;
}

.badge-image img {
    max-width: 100%;
    height: 120px;
    object-fit: contain;
    border: 2px solid #00a8ff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.badge-card:hover .badge-image img {
    border-color: #00ff88;
    transform: scale(1.05);
}

.badge-info {
    margin-bottom: 20px;
}

.badge-info p {
    font-family: 'Rajdhani', sans-serif;
    color: #e0e0e0;
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.4;
}

.badge-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.badge-meta span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8em;
    color: #00a8ff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-actions {
    text-align: center;
}

.verify-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 168, 255, 0.2);
    border: 1px solid #00a8ff;
    border-radius: 25px;
    color: #00a8ff;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.verify-btn:hover {
    background: rgba(0, 168, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.3);
    color: #00ff88;
    border-color: #00ff88;
}

/* Badge Card Animations */
.badge-card {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Filter Animation */
.badge-card.hidden {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .badges-nav {
        gap: 8px;
        padding: 15px;
    }
    
    .nav-btn {
        padding: 10px 15px;
        font-size: 0.8em;
    }
    
    .badges-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .badge-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .badge-meta {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .badge-image img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .badges-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
    
    .badge-card {
        padding: 20px;
    }
}
/* Fix for radar icon */
.fa-radar::before {
    content: "📡";
    font-style: normal;
}

/* Alternative if you prefer Font Awesome */
.fa-radar::before {
    content: "⎓";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}
/* Fixed Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 15, 41, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #00ff88;
    z-index: 1000;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', monospace;
    color: #00ff88;
    font-size: 1.5em;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #00a8ff;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-size: 0.9em;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-link:hover,
.nav-link.active {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.nav-toggle {
    display: none;
    color: #00ff88;
    font-size: 1.2em;
    cursor: pointer;
}

/* Adjust container for fixed nav */
.container {
    margin-top: 80px;
}