/* Main styles */
:root {
    --primary-color: #1A013E;       /* Dark Purple */
    --accent-color: #9B5CF6;        /* Electric Violet */
    --accent-hover: #A44DFF;        /* Neon Purple */
    --secondary-color: #5BC0EB;     /* Cool Blue */
    --secondary-hover: #8BD3FF;     /* Light Blue */
    --highlight-color: #E85EFF;     /* Magenta */
    --highlight-hover: #FF61D2;     /* Fuchsia */
    --text-color: #FFFFFF;          /* White */
    --text-secondary: #D9D9D9;      /* Light Gray */
    --shadow-color: #0D0221;        /* Deep Blue */
    --card-bg: #3A3B5A;             /* Steel Gray */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Progress indicator */
html {
    --scroll-percent: 0%;
    scroll-behavior: smooth;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: var(--scroll-percent);
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--highlight-color));
    z-index: 2000;
    transition: width 0.1s;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 2, 33, 0.9); /* Deep Blue with transparency */
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 1px solid var(--secondary-color);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(155, 92, 246, 0.5);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: logoShine 5s infinite;
}

@keyframes logoShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--secondary-hover);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--secondary-color);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.nav-links a.active {
    color: var(--secondary-hover);
    font-weight: 600;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--accent-color);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(155, 92, 246, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(232, 94, 255, 0.1) 0%, transparent 30%);
    pointer-events: none;
}

.hero-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    padding-left: 40px;
    transform: translateZ(0);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-text h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--highlight-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(155, 92, 246, 0.3);
    animation: textGlow 3s infinite alternate;
    transform: translateZ(0);
}

@keyframes textGlow {
    0% { text-shadow: 0 0 30px rgba(155, 92, 246, 0.3); }
    100% { text-shadow: 0 0 40px rgba(232, 94, 255, 0.5); }
}

.hero-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(155, 92, 246, 0.4);
    z-index: 1;
    backdrop-filter: blur(5px);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(155, 92, 246, 0.6);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(155, 92, 246, 0.6);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
    animation: buttonGlow 1s infinite;
}

@keyframes buttonGlow {
    0% { box-shadow: 0 0 5px rgba(155, 92, 246, 0.5); }
    50% { box-shadow: 0 0 20px rgba(155, 92, 246, 0.8); }
    100% { box-shadow: 0 0 5px rgba(155, 92, 246, 0.5); }
}

/* Submit button special styling */
.submit-btn {
    position: relative;
    overflow: hidden;
}

.loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s infinite linear;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.submit-btn.success {
    background: #4CAF50 !important;
}

.hero-image {
    position: relative;
    height: 600px;
    background: linear-gradient(45deg, var(--primary-color) 0%, var(--shadow-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(91, 192, 235, 0.2), 0 0 30px rgba(155, 92, 246, 0.15) inset;
    transform: translateZ(0);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.hero-portrait {
    width: auto;
    height: 100%;
    max-height: 600px;
    object-fit: contain;
    border-radius: 20px;
    z-index: 2;
    transition: all 0.5s ease;
    transform: scale(1);
    will-change: transform;
}

.hero-image:hover .hero-portrait {
    transform: scale(1.02);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%235BC0EB" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

/* Animated graphic elements */
.animated-graphic-element {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(155, 92, 246, 0.2) 0%, rgba(232, 94, 255, 0.1) 20%, transparent 70%);
    filter: blur(10px);
    z-index: 1;
    animation: floatElement 10s infinite alternate ease-in-out;
    top: 50px;
    right: 30px;
    will-change: transform;
}

.animated-graphic-element.second {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at center, rgba(91, 192, 235, 0.2) 0%, rgba(91, 192, 235, 0.1) 30%, transparent 70%);
    animation-duration: 15s;
    animation-delay: 2s;
    top: auto;
    bottom: 80px;
    right: 80px;
}

@keyframes floatElement {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, 20px) rotate(120deg); }
    66% { transform: translate(20px, -10px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Contact info moved to hero text area */
.hero-contact-info {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.hero-contact-icon {
    color: var(--accent-color);
}

.hero-contact-link {
    color: var(--secondary-hover);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-contact-link:hover {
    color: var(--highlight-color);
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(232, 94, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 20% 80%, rgba(91, 192, 235, 0.1) 0%, transparent 30%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.about h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--highlight-color);
    border-radius: 3px;
}

/* Studio workspace image styling */
.workspace-image-container {
    margin: 10px 0 40px 0;
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(13, 2, 33, 0.4);
    transform: translateZ(0);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.workspace-image {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 16px;
    will-change: transform;
}

.workspace-image-container:hover .workspace-image {
    transform: scale(1.02);
}

.workspace-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(155, 92, 246, 0.2) 0%, 
        rgba(13, 2, 33, 0.5) 100%
    );
    border-radius: 16px;
    z-index: 2;
    pointer-events: none;
}

.workspace-image-container::before {
    content: 'My Creative Studio';
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--text-color);
    font-weight: 600;
    background: rgba(13, 2, 33, 0.7);
    padding: 8px 16px;
    border-radius: 50px;
    z-index: 3;
    font-size: 14px;
    border-left: 3px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(13, 2, 33, 0.3);
}

.workspace-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%235BC0EB" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.about-text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 24px;
}

.about-text p strong, .about-text p .highlight {
    color: var(--secondary-hover);
    font-weight: 600;
}

/* Awards Section */
.awards-section {
    margin: 40px 0;
}

.awards-title {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.awards-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--highlight-color);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.award-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(13, 2, 33, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.award-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--highlight-color);
    transition: all 0.3s ease;
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(13, 2, 33, 0.3);
}

.award-item:hover::before {
    width: 6px;
    background: var(--secondary-color);
}

.award-year {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(155, 92, 246, 0.1);
    border-radius: 8px;
    padding: 4px 8px;
    height: fit-content;
}

.award-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.award-content p {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.skill-item {
    padding: 24px;
    background: var(--card-bg);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid transparent;
    box-shadow: 0 10px 20px rgba(13, 2, 33, 0.2);
    position: relative;
    z-index: 1;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(155, 92, 246, 0.1), rgba(91, 192, 235, 0.1));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.skill-item:hover {
    transform: translateY(-4px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(13, 2, 33, 0.3), 0 0 15px rgba(91, 192, 235, 0.2);
}

.skill-item:hover::before {
    opacity: 1;
}

.skill-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--highlight-color);
}

.skill-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Portfolio Section */
.portfolio {
    padding: 120px 0;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.portfolio-more {
    margin-top: 80px;
    text-align: center;
    padding: 40px;
    background: rgba(58, 59, 90, 0.3);
    border-radius: 20px;
    border: 1px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(13, 2, 33, 0.4);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.portfolio-more:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(13, 2, 33, 0.5), 0 0 20px rgba(155, 92, 246, 0.2);
}

.portfolio-more p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.behance-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(155, 92, 246, 0.4);
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

.behance-button:hover {
    background: var(--highlight-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(232, 94, 255, 0.5);
}

.portfolio::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(155, 92, 246, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 70% 60%, rgba(232, 94, 255, 0.1) 0%, transparent 30%);
    pointer-events: none;
}

.portfolio h2 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(155, 92, 246, 0.3);
}

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

.portfolio-item {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid var(--secondary-color);
    box-shadow: 0 10px 20px rgba(13, 2, 33, 0.3);
    will-change: transform, box-shadow, border-color;
    transform: translateZ(0);
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 30px rgba(13, 2, 33, 0.4), 0 0 20px rgba(91, 192, 235, 0.3);
    border-color: var(--highlight-color);
}

.portfolio-image {
    height: 280px;
    background: linear-gradient(45deg, var(--shadow-color) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%235BC0EB" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, transparent 0%, rgba(13, 2, 33, 0.8) 70%);
    opacity: 0.6;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(155, 92, 246, 0.1) 0%, rgba(13, 2, 33, 0.5) 100%);
    border-radius: 20px;
    z-index: 3;
}

.portfolio-placeholder {
    font-size: 24px;
    color: var(--secondary-hover);
    z-index: 1;
    text-shadow: 0 0 15px rgba(91, 192, 235, 0.7);
    animation: float 3s infinite ease-in-out;
}

.portfolio-actual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
    will-change: transform;
}

.portfolio-item:hover .portfolio-actual-image {
    transform: scale(1.05);
}

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

.portfolio-link:hover {
    color: var(--highlight-color);
    text-decoration: underline;
}

.portfolio-link::after {
    content: '↗';
    margin-left: 4px;
    font-size: 14px;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.portfolio-content {
    padding: 32px;
    position: relative;
}

.portfolio-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--highlight-color), transparent);
}

.portfolio-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--accent-color);
}

.portfolio-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 10% 30%, rgba(91, 192, 235, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 90% 70%, rgba(232, 94, 255, 0.1) 0%, transparent 30%);
    pointer-events: none;
}

.contact h2 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    color: var(--highlight-color);
    text-shadow: 0 0 15px rgba(232, 94, 255, 0.3);
}

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

.contact-info h3 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-hover);
}

.contact-info p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--card-bg);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(13, 2, 33, 0.2);
    transform: translateZ(0);
    will-change: transform;
}

.contact-item:hover {
    transform: translateX(5px);
    border-left: 3px solid var(--highlight-color);
    box-shadow: 0 8px 20px rgba(13, 2, 33, 0.3);
}

.contact-item strong {
    min-width: 80px;
}

.contact-link {
    color: var(--secondary-hover);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--highlight-color);
    text-decoration: underline;
}

.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(13, 2, 33, 0.3);
    transform: translateZ(0);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(13, 2, 33, 0.4);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-hover);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--shadow-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(155, 92, 246, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--highlight-color);
    color: var(--text-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(232, 94, 255, 0.4);
}

.submit-btn:hover {
    background: var(--highlight-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 94, 255, 0.6);
}

.submit-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: 0.5s;
}

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

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--primary-color);
    text-align: center;
    border-top: 1px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.footer p {
    color: var(--text-secondary);
    position: relative;
    display: inline-block;
}

.footer p::before, .footer p::after {
    content: '•';
    color: var(--accent-color);
    margin: 0 10px;
}

/* Animation Styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Background particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.2;
    animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 9999;
    transform: translateY(100%);
    pointer-events: none;
}

.page-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transform: translateY(-100%);
}

/* Custom cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--accent-color);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: var(--highlight-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.3s;
}

.cursor.hover {
    width: 40px;
    height: 40px;
    border-color: var(--highlight-color);
    mix-blend-mode: normal;
    background-color: rgba(232, 94, 255, 0.1);
}

.cursor-dot.hover {
    width: 0;
    height: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 56px;
    }
    
    .container {
        padding: 0 40px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 48px;
    }
    
    .hero-image {
        height: 500px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about h2,
    .portfolio h2,
    .contact h2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .mobile-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--shadow-color);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        visibility: hidden; /* Ensure it's not visible when not active */
    }
    
    .mobile-nav.active {
        transform: translateX(0);
        visibility: visible; /* Make visible when active */
    }
    
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 24px;
        text-align: center;
        list-style: none;
        padding: 0;
    }
    
    .mobile-nav-links a {
        font-size: 24px;
        color: var(--text-color);
        text-decoration: none;
        transition: color 0.3s ease;
        position: relative;
    }
    
    .mobile-nav-links a:hover {
        color: var(--accent-color);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        padding-left: 0;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        height: 400px;
    }

    .hero-contact-info {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 40px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .hero-image {
        height: 350px;
    }
    
    .about h2,
    .portfolio h2,
    .contact h2 {
        font-size: 36px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .skills {
        grid-template-columns: 1fr;
    }
    
    .behance-button {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .portfolio-more {
        padding: 30px 20px;
    }
    
    .portfolio-more p {
        font-size: 16px;
    }
}