/* Base Styles and Font Declarations */
@font-face {
    font-family: 'Alistair Signature';
    src: url('../fonts/Alistair Signature.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMetanaNext';
    src: url('../fonts/NeueMetanaNext-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMetanaNextOutline';
    src: url('../fonts/NeueMetanaNextOutline-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Neumatic';
    src: url('../fonts/Neumatic Compressed Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Widock';
    src: url('../fonts/Widock TRIAL Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

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

:root {
    --primary-color: #9370DB; /* Medium Purple */
    --secondary-color: #8A2BE2; /* Blue Violet */
    --accent-color: #9932CC; /* Dark Orchid */
    --light-accent: #BA55D3; /* Medium Orchid */
    --dark-accent: #800080; /* Purple */
    --background-dark: #0a0a0a;
    --background-light: #1a1a1a;
    --text-color: #f5f5f5;
    --text-secondary: #ccc;
}

body {
    font-family: 'NeueMetanaNext', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: linear-gradient(135deg, var(--background-dark) 0%, #111 50%, var(--background-light) 100%);
    background-attachment: fixed;
}

.container {
    width: 85%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90%;
    padding: 15px 30px;
    background-color: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(147, 112, 219, 0.3);
    border: 1px solid rgba(147, 112, 219, 0.1);
}

header.scrolled {
    padding: 10px 25px;
    border-radius: 30px;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 45px;
    margin-right: 15px;
}

.logo img {
    height: 35px;
    transition: height 0.3s ease;
    display: block;
    opacity: 1 !important;
}

header.scrolled .logo img {
    height: 30px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

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

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover {
    color: #fff;
    background-color: rgba(147, 112, 219, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(147, 112, 219, 0.2);
}

.nav-links a.active {
    background-color: rgba(147, 112, 219, 0.3);
    color: #fff;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(147, 112, 219, 0.2) 0%, rgba(10, 10, 10, 0) 70%);
}

.split-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
    position: relative;
    z-index: 3;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(147, 112, 219, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

/* Name title - making it 3-4 times larger */
.name-title {
    font-family: 'Neumatic', sans-serif;
    font-size: 12rem; /* Adjusted from 15rem to 12rem for better visibility */
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 30px; /* Increased from 20px to 30px for more space below */
    margin-top: -20px; /* Adjusted from -30px to -20px */
    background: linear-gradient(to right, var(--primary-color), var(--light-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 30px rgba(147, 112, 219, 0.5);
    position: relative;
    line-height: 1.1; /* Increased from 0.9 to 1.1 to ensure letters with descenders like 'g' are fully visible */
    width: 100%; /* Ensure it takes full width */
    display: block; /* Ensure block display */
    animation: fadeIn 1.5s ease-out; /* Added animation for text appearance */
    overflow: visible; /* Ensure no clipping of text */
}

/* Animation for the welcome text */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Adjust responsive sizes for the larger name */
@media (max-width: 992px) {
    .name-title {
        font-size: 10rem; /* Still large but better for tablets */
        margin-top: -20px; /* Adjusted for smaller screens */
    }
}

@media (max-width: 768px) {
    .name-title {
        font-size: 7rem; /* Adjusted for mobile but still prominent */
        margin-top: -15px; /* Adjusted for smaller screens */
    }
}

@media (max-width: 576px) {
    .name-title {
        font-size: 5rem; /* Further reduced for small mobile screens */
        margin-top: -10px; /* Adjusted for smaller screens */
    }
}

.profession-title {
    font-family: 'Widock', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--text-color);
    position: relative;
}

.hero-decoration {
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--light-accent));
    margin-top: 30px;
    border-radius: 5px;
    position: relative;
}

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.2;
    filter: blur(5px);
    mix-blend-mode: screen;
}

.shape-1 {
    top: 15%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, var(--primary-color), transparent 70%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph1 15s linear infinite alternate;
}

.shape-2 {
    bottom: 20%;
    right: 15%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at center, var(--secondary-color), transparent 70%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph2 18s linear infinite alternate;
}

.shape-3 {
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, var(--accent-color), transparent 70%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph3 20s linear infinite alternate;
}

.shape-4 {
    bottom: 10%;
    left: 30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, var(--light-accent), transparent 70%);
    border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
    animation: morph4 12s linear infinite alternate;
}

@keyframes morph1 {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg); }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(360deg); }
}

@keyframes morph2 {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg); }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(-360deg); }
}

@keyframes morph3 {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
    100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: rotate(360deg); }
}

@keyframes morph4 {
    0% { border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%; transform: rotate(0deg); }
    100% { border-radius: 80% 20% 50% 50% / 75% 20% 80% 25%; transform: rotate(-360deg); }
}

/* Quote Section */
.quote-section {
    padding: 100px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.quote-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(147, 112, 219, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.1);
    position: relative;
    z-index: 2;
}

.quote-regular {
    font-family: 'NeueMetanaNext', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.quote-outline {
    font-family: 'NeueMetanaNextOutline', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
}

.quote-author {
    font-family: 'Alistair Signature', cursive;
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 20px;
}

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

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(17, 17, 17, 0.7) 100%);
    z-index: 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    z-index: 2;
    color: var(--text-color);
}

.section-title i {
    margin-right: 10px;
    color: var(--primary-color);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(147, 112, 219, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.1);
    position: relative;
    z-index: 2;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Social Section */
.social {
    padding: 120px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.social::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.7) 0%, rgba(26, 26, 26, 0.7) 100%);
    z-index: 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(147, 112, 219, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.social-item:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(147, 112, 219, 0.4);
}

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

.social-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: all 0.5s ease;
}

.social-item:hover i {
    transform: scale(1.2);
    color: var(--light-accent);
}

.social-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Projects Section */
.projects {
    padding: 120px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(17, 17, 17, 0.7) 100%);
    z-index: 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.project {
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(147, 112, 219, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.project:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(147, 112, 219, 0.4);
}

.project img {
    width: 100%;
    height: 180px; /* Increased from 100px to 180px to make logos larger */
    object-fit: contain; /* Maintains aspect ratio */
    border-radius: 10px 10px 0 0;
    transition: all 0.3s ease;
    padding: 25px; /* Increased padding from 15px to 25px for better spacing */
    background-color: rgba(255, 255, 255, 0.05); /* Light background to make logos stand out */
    max-width: 300px; /* Increased max-width from 250px to 300px */
    margin: 0 auto; /* Center the image */
    display: block; /* Ensure proper display for centering */
}

.project h3 {
    font-size: 1.5rem;
    margin: 20px 20px 10px;
    color: var(--text-color);
}

.project p {
    font-size: 1rem;
    margin: 0 20px 20px;
    color: var(--text-secondary);
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 20px 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(147, 112, 219, 0.3);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(147, 112, 219, 0.5);
}

/* Footer */
footer {
    padding: 100px 0 50px;
    background-color: rgba(10, 10, 10, 0.9);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.3) 0%, rgba(17, 17, 17, 0.3) 100%);
    z-index: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 50px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-contact p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(26, 26, 26, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.social-icon i {
    font-size: 1.2rem;
    color: var(--text-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(147, 112, 219, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Parallax Elements */
.parallax-element {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.p-slow {
    transition-duration: 0.8s;
}

.p-medium {
    transition-duration: 0.5s;
}

.p-fast {
    transition-duration: 0.3s;
}

.p-scale:hover {
    transform: scale(1.05);
}

.p-rotate:hover {
    transform: rotate(5deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .split-container {
        flex-direction: column;
    }
    
    .hero-decoration {
        margin: 30px auto 0;
    }
    
    .name-title {
        font-size: 4rem;
    }
    
    .profession-title {
        font-size: 2rem;
    }
    
    .quote-regular, .quote-outline {
        font-size: 2rem;
    }
    
    .quote-author {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        width: 90%;
        padding: 10px 20px;
    }
    
    .nav-links li {
        margin-left: 15px;
    }
    
    .nav-links a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .name-title {
        font-size: 3rem;
    }
    
    .profession-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .quote-regular, .quote-outline {
        font-size: 1.5rem;
    }
    
    .quote-author {
        font-size: 1.2rem;
    }
    
    .social-grid, .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .nav-links li {
        margin-left: 10px;
    }
    
    .nav-links a {
        padding: 5px 8px;
        font-size: 0.8rem;
    }
    
    .name-title {
        font-size: 2.5rem;
    }
    
    .profession-title {
        font-size: 1.2rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

/* Mobile Responsiveness Enhancements */
@media screen and (max-width: 768px) {
    header {
        width: 90%;
        padding: 10px 20px;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        right: 5%;
        background-color: rgba(17, 17, 17, 0.95);
        backdrop-filter: blur(15px);
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(147, 112, 219, 0.3);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-links li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 10px 15px;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
        background: rgba(147, 112, 219, 0.2);
        border: 1px solid rgba(147, 112, 219, 0.3);
        color: var(--text-color);
        font-size: 1.2rem;
        padding: 8px 12px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.5s ease;
        position: relative;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(147, 112, 219, 0.4);
        transform: scale(1.1);
    }
    
    .mobile-menu-toggle::after {
        content: 'Меню';
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.7rem;
        background: rgba(17, 17, 17, 0.8);
        padding: 3px 8px;
        border-radius: 4px;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        white-space: nowrap;
    }
    
    .mobile-menu-toggle:hover::after {
        opacity: 1;
    }
    
    .split-container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-image {
        width: 80%;
        margin: 0 auto;
    }
    
    .social-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .project img {
        height: 140px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        margin-bottom: 20px;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .name-title {
        font-size: 3rem;
    }
    
    .profession-title {
        font-size: 1.5rem;
    }
    
    .quote-regular, .quote-outline {
        font-size: 1.5rem;
    }
    
    .quote-author {
        font-size: 1.5rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .social-item {
        padding: 20px 15px;
    }
    
    .social-item i {
        font-size: 2rem;
    }
    
    .project h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .name-title {
        font-size: 5rem; /* Further reduced for small mobile screens */
        margin-top: -10px; /* Adjusted for smaller screens */
    }
}

.profession-title {
    font-family: 'Widock', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--text-color);
    position: relative;
}

.hero-decoration {
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--light-accent));
    margin-top: 30px;
    border-radius: 5px;
    position: relative;
}

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.2;
    filter: blur(5px);
    mix-blend-mode: screen;
}

.shape-1 {
    top: 15%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, var(--primary-color), transparent 70%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph1 15s linear infinite alternate;
}

.shape-2 {
    bottom: 20%;
    right: 15%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at center, var(--secondary-color), transparent 70%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph2 18s linear infinite alternate;
}

.shape-3 {
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, var(--accent-color), transparent 70%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph3 20s linear infinite alternate;
}

.shape-4 {
    bottom: 10%;
    left: 30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, var(--light-accent), transparent 70%);
    border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
    animation: morph4 12s linear infinite alternate;
}

@keyframes morph1 {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg); }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(360deg); }
}

@keyframes morph2 {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg); }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(-360deg); }
}

@keyframes morph3 {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
    100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: rotate(360deg); }
}

@keyframes morph4 {
    0% { border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%; transform: rotate(0deg); }
    100% { border-radius: 80% 20% 50% 50% / 75% 20% 80% 25%; transform: rotate(-360deg); }
}

/* Quote Section */
.quote-section {
    padding: 100px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.quote-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(147, 112, 219, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.1);
    position: relative;
    z-index: 2;
}

.quote-regular {
    font-family: 'NeueMetanaNext', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.quote-outline {
    font-family: 'NeueMetanaNextOutline', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
}

.quote-author {
    font-family: 'Alistair Signature', cursive;
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 20px;
}

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

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(17, 17, 17, 0.7) 100%);
    z-index: 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    z-index: 2;
    color: var(--text-color);
}

.section-title i {
    margin-right: 10px;
    color: var(--primary-color);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(147, 112, 219, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.1);
    position: relative;
    z-index: 2;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Social Section */
.social {
    padding: 120px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.social::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.7) 0%, rgba(26, 26, 26, 0.7) 100%);
    z-index: 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(147, 112, 219, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.social-item:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(147, 112, 219, 0.4);
}

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

.social-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: all 0.5s ease;
}

.social-item:hover i {
    transform: scale(1.2);
    color: var(--light-accent);
}

.social-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Projects Section */
.projects {
    padding: 120px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(17, 17, 17, 0.7) 100%);
    z-index: 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.project {
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(147, 112, 219, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.project:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(147, 112, 219, 0.4);
}

.project img {
    width: 100%;
    height: 180px; /* Increased from 100px to 180px to make logos larger */
    object-fit: contain; /* Maintains aspect ratio */
    border-radius: 10px 10px 0 0;
    transition: all 0.3s ease;
    padding: 25px; /* Increased padding from 15px to 25px for better spacing */
    background-color: rgba(255, 255, 255, 0.05); /* Light background to make logos stand out */
    max-width: 300px; /* Increased max-width from 250px to 300px */
    margin: 0 auto; /* Center the image */
    display: block; /* Ensure proper display for centering */
}

.project h3 {
    font-size: 1.5rem;
    margin: 20px 20px 10px;
    color: var(--text-color);
}

.project p {
    font-size: 1rem;
    margin: 0 20px 20px;
    color: var(--text-secondary);
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 20px 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(147, 112, 219, 0.3);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(147, 112, 219, 0.5);
}

/* Footer */
footer {
    padding: 100px 0 50px;
    background-color: rgba(10, 10, 10, 0.9);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.3) 0%, rgba(17, 17, 17, 0.3) 100%);
    z-index: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 50px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-contact p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(26, 26, 26, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.social-icon i {
    font-size: 1.2rem;
    color: var(--text-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(147, 112, 219, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Parallax Elements */
.parallax-element {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.p-slow {
    transition-duration: 0.8s;
}

.p-medium {
    transition-duration: 0.5s;
}

.p-fast {
    transition-duration: 0.3s;
}

.p-scale:hover {
    transform: scale(1.05);
}

.p-rotate:hover {
    transform: rotate(5deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .split-container {
        flex-direction: column;
    }
    
    .hero-decoration {
        margin: 30px auto 0;
    }
    
    .name-title {
        font-size: 4rem;
    }
    
    .profession-title {
        font-size: 2rem;
    }
    
    .quote-regular, .quote-outline {
        font-size: 2rem;
    }
    
    .quote-author {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        width: 90%;
        padding: 10px 20px;
    }
    
    .nav-links li {
        margin-left: 15px;
    }
    
    .nav-links a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .name-title {
        font-size: 3rem;
    }
    
    .profession-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .quote-regular, .quote-outline {
        font-size: 1.5rem;
    }
    
    .quote-author {
        font-size: 1.2rem;
    }
    
    .social-grid, .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .nav-links li {
        margin-left: 10px;
    }
    
    .nav-links a {
        padding: 5px 8px;
        font-size: 0.8rem;
    }
    
    .name-title {
        font-size: 2.5rem;
    }
    
    .profession-title {
        font-size: 1.2rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

/* Mobile Responsiveness Enhancements */
@media screen and (max-width: 768px) {
    header {
        width: 90%;
        padding: 10px 20px;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        right: 5%;
        background-color: rgba(17, 17, 17, 0.95);
        backdrop-filter: blur(15px);
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(147, 112, 219, 0.3);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-links li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 10px 15px;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
        background: rgba(147, 112, 219, 0.2);
        border: 1px solid rgba(147, 112, 219, 0.3);
        color: var(--text-color);
        font-size: 1.2rem;
        padding: 8px 12px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.5s ease;
        position: relative;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(147, 112, 219, 0.4);
        transform: scale(1.1);
    }
    
    .mobile-menu-toggle::after {
        content: 'Меню';
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.7rem;
        background: rgba(17, 17, 17, 0.8);
        padding: 3px 8px;
        border-radius: 4px;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        white-space: nowrap;
    }
    
    .mobile-menu-toggle:hover::after {
        opacity: 1;
    }
    
    .split-container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-image {
        width: 80%;
        margin: 0 auto;
    }
    
    .social-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .project img {
        height: 140px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        margin-bottom: 20px;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .name-title {
        font-size: 3rem;
    }
    
    .profession-title {
        font-size: 1.5rem;
    }
    
    .quote-regular, .quote-outline {
        font-size: 1.5rem;
    }
    
    .quote-author {
        font-size: 1.5rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .social-item {
        padding: 20px 15px;
    }
    
    .social-item i {
        font-size: 2rem;
    }
    
    .project h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .name-title {
        font-size: 5rem; /* Further reduced for small mobile screens */
        margin-top: -10px; /* Adjusted for smaller screens */
    }
}

.profession-title {
    font-family: 'Widock', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--text-color);
    position: relative;
}

.hero-decoration {
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--light-accent));
    margin-top: 30px;
    border-radius: 5px;
    position: relative;
}

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.2;
    filter: blur(5px);
    mix-blend-mode: screen;
}

.shape-1 {
    top: 15%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, var(--primary-color), transparent 70%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph1 15s linear infinite alternate;
}

.shape-2 {
    bottom: 20%;
    right: 15%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at center, var(--secondary-color), transparent 70%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph2 18s linear infinite alternate;
}

.shape-3 {
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, var(--accent-color), transparent 70%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph3 20s linear infinite alternate;
}

.shape-4 {
    bottom: 10%;
    left: 30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, var(--light-accent), transparent 70%);
    border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
    animation: morph4 12s linear infinite alternate;
}

@keyframes morph1 {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg); }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(360deg); }
}

@keyframes morph2 {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg); }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(-360deg); }
}

@keyframes morph3 {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
    100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: rotate(360deg); }
}

@keyframes morph4 {
    0% { border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%; transform: rotate(0deg); }
    100% { border-radius: 80% 20% 50% 50% / 75% 20% 80% 25%; transform: rotate(-360deg); }
}

/* Quote Section */
.quote-section {
    padding: 100px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.quote-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(147, 112, 219, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.1);
    position: relative;
    z-index: 2;
}

.quote-regular {
    font-family: 'NeueMetanaNext', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.quote-outline {
    font-family: 'NeueMetanaNextOutline', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
}

.quote-author {
    font-family: 'Alistair Signature', cursive;
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 20px;
}

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

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(17, 17, 17, 0.7) 100%);
    z-index: 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    z-index: 2;
    color: var(--text-color);
}

.section-title i {
    margin-right: 10px;
    color: var(--primary-color);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(147, 112, 219, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.1);
    position: relative;
    z-index: 2;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Social Section */
.social {
    padding: 120px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.social::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.7) 0%, rgba(26, 26, 26, 0.7) 100%);
    z-index: 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(147, 112, 219, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.social-item:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(147, 112, 219, 0.4);
}

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

.social-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: all 0.5s ease;
}

.social-item:hover i {
    transform: scale(1.2);
    color: var(--light-accent);
}

.social-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Projects Section */
.projects {
    padding: 120px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(17, 17, 17, 0.7) 100%);
    z-index: 0;
}