/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4ff;
    text-decoration: none;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00d4ff;
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

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

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

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

.highlight {
    color: #00d4ff;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: #cccccc;
    margin-bottom: 1rem;
    font-weight: 400;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #aaaaaa;
    font-size: 1rem;
}

.location i {
    color: #00d4ff;
}

.hero-text p {
    font-size: 1.1rem;
    color: #aaaaaa;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: #00d4ff;
    color: #0a0a0a;
}

.btn-primary:hover {
    background-color: #00b8e6;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #333;
}

.btn-secondary:hover {
    border-color: #00d4ff;
    color: #00d4ff;
    transform: translateY(-2px);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background-color: #00d4ff;
    color: #0a0a0a;
    transform: translateY(-2px);
}

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

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

/* About Section */
.about {
    background-color: #111111;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.education {
    margin-top: 3rem;
}

.education h3 {
    font-size: 1.5rem;
    color: #00d4ff;
    margin-bottom: 1.5rem;
}

.education-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: #1a1a1a;
    border-radius: 8px;
    border-left: 4px solid #00d4ff;
}

.education-item h4 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.education-item p {
    color: #aaaaaa;
    margin: 0;
}

/* Experience Section */
.experience {
    background-color: #0a0a0a;
}

.experience-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.experience-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.experience-card:hover {
    border-color: #00d4ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.experience-header h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.company {
    display: block;
    color: #00d4ff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.duration {
    display: block;
    color: #aaaaaa;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.experience-details {
    list-style: none;
}

.experience-details li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.experience-details li:before {
    content: "•";
    color: #00d4ff;
    position: absolute;
    left: 0;
}

/* Projects Section */
.projects {
    background-color: #0a0a0a;
}

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

.project-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    border-color: #00d4ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-header h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    flex: 1;
    line-height: 1.3;
}

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

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #333;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.project-link:hover {
    background-color: #00d4ff;
    color: #0a0a0a;
    transform: translateY(-2px);
}

.project-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.tech-tag {
    background-color: #333;
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background-color: #00d4ff;
    color: #0a0a0a;
}

/* Skills Section */
.skills {
    background-color: #111111;
}

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

.skill-category {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: center;
}

.skill-category h3 {
    font-size: 1.3rem;
    color: #00d4ff;
    margin-bottom: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    background-color: #333;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: #00d4ff;
    color: #0a0a0a;
}

/* Awards Section */
.awards {
    background-color: #111111;
}

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

.award-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.award-card:hover {
    border-color: #00d4ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.award-card:hover::before {
    opacity: 1;
}

.award-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.award-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 12px;
    color: #0a0a0a;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.award-title-section h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.award-date {
    display: block;
    color: #00d4ff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.award-location {
    display: block;
    color: #aaaaaa;
    font-size: 0.85rem;
    font-style: italic;
}

.award-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.award-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.award-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background-color: #333;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.award-link:hover {
    background-color: #00d4ff;
    color: #0a0a0a;
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.award-link i {
    font-size: 0.8rem;
}

/* Contact Section */
.contact {
    background-color: #0a0a0a;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: #00d4ff;
    color: #00d4ff;
    transform: translateY(-2px);
}

.contact-method i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: #111111;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #333;
}

.footer p {
    color: #aaaaaa;
    font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-links {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-method {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .award-card {
        padding: 1.5rem;
    }
    
    .award-header {
        gap: 0.75rem;
    }
    
    .award-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
    
    .experience-card,
    .skill-category {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Project Filter Styles */
.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid #333;
    color: #cccccc;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: #00d4ff;
    color: #00d4ff;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #00d4ff, #0077be);
    border-color: #00d4ff;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Project Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background-color: #1a1a1a;
    margin: 2% auto;
    padding: 0;
    border: 1px solid #333;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 212, 255, 0.1);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: #1a1a1a;
    z-index: 10;
}

.modal-header h2 {
    color: #00d4ff;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #333;
    color: #ff4757;
}

.modal-body {
    padding: 2rem;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #111;
    border-radius: 10px;
    border: 1px solid #333;
}

.meta-item {
    color: #cccccc;
    font-size: 0.95rem;
}

.meta-item strong {
    color: #00d4ff;
    display: block;
    margin-bottom: 0.25rem;
}

.project-full-description {
    margin-bottom: 2rem;
}

.project-full-description h3 {
    color: #00d4ff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-full-description p {
    color: #cccccc;
    line-height: 1.8;
    font-size: 1rem;
    white-space: pre-line;
}

.project-technologies {
    margin-bottom: 2rem;
}

.project-technologies h3 {
    color: #00d4ff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.tech-tag {
    background: linear-gradient(135deg, #00d4ff, #0077be);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-section h3 {
    color: #00d4ff;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.detail-section p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-links {
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.project-links h3 {
    color: #00d4ff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #00d4ff, #0077be);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.link-btn:hover {
    background: linear-gradient(135deg, #0077be, #005a8a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.project-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

/* Modal Responsive Design */
@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .project-meta {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .project-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .link-buttons {
        flex-direction: column;
    }
    
    .link-btn {
        justify-content: center;
    }
}