/* ===== RESET & BASIC STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a;
    color: white;
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== NAVIGATION BAR ===== */
.navbar {
    background-color: #222;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

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

.logo h2 {
    color: #25D366;
    font-size: 1.8rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: #25D366;
    color: white;
    transform: translateY(-2px);
}

.nav-links a.active {
    background-color: #25D366;
    color: white;
}

.whatsapp-nav-btn {
    background-color: #25D366;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #25D366;
}

.whatsapp-nav-btn:hover {
    background-color: transparent;
    color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* ===== COMMON CONTENT CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    animation: fadeIn 0.8s ease;
}

.page-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 30px;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #25D366;
    border-radius: 2px;
}

/* ===== COMMON BUTTON STYLES ===== */
.btn {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin: 10px 5px;
}

.btn:hover {
    background-color: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #25D366;
    color: #25D366;
}

.btn-secondary:hover {
    background-color: #25D366;
    color: white;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    border-top: 1px solid #333;
    color: #888;
    background-color: #222;
}

.footer p {
    margin: 5px 0;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .container {
        padding: 20px 15px;
    }
}

/* ===== PROGRESS BARS STYLES ===== */
.skills-grid-progress {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.skill-item-progress {
    background: #2a2a2a;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.skill-item-progress:hover {
    border-color: #25D366;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.skill-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
}

.skill-percent {
    font-size: 1.1rem;
    font-weight: bold;
    color: #25D366;
}

.skill-tech {
    margin-top: 10px;
    color: #aaaaaa;
    font-size: 0.9rem;
}

/* PROGRESS BAR CONTAINER (GREY BAR) */
.progress-bar {
    width: 100%;
    height: 12px;
    background-color: #333;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

/* PROGRESS FILL (GREEN BAR) */
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #25D366, #1da851);
    border-radius: 6px;
    position: relative;
    transition: width 1.5s ease-in-out;
}

/* ANIMATION EFFECT */
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* RESPONSIVE DESIGN FOR PROGRESS BARS */
@media (max-width: 768px) {
    .skills-grid-progress {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skill-item-progress {
        padding: 20px;
    }
    
    .skill-name {
        font-size: 1.1rem;
    }
    
    .progress-bar {
        height: 10px;
    }
}