* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif; } 
body{
    min-height: 100vh;
    background: linear-gradient(45deg, #fdfdfd, #868886, #585650, #0a0a09);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }

}

nav {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 2rem !important; /* Increased vertical padding from 0.3rem to 0.8rem */
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0 !important; /* Override Bootstrap margin */
    padding: 0 !important; /* Override Bootstrap padding */
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0 !important; /* Override Bootstrap padding */
    display: flex;
    align-items: center;
}

/* Add this to reset Bootstrap's li styles */
nav ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.main-nav a:hover {
    color: #6b6657;
}
.main-nav > ul > li.active > a{  /* this is new, what this does is access the first List and Color the text */
    color: #000000;
    cursor: default;
}
/*-------------------------------------------*/
@media (max-width: 425px) {
    .main-nav ul{
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
     }
     
 }
 

 @media (max-width: 3840px) {
    nav a img{
        display: none;
    }
    
}

@media (max-width: 700px) {
    nav a img{
        display: block;
    }
    
}

@media (max-width: 700px) {

    nav a .index{
        display: none;
    }
    nav a .tech{
        display: none;
    }
    nav a .cert{ 
        display: none;
    }
    nav a .exp{
        display: none;
    }
    nav a .blog{
        display: none;
    }
    nav a .info{
        display: none;
    }
    nav a .phone{
        display: none;
    }
    nav a .docu{
        display: none;
}
} 
.tech-stack {
    padding: 2rem 1rem;
    -webkit-backdrop-filter: blur(12px); /* For Safari support */
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin: 1rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-title {
    color: white;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.section-description {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.skill-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background-size: contain;
    background-repeat: no-repeat;
}

.skill-name {
    color: white;
    margin-bottom: 1rem;
    font-weight: 500;
}

.skill-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Language-specific styling */
.python { background: url('python-logo.png'); background-size: contain; }
.java { background: url('java-logo.png');  background-size: contain; }
.javascript { background: url('javascript-logo.png');  background-size: contain; }
.c { background: url('c-logo.png');  background-size: contain; background-repeat: no-repeat;}
.cpp { background: url('cpp-logo.png');  background-size: contain; background-repeat: no-repeat;}
.bootstrap { background: url('bootstrap.png');  background-size: contain; background-repeat: no-repeat;}
.android_studio { background: url('android_studio.png');  background-size: contain; background-repeat: no-repeat;}
.vscode { background: url('vscode.png');  background-size: contain; background-repeat: no-repeat;}
.github { background: url('github.png');  background-size: contain; background-repeat: no-repeat;}
.html { background: url('html.png');  background-size: contain; background-repeat: no-repeat;}
.css { background: url('css.png');  background-size: contain; background-repeat: no-repeat;}
.git { background: url('git.png');  background-size: contain; background-repeat: no-repeat;}


.progress-bar.python { background: #F7DF1E; }
.progress-bar.java { background: #007396; }
.progress-bar.javascript { background: #F7DF1E; }
.progress-bar.c { background: #A8B9CC; }
.progress-bar.cpp { background: #00599C; }
.progress-bar.bootstrap { background: #7952B3; }
.progress-bar.Android_Studio { background: #3DDC84; }
.progress-bar.visual_studio_code { background: #00599C; }
.progress-bar.git_hub { background: #171818; }
.progress-bar.ht_ml { background: #E34F26; }
.progress-bar.cs_s { background: #1572B6; }
.progress-bar.g_it { background: #F34F29; }




 

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    nav ul{
        display: flex;
        gap: 1rem;
    }

    
    .skill-icon {
        width: 60px;
        height: 60px;
    }
}