/* Base Styles */
:root {
    --primary: #06b6d4;
    --primary-dark: #0891b2;
    --secondary: #7c3aed;
    --dark: #111827;
    --darker: #0f172a;
    --light: #f3f4f6;
    --accent: #ec4899;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Preloader */
#preloader {
    background: radial-gradient(circle, #111827, #000);
}

.cyber-circle {
    width: 80px;
    height: 80px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.cyber-circle::before, .cyber-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: var(--primary);
}

.cyber-circle::before {
    width: 70%;
    height: 70%;
    opacity: 0.3;
}

.cyber-circle::after {
    width: 40%;
    height: 40%;
    opacity: 0.6;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(6, 182, 212, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
    }
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    color: var(--primary);
    text-shadow: 0 0 5px var(--primary);
}

.glitch-text::before, .glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    color: var(--accent);
    z-index: -1;
    animation: glitch-animation 3s infinite linear alternate-reverse;
}

.glitch-text::after {
    color: var(--secondary);
    z-index: -2;
    animation: glitch-animation 2s infinite linear alternate-reverse;
}

@keyframes glitch-animation {
    0% {
        transform: none;
        opacity: 0.8;
    }
    7% {
        transform: skew(-0.5deg, -0.9deg);
        opacity: 0.7;
    }
    10% {
        transform: none;
        opacity: 0.8;
    }
    27% {
        transform: none;
        opacity: 0.8;
    }
    30% {
        transform: skew(0.8deg, -0.1deg);
        opacity: 0.7;
    }
    35% {
        transform: none;
        opacity: 0.8;
    }
    52% {
        transform: none;
        opacity: 0.8;
    }
    55% {
        transform: skew(-1deg, 0.2deg);
        opacity: 0.7;
    }
    50% {
        transform: none;
        opacity: 0.8;
    }
    72% {
        transform: none;
        opacity: 0.8;
    }
    75% {
        transform: skew(0.4deg, 1deg);
        opacity: 0.7;
    }
    80% {
        transform: none;
        opacity: 0.8;
    }
    100% {
        transform: none;
        opacity: 0.8;
    }
}

/* Cyber Grid Background */
.cyber-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(6, 182, 212, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 1000px;
    transform-style: preserve-3d;
    animation: grid-animation 20s linear infinite;
}

@keyframes grid-animation {
    0% {
        transform: rotateX(75deg) translateY(0);
    }
    100% {
        transform: rotateX(75deg) translateY(40px);
    }
}

/* Navigation */
.nav-link {
    color: var(--light);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    width: 100%;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    color: var(--light);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

/* Buttons */
.cyber-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: var(--darker);
    font-weight: 600;
    border: none;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    z-index: 1;
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.cyber-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.4);
}

.cyber-button:hover::before {
    left: 100%;
}

.cyber-button-alt {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--primary);
    font-weight: 600;
    border: 2px solid var(--primary);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    z-index: 1;
}

.cyber-button-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: all 0.3s ease;
    z-index: -1;
    opacity: 0;
}

.cyber-button-alt:hover {
    color: var(--darker);
}

.cyber-button-alt:hover::before {
    left: 0;
    opacity: 1;
}

/* Section Titles */
/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* Cards */
.cyber-card {
    background-color: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(6, 182, 212, 0.1), transparent);
    z-index: -1;
}

.cyber-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

/* Expertise Cards */
.expertise-card {
    background-color: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    background-color: rgba(6, 182, 212, 0.1);
    border-color: var(--primary);
}

.expertise-card i {
    color: var(--primary);
}

/* Event Cards */
.event-card {
    background-color: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.event-date {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--darker);
    padding: 0.5rem;
    border-bottom-left-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: flex;
    flex-direction: column;
}

.event-date .day {
    font-size: 1.5rem;
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
}

.event-category {
    display: inline-block;
    background-color: rgba(6, 182, 212, 0.2);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Team Cards */
.team-card {
    background-color: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-img-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary);
    position: relative;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-card:hover .team-img {
    transform: scale(1.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--darker);
    transform: translateY(-3px);
}

.social-link-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link-large:hover {
    background-color: var(--primary);
    color: var(--darker);
    transform: translateY(-3px) rotate(360deg);
}

/* Member Cards */
.member-card {
    background-color: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    background-color: rgba(6, 182, 212, 0.1);
    border-color: var(--primary);
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

/* Contact Form */
.cyber-form {
    background-color: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 2rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 4px;
    color: var(--light);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

/* Back to Top Button */
#back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Media Queries */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .cyber-card, .cyber-form {
        padding: 1.5rem;
    }
    
    .team-img-container {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .event-date {
        position: relative;
        display: inline-block;
        margin-bottom: 1rem;
    }
    
    .event-date .day, .event-date .month {
        display: inline;
    }
    
    .gallery-item {
        height: 200px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-date {
    position: absolute;
    width: 120px;
    padding: 5px 10px;
    background-color: var(--primary);
    color: var(--darker);
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -150px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -150px;
}

.timeline-content {
    padding: 20px;
    background-color: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Resource Cards */
.resource-card {
    background-color: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.resource-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.resource-card:hover .resource-icon {
    background-color: var(--primary);
    color: var(--darker);
    transform: rotateY(360deg);
    transition: transform 0.8s ease, background-color 0.3s ease, color 0.3s ease;
}

.resource-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.resource-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* Blog Cards */
.blog-card {
    background-color: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.blog-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary);
    color: var(--darker);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.blog-date span:first-child {
    font-size: 1.2rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-read-more {
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Media Queries for Timeline */
@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 21px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 21px;
    }
    
    .timeline-date {
        position: relative;
        width: auto;
        margin-bottom: 10px;
    }
    
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        right: auto;
        left: auto;
        margin-bottom: 10px;
        display: inline-block;
    }
}
/* Skills Chart Styles */
.skills-chart-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.skill-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.skill-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .skills-chart-container {
        max-width: 100%;
    }
    
    .skill-legend {
        font-size: 0.8rem;
    }
}
/* Statistics Section Styles */
.stat-card {
    background-color: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.5s ease;
}

.stat-card:hover .stat-icon {
    background-color: var(--primary);
    color: var(--darker);
    transform: rotateY(360deg);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-label {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
}

.counter {
    display: inline-block;
}
/* Login Modal Styles */
#login-modal {
    backdrop-filter: blur(8px);
}

.login-form-container {
    background: rgba(17, 24, 39, 0.95);
    border: 2px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

/* Form Input Styles */
.form-input {
    background: rgba(15, 23, 42, 0.7);
    border: 2px solid rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
    outline: none;
}

/* Checkbox Styles */
.form-checkbox {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-checkbox:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Modal Animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cyber-card {
    animation: modalFadeIn 0.3s ease-out;
}

/* Gradient Border Animation */
@keyframes borderGlow {
    0% {
        border-color: rgba(6, 182, 212, 0.3);
    }
    50% {
        border-color: rgba(6, 182, 212, 0.6);
    }
    100% {
        border-color: rgba(6, 182, 212, 0.3);
    }
}

.cyber-card:hover {
    animation: borderGlow 2s infinite;
}

/* Button Hover Effect */
.cyber-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(6, 182, 212, 0.2),
        transparent
    );
    transition: 0.5s;
}

.cyber-button:hover::before {
    left: 100%;
}

/* Blur Effects */
.blur-effect {
    filter: blur(40px);
    opacity: 0.5;
    animation: pulseBlur 4s infinite;
}

@keyframes pulseBlur {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 0.3; }
}

/* Close Button */
#close-login {
    transition: all 0.3s ease;
}

#close-login:hover {
    transform: rotate(90deg);
    color: var(--primary);
}

/* Form Group Spacing */
.space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* Links Hover Effect */
.text-cyan-400 {
    transition: all 0.3s ease;
}

.text-cyan-400:hover {
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .cyber-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .text-2xl {
        font-size: 1.5rem;
    }
}

/* Testimonial Styles */
.testimonial-card {
    @apply bg-gray-800 p-6 rounded-lg border border-gray-700 transform transition-transform duration-300 hover:-translate-y-2;
}

.testimonial-content {
    @apply relative;
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* Challenge Categories Styles */
.category-card {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    transition: all 0.5s ease;
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: var(--darker);
    transform: rotateY(360deg);
}

.progress-bar {
    background: rgba(6, 182, 212, 0.1);
    border-radius: 9999px;
    height: 8px;
    overflow: hidden;
}

.progress {
    background: var(--primary);
    height: 100%;
    transition: width 1s ease;
}

/* Category Modal Animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#category-modal .cyber-card {
    animation: modalFadeIn 0.3s ease-out;
}


.node-circle {
    fill: #1a1a1a;
    stroke: #06b6d4;
    stroke-width: 2px;
    transition: all 0.3s ease;
}

.node:hover .node-circle {
    fill: #06b6d4;
    cursor: pointer;
}

.node-text {
    font-size: 12px;
    fill: #e2e8f0;
    cursor: pointer;
}

.link {
    fill: none;
    stroke: #374151;
    stroke-width: 1.5px;
}

#skills-tree svg {
    width: 100%;
    height: 100%;
}
.node text:hover {
    fill: #06b6d4;
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}
@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

.skills-tree-container {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.1));
    border-radius: 8px;
    padding: 1rem;
}

#skill-details {
    transition: opacity 0.3s ease;
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}
/* ... existing styles ... */

/* Mobile-friendly skill tree adjustments */
.skills-tree-container {
    width: 100%;
    min-height: 400px;
    overflow-x: auto;
    padding: 1rem;
}

#skills-tree svg {
    min-width: 600px; /* Minimum width to ensure readability */
}

/* Skill matrix/chart responsive design */
.skills-chart-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

@media (max-width: 768px) {
    .skill-legend {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    #skill-details {
        margin: 1rem;
        padding: 1rem;
    }
}
/* Make stat cards look clickable */
.stat-card.cursor-pointer {
    transition: all 0.3s ease;
}

.stat-card.cursor-pointer:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

.hover-shadow-cyan:hover {
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

/* Member detail card styles */
.member-detail-card {
    background-color: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.member-detail-card:hover {
    border-color: rgba(6, 182, 212, 0.8);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
}

/* Award item styles */
.award-item {
    background-color: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.award-item:hover {
    border-color: rgba(6, 182, 212, 0.8);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.award-icon {
    font-size: 2rem;
    margin-top: 0.25rem;
}