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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

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

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

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

.nav-logo h2 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1a1a1a;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: #ffffff;
    color: #1a1a1a;
    padding: 120px 0 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-profile {
    margin-bottom: 30px;
}

.profile-image {
    width: 200px;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.profile-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 4px solid #e0e0e0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.profile-placeholder i {
    font-size: 4rem;
    color: #666;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 500;
    color: #666;
    font-style: italic;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #1a1a1a;
    color: #ffffff;
    border: 2px solid #1a1a1a;
}

.btn-primary:hover {
    background: transparent;
    color: #1a1a1a;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: #f8f9fa;
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.hero-tech {
    margin-top: 60px;
}

.tech-icons {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-icons i {
    font-size: 3rem;
    color: #666;
    transition: all 0.3s ease;
}

.tech-icons i:hover {
    color: #1a1a1a;
    transform: scale(1.1);
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.tech-list {
    list-style: none;
    margin-top: 20px;
}

.tech-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat h3 {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 10px;
}

/* Projects Section */
.projects {
    background: #ffffff;
}

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

.project-card {
    background: #fafafa;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #1a1a1a;
}

.project-card h3 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.project-card p {
    margin-bottom: 20px;
    color: #666;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    background: #e9ecef;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #495057;
}

.project-highlights {
    list-style: none;
}

.project-highlights li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.project-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.project-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #333;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Skills Section */
.skills {
    background: #fafafa;
}

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

.skill-category {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.skill-category h3 {
    color: #007bff;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #495057;
    border: 1px solid #dee2e6;
}

/* Certifications Section */
.certifications {
    background: #f8f9fa;
}

.certifications-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.certification-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #ff9500;
    transition: transform 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-3px);
}

.certification-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.certification-card .issuer {
    color: #ff9500;
    font-weight: 600;
    margin-bottom: 8px;
}

.certification-card .date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.certification-card .credential {
    display: inline-block;
    background: #ff9500;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.certification-card .credential:hover {
    background: #e6850e;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    color: #007bff;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.contact-link:hover {
    background: white;
}

.contact-link i {
    font-size: 1.2rem;
    color: #007bff;
    width: 20px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.contact-form .btn {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.contact-form .btn:hover {
    background: #0056b3;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 0.85rem;
    }
    
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .nav-logo {
        margin-bottom: 15px;
    }
    
    .hero {
        padding: 140px 0 60px;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .profile-image {
        width: 150px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .tech-icons {
        gap: 20px;
    }
    
    .tech-icons i {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 10px 15px;
    }
    
    .nav-menu {
        gap: 8px;
        font-size: 0.8rem;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 120px 0 50px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .profile-image {
        width: 120px;
    }
    
    .hero-profile {
        margin-bottom: 20px;
    }
    
    section {
        padding: 50px 0;
    }
    
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .project-card {
        padding: 20px;
    }
    
    .project-card h3 {
        font-size: 1.2rem;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .contact-form {
        padding: 0;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .stat {
        margin-bottom: 10px;
    }
}