* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background-color: black !important;
    color: white;
}
.blur-bg {
    background-color: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-link {
  color: #ffffff !important;
  transition: all 0.3s ease;
}
.nav-link:hover,
.nav-link:focus {
  color: #FFD700 !important;
  transform: scale(1.05);
}
.navlist-item:hover {
    border-bottom: 5px solid rgb(110, 179, 233);
    border-radius: 5px;
    background-color: rgb(110, 179, 233);
}
#home {
    position: relative;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh; 
    padding: 0;
    background-color: black;
    color: white;
}

.intro {
    width: 70vw;
    height: 400px;
    background-color: rgb(16, 16, 16);
    display: flex;
    border-radius: 15px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

/* Profile Section */
.introprofile {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profilecontainer {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
}

.profilepic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Text Section */
.introcontainer {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.introtext h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.introtext p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 400;
    color: rgba(255, 255, 255, .6);
}

.highlight {
    color: #FFD700;
}

/* .profilelinks-container {
  background-color: #bc1515;
  position: relative;
  width: 100px;
} */

/* ===== About Me Section ===== */
#aboutme {
    position: relative;
    /* top: 250px; */
    padding: 40px 20px;
    margin-bottom: 100px;
    background-color: transparent;
    /* background-color: rgba(77, 77, 77, 0.1); */
    scroll-behavior: smooth;
}

/* ===== Container ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ===== Heading ===== */
.head {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 20px;
    text-align: center;

    opacity: 0; 
    animation: fadeSlideIn 1s ease-out forwards;
}

/* ===== Content ===== */
.about-content {
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.8;
    text-align: justify;
    color: #fff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
/* Section container already exists – no change needed */
#skills {
    position: relative;
    /* top: 200px; */
    margin-bottom: 100px;
    padding: 40px 20px;
    background-color: transparent;
}

/* Responsive grid for skills */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    justify-items: center;
    padding-top: 30px;
}

/* Each skill item */
.skill-container {
    background-color: rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 200px;
    height: 250px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.skill-container:hover{
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.skill-logo {
    margin-bottom: 10px;
}

.skill-name {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}
#projects {
    background-color: transparent;
    padding: 60px 20px;
}

.project-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    margin-top: 40px;
}

.project-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 8px grey(28, 27, 27, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover{
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}
.project-card:hover {
    transform: scale(1.3);
}       
.project-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.project-card .btn-primary {
    background-color: #5b6fb2;
    border: none;
}

.project-card .btn-primary:hover {
    background-color: #465299;
}

footer{
    /* margin-top: 100px; */
    background-color: #0a0a0a;
    color: #ccc;
    padding: 20px; 
    text-align: center
}

/* #skills,  #contact {
    background-color: #0d1117;

} */
/* 🔁 Responsive: Stack and resize text */
@media (max-width: 768px) {
    .intro {
        flex-direction: column;
        height: auto;
        top: 150px;
        width: 90vw;
        padding: 20px 0;
    }

    .introprofile {
        width: 100%;
        margin-bottom: 20px;
    }

    .introcontainer {
        width: 90%;
        text-align: center;
        padding: 0 20px;
    }

    .introtext h1 {
        font-size: 1.5rem;
    }

    .introtext p {
        font-size: 1rem;
    }

    .profilecontainer {
        width: 200px;
        height: 200px;
    }

    .profilepic {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.introtext h1 {
    animation: fadeIn 1s ease-out forwards;
}
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


