/*
    Portfolio Website Stylesheet
    ===========================
    
    This stylesheet contains all styling for Mahsa's UI/UX Design Portfolio.
    Features include:
    - Responsive design with mobile-first approach
    - CSS custom properties for consistent theming
    - Smooth animations and transitions
    - Modern layout techniques (Flexbox, Grid)
    - Progressive enhancement for older browsers
    
    Author: Aradazr
    Version: 1.0.0
    Last Updated: 2024
*/

/* ==========================================================================
   RESET AND BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Custom Properties (CSS Variables) for consistent theming */
:root {
    /* Color Palette - Primary Colors */
    --primary-white: #ffffff;
    --secondary-white: #f8fafc;
    --tertiary-white: #f1f5f9;
    --primary-dark: #171838;
    --primary-blue: #171838;
    --secondary-blue: #4C00FE;

    /* Accent Colors */
    --accent-lilac: #4C00FE;
    --accent-lilac-light: #4C00FE;
    --accent-lilac-dark: #4C00FE;

    /* Typography Colors */
    --text-primary: #171838;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Glass Morphism Effects */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(104, 73, 197, 0.2);

    /* Shadow System */
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Base Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    /* Modern, clean typography */
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--secondary-white) 50%, var(--tertiary-white) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    /* Optimal reading line height */
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
}

/* ==========================================================================
   LAYOUT COMPONENTS
   ========================================================================== */

/* Main Container - Responsive max-width container */
.container {
    max-width: 1200px;
    /* Maximum content width */
    margin: 0 auto;
    /* Center container horizontally */
    padding: 0 20px;
    /* Horizontal padding for mobile */
}

/* ==========================================================================
   HEADER AND NAVIGATION
   ========================================================================== */

/* Fixed Header - Sticky navigation with glass morphism effect */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-lilac);
}





.nav-button {
    display: flex;
    align-items: center;
}

.about-me-btn {
    background: #1B3BEF;
    color: var(--primary-white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-me-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: #1529C7;
}



@keyframes wave {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(20deg);
    }

    75% {
        transform: rotate(-10deg);
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
    background: transparent;
    border: none;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Navigation Styles */
.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);
}

/* Mobile Menu Overlay */
.nav-menu.active {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Prevent body scroll when mobile menu is open */
body.nav-open {
    overflow: hidden;
}

/* Hide magic wand cursor on mobile */
@media (max-width: 768px) {
    .magic-wand-cursor {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--secondary-white) 50%, var(--tertiary-white) 100%);
    position: relative;
    overflow: hidden;
}

/* Parallax Background Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 41, 59, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 60% 60%, rgba(236, 72, 153, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(59, 130, 246, 0.05) 0%, transparent 55%);
    z-index: 1;
    animation: color-shift 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    right: -100px;
    bottom: -100px;
    background:
        radial-gradient(circle at 30% 70%, rgba(168, 85, 247, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 90% 10%, rgba(236, 72, 153, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 15% 85%, rgba(34, 197, 94, 0.04) 0%, transparent 50%);
    filter: blur(120px);
    z-index: 0;
    animation: gentle-pulse 8s ease-in-out infinite, float-move 12s ease-in-out infinite, color-shift 20s ease-in-out infinite reverse;
}

/* Additional parallax layers */
.hero .parallax-layer-1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(168, 85, 247, 0.03) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(139, 92, 246, 0.02) 50%, transparent 70%);
    z-index: 1;
    animation: layer-move-1 18s ease-in-out infinite;
}

.hero .parallax-layer-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(168, 85, 247, 0.02) 50px, rgba(168, 85, 247, 0.02) 52px),
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(139, 92, 246, 0.015) 50px, rgba(139, 92, 246, 0.015) 52px);
    z-index: 1;
    animation: layer-move-2 25s ease-in-out infinite;
}

@keyframes color-shift {

    0%,
    100% {
        filter: hue-rotate(0deg) saturate(1);
    }

    33% {
        filter: hue-rotate(30deg) saturate(1.1);
    }

    66% {
        filter: hue-rotate(-20deg) saturate(0.9);
    }
}

@keyframes layer-move-1 {

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

    25% {
        transform: translateX(-30px) translateY(20px) rotate(1deg);
    }

    50% {
        transform: translateX(20px) translateY(-25px) rotate(-1deg);
    }

    75% {
        transform: translateX(-15px) translateY(15px) rotate(0.5deg);
    }
}

@keyframes layer-move-2 {

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

    33% {
        transform: translateX(40px) translateY(-30px) scale(1.02);
    }

    66% {
        transform: translateX(-25px) translateY(35px) scale(0.98);
    }
}

@keyframes gentle-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

@keyframes float-move {

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

    25% {
        transform: translateX(20px) translateY(-15px) rotate(2deg);
    }

    50% {
        transform: translateX(-10px) translateY(10px) rotate(-1deg);
    }

    75% {
        transform: translateX(15px) translateY(5px) rotate(1deg);
    }
}

/* Hero Image Entrance Animation */
@keyframes hero-image-entrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px) rotate(-5deg);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05) translateY(-5px) rotate(2deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Hero Cursor Images */
.hero-cursor-one {
    height: 60px;
    position: absolute;
    top: 30%;
    right: 20%;
    z-index: 3;
    opacity: 0.8;
    transform: scale(0.3);
    animation: float-cursor-one 6s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(168, 85, 247, 0.3));
}

.hero-cursor-two {
    height: 60px;
    position: absolute;
    bottom: 30%;
    left: 20%;
    z-index: 3;
    opacity: 0.7;
    transform: scale(0.25);
    animation: float-cursor-two 8s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.3));
}

@keyframes float-cursor-one {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) translateX(5px) rotate(5deg);
    }

    50% {
        transform: translateY(-5px) translateX(-8px) rotate(-3deg);
    }

    75% {
        transform: translateY(-15px) translateX(3px) rotate(2deg);
    }
}

@keyframes float-cursor-two {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-8px) translateX(-5px) rotate(-4deg);
    }

    66% {
        transform: translateY(-12px) translateX(6px) rotate(3deg);
    }
}

.hero-content {
    text-align: center;
}

.hero-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0rem;
    animation: hero-image-entrance 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: scale(0.8) translateY(30px);
}

.hero-about-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.hero-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: gentle-pulse 3s ease-in-out infinite;
}

.hero-title {
    font-size: 72px;
    font-weight: 600;
    line-height: 1.2;
    color: #413D57;
    margin: 0;
    margin-bottom: 0.5rem;
}

.hero-profession {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 44px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    position: relative;
}

.profession-pill {
    background: transparent;
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 44px;
    position: relative;
}

.profession-pill::before {
    content: '';
    position: absolute;
    top: 2px;
    left: -5px;
    width: 339px;
    height: 82px;
    background-color: rgba(200, 197, 255, 0.469) !important;
    border-radius: 58px;
    transform: rotate(3.5deg);
    z-index: -1;
    box-shadow: none;
    filter: none;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* About Me Section */
.about {
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--secondary-white) 100%);
    position: relative;
    overflow: hidden;
}

.about-header {
    position: relative;
    z-index: 2;
    margin-bottom: -2;
    display: flex;
    justify-content: center;
}

.about-header::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    right: -200px;
    bottom: -200px;
    background:
        radial-gradient(600px circle at 0% 0%, rgba(104, 73, 197, 0.15), transparent 50%),
        radial-gradient(400px circle at 100% 0%, rgba(168, 85, 247, 0.1), transparent 50%),
        radial-gradient(300px circle at 100% 100%, rgba(23, 24, 56, 0.08), transparent 50%),
        radial-gradient(500px circle at 0% 100%, rgba(104, 73, 197, 0.12), transparent 50%);
    filter: blur(40px);
    z-index: -1;
    animation: about-parallax-1 25s ease-in-out infinite;
}

.about-header::after {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    right: -150px;
    bottom: -150px;
    background:
        radial-gradient(300px circle at 50% 50%, rgba(168, 85, 247, 0.08), transparent 50%),
        radial-gradient(200px circle at 25% 75%, rgba(104, 73, 197, 0.06), transparent 50%),
        radial-gradient(250px circle at 75% 25%, rgba(23, 24, 56, 0.05), transparent 50%);
    filter: blur(30px);
    z-index: -1;
    animation: about-parallax-2 18s ease-in-out infinite reverse;
}

.about-background {
    position: relative;
    background: transparent;
    border-radius: 120px 120px 60px 60px;
    padding: 2.5rem 3rem;
    max-width: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
}

.about-content {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.about-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-lilac);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.25rem;
    opacity: 0.85;
}

.about-title {
    font-size: 2.75rem;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.1;
}

.about-text-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 0;
}

.about-text {
    font-size: 18px;
    font-weight: 400;
    color: #4D4D51;
    line-height: 1.6;
    margin: 0;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.about-text {
    font-size: 20px;
    font-weight: 400;
    color: #4D4D51;
    line-height: 1.6;
    margin: 0;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

/* About Me Parallax Animations */
@keyframes about-parallax-1 {

    0%,
    100% {
        transform: translateX(0) translateY(0) rotate(0deg) scale(1);
        opacity: 0.8;
    }

    25% {
        transform: translateX(-30px) translateY(-20px) rotate(2deg) scale(1.05);
        opacity: 1;
    }

    50% {
        transform: translateX(20px) translateY(-15px) rotate(-1deg) scale(0.95);
        opacity: 0.9;
    }

    75% {
        transform: translateX(-15px) translateY(25px) rotate(1deg) scale(1.02);
        opacity: 0.85;
    }
}

@keyframes about-parallax-2 {

    0%,
    100% {
        transform: translateX(0) translateY(0) rotate(0deg) scale(1);
        opacity: 0.6;
    }

    33% {
        transform: translateX(25px) translateY(-30px) rotate(-2deg) scale(1.1);
        opacity: 0.8;
    }

    66% {
        transform: translateX(-20px) translateY(20px) rotate(1deg) scale(0.9);
        opacity: 0.7;
    }
}

/* Floating particles for About Me */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(104, 73, 197, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(168, 85, 247, 0.2), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(104, 73, 197, 0.4), transparent),
        radial-gradient(1px 1px at 13% 56%, rgba(168, 85, 247, 0.3), transparent),
        radial-gradient(2px 2px at 67% 23%, rgba(104, 73, 197, 0.2), transparent),
        radial-gradient(1px 1px at 84% 74%, rgba(168, 85, 247, 0.3), transparent),
        radial-gradient(2px 2px at 15% 83%, rgba(104, 73, 197, 0.2), transparent),
        radial-gradient(1px 1px at 60% 87%, rgba(168, 85, 247, 0.4), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: about-particles 20s linear infinite;
    z-index: 1;
}

/* WOW Effects for About Me */
.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(104, 73, 197, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(104, 73, 197, 0.05) 0%, transparent 50%);
    animation: about-glow 8s ease-in-out infinite;
    z-index: 1;
}

/* Sparkle effects */
.about .sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #4C00FE, #6B26FF, #824AC7);
    border-radius: 50%;
    animation: sparkle-twinkle 3s ease-in-out infinite;
    z-index: 2;
}

.about .sparkle:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.about .sparkle:nth-child(2) {
    top: 60%;
    left: 85%;
    animation-delay: 0.5s;
}

.about .sparkle:nth-child(3) {
    top: 80%;
    left: 25%;
    animation-delay: 1s;
}

.about .sparkle:nth-child(4) {
    top: 30%;
    left: 75%;
    animation-delay: 1.5s;
}

.about .sparkle:nth-child(5) {
    top: 70%;
    left: 45%;
    animation-delay: 2s;
}

/* Magnetic hover effect for title */
.about-title {
    font-size: 2.75rem;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    line-height: 1.1;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.about-title:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(104, 73, 197, 0.5);
    color: #4C00FE;
}

/* Text reveal animation */
.about-text {
    font-size: 20px;
    font-weight: 400;
    color: #4D4D51;
    line-height: 1.6;
    margin: 0;
    margin-top: 0;
    position: relative;
    z-index: 2;
    animation: text-reveal 2s ease-out;
}

/* Floating orbs */
.about .floating-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(104, 73, 197, 0.3), rgba(168, 85, 247, 0.2));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floating-orb 12s ease-in-out infinite;
    z-index: 1;
}

.about .floating-orb:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.about .floating-orb:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 70%;
    right: 15%;
    animation-delay: 4s;
}

.about .floating-orb:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 8s;
}

@keyframes about-particles {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-200px);
    }
}

/* WOW Animation Keyframes */
@keyframes about-glow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(180deg);
    }
}

@keyframes sparkle-twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.5) rotate(0deg);
        box-shadow: 0 0 5px rgba(104, 73, 197, 0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.5) rotate(180deg);
        box-shadow: 0 0 20px rgba(104, 73, 197, 1), 0 0 30px rgba(168, 85, 247, 0.8);
    }
}

@keyframes text-reveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }

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

@keyframes floating-orb {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translateY(-30px) translateX(20px) rotate(90deg) scale(1.1);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-10px) translateX(-15px) rotate(180deg) scale(0.9);
        opacity: 0.7;
    }

    75% {
        transform: translateY(-25px) translateX(10px) rotate(270deg) scale(1.05);
        opacity: 0.9;
    }
}

/* Pulse effect for background */
.about-background {
    position: relative;
    background: transparent;
    border-radius: 120px 120px 60px 60px;
    padding: 2.5rem 3rem;
    max-width: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
}

@keyframes background-pulse {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(104, 73, 197, 0.1);
    }

    50% {
        box-shadow: 0 0 60px rgba(104, 73, 197, 0.3), 0 0 90px rgba(168, 85, 247, 0.2);
    }
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #1B3BEF;
    color: white;
    box-shadow: var(--shadow-medium);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border: 0.2px solid rgba(0, 0, 0, 0.3);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-lilac));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}



/* Projects Section */
.projects {
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--secondary-white) 100%);
    position: relative;
    overflow: hidden;
}

/* Concepts Section */
.concepts {
    background: linear-gradient(135deg, var(--secondary-white) 0%, var(--tertiary-white) 100%);
    position: relative;
    overflow: hidden;
}

/* Kit Section */
.kit {
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--secondary-white) 100%);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(104, 73, 197, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(23, 24, 56, 0.06) 0%, transparent 50%);
    z-index: 1;
}

/* Enhanced Parallax Background for Concepts Section */
.projects::after {
    content: '';
    position: absolute;
    top: -300px;
    left: -300px;
    right: -300px;
    bottom: -300px;
    background:
        radial-gradient(800px circle at 10% 20%, rgba(168, 85, 247, 0.12), transparent 50%),
        radial-gradient(600px circle at 90% 80%, rgba(104, 73, 197, 0.1), transparent 50%),
        radial-gradient(400px circle at 50% 50%, rgba(139, 92, 246, 0.08), transparent 50%),
        radial-gradient(700px circle at 80% 10%, rgba(23, 24, 56, 0.06), transparent 50%),
        radial-gradient(500px circle at 20% 90%, rgba(168, 85, 247, 0.05), transparent 50%);
    filter: blur(80px);
    z-index: 0;
    animation: concepts-parallax-1 25s ease-in-out infinite;
}

/* Additional parallax layers for concepts */
.projects .concepts-parallax-layer-1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(168, 85, 247, 0.04) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(139, 92, 246, 0.03) 50%, transparent 70%),
        repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(104, 73, 197, 0.02) 100px, rgba(104, 73, 197, 0.02) 102px);
    z-index: 1;
    animation: concepts-layer-move-1 30s ease-in-out infinite;
}

.projects .concepts-parallax-layer-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(168, 85, 247, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 1;
    animation: concepts-layer-move-2 35s ease-in-out infinite reverse;
}

.projects .concepts-parallax-layer-3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(45deg, transparent, transparent 80px, rgba(168, 85, 247, 0.015) 80px, rgba(168, 85, 247, 0.015) 82px),
        repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(139, 92, 246, 0.01) 60px, rgba(139, 92, 246, 0.01) 62px);
    z-index: 1;
    animation: concepts-layer-move-3 40s ease-in-out infinite;
}

/* Parallax animations for concepts section */
@keyframes concepts-parallax-1 {

    0%,
    100% {
        transform: translateX(0) translateY(0) rotate(0deg) scale(1);
        opacity: 0.8;
    }

    25% {
        transform: translateX(-60px) translateY(-40px) rotate(90deg) scale(1.05);
        opacity: 1;
    }

    50% {
        transform: translateX(40px) translateY(-60px) rotate(180deg) scale(0.95);
        opacity: 0.6;
    }

    75% {
        transform: translateX(-30px) translateY(50px) rotate(270deg) scale(1.02);
        opacity: 0.9;
    }
}

@keyframes concepts-layer-move-1 {

    0%,
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.4;
    }

    33% {
        transform: translateX(-40px) translateY(30px) rotate(120deg);
        opacity: 0.6;
    }

    66% {
        transform: translateX(30px) translateY(-40px) rotate(240deg);
        opacity: 0.3;
    }
}

@keyframes concepts-layer-move-2 {

    0%,
    100% {
        transform: translateX(0) translateY(0) scale(1) rotate(0deg);
        opacity: 0.5;
    }

    25% {
        transform: translateX(50px) translateY(-30px) scale(1.1) rotate(90deg);
        opacity: 0.7;
    }

    50% {
        transform: translateX(-40px) translateY(50px) scale(0.9) rotate(180deg);
        opacity: 0.4;
    }

    75% {
        transform: translateX(20px) translateY(-20px) scale(1.05) rotate(270deg);
        opacity: 0.6;
    }
}

@keyframes concepts-layer-move-3 {

    0%,
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateX(-30px) translateY(20px) rotate(180deg);
        opacity: 0.5;
    }
}

/* Project card parallax animations */
@keyframes project-card-parallax {

    0%,
    100% {
        transform: translateX(0) translateY(0) rotate(0deg) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translateX(-20px) translateY(-15px) rotate(45deg) scale(1.02);
        opacity: 0.8;
    }

    50% {
        transform: translateX(15px) translateY(-20px) rotate(90deg) scale(0.98);
        opacity: 0.5;
    }

    75% {
        transform: translateX(-10px) translateY(10px) rotate(135deg) scale(1.01);
        opacity: 0.7;
    }
}

@keyframes project-card-layer {

    0%,
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateX(15px) translateY(-10px) rotate(180deg);
        opacity: 0.5;
    }
}

/* Projects Header */
.projects-header {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.projects-header::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    right: -200px;
    bottom: -200px;
    background:
        radial-gradient(600px circle at 0% 0%, rgba(104, 73, 197, 0.15), transparent 50%),
        radial-gradient(400px circle at 100% 0%, rgba(168, 85, 247, 0.1), transparent 50%),
        radial-gradient(300px circle at 100% 100%, rgba(23, 24, 56, 0.08), transparent 50%),
        radial-gradient(500px circle at 0% 100%, rgba(104, 73, 197, 0.12), transparent 50%);
    filter: blur(40px);
    z-index: -1;
    animation: modern-parallax 20s linear infinite;
}

.projects-header::after {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    right: -150px;
    bottom: -150px;
    background:
        radial-gradient(300px circle at 50% 50%, rgba(168, 85, 247, 0.08), transparent 50%),
        radial-gradient(200px circle at 25% 75%, rgba(104, 73, 197, 0.06), transparent 50%),
        radial-gradient(250px circle at 75% 25%, rgba(23, 24, 56, 0.05), transparent 50%);
    filter: blur(30px);
    z-index: -1;
    animation: modern-parallax-reverse 15s linear infinite;
}

.projects-background {
    position: relative;
    background: transparent;
    border-radius: 120px 120px 60px 60px;
    padding: 2.5rem 3rem;
    max-width: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
}

.projects-content {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.projects-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-lilac);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.projects-title {
    font-size: 2.75rem;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.1;
}

/* Kit Header */
.kit-header {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.kit-header::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    right: -200px;
    bottom: -200px;
    background:
        radial-gradient(600px circle at 0% 0%, rgba(104, 73, 197, 0.15), transparent 50%),
        radial-gradient(400px circle at 100% 0%, rgba(168, 85, 247, 0.1), transparent 50%),
        radial-gradient(300px circle at 100% 100%, rgba(23, 24, 56, 0.08), transparent 50%),
        radial-gradient(500px circle at 0% 100%, rgba(104, 73, 197, 0.12), transparent 50%);
    filter: blur(40px);
    z-index: -1;
    animation: modern-parallax 20s linear infinite;
}

.kit-header::after {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    right: -150px;
    bottom: -150px;
    background:
        radial-gradient(300px circle at 50% 50%, rgba(168, 85, 247, 0.08), transparent 50%),
        radial-gradient(200px circle at 25% 75%, rgba(104, 73, 197, 0.06), transparent 50%),
        radial-gradient(250px circle at 75% 25%, rgba(23, 24, 56, 0.05), transparent 50%);
    filter: blur(30px);
    z-index: -1;
    animation: modern-parallax-reverse 15s linear infinite;
}

.kit-background {
    position: relative;
    background: transparent;
    border-radius: 120px 120px 60px 60px;
    padding: 2.5rem 3rem;
    max-width: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
}

.kit-content {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.kit-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-lilac);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.kit-title {
    font-size: 2.75rem;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.1;
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--secondary-white) 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}



.skills-header {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
}



.skills-background {
    position: relative;
    background: transparent;
    border-radius: 120px 120px 60px 60px;
    padding: 2.5rem 3rem;
    max-width: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
}

.skills-content {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.skills-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-lilac);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.25rem;
    opacity: 0.85;
}

.skills-title {
    font-size: 2.75rem;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.1;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.skill-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



.skill-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(104, 73, 197, 0.15);
    border-color: rgba(104, 73, 197, 0.3);
}

.skill-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(104, 73, 197, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}



.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(104, 73, 197, 0.3);
}



.skill-icon i {
    font-size: 2.5rem;
    color: var(--text-primary);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.skill-card:hover .skill-icon i {
    color: #4C00FE;
    transform: scale(1.1);
}

.skill-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    transition: all 0.4s ease;
}

.skill-card:hover h3 {
    color: #4C00FE;
}

.skill-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    transition: all 0.4s ease;
}

.skill-card:hover p {
    color: var(--text-primary);
}

/* Hidden Skills */
.hidden-skill {
    max-height: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: none;
}

.hidden-skill.show {
    max-height: 400px;
    padding: 2.5rem;
    margin: 0;
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* See More Skills Button */
.see-more-skills-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.see-more-skills-btn {
    background: linear-gradient(135deg, var(--accent-lilac), var(--primary-dark));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 20px rgba(104, 73, 197, 0.3);
    position: relative;
    overflow: hidden;
}

.see-more-skills-btn::before {
    content: '';
    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 ease;
}

.see-more-skills-btn:hover::before {
    left: 100%;
}

.see-more-skills-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(104, 73, 197, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-lilac));
}

.see-more-skills-icon {
    transition: transform 0.3s ease;
}

.see-more-skills-btn.active .see-more-skills-icon {
    transform: rotate(180deg);
}

.see-more-skills-btn.active .see-more-skills-text {
    opacity: 0.8;
}

/* Concepts Header */
.concepts-header {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.concepts-header::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    right: -200px;
    bottom: -200px;
    background:
        radial-gradient(600px circle at 0% 0%, rgba(104, 73, 197, 0.15), transparent 50%),
        radial-gradient(400px circle at 100% 0%, rgba(168, 85, 247, 0.1), transparent 50%),
        radial-gradient(300px circle at 100% 100%, rgba(23, 24, 56, 0.08), transparent 50%),
        radial-gradient(500px circle at 0% 100%, rgba(104, 73, 197, 0.12), transparent 50%);
    filter: blur(40px);
    z-index: -1;
    animation: modern-parallax 20s linear infinite;
}

.concepts-header::after {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    right: -150px;
    bottom: -150px;
    background:
        radial-gradient(300px circle at 50% 50%, rgba(168, 85, 247, 0.08), transparent 50%),
        radial-gradient(200px circle at 25% 75%, rgba(104, 73, 197, 0.06), transparent 50%),
        radial-gradient(250px circle at 75% 25%, rgba(23, 24, 56, 0.05), transparent 50%);
    filter: blur(30px);
    z-index: -1;
    animation: modern-parallax-reverse 15s linear infinite;
}

@keyframes modern-parallax {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.8;
    }

    25% {
        transform: translateX(-50px) translateY(-30px) rotate(90deg);
        opacity: 1;
    }

    50% {
        transform: translateX(30px) translateY(-50px) rotate(180deg);
        opacity: 0.6;
    }

    75% {
        transform: translateX(-20px) translateY(40px) rotate(270deg);
        opacity: 0.9;
    }

    100% {
        transform: translateX(0) translateY(0) rotate(360deg);
        opacity: 0.8;
    }
}

@keyframes modern-parallax-reverse {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg) scale(1);
        opacity: 0.6;
    }

    33% {
        transform: translateX(40px) translateY(-20px) rotate(-120deg) scale(1.1);
        opacity: 0.8;
    }

    66% {
        transform: translateX(-30px) translateY(30px) rotate(-240deg) scale(0.9);
        opacity: 0.5;
    }

    100% {
        transform: translateX(0) translateY(0) rotate(-360deg) scale(1);
        opacity: 0.6;
    }
}

.concepts-background {
    position: relative;
    background: transparent;
    border-radius: 120px 120px 60px 60px;
    padding: 2.5rem 3rem;
    max-width: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
}

.concepts-content {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.concepts-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-lilac);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.concepts-title {
    font-size: 2.75rem;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.1;
}

.concepts-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    opacity: 0.7;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

/* Hide hidden projects from layout flow */
.projects-grid .hidden-project:not(.show) {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

/* Ensure hidden projects are completely hidden */
.projects-grid .hidden-project,
.concepts .projects-grid .hidden-project,
.kit .projects-grid .hidden-project {
    opacity: 0;
    max-height: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transform: translateY(-20px) scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, padding 0.4s ease;
    pointer-events: none;
    visibility: hidden;
    position: relative;
    filter: blur(3px);
}

.projects-grid .hidden-project.show,
.concepts .projects-grid .hidden-project.show,
.kit .projects-grid .hidden-project.show {
    opacity: 1;
    max-height: 800px;
    height: auto;
    margin: 0;
    padding: 3rem;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
    position: relative;
    filter: blur(0px);
    top: auto;
    left: auto;
    width: auto;
    z-index: auto;
}

.project-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    background: #F7F8FE;
    border-radius: 24px;
    padding: 3rem;
    box-shadow:
        0 20px 40px rgba(104, 73, 197, 0.1),
        0 8px 16px rgba(23, 24, 56, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: none;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    animation: card-load-in 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Load animation for cards */
.project-showcase.loaded {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered animation delays for multiple cards */
.project-showcase:nth-child(1) {
    animation-delay: 0.1s;
}

.project-showcase:nth-child(2) {
    animation-delay: 0.3s;
}

.project-showcase:nth-child(3) {
    animation-delay: 0.5s;
}

.project-showcase:nth-child(4) {
    animation-delay: 0.7s;
}

/* Card load animation keyframes */
@keyframes card-load-in {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95) rotateX(10deg);
        filter: blur(10px);
    }

    50% {
        opacity: 0.7;
        transform: translateY(20px) scale(0.98) rotateX(5deg);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0px);
    }
}

/* Additional hover animation enhancement */
.project-showcase.loaded:hover {
    transform: translateY(-8px) translateX(3px) scale(1.02);
    box-shadow:
        0 32px 64px rgba(104, 73, 197, 0.15),
        0 16px 32px rgba(23, 24, 56, 0.08),
        0 8px 16px rgba(104, 73, 197, 0.1);
    border: 2px solid var(--accent-lilac);
}

/* Parallax background for project showcase cards */
.project-showcase::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background:
        radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.08), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(104, 73, 197, 0.06), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.04), transparent 60%);
    filter: blur(30px);
    z-index: -1;
    animation: project-card-parallax 20s ease-in-out infinite;
}

.project-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 40%, rgba(168, 85, 247, 0.02) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(139, 92, 246, 0.015) 50%, transparent 60%);
    z-index: -1;
    animation: project-card-layer 15s ease-in-out infinite reverse;
}

.hidden-project {
    opacity: 0;
    max-height: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transform: translateY(-20px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    visibility: hidden;
    position: relative;
}

.hidden-project.show {
    opacity: 1;
    max-height: 1000px;
    height: auto;
    margin: 0;
    padding: 3rem;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    position: relative;
}

/* Original hover effect - now handled by .project-showcase.loaded:hover above */

.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 0.5rem;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-40px) scale(0.9);
    animation: image-load-in 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s forwards;
}

.project-showcase.loaded .project-image {
    opacity: 1;
    transform: translateX(0) scale(1);
}

@keyframes image-load-in {
    0% {
        opacity: 0;
        transform: translateX(-40px) scale(0.9);
        filter: blur(5px);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-10px) scale(0.95);
        filter: blur(2px);
    }

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

.project-img {
    width: 522px;
    height: 468px;
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
    transform: scale(1.1);
    margin-left: -3%;
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: content-load-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s forwards;
}

.project-showcase.loaded .project-content {
    opacity: 1;
    transform: translateY(0);
}

@keyframes content-load-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

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

.project-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-lilac));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.project-description {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}

.project-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.project-btn::before {
    content: '';
    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 ease;
}

.project-btn:hover::before {
    left: 100%;
}

.btn-figma {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-figma:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.btn-instagram {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
    color: white;
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(131, 58, 180, 0.4);
    background: linear-gradient(135deg, #6A1B9A, #E91E63, #FF5722);
}

.btn-dribbble {
    background: linear-gradient(135deg, #EA4C89, #FF6B9D);
    color: white;
    box-shadow: 0 4px 12px rgba(234, 76, 137, 0.3);
}

.btn-dribbble:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 76, 137, 0.4);
    background: linear-gradient(135deg, #D63384, #E91E63);
}

.btn-behance {
    background: linear-gradient(135deg, #1769ff, #4a90e2);
    color: white;
    box-shadow: 0 4px 12px rgba(23, 105, 255, 0.3);
}

.btn-behance:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 105, 255, 0.4);
    background: linear-gradient(135deg, #0052cc, #1769ff);
}

.project-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.project-btn:hover i {
    transform: scale(1.1);
}

.see-more-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.see-more-btn {
    background: linear-gradient(135deg, var(--accent-lilac), var(--primary-dark));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 20px rgba(104, 73, 197, 0.3);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: button-load-in 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s forwards;
}

.see-more-btn.loaded {
    opacity: 1;
    transform: translateY(0);
}

@keyframes button-load-in {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    50% {
        opacity: 0.7;
        transform: translateY(10px) scale(0.95);
    }

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

.see-more-btn::before {
    content: '';
    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 ease;
}

.see-more-btn:hover::before {
    left: 100%;
}

.see-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(104, 73, 197, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-lilac));
}

.see-more-icon {
    transition: transform 0.3s ease;
}

.see-more-btn.active .see-more-icon {
    transform: rotate(180deg);
}

.see-more-btn.active .see-more-text {
    content: "See Less";
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, var(--secondary-white) 0%, var(--tertiary-white) 100%);
}

.testimonials-scroll-container {
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 20px 0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}

.testimonials-scroll {
    display: flex;
    gap: 2rem;
    -webkit-animation: scroll-testimonials 25s linear infinite;
    animation: scroll-testimonials 25s linear infinite;
    width: max-content;
    padding: 0;
    margin-left: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    will-change: transform;
}

.testimonials-scroll:hover {
    animation-play-state: paused;
}

@-webkit-keyframes scroll-testimonials {
    0% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes scroll-testimonials {
    0% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    width: 350px;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    transform-style: preserve-3d;
    perspective: 1000px;
    position: relative;
    overflow: hidden;
}

/* Decorative shapes for testimonial cards */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(104, 73, 197, 0.1), rgba(168, 85, 247, 0.05));
    border-radius: 50%;
    z-index: 0;
    transition: all 0.4s ease;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(104, 73, 197, 0.03));
    border-radius: 8px;
    transform: rotate(45deg);
    z-index: 0;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.03) rotateX(2deg) rotateY(2deg);
    border: 2px solid rgba(104, 73, 197, 0.847);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
    transform-style: preserve-3d;
}

.testimonial-card:hover::before {
    transform: scale(1.2) rotate(15deg);
    background: linear-gradient(135deg, rgba(104, 73, 197, 0.15), rgba(168, 85, 247, 0.08));
}

.testimonial-card:hover::after {
    transform: rotate(225deg) scale(1.1);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(104, 73, 197, 0.06));
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.testimonial-card:hover .testimonial-content {
    transform: translateY(-3px);
}

.testimonial-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-style: italic;
    line-height: 1.6;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.testimonial-card:hover .testimonial-author {
    transform: translateY(2px);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-blue);
}

.author-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    background: var(--primary-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-lilac);
    transform: translateX(5px);
}

.contact-link p {
    margin: 0;
    transition: all 0.3s ease;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary-dark);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, var(--accent-lilac), var(--accent-lilac-light));
}

.social-link i {
    font-size: 1.25rem;
}

/* Contact Form Styles */
.contact-form-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: fit-content;
    display: flex;
    flex-direction: column;
}

.contact-form-container:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.45rem;
}

.contact-form .form-group:last-of-type {
    flex-grow: 1;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
    flex: 1;
}

.contact-form .btn {
    margin-top: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Footer */
.footer {
    background: var(--primary-white);
    border-top: 1px solid rgba(168, 85, 247, 0.1);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-lilac);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 50%;
    color: var(--primary-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    line-height: 1;
}

.footer-social a i {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.footer-social a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(168, 85, 247, 0.1);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Container adjustments */
    .container {
        padding: 0 15px;
    }

    /* Header and Navigation */
    .nav-menu {
        display: none;
    }

    .nav-button {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-brand h2 {
        font-size: 1.3rem;
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        padding: 1rem 0 0;
        margin-top: 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
    }

    .hero-image {
        order: -1;
        width: 100%;
        max-width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-profession {
        font-size: 1.6rem;
        gap: 0.3rem;
    }

    .profession-pill {
        font-size: 1.6rem;
        padding: 0.3rem 0.9rem;
    }

    .profession-pill::before {
        width: 200px;
        height: 55px;
        top: 10;
        left: -1px;
    }

    .hero-cursor-one {
        top: 25%;
        right: 8%;
        transform: scale(0.2);
    }

    .hero-cursor-two {
        bottom: 15%;
        left: 6%;
        transform: scale(0.15);
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-profession {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }

    .btn {
        width: auto;
        max-width: none;
        padding: 0.875rem 1.5rem;
    }

    /* About Section */
    .about {
        padding: 3rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }

    .about-header {
        padding: 2rem 0;
        text-align: center;
        width: 100%;
    }

    .about-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-top: -1rem;
    }

    .about-text-container {
        margin-top: -1rem;
        text-align: center;
        width: 100%;
        max-width: 90%;
    }

    /* Section Headers */
    .projects-header,
    .concepts-header,
    .kit-header,
    .skills-header {
        margin-bottom: 1.5rem;
    }

    .projects-title,
    .concepts-title,
    .kit-title,
    .skills-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    /* Skills Section */
    .skills {
        padding: 4rem 0;
    }

    .skills-background {
        padding: 2rem 1.5rem;
        border-radius: 80px 80px 40px 40px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .skill-card {
        padding: 2rem;
        aspect-ratio: auto;
        min-height: 200px;
    }

    .skill-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .skill-icon i {
        font-size: 2rem;
    }

    .skill-card h3 {
        font-size: 1.25rem;
    }

    .skill-card:hover {
        transform: translateY(-5px);
    }

    /* Skills See More Button */
    .see-more-skills-container {
        margin-top: 2rem;
    }

    .see-more-skills-btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        gap: 0.75rem;
    }

    .see-more-skills-icon {
        font-size: 1rem;
    }

    /* Projects Grid */
    .projects-grid {
        gap: 1.5rem;
    }

    .project-showcase {
        padding: 1.5rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        flex-direction: column;
    }

    .project-image {
        width: 100%;
        order: -1;
    }

    .project-img {
        width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
        transform: scale(1) !important;
    }

    .project-content {
        width: 100%;
    }

    .project-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .project-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .project-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .project-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .hidden-project {
        max-height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

    .hidden-project.show {
        max-height: none;
        padding: 1.5rem;
        margin: 0;
    }

    .see-more-container {
        margin-top: 2rem;
    }

    .see-more-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-container {
        order: 2;
        width: 100%;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-social a {
        width: 45px;
        height: 45px;
        line-height: 1;
    }

    .footer-social a i {
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .testimonials-scroll {
        -webkit-animation: scroll-testimonials 18s linear infinite;
        animation: scroll-testimonials 18s linear infinite;
        gap: 1rem;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: transform;
    }

    .testimonials-scroll:hover {
        animation-play-state: running;
    }

    .testimonial-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        max-width: 100%;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }

    /* General adjustments */
    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {

    /* Container adjustments */
    .container {
        padding: 0 10px;
    }

    /* Header */
    .nav-brand h2 {
        font-size: 1.2rem;
    }

    /* Hero Section */
    .hero {
        padding: 1.5rem 0 0;
        margin-top: 0;
    }

    .hero-image {
        max-width: 220px;
        height: 220px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-profession {
        font-size: 1.4rem;
        gap: 0.25rem;
    }

    .profession-pill {
        font-size: 1.4rem;
        padding: 0.25rem 0.75rem;
    }

    .profession-pill::before {
        width: 180px;
        height: 48px;
        top: 0;
        left: -2px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    /* About Section */
    .about {
        padding: 2rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }

    .about-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .about-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-top: -3rem;
    }

    .about-text-container {
        margin-top: -3rem;
        text-align: center;
        width: 100%;
        max-width: 95%;
    }

    /* Section Headers */
    .projects-header,
    .concepts-header,
    .kit-header,
    .skills-header {
        margin-bottom: 1rem;
    }

    .projects-title,
    .concepts-title,
    .kit-title,
    .skills-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    /* Skills Section */
    .skills {
        padding: 3rem 0;
    }

    .skills-background {
        padding: 1.5rem 1rem;
        border-radius: 60px 60px 30px 30px;
    }

    .skills-grid {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .skill-card {
        padding: 1.5rem;
        min-height: 180px;
    }

    .skill-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .skill-icon i {
        font-size: 1.75rem;
    }

    .skill-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .skill-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .see-more-skills-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Projects Grid */
    .projects-grid {
        gap: 1rem;
    }

    .project-showcase {
        padding: 1rem;
        gap: 1rem;
    }

    .project-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .project-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .project-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
    }

    .hidden-project {
        max-height: 0;
        padding: 0;
        margin: 0;
    }

    .hidden-project.show {
        max-height: none;
        padding: 1rem;
        margin: 0;
    }

    .see-more-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    /* Contact Section */
    .contact {
        padding: 2rem 0;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer {
        padding: 1.5rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-links {
        gap: 0.75rem;
    }

    /* Testimonials */
    .testimonials {
        padding: 1.5rem 0;
    }

    .testimonial-card {
        width: 280px;
        padding: 1rem;
        margin: 0 0.5rem;
    }

    .testimonial-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        max-width: 100%;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }

    .testimonials-scroll {
        gap: 1rem;
        -webkit-animation: scroll-testimonials 25s linear infinite;
        animation: scroll-testimonials 25s linear infinite;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: transform;
    }

    .testimonials-scroll:hover {
        animation-play-state: running;
    }

    .testimonials-scroll-container {
        margin: 0 -10px;
    }

    /* General adjustments */
    section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Cursor elements */
    .hero-cursor-one {
        top: 20%;
        right: 5%;
        transform: scale(0.15);
    }

    .hero-cursor-two {
        bottom: 12%;
        left: 4%;
        transform: scale(0.1);
    }

    /* Work grid */
    .work-grid {
        grid-template-columns: 1fr;
    }

    /* Project images */
    .project-img {
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        margin-left: 0 !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: var(--secondary-white);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-lilac);
}