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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(30, 58, 138, 0.1);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    background: linear-gradient(135deg, #1e3a8a, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, #1e3a8a, #0891b2);
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1e3a8a;
    margin: 3px 0;
    transition: 0.3s;
}

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

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

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

.hero-image {
    text-align: center;
}

.profile-img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    /* border: 4px solid #1e3a8a; */
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    transition: transform 0.3s ease;
    object-fit: cover;
    object-position: center;
}

.profile-img:hover {
    transform: scale(1.05);
}

.hero-text {
    text-align: left;
}

.hero-name {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title {
    font-size: 1.25rem;
    color: #0891b2;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.hero-tagline {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #0891b2);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

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

.btn-secondary:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.btn-outline:hover {
    background: #1e3a8a;
    color: white;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #1e3a8a, #0891b2);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 4rem;
}

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

.education-item {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #1e3a8a;
}

.education-item h3 {
    color: #1e3a8a;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.education-details p {
    color: #475569;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.education-details p strong {
    color: #1e3a8a;
}

/* Skills Section */
.skills {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #1e3a8a;
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.2);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.skill-category-header i {
    font-size: 1.5rem;
    color: #1e3a8a;
}

.skill-category h3 {
    color: #1e3a8a;
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
}

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

.skill-item {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.3), rgba(8, 145, 178, 0.3));
    color: #1e3a8a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.skill-item:hover {
    background: linear-gradient(135deg, rgba(30, 58, 138, 1), rgba(8, 145, 178, 1));
    color: white;
    transform: translateY(-2px) scale(1.04);
}

/* Achievements Section */
.achievements {
    padding: 5rem 0;
    background: #ffffff;
}

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

.achievement-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.08);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #1e3a8a, #0891b2);
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.18);
    border-color: #1e3a8a;
}

.achievement-card i {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.achievement-card:hover i {
    transform: scale(1.1);
}

.achievement-card h3 {
    color: #1e3a8a;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.achievement-card p {
    color: #475569;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.achievement-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.achievement-link:hover {
    color: #0891b2;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a, #0891b2);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.22);
    border-color: #1e3a8a;
}

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

.project-content {
    padding: 2rem;
    padding-left: 2.5rem;
}

.project-content h3 {
    color: #1e3a8a;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-content h3::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #0891b2;
    border-radius: 50%;
}

.project-content > p {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-content > p:first-of-type {
    color: #0891b2;
    font-weight: 500;
    font-size: 0.95rem;
}

.project-bullets {
    margin: 1rem 0;
    padding-left: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.8;
    list-style: none;
}

.project-bullets li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.project-bullets li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #0891b2;
    font-weight: bold;
    font-size: 1.2rem;
}

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

.project-tech span {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(8, 145, 178, 0.08));
    color: #1e3a8a;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(30, 58, 138, 0.15);
    transition: all 0.2s ease;
}

.project-tech span:hover {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15), rgba(8, 145, 178, 0.15));
    transform: translateY(-2px);
}

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

.project-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #0891b2;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 12px;
    border-left: 4px solid #1e3a8a;
}

.contact-item i {
    font-size: 1.5rem;
    color: #1e3a8a;
}

.contact-item h3 {
    color: #1e3a8a;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: #475569;
}

.contact-form {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    background: white;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #0891b2;
    transform: translateY(-3px);
}

.div-download {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hero-social {
    display: flex;
    gap: 1.2rem;
    justify-content: flex-start;
    margin-top: 1.5rem;
}

.hero-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #0891b2);
    color: #fff;
    font-size: 1.4rem;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.10);
    text-decoration: none;
}

.hero-social-link:hover {
    background: linear-gradient(135deg, #0891b2, #1e3a8a);
    transform: translateY(-4px) scale(1.08);
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-name {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}




.project-card {
    position: relative;
    /* ...existing styles... */
  }
  
  .github-corner {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1e3a8a, #0891b2);
    color: #fff;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    box-shadow: 0 3px 10px rgba(30,58,138,0.15);
    z-index: 2;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  .github-corner:hover {
    background: linear-gradient(135deg, #0891b2, #1e3a8a);
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 5px 15px rgba(30,58,138,0.25);
    color: #fff;
  }