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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f0f4f8, #e6f0ff, #f0e6ff);
    min-height: 100vh;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

/* Gradient shapes for background */
.gradient-circle {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
    opacity: 0.7;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #c7ceea, #77ffcd);
    top: 10%;
    left: 5%;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #b5ead7, #72a6ff);
    bottom: 10%;
    right: 5%;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #e2c7e0, #ff7ff4);
    top: 40%;
    right: 20%;
}

a {
    text-decoration: none;
    color: #5a67d8;
    transition: color 0.3s ease;
}

a:hover {
    color: #8a4fff;
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background: linear-gradient(#ffffffc2, #ffffff00);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #ddd;
}

nav ul {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

nav li {
    margin: 0 1.5rem;
}

nav a {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Main Content */
main {
    margin-top: 80px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}

section {
    margin-bottom: 4rem;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    color: #5a4ae3;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #c7ceea, #b5ead7);
    margin: 0.5rem auto;
    border-radius: 2px;
}

/* About Section */
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.profile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #ddd;
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.profile-info {
    flex: 1;
}

.profile-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.skills {
    font-size: 1.3rem;
    color: #5a67d8;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Projects Section */
.projects-section {
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    padding: 3rem 2rem;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #ddd;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-category {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background: linear-gradient(#ffffffb7, #ffffff00);
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.7);
}

.hero-category .icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: #5a67d8;
}

.hero-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #5a4ae3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to right, #c7ceea, #b5ead7);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.badge:hover {
    transform: scale(1.05);
}

.badge i {
    font-size: 1rem;
    margin-right: 0.5rem;
}

.hero-category .badges {
    margin-top: 1rem;
}

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

.project-card {
    background: linear-gradient(#ffffffb7, #ffffff00);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #ddd;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.5);
}

.project-image {
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: bold;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.project-description {
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

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

.tag {
    background: linear-gradient(to right, #c7ceea, #b5ead7);
    color: #333;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.tag i {
    font-size: 0.9rem;
    margin-right: 0.4rem;
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #ddd;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.contact-section h2 {
    margin-bottom: 1.5rem;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid #ddd;
    position: relative;
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .about-section {
        padding: 1rem;
    }
    
    .circle-1, .circle-2, .circle-3 {
        width: 150px;
        height: 150px;
        filter: blur(40px);
    }
    
    .profile-image {
        max-width: 150px;
    }
}