@font-face {
    font-family: BYekan;
    src: url('../assets/Fonts/Byekan/BYEKAN.woff2') format('woff2'), /* Modern Browsers */
    url('../assets/Fonts/Byekan/BYEKAN.woff') format('woff'), /* Older Browsers */
    url('../assets/Fonts/Byekan/BYEKAN.TTF') format('truetype'); /* Fallback */
    font-weight: normal; /* Specify the font weight */
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: BYekan,Arial, sans-serif;
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    margin: 20px;
    direction: rtl;
    border-radius: 8px;
    background: rgba(224, 224, 224, 0.8); /* Semi-transparent light gray */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

    .navbar .nav-links {
        text-decoration: none;
        list-style: none;
        display: flex;
        gap: 20px;
    }

        .navbar .nav-links li a {
            text-decoration: none;
            font-size: 16px;
            color: #555;
            transition: color 0.3s ease;
        }

            .navbar .nav-links li a:hover {
                text-decoration: none;
                color: #000;
            }

    .navbar .menu-toggle {
        display: none;
        font-size: 24px;
        cursor: pointer;
    }

/* Top Section with Vanta.js Background */
.top-section {
    position: relative;
    height: 300px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

    .top-section h1 {
        font-size: 36px;
        z-index: 1;
    }

/* Side-by-Side Divs */
.container {
    display: flex;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
}

.box {
    flex: 1;
    background: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .box h2 {
        margin-bottom: 10px;
        font-size: 24px;
        color: #333;
    }

    .box p {
        font-size: 16px;
        color: #555;
    }

/* Footer Styles */
.footer {
    margin: 20px;
    direction: rtl;
    border-radius: 8px;
    background: #e0e0e0;
    padding: 30px 20px;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

    .footer .social-icons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 15px;
    }

        .footer .social-icons a {
            font-size: 20px;
            color: #555;
            transition: color 0.3s ease;
        }

            .footer .social-icons a:hover {
                color: #000;
            }

    .footer p {
        margin-top: 10px;
        font-size: 14px;
        color: #555;
    }

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        background: #e0e0e0;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

        .navbar .nav-links.active {
            display: flex;
        }

    .navbar .menu-toggle {
        display: block;
    }

    .container {
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    .navbar .nav-links {
        margin-top: 20px;
    }
}
/* Circular Image Container */
.profile-picture {
    width: 150px; /* Adjust size as needed */
    height: 150px; /* Adjust size as needed */
    border-radius: 50%; /* Makes the image circular */
    overflow: hidden; /* Ensures the image stays within the circle */
    border: 3px solid #fff; /* Optional: Adds a border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: Adds a shadow */
}

    /* Image Styling */
    .profile-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures the image covers the circle */
    }

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 800px; /* Adjusted for 2 columns */
    width: 100%;
}
/* Progress Card Styles */
.progress-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 calc(50% - 20px); /* 2 cards per row */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .progress-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .progress-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #333;
    }

.progress-bar {
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    height: 10px;
    position: relative;
}

.progress-bar-fill {
    background: #76c7c0; /* Progress bar color */
    height: 100%;
    width: 0; /* Initial width (will be animated) */
    border-radius: 10px;
    transition: width 1s ease;
}

.progress-percentage {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .progress-card {
        flex: 1 1 100%; /* 1 card per row on mobile */
    }
}
