/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: url('img/bg.gif') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
}

.container {
    display: flex;
}

/* Sidebar Styles */
.sidebar {
    width: 20%;
    background-color: rgba(34, 35, 36, 0.8);
    padding: 20px;
    position: fixed;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile {
    text-align: center;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid #20c997;
}

.sidebar nav ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.sidebar nav ul li {
    margin: 10px 0;
}

.sidebar nav ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar nav ul li a:hover {
    color: #20c997;
}

.social-icons {
    margin-top: 20px;
}

.social-icons img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.1);
}

/* Main Content Styles */
main {
    margin-left: 20%;
    padding: 20px;
    width: 80%;
    background-color: rgba(0, 0, 0, 0.7);
}

section {
    margin-bottom: 50px;
}

h1, h2, h3 {
    color: #20c997;
}

.highlight {
    color: #20c997;
}

.cta-button, .send-message {
    background-color: #20c997;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover, .send-message:hover {
    background-color: #17a2b8;
}

/* Animation Styles */
.animated {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Skills Section Styles */
.skill-circle {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 10px solid #20c997;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    overflow: visible;
    margin-bottom: 60px;
    margin-right: 20px;
}

.fill {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #20c997;
    clip-path: inset(50% 0 0 0);
    transform: rotate(0deg);
    transition: transform 1s ease-in-out;
}

.percentage {
    position: absolute;
    font-size: 18px;
    color: #ffffff;
    z-index: 1;
}

.skill-name {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Services Styles */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-item {
    background-color: rgba(52, 58, 64, 0.8);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #20c997;
}

.service-item:hover {
    transform: translateY(-5px);
    background-color: rgba(32, 201, 151, 0.2);
}

/* Resume Styles */
.resume-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.resume-item {
    background-color: rgba(52, 58, 64, 0.8);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #20c997;
}

/* Portfolio Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s;
}

.portfolio-item img:hover {
    transform: scale(1.05);
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(34, 35, 36, 0.8);
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }
    main {
        margin-left: 0;
        width: 100%;
    }
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .skill-circle {
        justify-content: space-evenly;
    }
    .circle {
        margin-right: 10px;
        margin-left: 10px;
    }
}

@media (max-width: 480px) {
    .services {
        grid-template-columns: 1fr;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .circle {
        width: 80px;
        height: 80px;
        margin-bottom: 50px;
    }
    .skill-name {
        font-size: 14px;
        bottom: -35px;
    }
}