
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: aliceblue;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
}

:root {
    --bg-color: #0a0a14;
    --second-bg: #161624;
    --text-color: #f0f8ff;
    --main-color: #00ffee;
    --hover-color: #02d4ba;
    --white: #ffffff;
    --card-bg: rgba(25, 25, 35, 0.8);
    --gradient: linear-gradient(135deg, var(--main-color), var(--hover-color));
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

.bgAnimation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(20, 1fr);
    background: #1d1d1d;
    filter: saturate(2);
    overflow: hidden;
    z-index: 0;
}

.backgroundAnimation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--main-color);
    filter: blur(60px);
    animation: anim 8s linear infinite;
    z-index: -1;
}

.colorBox {
    filter: brightness(1.1);
    transition: 2s ease;
    margin: 2px;
    background: #1d1d1d;
    pointer-events: auto;
}

.colorBox:hover {
    opacity: 0.5;
    background: var(--main-color);
    transition-duration: 0s;
}

@keyframes anim {
    0% {
        top: 0px;
    }
    100% {
        top: 100vh;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.full {
    margin-top: 12rem;
    position: relative;
    z-index: 1;
}

section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

header {
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

header.sticky {
    padding: 0.7rem 5%;
    background-color: rgba(10, 10, 20, 0.95);
}

.first-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
}

#logo a {
    font-size: 2.5rem;
    color: var(--white);
    text-shadow: 0 0 25px var(--main-color);
    font-weight: 700;
    display: flex;
    align-items: center;
}

#logo a::before {
    content: "<";
    color: var(--main-color);
    margin-right: 5px;
}

#logo a::after {
    content: "/>";
    color: var(--main-color);
    margin-left: 5px;
}

.menu {
    display: flex;
    justify-content: space-between;
    width: 50%;
}

.menu a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    margin: 0 1rem;
    cursor: pointer;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.seconddiv {
    display: flex;
    gap: 15px;
}

.toggle, .pallete {
    padding: 10px 20px;
    color: var(--white);
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle:hover, .pallete:hover {
    background: var(--main-color);
    color: var(--bg-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 238, 0.3);
}

.toggle:active, .pallete:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 255, 238, 0.2);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 5px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
}

.intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.short_intro {
    margin-top: 50px;
    width: 50%;
}

.one_line {
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.name {
    color: var(--main-color);
    position: relative;
    display: inline-block;
}

.name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
}

.i_am_a {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.para {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.profile {
    width: 50%;
    display: flex;
    justify-content: center;
    position: relative;
}

.profile img {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--card-bg);
    box-shadow: 0 0 50px rgba(0, 255, 238, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        box-shadow: 0 10px 30px rgba(0, 255, 238, 0.4);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        box-shadow: 0 25px 30px rgba(0, 255, 238, 0.2);
    }
    100% {
        transform: translateY(0) rotate(0deg);
        box-shadow: 0 10px 30px rgba(0, 255, 238, 0.4);
    }
}

.resume {
    padding: 15px 35px;
    background: var(--gradient);
    color: var(--bg-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0, 255, 238, 0.3);
}

.resume:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 255, 238, 0.4);
}

.resume:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 255, 238, 0.3);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 3.2rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.about-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: justify;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.skill-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 238, 0.2);
    background: linear-gradient(145deg, var(--card-bg), rgba(35, 35, 50, 0.8));
}

.skill-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.skill-item:hover img {
    transform: scale(1.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.service-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 238, 0.2);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--main-color);
}

.service-item p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.portfolio-item {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 238, 0.2);
}

.portfolio-item > div {
    padding: 25px;
}

.project-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--main-color);
}

.portfolio-item p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.full_platforms {
    margin: 6rem 0;
}

.platform_heading {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--main-color);
}

.common {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 3rem;
}

.logoo {
    background: var(--card-bg);
    width: 180px;
    height: 180px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logoo:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 255, 238, 0.2);
}

.icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.logoo p {
    font-weight: 600;
    font-size: 1rem;
}

.full_certifications {
    margin: 6rem 0;
}

.certificate_heading {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--main-color);
}

.common2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
    margin-top: 3rem;
}

#testimonials ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

#testimonials li {
    background: var(--card-bg);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--main-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#testimonials li:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 255, 238, 0.2);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input, 
.contact-form textarea {
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 10px;
    border: none;
    background: var(--card-bg);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--main-color);
}

.contact-form textarea {
    grid-column: 1 / -1;
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    grid-column: 1 / -1;
    padding: 15px;
    background: var(--gradient);
    color: var(--bg-color);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 255, 238, 0.3);
}

.contact-form button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 255, 238, 0.4);
}

footer {
    text-align: center;
    padding: 3rem 0;
    background: var(--second-bg);
    color: var(--text-color);
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

footer p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--gradient);
    box-shadow: 0 10px 20px rgba(0, 255, 238, 0.3);
}

.social-icon img {
    width: 24px;
    height: 24px;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 255, 238, 0.3);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 238, 0.4);
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .menu {
        width: 60%;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .intro {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3rem;
    }
    
    .short_intro, .profile {
        width: 100%;
    }
    
    .one_line {
        font-size: 3rem;
    }
    
    .profile img {
        width: 300px;
        height: 300px;
    }
    
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--second-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        z-index: 999;
    }
    
    .menu.active {
        right: 0;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    }
    
    .menu a {
        margin: 1.5rem 0;
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .one_line {
        font-size: 2.5rem;
    }
    
    .i_am_a {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .common, .common2 {
        gap: 25px;
    }
    
    .logoo {
        width: 150px;
        height: 150px;
    }
    
    .icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }
    
    #logo a {
        font-size: 2rem;
    }
    
    .one_line {
        font-size: 2rem;
    }
    
    .i_am_a {
        font-size: 1.5rem;
    }
    
    .profile img {
        width: 250px;
        height: 250px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .toggle, .pallete {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .resume {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mt-5 { margin-top: 5rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-5 { margin-bottom: 5rem; }

.pointer_events {
    pointer-events: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }