/* Reset and base 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-color: #000;
    color: #fff;
}

/* Navigation */
header {
    background-color: #000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    padding: 0 1rem;
}

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

.profile-image-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #3498db;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.profile-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3498db, #2980b9, #3498db);
    background-size: 200% 200%;
    animation: glowing 3s ease infinite;
    z-index: -1;
    opacity: 0.5;
}

@keyframes glowing {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 30px rgba(52, 152, 219, 0.8);
    }
    100% {
        background-position: 0% 50%;
        box-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
    }
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
}

.highlight {
    color: #3498db;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button, .cv-button {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: 150px;
    text-align: center;
}

.cta-button {
    background-color: #3498db;
    color: white;
}

.cv-button {
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.cta-button::before, .cv-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3498db, #2980b9, #3498db);
    background-size: 200% 200%;
    animation: glowing 3s ease infinite;
    z-index: -1;
    border-radius: 5px;
    opacity: 0.3;
}

.cta-button:hover, .cv-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.cv-button:hover {
    background-color: #3498db;
    color: white;
}

/* Sections */
section {
    padding: 5rem 1rem;
    background-color: #000;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #3498db;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    align-items: center;
    text-align: center;
}

.project-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.project-icon i {
    font-size: 3rem;
    color: #3498db;
    transition: all 0.3s ease;
}

.project-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3498db, #2980b9, #3498db);
    background-size: 200% 200%;
    animation: glowing 3s ease infinite;
    z-index: -1;
    opacity: 0.3;
}

.project-card:hover .project-icon i {
    transform: scale(1.1);
    color: #fff;
}

.project-card:hover .project-icon::before {
    opacity: 0.5;
}

.project-card h3 {
    padding: 1rem 0;
    color: #3498db;
    margin: 0;
}

.project-card p {
    padding: 0 0 1.5rem;
    color: #fff;
    flex-grow: 1;
    margin: 0;
}

.project-links {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    margin-top: auto;
    gap: 1rem;
    width: 100%;
}

.demo-link, .github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.demo-link {
    background-color: #3498db;
    color: white;
}

.github-link {
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.demo-link::before, .github-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3498db, #2980b9, #3498db);
    background-size: 200% 200%;
    animation: glowing 3s ease infinite;
    z-index: -1;
    border-radius: 5px;
    opacity: 0.3;
}

.demo-link:hover, .github-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.github-link:hover {
    background-color: #3498db;
    color: white;
}

.project-card:hover {
    transform: translateY(-5px);
}

/* Skills Section */
.skills-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.skill-items span {
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #3498db;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #1a1a1a;
    color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #ccc;
}

.submit-button {
    padding: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3498db, #2980b9, #3498db);
    background-size: 200% 200%;
    animation: glowing 3s ease infinite;
    z-index: -1;
    border-radius: 5px;
    opacity: 0.5;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-links a {
    color: #3498db;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #2980b9;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #1a1a1a;
    color: #fff;
}

/* Contact Info */
.contact-info {
    text-align: center;
    margin-top: 2rem;
    color: #fff;
}

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

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

.contact-info a:hover {
    color: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button, .cv-button {
        width: 100%;
        max-width: 250px;
    }
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3498db, #2980b9, #3498db);
    background-size: 200% 200%;
    animation: glowing 3s ease infinite;
    z-index: -1;
    opacity: 0.3;
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

/* Education Section */
.education {
    background-color: #000;
    padding: 5rem 1rem;
}

.education-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.education-card {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-card:hover {
    transform: translateY(-5px);
}

.education-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.education-icon i {
    font-size: 2.5rem;
    color: #3498db;
    transition: all 0.3s ease;
}

.education-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3498db, #2980b9, #3498db);
    background-size: 200% 200%;
    animation: glowing 3s ease infinite;
    z-index: -1;
    opacity: 0.3;
}

.education-card:hover .education-icon i {
    transform: scale(1.1);
    color: #fff;
}

.education-card:hover .education-icon::before {
    opacity: 0.5;
}

.education-content h3 {
    color: #3498db;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.education-content .institution {
    color: #fff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.education-content .duration {
    color: #3498db;
    font-style: italic;
    margin-bottom: 1rem;
}

.education-content .description {
    color: #ccc;
    line-height: 1.6;
}
