@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 300;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: #ccc;
    
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0px 0px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: auto;
}

.p-header {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0px 20px 80px;
    display: flex;
    gap: 30px;
    align-items: center;
    min-height: auto;
}

.p-header i {
    text-decoration: none;
}

.nav-links a {
    text-decoration: none;
    color: #c0c0c0;
    font-size: 1rem;
    padding: 10px 0px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.nav-links a:focus,
.nav-links a:active {
    background-color: #444;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 0px 0px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-height: 480px;
    
}
.typewriter-text {
    border-right: 3px solid white;
    padding-right: 8px;
    animation: blink 1s infinite;
    color: white;
}

@keyframes blink {
    0%, 50% { border-color: white; }
    51%, 100% { border-color: transparent; }
}

.typewriter-text.typing {
    animation: none;
    border-color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .typewriter-container {
        font-size: 2rem;
    }
    .intro-text {
        font-size: 1.2rem;
    }
}

.seperator-hr {
    max-width: 1100px;
    margin: 0 auto;
    padding-right: 130px;
    padding-left: 80px;
}

.seperator-header {
    max-width: 940px;
    margin: 0 auto;
    padding-right: 770px;
}

.seperator-header hr{
    height: 2px;
    border: 0;
}

hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(46, 46, 46, 0.75), rgba(92, 92, 92, 0.75), rgba(46, 46, 46, 0.75));
}

.left-section {
    padding: 0px 0px 0px 0px;
}

.right-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 500px;
    padding: 20px 0px 0px 0px;
    align-items: center;
}

.laptop-icon {
    margin-bottom: 10px;
}

h1 {
    font-weight: 300;
    letter-spacing: -1px;
    color: #f5f5f5;
}


.subtitle {
    font-size: larger;
    color: #f5f5f5;
    margin-bottom: 10px;
    font-weight: 300;
}

.description {    
    color: #979797;
    margin-bottom: 20px;
    font-weight: 300;
}

.description p {
    color: #979797;
    margin-bottom: 2%;
}

.category {
    margin-bottom: 25px;
}

.category-title {
    font-size: 1rem;
    color: #979797;
    margin: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.self-image {
    margin-top: 170px;
    width: 195px;
    height: 200px;
    clip-path: ellipse(45% 50%);
    shape-outside: ellipse(45% 50%);
}

.icons {
    display: flex;
    gap: 30px;
    justify-content: end;
    padding-right: 140px;
}

.github-icon {
    width: 25px;
    height: 25px;
}

.linkedin-icon {
    width: 25px;
    height: 25px;
}

.skills-section {
    max-width: 940px;
    margin: 0 auto;
    padding-top: 20px;
}

.skills-section h2 {
    font-weight: 500;
    font-size: larger;
    margin-bottom: 10px;
    color: #f5f5f5;
}

.skills-list {
    font-size: 0.5rem;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    color: #979797;
}

.skill-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 5px 5px 5px;
    background-color: (255, 255, 255, 0.05);
    border-radius: 1%;
    border-radius: 25px;
    color: #8b8b8b;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag img{
    width: 20px;
    height: 20px;
}

.skill-tag:hover {
    background-color: #b3b3b3;
    color: white;
    
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .stats {
        justify-content: center;
    }
    
    .profile-image {
        padding-top: 500px;
    }
}

.contact-container {
    max-width: 1020px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
}

.contact-info {
    padding: 0px 40px 40px 40px;
}



.contact-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 5px 0px 5px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.contact-details h3 {
    font-size: 1.0em;
    color: #ffffff;
}

.contact-details p {
    color: #cccccc;
    font-weight: 300;
}

.contact-details a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #ffffff;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    max-width: 400px;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.form-title {
    font-size: larger;
    margin-bottom: 20px;
    color: #ffffff;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #cccccc;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888888;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 50%;
    padding: 10px;
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #444444 0%, #666666 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: #cccccc;
    transition: fill 0.3s ease;
}

.social-link:hover svg {
    fill: #ffffff;
}

@media (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-method {
        padding: 15px;
    }
    
    .contact-form {
        padding: 20px;
    }
}

.resume-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 60px;
}

.pdf-container {
    width: 100%;
    max-width: 900px;
    margin: 20px 23%;
    border: 1px solid #444444;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pdf-header {
    background-color: #252525;
    padding: 20px 20px;
    border-bottom: 1px solid #ddd;
}

.pdf-viewer {
    width: 100%;
    height: 800px;
    border: none;
}

.download-link {
    display: inline-block;
    padding: 5px 10px;
    background-color: #757575;
    color: rgb(218, 218, 218);
    text-decoration: none;
    border-radius: 10px;
}

.projects-container {
    max-width: 940px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
    align-items: center;
}

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

.project-subsection {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0px 0px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: auto;
    font-size: 1.3rem;
    padding-bottom: 20px;
}

.card {
    background: rgba(63, 63, 63, 0.05);
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    max-width: 400px;
    
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}


.gh-project-icon {
    height: 25px;
    width: 25px;
}
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.project-title {
    color: #ebebeb;
    margin-bottom: 5px;
}

.project-type {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.project-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
}

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

.tech-tag {
    background: #e2e8f0;
    color: #2d3748;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #764ba2;
}

.link-icon {
    width: 16px;
    height: 16px;
}

.highlights {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #2d3748;
    font-size: 0.9rem;
}

.highlight-item::before {
    content: "▶";
    color: #667eea;
    margin-right: 8px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        padding: 20px;
    }
}

.project-img {
    width: 100%;
    height: 200px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.modal-content img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.modal-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.modal-btn {
    background-color: #252525;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

.resume-header {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0px 20px 80px;
    display: flex;
    gap: 30px;
    align-items: center;
    min-height: auto;
}

.mySlides {
    display: none;
}

.mySlides.active {
    display: block;
}


