/* Main CSS File */
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #E0E0E0;
    margin: 0;
    padding: 0;
}

/* Navbar Styles */
nav {
    background-color: #E0E0E0;
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

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

.nav-logo a {
    color: #333333;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}



.nav-list {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.nav-list li {
    margin: 0;
}

.nav-list a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.nav-list a:hover {
    color: #ffffff;
    background-color: #333333;
    transform: translateY(-2px);
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 40%;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-list a:hover::after {
    width: 80%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

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

/* Hamburger animation */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: 80px;
}

/* Home Section Styles */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.home-container-level-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 3rem;
}

.home-text-wrapper {
    flex: 1;
    max-width: 600px;
}

.home-text-wrapper h1 {
    font-size: 3.5rem;
    color: #333333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-text-wrapper h2 {
    font-size: 2rem;
    color: #333333;
    margin-bottom: 1rem;
    font-weight: 400;
}

.home-text-wrapper p {
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.home-buttons {
    color: #333333;
    display: flex;
    flex-direction: row;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.home-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-image-wrapper img {
    max-width: 80%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

/* About Section Styles */
#about {
    padding: 5rem 0;
}

.about-container {
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-top: 2rem;
}

.about-github-wrapper {
    flex: 1;
    max-width: 500px;
    text-align: center;
    display: grid;
    gap: 2rem;
}

.github-title {
    font-size: 1.5rem;
    color: #333333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.github-profile-card {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #c5c5c5;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.github-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.github-profile-link {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.github-profile-link:hover {
    text-decoration: none;
    color: inherit;
}

.github-profile-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
    border: 3px solid #f0f0f0;
    transition: border-color 0.3s ease;
}


.github-pfp {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.github-profile-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
    color: #333333;
    font-weight: 600;
}

.github-profile-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666666;
    font-style: italic;
}

.github-contribution-graph {
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #c5c5c5;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.github-contribution-graph:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.github-contribution-graph img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.github-description {
    color: #666666;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

.about-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.stat-card {
    max-height: 12rem;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #c5c5c5;
}

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

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.stat-info h3 {
    font-size: 0.9rem;
    color: #333333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-info p {
    font-size: 0.75rem;
    color: #666666;
    font-weight: 400;
    margin: 0;
}

.about-description {
    line-height: 1.8;
}

.about-description p {
    color: #555555;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.about-description p:last-child {
    margin-bottom: 0;
}

.about-cta {
    margin-top: 1rem;
}

.btn-primary {
    background-color: #3498db;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Portfolio Section Styles */
#portfolio {
    padding: 5rem 0;
}

.portfolio-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 4rem;
}

.portfolio-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-top: 2rem;
    justify-content: center;
}

.portfolio-timeline-wrapper {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    margin-top: 8rem;
}

.timeline {
    position: relative;
    max-width: 100%;
    margin: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #c5c5c5;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 12px;
    height: 12px;
    background-color: #c5c5c5;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    width: 80%;
    position: relative;
}

.timeline-content.left {
    left: -30%;
    text-align: right;
    padding-right: 2rem;
}

.timeline-content.right {
    left: 55%;
    text-align: left;
    padding-left: 2rem;
}

.timeline-card {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #c5c5c5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.timeline-card h3 {
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-card h4 {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.timeline-date-left {
    display: flex;
    text-align: right;
    justify-content: flex-end;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666666;
}

.timeline-date-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666666;
}

.calendar-icon {
    font-size: 0.8rem;
}

.portfolio-projects-wrapper {
    flex: 1;
    max-width: 50%;
}

.projects-title {
    font-size: 1.5rem;
    color: #333333;
    margin-bottom: 8rem;
    font-weight: 600;

}

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

.project-card {
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #c5c5c5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: fit-content;
}
/* Skills Section */
#skills {
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.skills-header {
    text-align: center;
    margin-bottom: clamp(2rem, 6vw, 4rem);
}

.skills-header .section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #333333;
    margin-bottom: 1rem;
}

.skills-header .section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #666666;
    font-weight: 300;
}

.skills-content {
    width: 100%;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: flex-start;
}

.skills-column {
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #c5c5c5;
    height: fit-content;
}

.skills-column-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #c5c5c5;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Skills Section Responsive */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skills-column {
        padding: 1rem;
    }
    
    .skills-column-title {
        font-size: 1.1rem;
    }
    
    .skill-item {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }
}


.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-card h4 {
    font-size: 1rem;
    color: #333333;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.project-card p {
    font-size: 0.85rem;
    color: #666666;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.project-card-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-content {
    flex: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: auto;
}

.tech-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: #f0f0f0;
    border-radius: 12px;
    color: #555;
}

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

/* Section titles */
.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    color: #333333;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: #666666;
    font-weight: 400;
}

/* Button styles */
.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    color: #764ba2;
    font-size: 1.25rem;
    padding:0;
}
.btn-inline {
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    color: #764ba2
}



.btn-secondary:hover {
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #E0E0E0;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-list li {
        margin: 1rem 0;
    }
    
    .nav-list a {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        display: block;
        width: 100%;
    }
    
    .nav-list a:hover {
        background-color: #333333;
        color: #ffffff;
    }
    
    body {
        padding-top: 80px;
    }
    
    /* Home section responsive */
    #home {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .home-container-level-1 {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .home-text-wrapper {
        max-width: 100%;
        order: 2;
    }
    
    .home-text-wrapper h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .home-text-wrapper h2 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .home-text-wrapper p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .home-buttons {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
        margin-bottom: 1rem;
        color: #333333;
    }
    
    .home-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .home-image-wrapper {
        order: 1;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .home-image-wrapper img {
        max-width: 100%;
        border-radius: 12px;
    }
    
    /* About section responsive */
    .about-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .about-github-wrapper {
        max-width: 100%;
        margin: 0 auto;
        flex: 0 0 auto;
        width: 100%;
    }
    
    .github-profile-card {
        margin-bottom: 1rem;
    }
    
    .github-profile-link {
        padding: 1rem;
    }
    
    .github-profile-image {
        width: 50px;
        height: 50px;
        margin-right: 0.75rem;
    }
    
    .github-profile-info h4 {
        font-size: 1rem;
    }
    
    .github-profile-info p {
        font-size: 0.8rem;
    }
    
    .github-contribution-graph {
        padding: 1rem;
    }
    
    .stats-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .stat-card {
        padding: 0.75rem;
        min-height: auto;
    }
    
    .stat-info h3 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-info p {
        font-size: 0.7rem;
        font-weight: 500;
    }
    
    .about-description p {
        font-size: 0.95rem;
    }
    
    /* Portfolio section responsive */
    #portfolio {
        padding: 2rem 0;
    }
    
    .portfolio-container {
        padding: 0 1rem;
    }
    
    .portfolio-header {
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .portfolio-content {
        flex-direction: column;
        gap: 2rem;
        justify-content: center;
        align-items: center;
    }
    
    .portfolio-timeline-wrapper {
        max-width: 100%;
        order: 1;
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 0;
    }
    
    .timeline {
        max-width: 600px;
        width: 100%;
    }
    
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        margin-bottom: 1.5rem;
    }
    
    .timeline-item::before {
        left: 50%;
        transform: translateX(-50%);
        width: 8px;
        height: 8px;
    }
    
    .timeline-content {
        width: 45%;
        position: relative;
    }
    
    .timeline-content.left {
        left: 0;
        text-align: right;
        padding-right: 1rem;
    }
    
    .timeline-content.right {
        left: 55%;
        text-align: left;
        padding-left: 1rem;
    }
    
    .timeline-card {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .timeline-card h3 {
        font-size: 0.65rem;
        margin-bottom: 0.25rem;
    }
    
    .timeline-card h4 {
        font-size: 0.55rem;
        margin-bottom: 0.5rem;
    }
    
    .timeline-date-left,
    .timeline-date-right {
        font-size: 0.55rem;
    }
    
    .portfolio-projects-wrapper {
        max-width: 100%;
        order: 2;
        flex: 0 0 auto;
        width: 100%;
    }
    
    .projects-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .portfolio-projects {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .project-card {
        padding: 0.75rem;
    }
    
    .project-card-image {
        height: 100px;
        margin-bottom: 0.5rem;
    }
    
    .project-card h4 {
        top: 0;
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        line-height: 1;
    }
    
    .project-card p {
        font-size: 0.55rem;
        line-height: 1;
    }
    
    .tech-tag {
        font-size: 0.45rem;
        padding: 0.15rem 0.5rem;
    }
    

    .skills-list{
        gap: 0.0rem;
    }

}

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

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-form-wrapper {
    flex: 1;
    max-width: 600px;
}

.contact-form-card {
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #c5c5c5;
    background-color: #E0E0E0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-form-title {
    font-size: 1.5rem;
    color: #333333;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 1rem;
    color: #333333;
    transition: all 0.3s ease;
    font-family: inherit;
    background-color: #f1f1f1;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
    transform: translateY(-1px);
}

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

.contact-btn {
    color: #000000;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    border: 1px solid #c5c5c5;
    background-color: #E0E0E0;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #333333;
    background-color: #333333;
    color: #ffffff;
}

.contact-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-btn:hover .btn-icon {
    transform: translateX(3px);
}

.contact-info-wrapper {
    flex: 1;
    max-width: 500px;
}

.contact-info-card {
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #c5c5c5;
    background-color: #E0E0E0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: fit-content;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-info-title {
    font-size: 1.5rem;
    color: #333333;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.contact-description {
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-text h4 {
    font-size: 0.9rem;
    color: #333333;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-text p,
.contact-text a {
    font-size: 0.9rem;
    color: #666666;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}



.contact-social {
    border-top: 1px solid #c5c5c5;
    padding-top: 2rem;
}

.social-title {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #333333;
    background-color: #f8f9fa;
    border: 1px solid #c5c5c5;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    background-color: #333333;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    border: 1px solid #333333;
}

.social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}




.social-link.github:hover .social-icon {
    background-color: #ffffff;
}

.social-link img.social-icon {
    object-fit: contain;
}

.linkedin-icon {
    background-color: #333333;
    color: white;
}

.social-link.linkedin:hover .linkedin-icon {
    background-color: #ffffff;
    color: #333333;
}

.email-icon {
    color: #333333;
}

.social-link.email:hover .email-icon {
    background-color: #ffffff;
    color: #333333;
}

/* Contact Section Responsive */
@media (max-width: 768px) {
    #contact {
        padding: 2rem 0;
    }
    
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-header {
        margin-bottom: 1.5rem;
    }
    
    .contact-header .section-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-header .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
        margin-top: 0;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        max-width: 100%;
        width: 100%;
        flex: none;
    }
    
    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem;
        border-radius: 12px;
        margin-bottom: 0;
    }
    
    .contact-form-title,
    .contact-info-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 0;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 6px;
        min-height: 44px;
    }
    
    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }
    
    .contact-btn {
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 48px;
        margin-top: 0.5rem;
        border-radius: 6px;
    }
    
    .contact-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .social-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-height: 48px;
        border-radius: 6px;
        align-items: center;
    }
    
    .social-icon {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    
    .social-link span {
        line-height: 1.2;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    #contact {
        padding: 1.5rem 0;
    }
    
    .contact-container {
        padding: 0 0.75rem;
    }
    
    .contact-header .section-title {
        font-size: 1.75rem;
    }
    
    .contact-header .section-subtitle {
        font-size: 0.9rem;
    }
    
    .contact-form-card,
    .contact-info-card {
        padding: 1rem;
    }
    
    .contact-form-title,
    .contact-info-title {
        font-size: 1.1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .contact-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .social-link {
        padding: 10px 12px;
        font-size: 0.85rem;
        min-height: 44px;
    }
    
    .social-icon {
        width: 22px;
        height: 22px;
        font-size: 0.85rem;
    }
}

/* Footer */
footer {
    color: #333333;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    border-top: 1px solid #c5c5c5;
    margin-bottom: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333333;
}

.footer-left p {
    color: #333333;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #333333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #000000;
}

.footer-bottom {
    border-top: 1px solid #c5c5c5;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #333333;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
    footer {
        padding: 2rem 0 1rem;
        margin-top: 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
        margin-bottom: 0;
    }
    
    .footer-content {
        text-align: center;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        justify-content: center;
    }
    
    .footer-left h3 {
        font-size: 1.3rem;
        margin-bottom: 0.25rem;
    }
    
    .footer-left p {
        font-size: 0.9rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        display: flex;
        align-items: center;
    }
    
    .footer-bottom {
        padding-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Extra small mobile screens */
@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Home section extra small */
    .home-text-wrapper h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .home-text-wrapper h2 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .home-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-height: 42px;
    }
    
    /* About section extra small */
    .stats-cards {
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    /* Portfolio extra small */
    .timeline-card {
        padding: 0.75rem;
    }
    
    .timeline-card h3 {
        font-size: 0.7rem;
    }
    
    .timeline-card h4 {
        font-size: 0.6rem;
    }
    
    .project-card {
        padding: 0.75rem;
    }
    
    .project-card h4 {
        font-size: 0.85rem;
    }
    
    .project-card p {
        font-size: 0.75rem;
    }
    
    .tech-tag {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
    }
    
    /* Footer extra small */
    .footer-left h3 {
        font-size: 1.2rem;
    }
    
    .footer-left p {
        font-size: 0.85rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
        padding: 0.4rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

