/* 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: #ffffff;
    overflow-x: hidden;
    background: #000000;
}

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



/* Decorative Header */
.decorative-header {
    position: relative;
    height: 200px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #a855f7, #c084fc);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 30%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

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

.header-text {
    text-align: center;
    z-index: 2;
    position: relative;
}

.header-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.purple-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #c084fc);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

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

.dot {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #a855f7, #c084fc);
    opacity: 0.2;
    animation: pulse 4s ease-in-out infinite;
}

.dot-1 {
    width: 20px;
    height: 20px;
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.dot-2 {
    width: 15px;
    height: 15px;
    top: 25%;
    right: 10%;
    animation-delay: 0.5s;
}

.dot-3 {
    width: 25px;
    height: 25px;
    top: 45%;
    left: 15%;
    animation-delay: 1s;
}

.dot-4 {
    width: 12px;
    height: 12px;
    top: 55%;
    right: 20%;
    animation-delay: 1.5s;
}

.dot-5 {
    width: 18px;
    height: 18px;
    top: 75%;
    left: 8%;
    animation-delay: 2s;
}

.dot-6 {
    width: 22px;
    height: 22px;
    top: 85%;
    right: 15%;
    animation-delay: 2.5s;
}

.dot-7 {
    width: 16px;
    height: 16px;
    top: 35%;
    left: 25%;
    animation-delay: 3s;
}

.dot-8 {
    width: 14px;
    height: 14px;
    top: 65%;
    right: 8%;
    animation-delay: 3.5s;
}

.dot-9 {
    width: 30px;
    height: 30px;
    top: 10%;
    left: 35%;
    animation-delay: 0.2s;
}

.dot-10 {
    width: 11px;
    height: 11px;
    top: 20%;
    right: 25%;
    animation-delay: 0.7s;
}

.dot-11 {
    width: 19px;
    height: 19px;
    top: 50%;
    left: 45%;
    animation-delay: 1.2s;
}

.dot-12 {
    width: 13px;
    height: 13px;
    top: 70%;
    right: 30%;
    animation-delay: 1.7s;
}

.dot-13 {
    width: 17px;
    height: 17px;
    top: 30%;
    left: 55%;
    animation-delay: 2.2s;
}

.dot-14 {
    width: 24px;
    height: 24px;
    top: 60%;
    right: 5%;
    animation-delay: 2.7s;
}

.dot-15 {
    width: 21px;
    height: 21px;
    top: 80%;
    left: 65%;
    animation-delay: 3.2s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: transparent;
    position: relative;
    overflow: hidden;
    padding: 4rem 0 2rem 0;
    z-index: 2;
}

.hero::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 20px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-left {
    color: white;
    text-align: right;
}

.hero-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-right {
    color: white;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.name {
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: #6366f1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #6366f1;
    transform: translateY(-2px);
}

/* Profile Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-container {
    text-align: center;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: transparent;
    border: 3px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
}

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

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 1;
    transform: scale(1.2);
}

.placeholder-image {
    color: white;
    text-align: center;
}

.placeholder-image i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.placeholder-image p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-links h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: white;
}

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

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-link span {
    font-size: 0.9rem;
}

.social-link:hover {
    background: white;
    color: #6366f1;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #a855f7, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background: #f8fafc;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #64748b;
    line-height: 1.8;
}

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

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

.skill-item {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: #6366f1;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

/* Projects Section */
.projects {
    background: transparent;
    position: relative;
    z-index: 2;
}

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

.project-card {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    color: white;
    text-align: center;
}

.project-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.project-content p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.project-link {
    padding: 8px 16px;
    background: #6366f1;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #4f46e5;
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    background: transparent;
    position: relative;
    z-index: 2;
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #6366f1;
    width: 40px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

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

.contact-form {
    background: rgba(26, 26, 26, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
    border: 1px solid #333;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #333;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: #000000;
    color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
}

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

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

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

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

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

    .social-links {
        flex-direction: column;
        align-items: center;
    }

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

    .profile-image {
        width: 250px;
        height: 250px;
    }

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

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

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

    .hero-buttons {
        justify-content: center;
    }

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

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

    .profile-image {
        width: 200px;
        height: 200px;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

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

.hero-text,
.hero-image,
.about-content,
.project-card,
.contact-item {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6366f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4f46e5;
} 