@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;
}

.row{
    display: flex;
    flex-wrap: wrap;
}

:root {
    --text-color: #f5f5f5;
    --hover-color: #12f7ff;
    --bg-color: #250821;
    --second-bg-color: #292e33;
    --big-font: 40px;
    --normal-font: 2rem;
    --neon-box-shadow: 0 0 0.5rem #12f7ff;
    --h2-font: 3rem;
    --font-neon-text-shadow:
        0 0 10px rgba(18, 247, 255, 0.3),
        0 0 20px rgba(18, 247, 255, 0.3),
        0 0 30px rgba(18, 247, 255, 0.3),
        0 0 40px rgba(18, 247, 255, 0.3),
        0 0 70px rgba(18, 247, 255, 0.3),
        0 0 80px rgba(18, 247, 255, 0.3),
        0 0 100px rgba(18, 247, 255, 0.3),
        0 0 150px rgba(18, 247, 255, 0.3);
}

::-webkit-scrollbar {
    height: 0;
    width: .5rem;
}

::-webkit-scrollbar-track {
    background: var(--second-bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--hover-color);
    border-radius: 5rem;
}

body {
    font-family: "poppins", sans-serif;
    background-color: var(--bg-color);
}

header {
    z-index: 1000;
    border-bottom: 1px solid transparent;
    padding: 20px 10%;
}

header.sticky{
    background: var(--bg-color);
    border-bottom: 1px solid var(--second-bg-color);
    padding: 12px 10%;
}

.logo {
    letter-spacing: 5px;
}

.logo .first_letter {
    color: var(--hover-color);
}

.navlist {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navlist li {
    margin: 0 10px;
}

.navlist a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 20px;
    transition: .5s;
    text-decoration: none;
}

.navlist a:hover {
    color: var(--hover-color);
    text-shadow:
        0 0 10px rgba(18, 247, 255, 0.6),
        0 0 20px rgba(18, 247, 255, 0.6),
        0 0 30px rgba(18, 247, 255, 0.6),
        0 0 40px rgba(18, 247, 255, 0.6),
        0 0 70px rgba(18, 247, 255, 0.6),
        0 0 80px rgba(18, 247, 255, 0.6),
        0 0 100px rgba(18, 247, 255, 0.6),
        0 0 150px rgba(18, 247, 255, 0.6);
}

.navlist a.active{
    color: var(--hover-color);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

section{
    padding: 100px 10%;
}

.home{
    padding: 100px 0px;
}

.home-content{
    min-width: 600px;
}

.home-content h1 {
    font-size: var(--big-font);
    font-weight: 700;
}

.change-text h3 {
    font-weight: 600;
    display: inline-flex;
}

.change-text h3 span {
    color: var(--hover-color);
}

.home-content p {
    color: #bdbdbd;
    margin-bottom: 2rem;
}
.home-content .text-primary {
    color: var(--hover-color) !important;
}
.home-content h1 {
    font-size: var(--big-font);
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-box {
    width: 400px;
    margin: 16px 0 32px;
}

.info-box h5 {
    font-weight: 600;
    color: var(--text-color);
}

.info-box span {
    font-size: 15px;
    color: #bdbdbd;
}

.btn-box {
    width: 320px;
    height: 45px;
}

.btn-box .btn{
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: var(--hover-color);
    color: var(--bg-color);
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: 1s;
    box-shadow: var(--neon-box-shadow);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--hover-color);
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bg-color);
    width: 0;
    height: 100%;
    z-index: -1;
    transition: .4s;
}

.btn:hover {
    color: var(--hover-color);
}

.btn:hover::before {
    width: 100%;
}

.btn:nth-child(2) {
    background: var(--bg-color);
    color: var(--hover-color);
}

.btn:nth-child(2):hover {
    color: var(--bg-color);
}

.btn:nth-child(2)::before {
    background: var(--hover-color);
}

.social-icons {
    width: 220px;
    height: 40px;
}

.social-icons a {
    margin: 3px;
    text-decoration: none;
    display: inline-flex;
    width: 60px;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
    color: var(--hover-color);
    border: 2px solid var(--hover-color);
    transition: 1s;
    box-shadow: 0 0 0.3rem #12f7ff;
    border-radius: 5px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.social-icons a i {
    font-size: 18px;
}

.social-icons a:hover {
    color: var(--bg-color);
}

.social-icons a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--hover-color);
    transition: 1s;
    z-index: -1;
}

.social-icons a:hover::before {
    width: 100%;
}

.img-box img {
    max-width: 350px;
    height: auto;
    border-radius: 10px;
}

.img-about img{
    width: 100%;
}

.about {
    grid-gap: 2em;
    background-color: var(--second-bg-color);
}

.about-content span {
    color: #fdfdfd;
    font-size: .8rem;
    font-weight: 200;
    letter-spacing: 2px;
}

.about-content h2 {
    color: var(--hover-color);
    font-weight: 700;
    font-size: var(--normal-font);
}

.about-content h3 {
    font-weight: 600;
    font-size: 1.5rem;
}

.about-content p {
    color: #fdfdfd;
    font-weight: 300;
}

.main-text {
    color: var(--hover-color);
}

.main-text h2 {
    font-size: var(--normal-font);
    font-weight: 700;
}

.main-text span {
    color: #fdfdfd;
    font-size: .8rem;
    font-weight: 200;
    letter-spacing: 2px;
}

.section-services .service-box {
    background: var(--second-bg-color);
    transition: .4s;
    border-radius: 10px;
    width: 100%;
    padding: 40px  15px 33px;
}

.service-box:hover {
    transform: translateY(-.7rem);
}

.service-icon {
    border: 2px solid var(--hover-color);
    padding: 2rem;
    background: var(--bg-color);
    font-size: 3rem;
    border-radius: 50%;
    position: relative;
    color: var(--hover-color);
    box-shadow: var(--neon-box-shadow);
    outline: 3px solid var(--bg-color);
}

.skills {
    background: var(--second-bg-color);
}

.skills-main{
    width: 90%;
}

.skill-main h3 {
    font-size: var(--normal-font);
}

.skills-left .skill-bar .info {
    padding: 0 10px;
}

.skills-left .skill-bar .bar {
    height: 10px;
    background-color: var(--bg-color);
    border-radius: 25px;
}

.skill-bar .bar span {
    width: 50%;
    height: 100%;
    background: var(--hover-color);
    border-radius: 25px;
    box-shadow: var(--neon-box-shadow);
}

.skill-bar .bar .html {
    width: 95%;
    animation: html 5s;
}

 .skill-bar .bar .css {
    width: 80%;
    animation: css 6s;
}

 .skill-bar .bar .bootstrap {
    width: 85%;
    animation: bootstrap 7s;
}

.skill-bar .bar .javascript {
    width: 60%;
    animation: javascript 8s;
}

.skill-bar .bar .angular{
    width: 45%;
    animation: angular 6s;
}  

.skill-bar .bar .mvc {
    width: 75%;
    animation: mvc 5s;
}

.skill-bar .bar .c{
    width: 70%;
    animation: c 6s;
}

.skill-bar .bar .sql{
    width: 55%;
    animation: sql 7s;
}

.skill-bar .bar .design{
    width: 65%;
    animation: design 8s;
}

.skill-bar .bar .ssms{
    width: 80%;
    animation: ssms 6s;
}

.skill-bar .bar .ps{
    width: 80%;
    animation: ps 6s;
}

.skill-bar .bar .tm{
    width: 90%;
    animation: tm 6s;
}

.skill-bar .bar .tw{
    width: 70%;
    animation: tw 6s;
}

.skill-bar .bar .ct{
    width: 65%;
    animation: ct 6s;
}

.skill-bar .bar .aa{
    width: 75%;
    animation: aa 6s;
}

@keyframes html {
    0% {
        width: 0;
    }

    100% {
        width: 95%;
    }
}

@keyframes css {
    0% {
        width: 0;
    }

    100% {
        width: 80%;
    }
}

@keyframes bootstrap {
    0% {
        width: 0;
    }

    100% {
        width: 85%;
    }
}

@keyframes javascript {
    0% {
        width: 0;
    }

    100% {
        width: 60%;
    }
}

@keyframes angular{
    0%{
        width: 0;
    }

    100%{
        width: 45%;
    }
}

@keyframes mvc{
    0%{
        width: 0;
    }

    100%{
        width: 75%;
    }
}

@keyframes c{
    0%{
        width: 0;
    }

    100%{
        width: 70%;
    }
}

@keyframes sql{
    0%{
        width: 0;
    }

    100%{
        width: 55%;
    }
}

@keyframes design{
    0%{
        width: 0;
    }

    100%{
        width: 65%;
    }
}

@keyframes ssms{
    0%{
        width: 0;
    }

    100%{
        width: 80%;
    }
}

@keyframes ps{
    0%{
        width: 0;
    }

    100%{
        width: 80%;
    }
}

@keyframes tm{
    0%{
        width: 0;
    }

    100%{
        width: 90%;
    }
}

@keyframes tw{
    0%{
        width: 0;
    }

    100%{
        width: 70%;
    }
}

@keyframes ct{
    0%{
        width: 0;
    }

    100%{
        width: 65%;
    }
}

@keyframes aa{
    0%{
        width: 0;
    }

    100%{
        width: 75%;
    }
}

.filter-buttons .buttons{
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .4px;
    margin-left: 1.3rem;
    color: var(--text-color);
    transition: 1s;
}

.filter-buttons .buttons:hover {
    color: var(--hover-color);
}

.port-image img{
    width: 400px;
    opacity: 0.5s;
    height: 400px;
    transition: .5s;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 3rem;
}

.port-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #292e33;
    display: flex;
    grid-template-rows: 1fr auto;
    align-items: center;
    border: 2px solid var(--hover-color);
    box-shadow: var(--neon-box-shadow);
}

.port-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.port-image img {
    width: 400px;
    opacity: 0.5s;
    height: 400px;
    transition: .5s;
}

.port-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: linear-gradient(rgba(0, 0, .2), #12f7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    transition: 0.5s;
    padding: 0 2rem;
}

.port-box:hover .port-content {
    opacity: 1;
}

.port-box:hover .port-image img {
    transform: scale(1.1);
}

.port-content h3 {
    font-size: 1.3rem;
    font-weight: 300;
}

.port-content p {
    font-size: .8rem;
    margin: 5px 0 15px 0;
}

.port-content a {
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--hover-color);
    outline: 2px solid #fff;
}

.social-media-style{
    margin-top: 60px;
}
.social-media-style a{
    padding: 10px;
}
.behance-info{
    margin-left: 40px;
}


.port-content a i {
    font-size: 1.3rem;
    color: var(--second-bg-color);
}

.contact {
    background-color: var(--second-bg-color);
}

.contact form input,
.contact form textarea {
    width: 100%;
    color: var(--text-color);
    background: var(--bg-color);
    margin-bottom: .8rem;
    border: none;
    border-radius: 5px;
    padding: .7rem;
}

.contact form textarea {
    resize: none;
}

.formBtn .btn {
    cursor: pointer;
    font-size: 1rem;
    width: 160px;
}

footer {
    padding: 1.5rem 10%;
}

footer p {
    color: #bdbdbd;
}

footer a {
    color: var(--text-color);
    background: var(--hover-color);
    border-radius: 5px;
}

footer a i {
    font-size: 1rem;
    color: var(--second-bg-color);
}

/* Responsive Design - Mobile First Approach */

/* Tablet View (768px and below) */
@media (max-width: 768px) {
    /* Header responsive */
    .mobile-toggle {
        display: block !important;
    }
    
    .navlist {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(37, 8, 33, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 0 0 10px 10px;
    }
    
    .navlist.show {
        display: flex !important;
    }
    
    .navlist li {
        margin: 10px 0;
        text-align: center;
    }

    /* Home section responsive */
    .home .row {
        flex-direction: column-reverse;
    }
    
    .home .col-8,
    .home .col-4 {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .home-content {
        min-width: auto;
        text-align: center;
        padding: 20px;
    }
    
    .home-content h1 {
        font-size: 2.5rem !important;
    }
    
    .change-text h3 {
        font-size: 1.5rem !important;
    }
    
    .info-box {
        width: 100%;
        flex-direction: column !important;
        gap: 15px;
        margin: 20px 0;
    }
    
    .btn-box {
        width: 100%;
        height: auto;
        flex-direction: column !important;
        gap: 15px;
    }
    
    .btn-box .btn {
        width: 200px;
        margin: 5px auto;
    }
    
    .social-icons {
        width: 100%;
        justify-content: center !important;
        gap: 15px;
    }
    
    .img-box img {
        max-width: 345px;
        height: 195px;
    }

    /* About section responsive */
    .about .row {
        flex-direction: column;
    }
    
    .about .col-5,
    .about .col-7 {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about-content {
        padding: 20px !important;
        text-align: center;
    }

    /* Services responsive */
    .service .col-4 {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .service-box {
        margin: 10px 0 !important;
        padding: 30px 20px !important;
    }

    /* Skills responsive */
    .skills .col-4 {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .skills-main {
        width: 100%;
    }

    /* Portfolio responsive */
    .portfolio-gallery {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filter-buttons {
        text-align: center;
        margin: 20px 0;
    }
    
    .filter-buttons .buttons {
        margin: 5px !important;
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .port-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    /* Contact responsive */
    .contact form {
        width: 95% !important;
        padding: 20px;
    }
    
    .contact form input,
    .contact form textarea {
        margin-bottom: 15px;
        padding: 12px;
    }

    /* Footer responsive */
    footer {
        padding: 20px 5%;
        text-align: center;
    }
    
    footer .row {
        flex-direction: column;
        gap: 15px;
    }
}

/* Mobile View (576px and below) */
@media (max-width: 576px) {
    /* Typography adjustments */
    .home-content h1 {
         font-size: 1.8rem;
    }
    
    .change-text h3 {
        font-size: 1.2rem !important;
    }
    
    .main-text h2 {
        font-size: 1.8rem !important;
    }
    
    .about-content h2 {
        font-size: 1.8rem !important;
    }

    /* Spacing adjustments */
    section {
        padding: 60px 5%;
    }
    
    .home {
        padding: 80px 0;
    }

    /* Service boxes */
    .service-box {
        padding: 20px 15px !important;
    }
    
    .service-icon {
        padding: 1.5rem;
        font-size: 2rem;
    }

    /* Skills bars */
    .skills-left .skill-bar {
        margin-bottom: 20px;
    }

    /* Portfolio */
    .port-image img {
        height: 200px;
    }
    
    .port-content {
        padding: 1rem;
    }
    
    .port-content h3 {
        font-size: 1.1rem;
    }
    
    .port-content p {
        font-size: 0.7rem;
    }

    /* Contact form */
    .contact form {
        padding: 15px;
    }
    
    .formBtn .btn {
        width: 140px;
        font-size: 0.9rem;
    }

    /* Social icons */
    .social-icons a {
        width: 45px;
        height: 35px;
    }
    
    .social-icons a i {
        font-size: 16px;
    }
}

/* Large Tablet View (992px and below) */
@media (max-width: 992px) {
    .mobile-toggle {
        display: block !important;
    }
    
    .navlist {
        display: none;
    }
    
    .home-content {
        min-width: auto;
    }
    
    .info-box {
        width: 100%;
    }
    
    .btn-box {
        width: 100%;
    }
    
    .social-icons {
        width: 100%;
        justify-content: center;
    }
}

/* Desktop View (1200px and above) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
        margin: 0 auto;
    }
    
    .home-content h1 {
        font-size: 3.5rem;
    }
    
    .img-box img {
        max-width: 400px;
    }
}