@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #10b3ea;
    --secondary-color: #00ccff;
    --accent-color: #d400d4;
    --bg-dark: #101010;
    --bg-darker: #0a0a0a;
    --text-light: #ffffff;
    --text-gray: #c3c3c3;
    --gradient-primary: linear-gradient(135deg, #10b3ea, #00ccff);
    --gradient-secondary: linear-gradient(135deg, #d400d4, #ff0058);
    --shadow-glow: 0 0 20px rgba(16, 179, 234, 0.3);
    --shadow-strong: 0 8px 32px rgba(40, 100, 183, 0.37);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--bg-dark);
    color: var(--text-light);
    overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader-content {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: transparent;
}

/* Global Styles */
section {
    padding: 100px 0;
    position: relative;
}

.max-width {
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

/* Section Titles */
section .title {
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 60px;
    padding: 20px 0;
    font-family: 'Ubuntu', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(16, 179, 234, 0.3);
}

section .title::before,
section .title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    transform: translateY(-50%);
    border-radius: 1px;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

section .title::before {
    left: -50px;
    background: var(--gradient-primary);
}

section .title::after {
    right: -50px;
    background: var(--gradient-secondary);
    animation-delay: 1s;
}



@keyframes titleGlow {
    0% {
        box-shadow: 0 0 5px rgba(16, 179, 234, 0.5);
        width: 30px;
        opacity: 0.7;
    }

    100% {
        box-shadow: 0 0 20px rgba(16, 179, 234, 0.8);
        width: 40px;
        opacity: 1;
    }
}

/* Enhanced title styling with decorative elements */
section .title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Add decorative dots */
section .title::before {
    content: "●";
    position: absolute;
    left: 35.6%;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 12px;
    animation: dotPulse 2s ease-in-out infinite;
}

section .title::after {
    content: "●";
    position: absolute;
    right: 35.6%;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 12px;
    animation: dotPulse 2s ease-in-out infinite reverse;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }
}

/* Responsive adjustments for decorative dots */
@media (max-width: 947px) {
    section .title::before {
        left: 25%;
    }

    section .title::after {
        right: 25%;
    }
}

@media (max-width: 740px) {
    section .title::before {
        left: 20%;
    }

    section .title::after {
        right: 20%;
    }
}

@media (max-width: 500px) {
    section .title::before {
        left: 5%;
    }

    section .title::after {
        right: 5%;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 20px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.sticky {
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-strong);
    border-bottom: 1px solid rgba(16, 179, 234, 0.2);
}

.navbar .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo .logo-text {
    color: var(--text-light);
    font-size: 35px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.navbar .logo .logo-main {
    color: var(--text-light);
}

.navbar .logo .logo-sub {
    color: var(--primary-color);
    transition: var(--transition);
}

.navbar.sticky .logo .logo-sub {
    color: var(--text-light);
}

.navbar .menu {
    display: flex;
    list-style: none;
}

.navbar .menu li {
    list-style: none;
    display: inline-block;
}

.navbar .menu li a {
    display: block;
    color: var(--text-light);
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.navbar .menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.navbar .menu li a:hover::after,
.navbar .menu li a.active::after {
    width: 100%;
}

.navbar .menu li a:hover,
.navbar .menu li a.active {
    color: var(--primary-color);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.1s ease;
}

/* Hamburger Menu */
.menu-btn {
    display: none;
    cursor: pointer;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}



/* Home Section */
.home {
    display: flex;
    height: 100vh;
    color: var(--text-light);
    background: var(--bg-dark);
    min-height: 500px;
    font-family: 'Ubuntu', sans-serif;
    position: relative;
    overflow: hidden;
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(16, 179, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(212, 0, 212, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.home .max-width {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-content {
    text-align: center;
    max-width: 800px;
}

.hero-text {
    margin-bottom: 40px;
}

.home .home-content .text-1 {
    font-size: 24px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.home .home-content .text-2 {
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(16, 179, 234, 0.3);
}

.home .home-content .text-3 {
    font-size: 40px;
    margin-bottom: 30px;
}

.home .home-content .text-3 span {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.cta-button {
    position: relative;
}

.primary-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-primary);
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 179, 234, 0.4);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.primary-btn:hover .btn-glow {
    left: 100%;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    40% {
        transform: rotate(45deg) translateY(-10px);
    }

    60% {
        transform: rotate(45deg) translateY(-5px);
    }
}

/* About Section */
.about {
    color: var(--text-light);
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-top: 1px solid rgba(16, 179, 234, 0.1);
    border-bottom: 1px solid rgba(16, 179, 234, 0.1);
}

.about .title::before {
    background: var(--gradient-primary);
}

.about .title::after {
    content: "";
    background: var(--gradient-secondary);
}

.about .about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.about .about-content .left {
    width: 45%;
}

.image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.profile-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 179, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--text-light);
}

.overlay-content i {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.about .about-content .right {
    width: 50%;
}

.about .about-content .right .text {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 20px;
}

.about .about-content .right .text span {
    color: var(--primary-color);
}

.about .about-content .right p {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    text-decoration: none;
}

.download-btn:hover {
    color: var(--text-light);
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Skills Section */
.skills {
    color: var(--text-light);
    background: rgba(16, 16, 16, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-top: 1px solid rgba(212, 0, 212, 0.1);
    border-bottom: 1px solid rgba(212, 0, 212, 0.1);
}

.skills .title::before {
    background: var(--gradient-primary);
}

.skills .title::after {
    content: "";
    background: var(--gradient-secondary);
}

.skills .skills-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.skills .skills-content .column {
    width: calc(50% - 20px);
}

.skills .skills-content .left .text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.skills .skills-content .left p {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    text-decoration: none;
}

.learn-more-btn:hover {
    color: var(--text-light);
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.learn-more-btn i {
    transition: var(--transition);
}

.learn-more-btn:hover i {
    transform: translateX(5px);
}

.skills .skills-content .left p #link {
    border: none;
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

.skills .skills-content .left p #link:hover {
    color: var(--primary-color);
    text-decoration: underline;
    background: none;
}

.chart-container {
    width: 400px;
    height: 400px;
    margin: 0 auto;
    position: relative;
}

/* Projects Section */
.project {
    color: var(--text-light);
    background: rgba(8, 8, 8, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-top: 1px solid rgba(16, 179, 234, 0.15);
    border-bottom: 1px solid rgba(16, 179, 234, 0.15);
}

.project .title::before {
    background: var(--gradient-primary);
}

.project .title::after {
    content: "";
    background: var(--gradient-secondary);
}

.project .carousel .card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project .carousel .card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-color);
}

.project .carousel .card:hover .project-image img {
    transform: scale(1.1);
}

.project .carousel .card .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.project-image {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 179, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-image:hover .project-overlay {
    opacity: 1;
}

.overlay-buttons {
    display: flex;
    gap: 15px;
}

.view-code,
.view-project {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--text-light);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
}

.view-code:hover,
.view-project:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.na-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #dc3545;
    color: var(--text-light);
    border-radius: 25px;
    font-weight: 500;
}

.project .carousel .card .text {
    font-size: 25px;
    font-weight: 600;
    margin: 15px 0;
    color: var(--text-light);
}

.project .carousel .card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tech-tag {
    padding: 4px 12px;
    background: rgba(16, 179, 234, 0.2);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(16, 179, 234, 0.3);
}

/* Contact Section */
.contact {
    color: var(--text-light);
    background: rgba(12, 12, 12, 0.25);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-top: 1px solid rgba(212, 0, 212, 0.1);
    border-bottom: 1px solid rgba(212, 0, 212, 0.1);
}

.contact .title::before {
    background: var(--gradient-primary);
}

.contact .title::after {
    content: "";
    background: var(--gradient-secondary);
}

.contact .contact-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.contact .contact-content .column {
    width: calc(50% - 20px);
}

.contact .contact-content .text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact .contact-content .left p {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.contact .contact-content .left .icons {
    margin: 20px 0;
}

.contact .contact-content .row {
    display: flex;
    height: 65px;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact .contact-content .row:hover {
    background: rgba(16, 179, 234, 0.1);
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.icon-container {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: var(--shadow-glow);
}

.contact .contact-content .row i {
    font-size: 20px;
    color: var(--text-light);
}

.contact .contact-content .info .head {
    font-weight: 600;
    color: var(--text-light);
}

.contact .contact-content .info .sub-title {
    color: var(--text-gray);
    margin-top: 5px;
}

.contact .right form .fields {
    display: flex;
    gap: 15px;
}

.contact .right form .field,
.contact .right form .fields .field {
    height: 45px;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.contact .right form .textarea {
    height: 80px;
    width: 100%;
}

.contact .right form .name {
    margin-right: 0;
}

.contact .right form .field input,
.contact .right form .textarea textarea {
    height: 100%;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 0 20px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    color: var(--text-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(16, 179, 234, 0.2);
}

.contact .right form .textarea textarea {
    padding: 15px 20px;
    resize: none;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.contact .right form .field input:focus+.input-border,
.contact .right form .textarea textarea:focus+.input-border {
    width: 100%;
}

.contact .right form .button-area {
    display: flex;
    align-items: center;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
    background: var(--gradient-primary);
    border: none;
    width: 180px;
    height: 50px;
    outline: none;
    font-size: 17px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 179, 234, 0.4);
}

.submit-btn i {
    transition: var(--transition);
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Footer */
footer {
    position: relative;
    width: 100%;
    background: var(--gradient-primary);
    min-height: 37vh;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

footer h2 {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 2em;
    font-weight: 600;
}

#media {
    position: relative;
    display: flex;
    gap: 50px;
}

#media li {
    position: relative;
    list-style: none;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    transition: var(--transition);
}

#media li a {
    position: relative;
    text-decoration: none;
    color: var(--clr);
    z-index: 10;
    font-size: 2em;
    transition: var(--transition);
}

#media li a.instagram-link {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#media li:hover {
    z-index: 100000;
    transform: scale(0.75) translateY(-10px);
}

#media li::before {
    content: '';
    position: absolute;
    inset: 30px;
    box-shadow: 0 0 0 10px var(--clr),
        0 0 0 20px var(--bg-dark),
        0 0 0 22px var(--clr);
    transition: var(--transition);
}

#media li:hover::before {
    inset: 0px;
    border-radius: 50px;
}

#media li::after {
    content: '';
    position: absolute;
    border-radius: 50px;
    inset: 0;
    background: var(--bg-dark);
    transform: rotate(45deg);
}

footer p {
    color: var(--text-light);
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
    z-index: 10;
}

footer p a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    transition: var(--transition);
    opacity: 1 !important;
    visibility: visible !important;
}

footer p a:hover {
    text-decoration: underline;
    transform: scale(1.05);
}

/* Scroll to top button */
.scroll-up-btn {
    position: fixed;
    height: 50px;
    width: 50px;
    background: var(--gradient-primary);
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    text-align: center;
    line-height: 50px;
    color: var(--text-light);
    z-index: 999;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.scroll-up-btn.show {
    opacity: 1;
    pointer-events: auto;
}

.scroll-up-btn:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 15px 35px rgba(16, 179, 234, 0.6);
    background: var(--gradient-secondary);
}

/* Responsive Design */
@media (max-width: 1104px) {
    .about .about-content .left img {
        height: 350px;
        width: 350px;
    }

    .chart-container {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 991px) {
    .max-width {
        padding: 0 50px;
    }
}

@media (max-width: 947px) {
    .menu-btn {
        display: block;
        z-index: 999;
    }

    .navbar .menu {
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        text-align: center;
        padding-top: 80px;
        transition: var(--transition);
        flex-direction: column;
    }

    .navbar .menu.active {
        left: 0;
    }

    .navbar .menu li {
        display: block;
    }

    .navbar .menu li a {
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }

    .home .home-content .text-2 {
        font-size: 70px;
    }

    .home .home-content .text-3 {
        font-size: 35px;
    }

    .max-width {
        max-width: 930px;
    }

    .about .about-content .column {
        width: 100%;
    }

    .about .about-content .left {
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }

    .about .about-content .right {
        flex: 100%;
    }

    .skills .skills-content .column,
    .contact .contact-content .column {
        width: 100%;
        margin-bottom: 35px;
    }

    .chart-container {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 740px) {
    .max-width {
        padding: 0 23px;
    }

    .home .home-content .text-2 {
        font-size: 50px;
    }

    .home .home-content .text-3 {
        font-size: 32px;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .chart-container {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 500px) {
    body {
        overflow-x: hidden;
    }

    .home .home-content .text-2 {
        font-size: 40px;
    }

    .home .home-content .text-3 {
        font-size: 27px;
    }

    .about .about-content .right .text,
    .skills .skills-content .left .text {
        font-size: 19px;
    }

    .contact .right form .fields {
        flex-direction: column;
    }

    .contact .right form .name,
    .contact .right form .email {
        margin: 0;
    }

    .scroll-up-btn {
        right: 15px;
        bottom: 15px;
        height: 40px;
        width: 40px;
        font-size: 18px;
        line-height: 40px;
    }

    .chart-container {
        width: 300px;
        height: 300px;
    }

    #media li {
        width: 60px;
        height: 60px;
    }

    #media {
        gap: 30px;
    }
}
