@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?m2c52j');
  src:  url('fonts/icomoon.eot?m2c52j#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?m2c52j') format('truetype'),
    url('fonts/icomoon.woff?m2c52j') format('woff'),
    url('fonts/icomoon.svg?m2c52j#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-python:before {
  content: "\e900";
  color: #3776ab;
}
.icon-calculator:before {
  content: "\e940";
}
.icon-display:before {
  content: "\e956";
}
.icon-lock:before {
  content: "\e98f";
}
.icon-fire:before {
  content: "\e9a9";
}
.icon-embed:before {
  content: "\ea7f";
}
.icon-instagram:before {
  content: "\ea92";
}
.icon-twitter:before {
  content: "\ea96";
}
.icon-linkedin:before {
  content: "\eac9";
}

/* ===== आपका पुराना CSS कोड यहाँ से शुरू ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #0d0d0d;
    --primary-color: #1a1a1a;
    --text-color: #f0f0f0;
    --sub-text-color: #a0a0a0;
    --accent-color: #00e6e6; 
    --box-shadow-color: rgba(0, 230, 230, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    font-family-adjust: 0.5;
    cursor: default;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}
a, .btn, .skill-box, .project-card {
   cursor: pointer;   
}

h1, h2, h3 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.accent-text {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    border: none;
    border-radius: 50px;
    color: var(--bg-color);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px var(--box-shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--box-shadow-color);
}

section {
    padding: 80px 10%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    text-align: center;
}

hr {
    border: none;
    height: 1px;
    background-color: #2a2a2a;
    margin: 0 10%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-color);
}

.navbar a {
    font-size: 18px;
    font-weight: 500;
    margin-left: 35px;
    color: var(--sub-text-color);
}

.navbar a:hover,
.navbar a.active {
    color: var(--text-color);
}

.menu-icon {
    display: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    .header {
        padding: 15px 5%;
    }

    .navbar {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(13, 13, 13, 0.95);
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
        transform: translateY(-120%);
        transition: transform 0.5s ease;
        border-top: 1px solid #333;
        opacity: 0;
        pointer-events: none;
    }
    
    .navbar.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .menu-icon {
        display: block;
    }

    .home, .about, .contact {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 60px 5%;
    }

    .home-image, .about-image, .contact-image {
        width: 250px;
        height: 250px;
    }

    .home-content h1 {
        font-size: 40px;
    }

    .home-content h2 { /* h3 को h2 में बदला */
        font-size: 28px;
    }
}

.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 10%;
    min-height: 100vh;
}

.home-content {
    max-width: 600px;
    text-align: left;
}

.home-content h1 {
    font-size: 60px;
    line-height: 1.2;
}

.home-content h2 { /* h3 को h2 में बदला */
    font-size: 36px;
    margin-top: 10px;
    color: var(--text-color);
}

.home-content p {
    margin-top: 20px;
    color: var(--sub-text-color);
}

.home-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 0, 0, 00.3);
    transition: transform 0.5s ease;
    display: flex; 
    justify-content: center; 
    align-items: center;
}

.home-image:hover {
    transform: scale(1.05);
}

.home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;  
}

.home-sci {
    margin: 30px 0;
}

.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    border: 1px solid var(--accent-color);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    font-size: 20px;
    color: var(--text-color);
    margin-right: 15px;
    transition: all 0.5s ease;
}

.home-sci a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--txt-color);
    transform: translateY(-5px);
}

.about {
    flex-direction: row-reverse;
    text-align: left;
    justify-content: space-between;
}

.about-content {
    max-width: 600px;
}

.about-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--sub-text-color);
}

.skills h2 {
    font-size: 48px;
    margin-bottom: 50px;
}

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

.skill-box {
    background: var(--primary-color);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.skill-box:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
}

.skill-box i {
    font-size: 60px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.skill-box h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.skill-box p {
    font-size: 16px;
    color: var(--sub-text-color);
}

.projects h2 {
    font-size: 48px;
    margin-bottom: 50px;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.project-card {
    background: var(--primary-color);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.project-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
}

.project-card i {
    font-size: 60px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.project-card p {
    font-size: 16px;
    color: var(--sub-text-color);
}
.project-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.project-links {
    margin-top: 20px;
}

.tech-tags {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-tags span {
    background-color: #2a2a2a;
    color: var(--sub-text-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
}


.btn-project {
    display: inline-block;
    padding: 8px 20px;
    margin: 0 10px;
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.btn-project:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

.contact {
    text-align: left;
    justify-content: space-between;
}

.contact-form {
    max-width: 500px;
}

.contact-form h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #333;
    background: #1a1a1a;
    color: var(--text-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

.contact-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 40px var(--box-shadow-color);
    transition: transform 0.5s ease;
}

.contact-image:hover {
    transform: scale(1.05);
}

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


.footer {
    background: var(--primary-color);
    padding: 30px 10%;
    text-align: center;
    color: var(--sub-text-color);
}

.copyright p {
    font-size: 14px;
}

.glass-card {
    background: rgba(26, 26, 26, 0.5); 
    backdrop-filter: blur(10px); 
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 40px;
    transition: all 0.3s ease;
    text-align: center;
}

.glass-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
}

.glass-text {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--box-shadow-color);
}

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

.modal-content {
    margin: 10% auto;
    padding: 40px;
    width: 80%;
    max-width: 600px;
    text-align: left;
    position: relative;
    border: 1px solid var(--accent-color);
}

.modal-content h2 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.modal-content h4 {
    margin-top: 20px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.modal-content ul {
    list-style-position: inside;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 25px;
}

.close-btn:hover,
.close-btn:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.modal-links {
    margin-top: 30px;
}

.modal-links .btn {
    margin-right: 15px;
    margin-bottom: 10px;
}
/* Styles for View All Projects button and hidden projects */
.hidden-project {
    display: none !important;
}

.view-all-container {
    width: 100%;
    text-align: right;
    margin-top: 40px;
}