* {
    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;
}

nav a:hover {
    color: #6b6657;
}

.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
}

.profile-card {
    -webkit-backdrop-filter: blur(12px); /* Added for Safari support */
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 400px;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
   
}
nav > ul > li.active > a{
    color: #000000;
    cursor: default;
}

@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-stack{
        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;
}
    p .info{
        text-align: justify;
    }
}


@media (max-width: 425px) {
    nav ul{
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
     }
     
 }

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    nav ul{
        display: flex;
        gap: 1rem;
    }

     
    .profile-card {
        max-width: 90%;
    }
   
@media (max-width: 400px){
    .profile-img {
        width: 100px;
        height:  100px;
    }
    .name {
        font-size: 1.5rem;
    }
     
}       
}  
.name{
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}