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

:root {
    --primary-color: #B7E51E;
    --secondary-color: #D7FF42;
    --accent-color: #7F9F16;
    --text-color: #F5F7FA;
    --text-light: #B7C0CC;
    --bg-color: #04070D;
    --section-bg: #080D14;
    --card-bg: #0F1722;
    --input-bg: #090F17;
    --border-color: rgba(183, 229, 30, 0.22);
    --code-bg: rgba(10, 14, 31, 0.88);
    --nav-bg: rgba(4, 7, 13, 0.92);
    --soft-glow: rgba(183, 229, 30, 0.2);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--nav-bg);
    box-shadow: 0 1px 0 var(--border-color), 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    padding: 1rem 0;
    backdrop-filter: blur(16px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--primary-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    text-shadow: 0 0 18px var(--soft-glow);
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 4rem;
        left: 0;
        width: 100%;
        background-color: var(--nav-bg);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        gap: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
        visibility: hidden;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        visibility: visible;
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links a:nth-child(4) { transition-delay: 0.4s; }
    .nav-links a:nth-child(5) { transition-delay: 0.5s; }
    .nav-links a:nth-child(6) { transition-delay: 0.6s; }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: white;
    padding: 7.5rem 2rem 3rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 82% 42%, rgba(183, 229, 30, 0.16), transparent 24rem),
        linear-gradient(90deg, rgba(4, 7, 13, 0.94) 0%, rgba(4, 7, 13, 0.84) 38%, rgba(4, 7, 13, 0.62) 68%, rgba(4, 7, 13, 0.86) 100%);
    z-index: 2;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.95;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    margin-bottom: 2.5rem;
}

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

.hero-content h1 {
    font-size: clamp(2.75rem, 6vw, 4.6rem);
    margin-bottom: 1rem;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
    line-height: 1.05;
}

.hero-content h1 .highlight {
    color: var(--primary-color);
    display: block;
}

.hero-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    line-height: 1.3;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    max-width: 500px;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(183, 229, 30, 0.3);
    border-radius: 6px;
    background-color: rgba(183, 229, 30, 0.08);
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
}

.hero-stats strong {
    color: var(--secondary-color);
}

.code-snippet {
    background-color: var(--code-bg);
    border: 1px solid rgba(183, 229, 30, 0.18);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.04);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.code-snippet pre {
    margin: 0;
    overflow-x: auto;
}

.code-snippet code {
    font-family: 'Courier New', Courier, monospace;
    color: #DDE5EE;
    font-size: 0.9rem;
    line-height: 1.5;
}

.hero-tech-stack {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    text-align: center;
    margin-top: 1rem;
    padding: 2rem;
    background-color: rgba(15, 23, 34, 0.72);
    border: 1px solid rgba(183, 229, 30, 0.18);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.hero-tech-stack h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-tech-stack .tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.hero-tech-stack .tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.hero-tech-stack .tech-item:hover {
    transform: translateY(-5px);
}

.hero-tech-stack .tech-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--soft-glow);
}

.hero-tech-stack .tech-item span {
    font-size: 1rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Design for Hero Section */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .code-snippet {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-tech-stack {
        padding: 1.5rem;
    }
    
    .hero-tech-stack .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 0 1rem 2rem;
        height: auto;
        min-height: 100vh;
    }

    .hero-background::before {
        background:
            radial-gradient(circle at 50% 42%, rgba(183, 229, 30, 0.1), transparent 18rem),
            linear-gradient(180deg, rgba(4, 7, 13, 0.96) 0%, rgba(4, 7, 13, 0.92) 44%, rgba(4, 7, 13, 0.97) 100%);
    }

    .bg-image {
        opacity: 0.24;
        object-position: center top;
    }

    .hero-container {
        margin: 6rem 0 3rem;
    }

    .hero-content {
        position: relative;
        z-index: 4;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 4vw, 2.5rem);
        color: #FFFFFF;
    }

    .hero-content h2 {
        font-size: clamp(1.2rem, 2.5vw, 1.5rem);
        color: #FFFFFF;
    }

    .hero-content p {
        font-size: clamp(0.9rem, 1.8vw, 1rem);
        color: #E8EDF3;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-stats {
        flex-direction: column;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-button {
        width: 100%;
    }
    
    .code-snippet {
        display: none;
    }
    
    .hero-tech-stack h3 {
        font-size: 1.5rem;
    }
    
    .hero-tech-stack .tech-item i {
        font-size: 2rem;
    }
    
    .hero-tech-stack .tech-item span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        margin: 5rem 0 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}

.highlight {
    color: var(--primary-color);
}

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

.cta-button {
    display: inline-block;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    background-color: var(--primary-color);
    color: #05080D;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: var(--transition);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    text-align: center;
    min-width: 120px;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px var(--soft-glow);
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: var(--section-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

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

.profile-image img {
    width: 80%;
    max-width: 300px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.skill-tags span {
    padding: 0.5rem 1rem;
    background-color: var(--card-bg);
    color: var(--text-color);
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-tags span i {
    color: var(--primary-color);
}

/* Projects Section */
.projects {
    padding: 4rem 0;
    background-color: var(--section-bg);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--border-color);
    background-color: var(--card-bg);
    color: var(--text-color);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: #05080D;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px var(--soft-glow);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    justify-items: center;
}

.project-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    width: 100%;
    max-width: 400px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(183, 229, 30, 0.28);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

.project-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 1.5rem 1rem;
}

.project-tech span {
    padding: 0.4rem 1rem;
    background-color: var(--section-bg);
    color: var(--text-color);
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.project-tech span:hover {
    background-color: var(--primary-color);
    color: #05080D;
    border-color: var(--primary-color);
}

.project-meta {
    padding: 0 1.5rem 1rem;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    flex-grow: 0;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem 1.5rem;
    gap: 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.project-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.project-links i {
    font-size: 1.2rem;
}

/* Project Card Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card:nth-child(1) { animation-delay: 0.2s; }
.project-card:nth-child(2) { animation-delay: 0.4s; }
.project-card:nth-child(3) { animation-delay: 0.6s; }

/* Experience Section */
.experience {
    padding: 4rem 0;
    background-color: var(--section-bg);
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.experience-timeline {
    position: relative;
    padding-right: 2rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    opacity: 0.5;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.timeline-item.active {
    opacity: 1;
    transform: translateX(0);
}

.timeline-dot {
    position: absolute;
    right: -6px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid var(--bg-color);
    box-shadow: 0 0 0 4px var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-dot {
    box-shadow: 0 0 0 4px var(--primary-color), 0 0 0 8px var(--soft-glow);
}

.timeline-content {
    padding: 1.5rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    margin-right: 2rem;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.timeline-header h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin: 0;
}

.timeline-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.company-name {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tech-used {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-used span {
    padding: 0.25rem 0.75rem;
    background-color: var(--section-bg);
    color: var(--text-color);
    border-radius: 6px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.experience-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: var(--primary-color);
    color: #05080D;
}

.experience-dots {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .experience-content {
        grid-template-columns: 1fr;
    }

    .experience-navigation {
        flex-direction: row;
        justify-content: center;
        padding-top: 2rem;
    }

    .experience-dots {
        flex-direction: row;
    }

    .timeline-content {
        margin-right: 0;
    }
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: var(--section-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-card a {
    color: inherit;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--primary-color);
}

.contact-form {
    background-color: var(--card-bg);
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

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

.honeypot-field {
    display: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-group label {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    pointer-events: none;
}

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

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    background-color: var(--card-bg);
    padding: 0 0.25rem;
    color: var(--primary-color);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: #05080D;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px var(--soft-glow);
}

.submit-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.submit-btn:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.form-status {
    min-height: 1.4rem;
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-status.success {
    color: var(--primary-color);
}

.form-status.error {
    color: #F87171;
}

.form-status.pending {
    color: var(--text-light);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--soft-glow);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .contact-card {
        flex: 1 1 250px;
    }
}

/* Footer */
.footer {
    padding: 3rem 0;
    background-color: var(--section-bg);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-brand h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.social-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.copyright {
    color: var(--text-light);
    font-size: 0.9rem;
}

.copyright-text {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.copyright-text i {
    color: var(--primary-color);
    margin: 0 0.2rem;
}

.copyright-text .fa-heart {
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-links a {
        font-size: 1.3rem;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .experience-content {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .code-snippet {
        display: none;
    }

    .project-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .project-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.about-content,
.project-grid,
.experience-content,
.contact-form {
    animation: fadeIn 1s ease-out;
}

.view-more-container {
    text-align: center;
    margin-top: 3rem;
}

.view-more-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: #05080D;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.view-more-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hidden {
    display: none;
} 

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
