* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* font-family: 'Poppins'; */
    font-family: 'General Sans';
    color: #fff;
}



::-webkit-scrollbar {
    display: none;
}

body html {
    width: 100%;
    height: 100%;

}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    height: 100vh;
    background-color: #0d0d0d;
    /* Dark base */
    background-image:
        radial-gradient(circle at 25% 20%, rgba(255, 0, 128, 0.25), transparent 50%),
        radial-gradient(circle at 75% 80%, rgba(255, 128, 0, 0.25), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 128, 255, 0.15), transparent 60%),
        radial-gradient(circle at 10% 90%, rgba(255, 255, 0, 0.1), transparent 50%);
    background-blend-mode: screen;
    color: white;
    font-family: sans-serif;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: inherit;
    filter: blur(100px);
    z-index: -1;
}



.main {
    width: 100%;
    /* background-color: #000; */
    overflow: hidden;
}

.bubble {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: #fff;
    position: fixed;
    z-index: 9999;
    transition: all cubic-bezier(0.22, 1, 0.36, 1) 1s;
    box-shadow: 0 0 10px rgba(245, 245, 245, 0.964);
}

.container {
    width: 75%;
    /* background-color: aliceblue; */
    /* background-color: #000; */
    position: relative;
    margin: 0 auto;

}

/* @media(max-width: 800px) {
    .container {
        width: 90%;
    }
} */



.nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    padding: 30px 60px;

    position: fixed;
    overflow: hidden;
    z-index: 999;
    background: rgba(22, 21, 21, 0.1);
    backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.307);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);


}

.nav a {
    text-decoration: none;
}

.nav .port a {
    font-size: 1.5rem;
    /* background-color: aqua; */
    /* font-family: 'morden-General-Sana'; */
    /* font-weight: 900; */
    font-weight: bold;
}

.nav .navLinks {
    /* background-color: aquamarine; */
    display: flex;
    align-items: center;
    gap: 2rem;


}

.nav .navLinks a {
    font-size: 1rem;
    position: relative;

}

.navLinks a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: white;
    /* underline color */
    transition: width 0.3s ease;
}

.navLinks a:hover {
    scale: 1.1;
}

.navLinks a:hover::after {
    width: 100%;

}

.toggle {
    /* height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #2d2d2d;
    transition: all .2s; */

    display: none;
    /* Hidden on desktop */
    font-size: 2rem;
    cursor: pointer;

}

.toggle:hover {
    scale: 1.1;
    transform: rotate(15deg);
}

.hero {
    width: 100%;
    /* background-color: #000; */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;


}

.hero-details {
    width: 672px;
    /* background-color: red; */
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;



}

.hero-details h1 {
    font-size: 72px;
    margin-bottom: 20px;
    font-weight: bold;


}

.hero-details h2 {
    font-weight: 200;
    font-size: 30px;
    margin-bottom: 30px;
    color: #888;
}

.hero-details p {
    font-size: 20px;
    color: #888;
    margin-bottom: 50px;
}

.viewwork button {
    background-color: #7c7c7c1c;
    border: 1px solid white;
    height: 51px;
    width: 177px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    transition: all .2s;
}

.viewwork button:hover {
    background-color: #fff;
    scale: 1.1;
    color: #000;
    font-weight: 500;
    box-shadow: 0 10px 13px -5px rgba(255, 255, 255, 0.307);
}

.BtmArrow i {
    font-size: 24px;
}

.BtmArrow {
    height: 30px;
    width: 30px;
    /* background-color: chartreuse; */
    position: absolute;
    margin-top: 500px;
    animation: bounce 1s infinite ease-in-out;
    color: #888;
}

@keyframes bounce {

    0%,
    50% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);

    }
}

.about {
    padding-top: 100px;
    height: 100vh;
    width: 100%;


}

.h1text {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.h1text h1 {
    font-size: 50px;

}

.h1text .underline {
    width: 60px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    margin-top: 10px;

}

.desc {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    /* background-color: crimson; */
    gap: 30px;
    /* background-color: crimson; */
}

.divimg {
    /* padding: 10px; */
    position: relative;
    border-radius: 20px;
}

.divimg img {
    height: 400px;
    width: 400px;
    /* border-radius: 20px; */
    object-fit: cover;
    transition: all .4s ease-in-out;
    border-radius: 50%;
}


.divimg img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(245, 245, 245, 0.433);
    /* border-top-left-radius: 50px;
    border-bottom-right-radius: 50px; */

}


.about .aboutText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 30px;

}

.aboutText h2 {
    font-size: 30px;
}

.aboutText p {
    font-size: 20px;
}

.techStack {
    margin-top: 40px;
    width: 100%;
    text-align: center;

}

.techStack span {
    padding: 10px;
    background-color: #5d5c5c51;
    margin-left: 18px;
    border-radius: 35px;
    display: inline-block;
    transition: all .3s ease;
    font-size: 14px;
}

.techStack span:hover {
    background-color: #4d4d4dae;
    transform: scale(1.1);
    /* color: #00f7ff; */
    color: white !important;
    box-shadow: 0 0 4px rgba(245, 245, 245, 0.964);
}

.projects-section {
    padding-top: 30px;
    width: 100%;
    /* height: 100vh; */

}

.proHeading {
    text-align: center;
}

.proHeading span {
    display: inline-block;
    background-color: #8d8d8d46;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
}

.proHeading h1 {
    font-size: 40px;
    font-weight: bolder;
    margin-bottom: 20px;

}

.proHeading p {
    margin-bottom: 20px;
}

.showProjects {
    /* background: rgba(196, 196, 196, 0.1);
    backdrop-filter: blur(20px); */
    padding: 20px;
    border-radius: 20px;

    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;


}

.projects {
    width: 45%;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 3px #fff;
    background: rgba(255, 255, 255, 0.05);
    /* box-shadow: 0 0 5px rgba(255, 255, 255, 0.1); */
    transition: transform 0.3s ease;

}

.projects:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .projects {
        width: 100%;
    }
}

.projects span {
    display: inline-block;
    background-color: #5150506a;
    border-radius: 20px;
}

.projects .first {
    font-size: 12px;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.projects h2 {
    margin-bottom: 10px;
}

.projects:hover h2 {
    color: #b3b4b5f5;
    text-shadow: 0 0 1px #989898;
}

.projects p {
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.5;
}


.tech span {
    padding: 2px 10px;
    font-size: 12px;
    margin-bottom: 10px;
    margin-left: 5px;
}

.btns {
    padding: 5px;

}

.btns button {
    padding: 8px 10px;
    color: #000;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.btns button i {
    color: #000;
}

.btns .code {
    margin-right: 10px;
    background-color: rgba(245, 245, 245, 0.163);
    box-shadow: 0 0 2px rgba(245, 245, 245, 0.874);
    color: white;
    font-weight: 500;
    transition: transform .3s ease;
}

.btns .code i {
    color: white;
    margin-right: 3px;
}

.btns .code:hover {
    transform: scale(1.1);
}

.btns .demo {
    font-weight: 500;
    transition: transform .3s ease;
}

.btns .demo i {
    color: #353535;
    margin-right: 3px;
    font-size: 15px;
}

.btns .demo:hover {
    transform: scale(1.1);
}

.contack-section {
    width: 100%;
    text-align: center;
    padding: 0 80px;
    padding-top: 80px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.contact_heading {
    /* padding: 0 50px; */
    /* background-color: rgb(144, 142, 140); */
    margin-bottom: 60px;
}

.contact_heading h1 {
    margin-bottom: 10px;
}

.contact_heading .underline {
    width: 80px;
    height: 4px;
    background-color: #fff;
    margin: 0 auto;
    margin-bottom: 30px;
}

.contact_heading p {
    font-size: 20px;
    color: #888;

}

.contact-btn {
    height: 60px;
    width: 230px;
    padding: 20px;
    font-size: 17px;
    background-color: #fff;
    color: #000;
    font-weight: 600;
    border-radius: 40px;
    border: none;
    margin-bottom: 50px;
    transition: all .3s ease-out;
}

.contact-btn:hover {
    transform: scale(1.05);
    background-color: rgba(245, 245, 245, 0.964);
    box-shadow: 0 12px 10px rgba(245, 245, 245, 0.163);
}

.contact-links {
    width: 600px;
    /* background-color: #888; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;


}



.contact-links span {
    display: inline-block;
    background-color: #9b9a9a1f;
    height: 60px;
    width: 60px;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform .3s ease;
    padding-bottom: 20px;
}

.contact-links span:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 4px rgba(245, 245, 245, 0.964);
    background-color: #fff;

}

.contact-links span:hover .email {
    color: rgba(255, 0, 30, 0.733);
}

.contact-links span:hover .github {
    color: #000;
}

.contact-links span:hover .linkedin {
    color: #0281db;
}

.contact-links span:hover .X {
    color: #080808;
}

.contact-links a {
    font-size: 25px;
}

.footer-line {
    width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.307);


}

.footer p i {
    color: #888;

}

.footer p {
    font-size: 14px;
    color: #888;
}

/* TABLET STYLES (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        width: 85%;
    }

    .hero-details h1 {
        font-size: 60px;
    }

    .hero-details h2 {
        font-size: 26px;
    }

    .divimg img {
        height: 350px;
        width: 350px;
    }

    .aboutText p {
        font-size: 18px;
    }
}

/* TABLET STYLES (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    /* Navigation */
    .nav {
        padding: 20px 30px;
        justify-content: space-between;
    }

    .nav .navLinks {
        display: none;
    }

    .toggle {
        display: block !important;
    }

    /* Hero Section */
    .hero-details {
        width: 100%;
        padding: 10px;
    }

    .hero-details h1 {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .hero-details h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .hero-details p {
        font-size: 18px;
        margin-bottom: 40px;
    }

    /* About Section */
    .about {
        padding-top: 80px;
        height: auto;
    }

    .h1text h1 {
        font-size: 40px;
    }

    .desc {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .divimg img {
        height: 300px;
        width: 300px;
    }

    .aboutText {
        margin-left: 0;
        text-align: center;
        width: 100%;
    }

    .aboutText h2 {
        font-size: 26px;
    }

    .aboutText p {
        font-size: 16px;
        line-height: 1.6;
    }

    .techStack {
        margin-top: 30px;
    }

    .techStack span {
        margin: 5px;
        font-size: 12px;
    }

    /* Projects Section */
    .proHeading h1 {
        font-size: 35px;
    }

    .showProjects {
        padding: 10px;
        flex-direction: column;
    }

    .projects {
        width: 100% !important;
        margin-bottom: 20px;
    }

    /* Contact Section */
    .contack-section {
        padding: 60px 40px 40px;
    }

    .contact_heading h1 {
        font-size: 35px;
    }

    .contact_heading p {
        font-size: 18px;
    }

    .contact-links {
        width: 100%;
        padding: 0 40px;
    }

    .contact-links span {
        height: 50px;
        width: 50px;
    }

    .contact-links a {
        font-size: 20px;
    }
}

/* MOBILE STYLES (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    /* Navigation */
    .nav {
        padding: 15px 20px;
    }

    .nav .port a {
        font-size: 1.2rem;
    }

    /* Hero Section */
    .hero {
        height: 90vh;
        padding: 0 10px;
    }

    .hero-details h1 {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .hero-details h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .hero-details p {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .viewwork button {
        height: 45px;
        width: 160px;
        font-size: 14px;
    }

    .BtmArrow {
        margin-top: 400px;
    }

    /* About Section */
    .about {
        padding-top: 60px;
    }

    .h1text {
        margin-bottom: 40px;
    }

    .h1text h1 {
        font-size: 32px;
    }

    .divimg img {
        height: 250px;
        width: 250px;
    }

    .aboutText h2 {
        font-size: 22px;
    }

    .aboutText p {
        font-size: 15px;
        padding: 0 10px;
    }

    .techStack span {
        margin: 3px;
        padding: 8px 12px;
        font-size: 11px;
    }

    /* Projects Section */
    .proHeading h1 {
        font-size: 28px;
    }

    .proHeading p {
        font-size: 16px;
        padding: 0 10px;
    }

    .projects {
        padding: 15px;
    }

    .projects h2 {
        font-size: 20px;
    }

    .projects p {
        font-size: 12px;
    }

    .tech span {
        font-size: 11px;
        padding: 2px 8px;
    }

    .btns button {
        padding: 6px 8px;
        font-size: 12px;
    }

    /* Contact Section */
    .contack-section {
        padding: 50px 20px 30px;
    }

    .contact_heading h1 {
        font-size: 28px;
    }

    .contact_heading p {
        font-size: 16px;
        padding: 0 10px;
    }

    .contact-btn {
        height: 50px;
        width: 200px;
        font-size: 15px;
        margin-bottom: 40px;
    }

    .contact-links {
        width: 100%;
        padding: 0 20px;
        justify-content: space-around;
    }

    .contact-links span {
        height: 45px;
        width: 45px;
    }

    .contact-links a {
        font-size: 18px;
    }

    .footer-line {
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .footer p {
        font-size: 12px;
        padding: 0 10px;
    }
}

/* SMALL MOBILE STYLES (max-width: 360px) */
@media (max-width: 360px) {
    .hero-details h1 {
        font-size: 30px;
    }

    .hero-details h2 {
        font-size: 16px;
    }

    .hero-details p {
        font-size: 14px;
    }

    .viewwork button {
        height: 40px;
        width: 140px;
        font-size: 13px;
    }

    .divimg img {
        height: 220px;
        width: 220px;
    }

    .aboutText h2 {
        font-size: 20px;
    }

    .aboutText p {
        font-size: 14px;
    }

    .contact-links {
        padding: 0 10px;
    }

    .contact-links span {
        height: 40px;
        width: 40px;
    }

    .contact-links a {
        font-size: 16px;
    }
}

/* Utility classes for better mobile experience */
@media (max-width: 768px) {

    /* Hide elements that might cause horizontal scroll */
    body {
        overflow-x: hidden;
    }

    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Better touch targets for mobile */
    button,
    a {
        min-height: 44px;
        min-width: 44px;
    }

    /* Improve text readability on mobile */
    p,
    span {
        word-wrap: break-word;
        hyphens: auto;
    }
}