@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
}

:root {

    --bg-color: #0a0a0a;
    --second-bg-color: #131313;
    --card-bg: #1a1a1a;
    --text-color: #ffffff;
    --text-secondary: #a0a0a0;


    --primary-color: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --accent-color: #ec4899;


    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-bg: linear-gradient(180deg, #0a0a0a 0%, #1a0a2e 100%);


    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glow-primary: 0 0 20px rgba(139, 92, 246, 0.3);
    --glow-accent: 0 0 30px rgba(236, 72, 153, 0.4);


    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;


    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;


    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    font-size: 62.5%;

    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.6;
    overflow-x: hidden;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
    position: relative;
}


.heading {
    text-align: center;
    font-size: clamp(3.5rem, 5vw, 5.5rem);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.heading span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 5rem;
    font-weight: 400;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 10%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-base);
}

.header.sticky {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-md);
}

.header.hidden {
    transform: translateY(-100%);
}

.logo {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-color);
    cursor: pointer;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar a {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: var(--transition-base);
    position: relative;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.navbar a:hover,
.navbar a.active {
    color: var(--primary-light);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
    cursor: pointer;
}


.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}



#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.25;
}

.home-content {
    flex: 1;
    z-index: 2;
}

.hero-text-wrapper {
    margin-bottom: 3rem;
}

.hero-greeting {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-name {
    font-size: clamp(4rem, 6vw, 7rem);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-title span {
    color: var(--primary-light);
}

.hero-description {
    font-size: 1.8rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    animation: fadeInUp 0.6s ease 0.8s both;
}


.social-media {
    display: flex;
    gap: 1.5rem;
    margin: 3rem 0;
    animation: fadeInUp 0.6s ease 1s both;
}

.social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-light);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
    z-index: -1;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.social-link img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}


.cta-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 1.2s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 3.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}


.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}


.home-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 0.8s ease 0.4s both;
}

.img-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    animation: pulse 3s ease-in-out infinite;
}

.home-img img {
    width: min(35vw, 500px);
    border-radius: 50%;
    border: 3px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
    animation: floatImage 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    background: var(--second-bg-color);
}

.about-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-img img {
    width: min(35vw, 400px);
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-content h3 {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.7rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}


.services {
    background: var(--bg-color);
}

.services h2 {
    margin-bottom: 5rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.services-box {
    background: var(--card-bg);
    padding: 4rem 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.services-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
    z-index: -1;
}

.services-box:hover::before {
    opacity: 0.05;
}

.services-box:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.services-box i {
    font-size: 6rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: block;
}

.services-box h3 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.services-box p {
    font-size: 1.6rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}


.education {
    background: var(--second-bg-color);
    padding: 8rem 9% 5rem;
}

.education-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    margin-top: 4rem;
}

.education-column {
    flex: 1 1 400px;
}

.education-column .title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--primary-light);
    font-family: var(--font-heading);
}

.education-box {
    border-left: 3px solid var(--primary-color);
    padding-left: 2rem;
}

.education-content {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.education-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2.6rem;
    width: 2rem;
    height: 2rem;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: var(--glow-primary);
}

.content {
    position: relative;
    padding: 2.5rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: var(--transition-base);
    overflow: hidden;
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
    transition: var(--transition-slow);
    z-index: -1;
}

.content:hover::before {
    width: 100%;
}

.content:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
}

.content .year {
    font-size: 1.5rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.content p {
    font-size: 1.6rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


.portfolio {
    background: var(--bg-color);
}


.project-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 1.2rem 3rem;
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn:hover {
    border-color: rgba(139, 92, 246, 0.5);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}


.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}


.portfolio-box {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-base);
    cursor: pointer;
}

.portfolio-box:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
}


.portfolio-box {
    display: block;
    animation: fadeIn 0.5s ease;
}

.portfolio-box.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: var(--transition-slow);
}

.portfolio-box:hover .project-image-wrapper img {
    transform: scale(1.08);
}


.project-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.portfolio-box:hover .project-hover-overlay {
    opacity: 1;
}


.project-actions {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.portfolio-box:hover .project-actions {
    transform: translateY(0);
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 600;
    transition: var(--transition-base);
    white-space: nowrap;
}

.action-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

.action-btn:nth-child(2) {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.action-btn:nth-child(2):hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}


.project-details {
    padding: 2rem;
}

.project-name {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tag {
    padding: 0.5rem 1.2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-light);
    transition: var(--transition-base);
}

.tech-tag:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .portfolio-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 2rem;
    }

    .project-image-wrapper {
        height: 220px;
    }

    .filter-btn {
        padding: 1rem 2rem;
        font-size: 1.4rem;
    }

    .action-btn {
        padding: 1rem 2rem;
        font-size: 1.3rem;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 1.5rem;
    }

    .skill-category {
        padding: 2rem;
    }

    .skill-card {
        padding: 1.5rem 1rem;
    }

    .skill-icon {
        width: 4rem;
        height: 4rem;
        font-size: 3rem;
    }
}

@media (max-width: 450px) {
    .portfolio-container {
        grid-template-columns: 1fr;
    }

    .project-filters {
        gap: 1rem;
    }

    .filter-btn {
        flex: 1;
        min-width: 120px;
    }

    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .category-header h3 {
        font-size: 2rem;
    }
}


.skills {
    background: var(--second-bg-color);
    padding: 8rem 9% 5rem;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.skill-category {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-base);
}

.skill-category:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.category-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.category-header h3 {
    font-size: 2.4rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 1.5rem;
}


.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 1rem;
    aspect-ratio: 1/1;

    background: rgba(255, 255, 255, 0.03);

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;

    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skill-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}


.skill-icon {
    width: 75%;

    height: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.skill-icons img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.skill-card:hover .skill-icon {
    transform: scale(1.15);

}


.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
    z-index: 10;
}

.skill-card:hover::before {
    animation: shine 0.75s;
}

@keyframes shine {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

.skill-card h4 {
    display: none;
}


.contact {
    background: var(--bg-color);
    padding: 8rem 9% 5rem;
}

.contact form {
    max-width: 70rem;
    margin: 4rem auto 0;
}

.input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-field {
    flex: 1;
    min-width: 250px;
}

.input-field input,
.textarea-field textarea {
    width: 100%;
    padding: 1.8rem 2rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-family: var(--font-primary);
    transition: var(--transition-base);
}

.input-field input:focus,
.textarea-field textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
    outline: none;
}

.textarea-field {
    margin-bottom: 2rem;
}

.textarea-field textarea {
    resize: vertical;
    min-height: 200px;
}

.btn-box {
    text-align: center;
}

.error {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-top: 0.5rem;
}


.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 3rem 9%;
    background: var(--second-bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-text p {
    font-size: 1.6rem;
    color: var(--text-secondary);
}


.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: var(--gradient-primary);
    border-radius: 10px;
    z-index: 1000;
    transition: var(--transition-base);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.scroll-top-btn.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.scroll-top-btn i {
    font-size: 2.4rem;
    color: white;
}


[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 2rem 5%;
    }

    section {
        padding: 10rem 5% 2rem;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .home {
        flex-direction: column-reverse;
        gap: 3rem;
    }

    .home-img img {
        width: 60vw;
    }

    .about {
        flex-direction: column;
    }

    .about-img img {
        width: 60vw;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 2rem 0;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-img img {
        width: 70vw;
    }

    .about-img img {
        width: 70vw;
    }

    .portfolio-container {
        grid-template-columns: 1fr;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .input-field {
        min-width: 100%;
    }

    .project-links {
        flex-direction: column;
    }
}

@media (max-width: 365px) {

    .home-img img,
    .about-img img {
        width: 90vw;
    }

    .footer {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
    }
}


.cursor-dot {
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(139, 92, 246, 0.5);
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
    opacity: 1;
}

@media (max-width: 768px) {

    .cursor-dot,
    .cursor-outline {
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .cursor-dot.active,
    .cursor-outline.active {
        opacity: 1;
    }
}