:root {
    --bg-color: #081b29;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --main-color: #0ef;
    --second-color: #ffc0cb;
    /* pink */
    --glass-bg: rgba(16, 13, 32, 0.6);
    --border-color: rgba(0, 238, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    color: var(--text-color);
    overflow-x: hidden;
    background: var(--bg-color);
    width: 100%;
    max-width: 100vw;
    height: 100%;
    position: relative;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 238, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 192, 203, 0.05) 0%, transparent 40%);
}

/* Background Animated Blobs */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -10;
    opacity: 0.1;
    pointer-events: none;
    animation: blobFloat 20s infinite alternate linear;
}

body::before {
    background: var(--main-color);
    top: -100px;
    left: -100px;
}

body::after {
    background: var(--second-color);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes blobFloat {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 100px) scale(1.2);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #081b29;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0ef, #00a8cc);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0ef;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    position: relative;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

.toggle-btn {
    display: none;
}


.navbar a {
    display: inline-block;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.navbar a:hover {
    color: #0ef;
}

/* Main Section */

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10% 0 10%;
    background: #081b29;
}

.home-content {
    max-width: 600px;
}

.home-content h3 {
    font-weight: 700;
    font-size: 32px;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}

.home-content h1 {
    font-weight: 800;
    font-size: 65px;
    margin: -3px 0;
    opacity: 0;
    background: linear-gradient(90deg, #fff, var(--main-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 238, 255, 0.2);
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content p {
    font-size: 18px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.home-content span {
    color: #0ef;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 30px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.home-sc a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.home-sc a:hover {
    color: var(--bg-color);
    background-color: var(--main-color);
    box-shadow: 0 0 25px var(--main-color), 0 0 50px rgba(0, 238, 255, 0.3);
    transform: translateY(-8px) rotate(360deg);
}

.home-sci {
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 0;
    animation: slideLeft 1s ease forwards, floatUpDown 3s ease-in-out infinite;
    animation-delay: 1.5s, 2.5s;
}

/* Floating Up and Down Animation */
@keyframes floatUpDown {

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

    50% {
        transform: translateY(-20px);
    }
}

/* Rotating Border Effect */
.home-sci::before {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    background: linear-gradient(45deg, #0ef, pink, #0ef);
    animation: rotateBorder 4s linear infinite;
    z-index: -1;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.home-sci img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 60px #0ef, 0 0 100px rgba(255, 192, 203, 0.5);
    border: none;
    padding: 10px;
    background: linear-gradient(#0ef, pink, #fff);
    transition: all 0.5s ease;
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Pulsing Glow Animation */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 60px #0ef, 0 0 100px rgba(255, 192, 203, 0.5);
    }

    50% {
        box-shadow: 0 0 100px #0ef, 0 0 150px rgba(255, 192, 203, 0.8);
    }
}

/* Hover Effects */
.home-sci:hover img {
    transform: scale(1.1);
    box-shadow: 0 0 120px #0ef, 0 0 200px rgba(255, 192, 203, 1);
}

.pf {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
    box-shadow: 0 0 60px #0ef;
    background: linear-gradient(#0ef, pink, #fff);
    padding: 10px;
    display: block;
    margin: 0 auto;
}

.btn-box {
    display: inline-block;
    color: var(--bg-color);
    background: linear-gradient(45deg, var(--main-color), var(--second-color));
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 700;
    text-decoration: none;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 8px 25px rgba(0, 238, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-box:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 238, 255, 0.5);
    letter-spacing: 2px;
}

/* About Section */

.about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    padding: 8%;
}

.about-text h2 {
    font-size: 60px;
}

.about-text h2 span {
    color: #0ef;
}

.about-text h4 {
    font-size: 29px;
    font-weight: 600;
    color: #fff;
    line-height: 1.7;
    margin: 15px 0 30px;
}

.about-text p {
    color: aliceblue;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.about-points {
    margin-bottom: 3rem;
}

.point {
    font-size: 17px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    line-height: 1.6;
}

.point span {
    color: var(--main-color);
    font-weight: 600;
}

.point:hover {
    transform: translateX(15px);
    color: var(--main-color);
}



/* Services */

#services {
    color: aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #081b29 0%, #0a2540 50%, #081b29 100%);
    position: relative;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0ef, transparent);
}

.container {
    padding: 20px;
}

.sub-title {
    text-align: center;
    font-size: 60px;
    padding-bottom: 70px;
    background: linear-gradient(90deg, #fff, var(--main-color), var(--second-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.services-list div {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    font-size: 16px;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.services-list div::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 238, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.services-list div:hover::before {
    opacity: 1;
}

.services-list i {
    font-size: 50px;
    margin-bottom: 30px;
    color: var(--main-color);
}

.services-list div h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}

.services-list div a {
    font-size: 12px;
    color: #000000;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
}

.read {
    display: inline-block;
    font-size: 16px;
    padding: 12px 28px;
    background: #0ef;
    color: #081b29;
    border-radius: 40px;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 25px #0ef, 0 0 50px #0ef;
    transition: all 0.3s ease;
}

.read:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 35px #0ef, 0 0 70px #0ef;
}

.read:hover {
    color: #081b29;
    background-color: #0ef;
    box-shadow: 0 0 20px #0ef;
}

.services-list div:hover {
    transform: translateY(-15px) scale(1.02);
    cursor: pointer;
    box-shadow: 0 15px 50px rgba(0, 238, 255, 0.4);
    border-color: rgba(0, 238, 255, 0.5);
}

/* Skills */

.skills {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 100px 5%;
    background: var(--bg-color);
}

.skills-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.container1 {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background: rgba(10, 25, 47, 0.4);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.heading1 {
    font-size: 35px;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #fff, var(--main-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bar {
    font-size: 23px;
}

.skills.animate .bar-animate {
    animation: barEntrance 1s ease forwards;
}

.bar-animate {
    opacity: 0;
    transform: translateX(-50px);
}

.skills.animate .bar-animate:nth-child(1) {
    animation-delay: 0.2s;
}

.skills.animate .bar-animate:nth-child(2) {
    animation-delay: 0.4s;
}

.skills.animate .bar-animate:nth-child(3) {
    animation-delay: 0.6s;
}

.skills.animate .bar-animate:nth-child(4) {
    animation-delay: 0.8s;
}

.skills.animate .bar-animate:nth-child(5) {
    animation-delay: 1.0s;
}

@keyframes barEntrance {
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.Technical-bars .bar {
    margin-top: 40px 0;
}

.Technical-bars .bar:first-child {
    margin-top: 0;
}

.Technical-bars .bar:last-child {
    margin-bottom: 0;
}

.Technical-bars .bar .info {
    margin-bottom: 5px;
}

.skills.animate .Technical-bars .bar .info span {
    animation: showText 0.5s linear forwards;
}

.Technical-bars .bar .info span {
    font-size: 17px;
    font-weight: 500;
    opacity: 1;
}

.skills.animate .Technical-bars .bar .progress-line {
    animation: animate-progress 1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.Technical-bars .bar .progress-line {
    position: relative;
    border-radius: 10px;
    height: 5px;
    width: 100%;
    background-color: #000000;
    transform: scaleX(0);
    transform-origin: left;
    margin: 12px 0;
}

@keyframes animate-progress {
    100% {
        transform: scaleX(1);
    }
}

.skills.animate .Technical-bars .bar .progress-line span {
    animation: animate-fill 1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.Technical-bars .bar .progress-line span {
    height: 100%;
    background-color: #0ef;
    position: absolute;
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes animate-fill {
    100% {
        transform: scaleX(1);
    }
}


.progress-line.html span {
    width: 90%;
}

.progress-line.css span {
    width: 85%;
}

.progress-line.javascript span {
    width: 80%;
}

.progress-line.php span {
    width: 85%;
}

.progress-line.mysql span {
    width: 90%;
}

.skills.animate .progress-line span::after {
    animation: showText 0.5s 1.5s linear forwards;
}

.progress-line span::after {
    position: absolute;
    padding: 1px 8px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    top: -28px;
    right: -20px;
    opacity: 0;
}

.progress-line.html span::after {
    content: "90%";
}

.progress-line.css span::after {
    content: "85%";
}

.progress-line.javascript span::after {
    content: "80%";
}

.progress-line.php span::after {
    content: "85%";
}

.progress-line.mysql span::after {
    content: "90%";
}

.skills.animate .progress-line span::before {
    animation: showText 0.5s 1.5s linear forwards;
}

.progress-line span::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-top-color: #000;
    top: -10px;
    right: 0;
    opacity: 0;
}

@keyframes showText {
    100% {
        opacity: 1;
    }
}

.radial-bars {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    place-items: center;
}

.radial-bars .radial-bar {
    width: 50%;
    height: 170px;
    margin-bottom: 10px;
    position: relative;
}

.radial-bars .radial-bar svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 120px;
    height: 160px;
}

.skills.animate .radial-bars .radial-bar .progress-bar {
    animation: animate-bar 1s linear forwards;
}

.radial-bars .radial-bar .progress-bar {
    stroke-width: 10;
    stroke: #000;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;
}

@keyframes animate-bar {
    100% {
        stroke-dashoffset: -1;
    }
}

.skills.animate .path-1 {
    animation: animate-path1 1s 1.2s linear forwards;
}

.skills.animate .path-2 {
    animation: animate-path2 1s 1.2s linear forwards;
}

.skills.animate .path-3 {
    animation: animate-path3 1s 1.2s linear forwards;
}

.skills.animate .path-4 {
    animation: animate-path4 1s 1.2s linear forwards;
}

.path-1,
.path-2,
.path-3,
.path-4 {
    stroke-dashoffset: 502;
    stroke-dasharray: 502;
}

.path {
    stroke-width: 10;
    stroke: #0ef;
    fill: transparent;
    stroke-linecap: round;
}

@keyframes animate-path1 {
    100% {
        stroke-dashoffset: 50;
    }
}

@keyframes animate-path2 {
    100% {
        stroke-dashoffset: 175;
    }
}

@keyframes animate-path3 {
    100% {
        stroke-dashoffset: 125;
    }
}

@keyframes animate-path4 {
    100% {
        stroke-dashoffset: 75;
    }
}

.skills.animate .radial-bar .percentage {
    animation: showText 0.5s 1.2s linear forwards;
}

.radial-bar .percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 17px;
    font-weight: 500;
    opacity: 1;
}

.skills.animate .radial-bar .text {
    animation: showText 0.5s 1.2s linear forwards;
}

.radial-bar .text {
    width: 100%;
    position: absolute;
    text-align: center;
    left: 0;
    bottom: -30px;
    transform: none;
    font-size: 17px;
    font-weight: 500;
    opacity: 1;
}

#portfolio {
    padding: 100px 10%;
    background: var(--bg-color);
    text-align: center;
}

.main-text {
    text-align: center;
    margin-bottom: 70px;
}

.main-text h2 {
    font-size: 55px;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(90deg, #fff, var(--main-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-text h2 span {
    color: var(--main-color);
    -webkit-text-fill-color: var(--main-color);
}

.portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.row {
    position: relative;
    border-radius: 15px;
    height: 380px;
    overflow: hidden;
    background: var(--second-bg-color);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
}

.row:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--main-color);
    box-shadow: 0 20px 60px rgba(0, 238, 255, 0.4);
}

.row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.row:hover img {
    transform: scale(1.1) rotate(1deg);
    filter: blur(2px) brightness(0.7);
}

.layer {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 47, 0.85), var(--main-color));
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 30px;
    opacity: 0;
    transition: var(--transition);
    transform: translateY(20px);
}

.row:hover .layer {
    opacity: 1;
    transform: translateY(0);
}

.layer h5 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.layer p {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
}

.layer a {
    margin-top: 20px;
}

.layer i {
    font-size: 22px;
    background: #fff;
    color: var(--bg-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.layer i:hover {
    background: var(--main-color);
    color: #fff;
    transform: rotate(360deg);
}

/* Contact Form */

.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: flex-start;
    gap: 4rem;
    padding: 100px 5% 80px;
    margin-top: 50px;
    background: linear-gradient(135deg, #081b29 0%, #0a2540 50%, #081b29 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0ef, transparent);
}

.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;
    padding: 100px %;
    background: var(--bg-color);
}

.contact-text h2 {
    font-size: 55px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, var(--main-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-text h2 span {
    color: var(--main-color);
    -webkit-text-fill-color: var(--main-color);
}

.contact-text h4 {
    margin: 15px 0;
    color: var(--text-color);
    font-size: 20px;
    font-weight: 600;
}

.contact-text p {
    color: #a8b2d1;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-list {
    margin-bottom: 2rem;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #a8b2d1;
    font-size: 16px;
    transition: var(--transition);
}

.contact-list i {
    color: var(--main-color);
    font-size: 20px;
    margin-right: 15px;
    transition: var(--transition);
}

.contact-list li:hover i {
    transform: scale(1.2);
}

.contact-icons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    font-size: 20px;
    color: var(--main-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-icons a:hover {
    background: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--main-color);
    transform: translateY(-5px);
}

.contact-form {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form form input,
.contact-form form textarea {
    width: 100%;
    padding: 18px;
    background: var(--second-bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    outline: none;
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
}

.contact-form form input::placeholder,
.contact-form form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form form input:focus,
.contact-form form textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 15px var(--accent-glow);
}

.contact-form form textarea {
    resize: none;
    height: 200px;
}

.contact-form form .send {
    display: inline-block;
    padding: 14px 60px;
    background: var(--main-color);
    border: none;
    outline: none;
    border-radius: 4px;
    font-size: 16px;
    color: var(--bg-color);
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: max-content;
}

.contact-form form .send:hover {
    box-shadow: 0 0 20px var(--main-color);
    transform: translateY(-3px);
}

/* Success Message */
#success-message {
    display: none;
    text-align: center;
    padding: 40px;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--main-color);
    box-shadow: var(--accent-glow);
}

#success-message i {
    font-size: 80px;
    color: var(--main-color);
    margin-bottom: 20px;
}

#success-message h2 {
    color: var(--main-color);
    margin: 20px 0;
    font-size: 2rem;
}

#success-message p {
    color: #cbd5e0;
    font-size: 1.1rem;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 40px 10%;
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.last-text p {
    font-size: 14px;
    color: #a8b2d1;
}

.last-text span {
    color: var(--main-color);
}

.top i {
    padding: 10px;
    border-radius: 8px;
    font-size: 20px;
    color: var(--bg-color);
    background: var(--main-color);
    transition: var(--transition);
}

.top i:hover {
    box-shadow: 0 0 20px var(--main-color);
    transform: translateY(-5px);
}

@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}


@media (max-width: 1200px) {
    .header {
        padding: 20px 5%;
    }
}

@media (max-width: 991px) {
    .toggle-btn {
        display: block;
    }

    #menu-icon {
        font-size: 30px;
        cursor: pointer;
        display: block;
        color: var(--main-color);
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 5%;
        background: var(--glass-bg);
        -webkit-backdrop-filter: blur(25px);
        backdrop-filter: blur(25px);
        border-bottom: 1px solid var(--border-color);
        display: none;
        flex-direction: column;
        transition: .4s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        display: block;
        font-size: 1.3rem;
        margin: 1rem 0;
        margin-left: 0;
        text-align: center;
        opacity: 0;
        transform: translateY(-20px);
        transition: .4s ease;
        border-radius: 10px;
        padding: 10px;
    }

    .navbar a:hover {
        background: rgba(0, 238, 255, 0.1);
        color: var(--main-color);
    }

    .navbar.active a {
        opacity: 1;
        transform: translateY(0);
        transition-delay: calc(0.1s * var(--i));
        animation: none;
    }

    .home {
        flex-direction: column-reverse;
        height: auto;
        padding-top: 150px;
        padding-bottom: 50px;
        text-align: center;
        gap: 3rem;
    }

    .home-content h1 {
        font-size: 3.5rem;
    }

    .home-sci {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .home-sci img {
        width: 100%;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 80px 5%;
    }

    .about-img {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .pf {
        max-width: 300px;
    }

    .about-points {
        display: inline-block;
        text-align: left;
        max-width: 500px;
        margin: 0 auto 3rem;
    }

    .point {
        justify-content: flex-start;
        font-size: 16px;
        width: 100%;
    }

    .skills {
        flex-direction: column;
        align-items: center;
    }

    .container1 {
        width: 100%;
        margin-left: 0;
        padding: 50px 5%;
    }

    .contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .home-content h1 {
        font-size: 2.5rem;
    }

    .home-sci {
        width: 250px;
        height: 250px;
    }

    .sub-title {
        font-size: 2.5rem;
    }

    .contact-text h2 {
        font-size: 3rem;
    }
}