/* Modern Portfolio CSS with Parallax Effects */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e4e4e7;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title.center {
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #764ba2;
}

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

.nav-link {
    color: #e4e4e7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #e4e4e7;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8), rgba(102, 126, 234, 0.1));
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 120%;
    background: linear-gradient(135deg, #0f0f23, #1a1a2e, #16213e);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: translateZ(0);
    will-change: transform;
}

/* Add animated particles background */
.hero-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(102, 126, 234, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(118, 75, 162, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(102, 126, 234, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 150px;
    animation: particleMove 20s linear infinite;
}

@keyframes particleMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-200px, -150px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-greeting {
    display: block;
    font-size: 0.6em;
    color: #a1a1aa;
    font-weight: 400;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-name {
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #a1a1aa;
    margin-bottom: 3rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: #667eea;
    animation: scrollLine 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.875rem;
    color: #a1a1aa;
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

@keyframes scrollLine {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* About Section */
.about {
    padding: 8rem 0;
    background: linear-gradient(135deg, #111111, #1a1a1a);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23667eea' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

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

.about-description p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #d4d4d8;
    margin-bottom: 1.5rem;
}

.skills {
    margin-top: 3rem;
}

.skills h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #e4e4e7;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-item:hover {
    transform: translateY(-5px);
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.skill-item i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.skill-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #e4e4e7;
}

.about-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.image-container {
    position: relative;
    width: 350px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center; /* Adjust this to shift the image - try 'center center', 'center bottom', 'left center', etc. */
    transition: all 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.about-image p {
    font-size: 1.125rem;
    font-weight: 500;
    color: #d4d4d8;
    text-align: center;
    font-style: italic;
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 280px;
}

.about-image p::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.about-image:hover p {
    transform: translateY(-2px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.about-image:hover p::before {
    left: 100%;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: 20px;
}

.placeholder-image i {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.placeholder-image:hover i {
    color: #764ba2;
    transform: scale(1.1);
    opacity: 1;
}

.placeholder-image span {
    color: #d4d4d8;
    font-size: 1.125rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.025em;
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.placeholder-image span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.placeholder-image:hover span {
    transform: translateY(-2px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.placeholder-image:hover span::before {
    left: 100%;
}

/* Video Section */
.video-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0a0a0a, #111111);
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23667eea' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
    pointer-events: none;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(102, 126, 234, 0.3);
    position: relative;
    transition: all 0.4s ease;
    background: #000;
}

.video-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #667eea);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-container:hover::before {
    opacity: 1;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 80px rgba(102, 126, 234, 0.3),
        0 0 0 1px rgba(102, 126, 234, 0.5);
}

.showcase-video {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.video-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
    display: inline-block;
    width: 100%;
}

.video-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.video-description {
    text-align: center;
    font-size: 1.125rem;
    color: #a1a1aa;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
    background: #0a0a0a;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: all 0.3s ease;
}

.project-image:hover img {
    transform: scale(1.05);
}

.project-image-6 .placeholder-project {
    transform: scale(2);
    transform-origin: center center;
}

.project-image-6 img {
    transform: scale(3);
    transform-origin: center center;
}
.project-image-6 {
    position: relative;
    height: 250px;
    overflow: hidden;
    object-position: center center;
}

.project-image-6 .placeholder-project {
    transform: scale(3);
    transform-origin: center center;
}

.project-image-6 img {
    transform: scale(3);
    transform-origin: center center;
}
.placeholder-project {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
}

.placeholder-project i {
    font-size: 4rem;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.overlay-text:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.project-info {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #e4e4e7;
    font-weight: 600;
}

.project-tagline {
    color: #a1a1aa;
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.project-description {
    color: #a1a1aa;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: linear-gradient(135deg, #111111, #1a1a1a);
    position: relative;
}

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

.testimonial-slider {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 2rem;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #d4d4d8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: #667eea;
    position: absolute;
    top: -1rem;
    left: 1rem;
}

.author-name {
    font-size: 1.125rem;
    color: #e4e4e7;
    margin-bottom: 0.25rem;
}

.author-title {
    color: #a1a1aa;
    font-size: 0.9rem;
}

.testimonial-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-nav {
    width: 50px;
    height: 50px;
    border: 2px solid #667eea;
    background: transparent;
    border-radius: 50%;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav:hover {
    background: #667eea;
    color: white;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #667eea;
}

/* Quote Section */
.quote-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 25px 25px, rgba(102, 126, 234, 0.1), transparent),
        radial-gradient(1px 1px at 75px 75px, rgba(118, 75, 162, 0.05), transparent);
    background-size: 100px 100px;
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

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

.quote-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.quote-content {
    position: relative;
}

.main-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    font-style: italic;
    color: #e4e4e7;
    margin: 0 0 2rem 0;
    line-height: 1.3;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-quote::before {
    content: '"';
    font-size: 1.5em;
    color: #667eea;
    position: absolute;
    top: -0.2em;
    left: -0.5em;
    font-family: Georgia, serif;
    opacity: 0.8;
}

.main-quote::after {
    content: '"';
    font-size: 1.5em;
    color: #764ba2;
    position: absolute;
    bottom: -0.3em;
    right: -0.3em;
    font-family: Georgia, serif;
    opacity: 0.8;
}

.quote-translation {
    font-size: 1.25rem;
    color: #a1a1aa;
    font-weight: 400;
    margin-bottom: 3rem;
    font-style: italic;
    letter-spacing: 0.05em;
}

.quote-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.quote-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.quote-symbol {
    font-size: 1.5rem;
    color: #667eea;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Responsive Design for Quote Section */
@media (max-width: 768px) {
    .quote-section {
        padding: 6rem 0;
    }
    
    .main-quote {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .quote-translation {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .quote-line {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .quote-section {
        padding: 4rem 0;
    }
    
    .main-quote {
        font-size: 2rem;
    }
    
    .quote-translation {
        font-size: 1rem;
    }
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: #0a0a0a;
}

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

.contact-description {
    font-size: 1.125rem;
    color: #a1a1aa;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.25rem;
}

.contact-item h4 {
    color: #e4e4e7;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #a1a1aa;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.social-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e4e4e7;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #e4e4e7;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Status Messages */
.form-status {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.form-status.info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

/* Button Loading State */
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

#submit-btn:disabled:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Footer */
.footer {
    background: #111111;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
    color: #a1a1aa;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Parallax Scroll Effects */
.parallax-element {
    transform: translateZ(0);
    will-change: transform;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .testimonial-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-bg-image {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .about,
    .portfolio,
    .testimonials,
    .contact {
        padding: 4rem 0;
    }

    .image-container {
        width: 280px;
        height: 320px;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Intersection Observer Classes */
.fade-in {
    opacity: 1; /* Changed from 0 to 1 to make elements visible by default */
    transform: translateY(0); /* Changed from translateY(30px) to 0 */
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 1; /* Changed from 0 to 1 to make elements visible by default */
    transform: translateX(0); /* Changed from translateX(-50px) to 0 */
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 1; /* Changed from 0 to 1 to make elements visible by default */
    transform: translateX(0); /* Changed from translateX(50px) to 0 */
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}