:root {
    --primary-color: #0077B5;
    --secondary-color: #00A0DC;
    --text-color: #283E4A;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--light-bg);
}

/* Header Styles */
header {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2.5em;
}

header h2 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 2em;
}

header .title {
    color: var(--secondary-color);
    font-size: 1.2em;
    font-weight: 500;
}

/* Section Styles */
section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

section h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8em;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    text-decoration: none ;
}

.skill {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    transition: transform 0.3s ease;
    text-decoration: none ;
}

.skill:hover {
    transform: translateY(-2px);
    background-color: var(--secondary-color);
    text-decoration: none ;
}


/* Community button Section */
.community-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    text-decoration: none ;
}

.community-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 15px;
    font-size: 0.9em;
    transition: transform 0.3s ease;
    text-decoration: none ;
    text-wrap: nowrap;
    display: flex;
    flex-wrap: nowrap;
}

.community-button:hover {
    transform: translateY(-2px);
    background-color: var(--secondary-color);
    text-decoration: none ;
}

/* Journey Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    margin-bottom: 30px;
    padding-left: 25px;
    border-left: 3px solid var(--primary-color);
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item h3 {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1.2em;
}

.date {
    color: var(--secondary-color);
    font-size: 0.9em;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Communities Section */
.community-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.community-item {
    position: relative;
    padding: 20px;

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 15px;
    }

    .stat-box {
        background: rgba(255, 255, 255, 0.1);
        padding: 10px;
        border-radius: 8px;
        text-align: center;
    }

    .stat-number {
        display: block;
        font-size: 1.5em;
        font-weight: bold;
        color: #4CAF50;
    }

    .stat-label {
        display: block;
        font-size: 0.8em;
        color: #666;
    }
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.community-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2em;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #ddd;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    header {
        padding: 30px 15px;
    }
    
    section {
        padding: 20px;
    }
    
    .skills-container {
        justify-content: center;
    }
    
    .community-container {
        grid-template-columns: 1fr;
        justify-content: center;
    }
}