:root {
    --primary-color: #ffffff;
    --secondary-color: #808080;
    --accent-color: #404040;
    --background-color: #0a0a0a;
    --card-background: #1a1a1a;
    --code-background: #1e1e1e;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --hover-color: #d4d4d4;
}

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

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--primary-color);
    line-height: 1.6;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('your-image.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.3);
    z-index: -1;
}

/* Navigation */
nav {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--hover-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.glitch {
    font-size: 4rem;
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255, 255, 255, 0.75),
                -0.025em -0.05em 0 rgba(128, 128, 128, 0.75),
                0.025em 0.05em 0 rgba(169, 169, 169, 0.75);
    animation: glitch 725ms infinite;
}

/* Sections */
section {
    padding: 5rem 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Skills Ribbon */
.skill-ribbon {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.skill-category {
    background: linear-gradient(145deg, var(--card-background), var(--background-color));
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--accent-color);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.1);
}

.skill-category i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

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

/* Animations */
@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 255, 255, 0.75),
                    -0.05em -0.025em 0 rgba(128, 128, 128, 0.75),
                    -0.025em 0.05em 0 rgba(169, 169, 169, 0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 255, 255, 0.75),
                    0.025em 0.025em 0 rgba(128, 128, 128, 0.75),
                    -0.05em -0.05em 0 rgba(169, 169, 169, 0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 255, 255, 0.75),
                    0.025em 0.025em 0 rgba(128, 128, 128, 0.75),
                    -0.05em -0.05em 0 rgba(169, 169, 169, 0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 255, 255, 0.75),
                    0.05em 0 0 rgba(128, 128, 128, 0.75),
                    0 -0.05em 0 rgba(169, 169, 169, 0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 255, 255, 0.75),
                    0.05em 0 0 rgba(128, 128, 128, 0.75),
                    0 -0.05em 0 rgba(169, 169, 169, 0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 rgba(255, 255, 255, 0.75),
                    -0.025em -0.025em 0 rgba(128, 128, 128, 0.75),
                    -0.025em -0.05em 0 rgba(169, 169, 169, 0.75);
    }
}

.code-block {
    background: var(--code-background);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-family: 'Consolas', monospace;
    color: var(--text-color);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

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

.skill-item {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-item i {
    font-size: 1.5rem;
    color: var(--text-color);
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    flex-grow: 1;
}

.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 3px;
    width: var(--width);
    animation: progressAnimation 1.5s ease-out forwards;
}

.project-card {
    background: var(--card-background);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--accent-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.project-tech span {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

@keyframes progressAnimation {
    from { width: 0; }
    to { width: var(--width); }
}

/* Add terminal-style cursor animation */
.hero h1::after {
    content: '_';
    animation: cursor 1s infinite;
}

@keyframes cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Button styles */
.project-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.project-links a:hover {
    background: var(--secondary-color);
    color: var(--background-color);
}

/* Add these new styles */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.expertise-card {
    background: var(--card-background);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--accent-color);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.expertise-icon {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
}

.expertise-icon i {
    background: linear-gradient(145deg, var(--accent-color), var(--background-color));
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.expertise-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-stack span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-stack span i {
    font-size: 1rem;
}

.project-showcase {
    margin-top: 1.5rem;
}

.project-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.project-item h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.project-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-link {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--hover-color);
}

.project-link i {
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(5px);
}

/* Add hover animation for expertise icons */
.expertise-card:hover .expertise-icon i {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .expertise-card {
        padding: 1.5rem;
    }

    .tech-stack {
        justify-content: center;
    }
}

/* Add these new footer styles */
.footer {
    background: var(--card-background);
    padding: 4rem 0 0 0;
    margin-top: 4rem;
    border-top: 1px solid var(--accent-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-column h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

/* About Section */
.footer-about {
    color: var(--text-muted);
}

.footer-logo {
    margin-bottom: 1rem;
}

.code-tag {
    font-family: 'Consolas', monospace;
    font-size: 2rem;
    color: var(--text-color);
}

/* Updated footer social icons styling */
.footer-social {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.social-icon {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.social-icon:hover {
    color: var(--text-color);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

/* Remove any text decoration */
.social-icon i {
    text-decoration: none;
}

/* Remove any title tooltips */
.social-icon[title] {
    display: none;
}

/* Ensure proper spacing in footer */
.footer-column .footer-social {
    justify-content: flex-start;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-social {
        justify-content: center;
    }
}

/* Skills Tags */
.footer-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    transform: translateY(-2px);
}

/* Contact Information */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--text-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-text h4 {
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.contact-text a,
.contact-text p {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Social Media Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-color);
}

.social-item i {
    font-size: 1.5rem;
    color: var(--text-color);
}

.social-text h4 {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.social-text p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Social Media Colors */
.social-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.social-item.linkedin:hover,
.social-item.instagram:hover,
.social-item.twitter:hover,
.social-item.github:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-color);
}

.social-item:hover i {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Contact Form */
.contact-form-card {
    background: var(--card-background);
}

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

.form-group label {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

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

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

.submit-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: var(--text-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
}

/* Add this to your existing JavaScript */

/* Add these new styles for the enhanced contact section */
.contact-section {
    padding: 5rem 2rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Contact Information Card */
.contact-info-card,
.social-connect-card,
.contact-form-card {
    background: var(--card-background);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--accent-color);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: var(--text-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-text h4 {
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.contact-text a,
.contact-text p {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Social Media Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-color);
}

.social-item i {
    font-size: 1.5rem;
    color: var(--text-color);
}

.social-text h4 {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.social-text p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Social Media Colors */
.social-item.linkedin:hover,
.social-item.instagram:hover,
.social-item.twitter:hover,
.social-item.github:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-color);
}

/* Add subtle glow effect on hover */
.social-item:hover i {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Update contact item hover effect */
.contact-item:hover i {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
}

/* Updated Quick Links styles to remove any blue colors */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #808080; /* Base gray color */
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Remove any blue tint from links */
.footer-links a:link,
.footer-links a:visited {
    color: #808080;
}

/* Update hover state to lighter gray */
.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Icon styling */
.footer-links a i {
    color: #666666; /* Darker gray for icons */
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

/* Icon hover state */
.footer-links a:hover i {
    color: #ffffff;
}

/* Quick Links heading */
.footer-column h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Ensure no default browser link colors */
.footer-links a:-webkit-any-link {
    color: #808080;
}

/* Updated Bottom Footer styles */
.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #808080; /* Medium gray for text */
    font-size: 0.9rem;
}

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

.footer-extra-links a {
    color: #808080; /* Medium gray for links */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* Remove any blue from links */
.footer-extra-links a:link,
.footer-extra-links a:visited {
    color: #808080;
}

/* Hover effects */
.footer-extra-links a:hover {
    color: #ffffff; /* White on hover */
}

/* Copyright text */
.copyright {
    color: #808080; /* Medium gray for copyright text */
}

/* Hover underline effect */
.footer-extra-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff; /* White underline */
    transition: width 0.3s ease;
}

.footer-extra-links a:hover::after {
    width: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-extra-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
} 