* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    min-height: 100vh;
    color: white;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-image {
    flex-shrink: 0;
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.profile-pic:hover {
    transform: scale(1.05);
}

.profile-info {
    text-align: left;
    flex-grow: 1;
}

.profile-info h1 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.student-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.subtitle, .student-id {
    color: #ddd;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(76, 175, 80, 0.2);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.badge:hover {
    background: rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-item {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
    }

    .profile-info {
        text-align: center;
    }

    .student-info {
        justify-content: center;
    }

    .tech-badges {
        justify-content: center;
    }

    .contact-info {
        justify-content: center;
    }
}

.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.skills-section, .project-section, .contact-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-overview {
    background: rgba(76, 175, 80, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid #4CAF50;
}

.implementation-details {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.implementation-details ul {
    list-style-type: none;
    padding: 0;
}

.implementation-details li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.implementation-details li:before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: #4CAF50;
}

.code-section {
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.code-section code {
    display: block;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    font-family: 'Consolas', monospace;
    line-height: 1.5;
    overflow-x: auto;
    color: #fff;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.code-section code.csharp {
    color: #569cd6;
}

.code-section code.csharp .keyword {
    color: #569cd6;
}

.code-section code.csharp .string {
    color: #ce9178;
}

.code-section code.csharp .comment {
    color: #6a9955;
}

.about-me h2 {
    color: #4CAF50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.intro-text, .vision-text {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.intro-text {
    border-left: 4px solid #4CAF50;
    padding-left: 1rem;
}

.vision-text {
    background: rgba(76, 175, 80, 0.1);
    padding: 1.5rem;
    border-radius: 10px;

    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skill-level {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.skill-level::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #23d5ab;
    width: var(--level);
    animation: skillLevel 1s ease-out;
}

@keyframes skillLevel {
    from { width: 0; }
    to { width: var(--level); }
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

label {
    font-size: 0.9rem;
    opacity: 0.9;
}

input, textarea {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    background: #23d5ab;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #1fa88f;
}

.status-message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.status-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.status-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

.footer {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 0 1rem;
    }
}