body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #000; 
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.main-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 20px;
    padding-inline: 60px;
    z-index: 1;
    background: transparent;
    min-height: 100vh;
}

/* Skills Section Styles */
.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title p {
    color: #bbb9b9;
    font-size: 16px;
}

.section-title h4 {
    text-transform: capitalize;
    font-size: 50px;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #fff;
    text-shadow: #f2f2f2 1px 0 5px;
    transition: all 0.3s ease;
}

.section-title h4:hover {
    text-shadow: #ffffff 2px 0 10px;
    transform: translateY(-2px);
}

.section-title h4:before {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    background-color: #ffffff;
    bottom: 0;
    left: 50%;
    margin-left: -30px;
    box-shadow: white 1px 0 5px;
    transition: all 0.3s ease;
}

.section-title h4:hover:before {
    box-shadow: white 2px 0 10px;
    width: 80px;
    margin-left: -40px;
}

.section-title h4:after {
    position: absolute;
    background-color: #ffffff;
    content: "";
    width: 10px;
    height: 10px;
    bottom: -4px;
    left: 50%;
    margin-left: -5px;
    border-radius: 50%;
    box-shadow: white 1px 0 5px;
    transition: all 0.3s ease;
}

.section-title h4:hover:after {
    box-shadow: white 2px 0 10px;
    transform: scale(1.2);
}

/* Remove any old h1 styles */
.section-title h1 {
    display: none;
}

/* Skills Grid Layout */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.skill-category {
    background-color: #050505b6;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: #ffffff 3px 0 8px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    box-shadow: #ffffff 5px 0 15px;
    transform: translateY(-3px);
    background-color: #0a0a0ab6;
}

.skill-category h2 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: #f2f2f2 1px 0 4px;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.skill-name {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

.skill-name i {
    font-size: 20px;
    color: #ffffff;
    text-shadow: #f2f2f2 1px 0 3px;
}

.skill-name i.fa-html5 {
    color: #e34c26;
}

.skill-name i.fa-css3-alt {
    color: #264de4;
}

.skill-name i.fa-js {
    color: #f7df1e;
}

.skill-name i.fa-python {
    color: #3776ab;
}

.skill-name i.fa-java {
    color: #007396;
}

.skill-name i.fa-react {
    color: #61dafb;
}

.skill-name i.fa-github {
    color: #333;
}

.skill-name i.fa-language {
    color: #4a90e2;
}

.skill-name i.fa-chart-bar,
.skill-name i.fa-chart-area,
.skill-name i.fa-chart-line {
    color: #2ecc71;
}

.skill-name i.fa-database {
    color: #f1c40f;
}

.skill-name i.fa-calculator {
    color: #e74c3c;
}

.skill-name i.fa-image {
    color: #9b59b6;
}

.skill-name i.fa-terminal {
    color: #27ae60;
}

.skill-name i.fa-file-excel {
    color: #217346;
}

.skill-name i.fa-code {
    color: #3498db;
}

.skill-name i.fa-flask {
    color: #e67e22;
}

.skill-level {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.skill-level::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #ff3333);
    border-radius: 3px;
    box-shadow: #ff0000 0 0 5px;
    transition: width 0.5s ease;
}

.skill-level.advanced::after {
    width: 90%;
}

.skill-level.intermediate::after {
    width: 70%;
}

.skill-level.beginner::after {
    width: 40%;
}

.skill-level.full::after {
    width: 100%;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .main-container {
        padding-inline: 20px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skill-category:hover,
    .skill-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px var(--shadow-color);
    }

    .section-title h4 {
        font-size: 35px;
    }
}

@media screen and (max-width: 480px) {
    .main-container {
        padding-inline: 10px;
    }

    .skill-category {
        padding: 20px;
    }

    .skill-name {
        font-size: 1rem;
    }

    .section-title h4 {
        font-size: 28px;
    }
}

/* Responsive styles for section title */
@media screen and (max-width: 767px) {
    .section-title h4 {
        font-size: 35px;
    }
}

@media screen and (max-width: 480px) {
    .section-title h4 {
        font-size: 28px;
    }
} 