/* Global Styles */
:root {
    --primary-color: #ffff00;
    /* Batman Yellow */
    --secondary-color: #000000;
    /* Batman Black */
    --text-color: #f5f5f5;
    /* Light text color for better visibility */
    --light-text: #ffffff;
    /* Brighter white text */
    --bg-color: #1a1a1a;
    /* Dark gray background */
    --section-bg: #121212;
    /* Even darker background for sections */
    --card-bg: #2a2a2a;
    /* Dark card background */
    --border-radius: 5px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: url('batman-logo.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: 50% auto;
    background-blend-mode: soft-light;
    position: relative;
    animation: batPulse 15s infinite ease-in-out;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.92);
    z-index: -1;
    backdrop-filter: blur(2px);
}

/* Opacity adjustment for content sections to ensure legibility over the watermark */
section {
    position: relative;
    z-index: 1;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

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

h1,
h2,
h3 {
    margin-bottom: 20px;
}

h2 {
    color: var(--primary-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

/* Enhanced Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 15px rgba(255, 255, 0, 0.3);
    z-index: 1000;
    transition: all 0.4s ease;
}

header:hover {
    box-shadow: 0 4px 20px rgba(255, 255, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.logo span {
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.nav-logo {
    height: 40px;
    width: auto;
    filter: none;
    transition: all 0.3s ease;
}

.logo:hover .nav-logo {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 5px rgba(255, 255, 0, 0.7));
}

.nav-links {
    display: flex;
    justify-content: space-around;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
}

.nav-links a {
    color: var(--light-text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links a i {
    margin-right: 8px;
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover i,
.nav-links a.active i {
    transform: scale(1.2);
}

/* Improved Burger Menu */
.burger {
    display: none;
    cursor: pointer;
    z-index: 999;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Scroll effect for navigation */
.nav-scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 10px 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(35, 35, 35, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8);
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--light-text);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
}

.hero h2::after {
    display: none;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 30px;
    border-radius: 0;
    /* Batman has sharp edges */
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 255, 0, 0.3);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 0, 0.5);
}

/* Enhanced Secret Identity (About Me) Section */
.about {
    background-color: var(--section-bg);
    position: relative;
    padding: 100px 0;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 0, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.about-card {
    background-color: var(--card-bg);
    border-radius: 0;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    flex: 1;
    min-width: 300px;
    margin-right: 30px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-header {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 0, 0.1);
}

.about-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.about-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.about-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    padding: 25px;
}

.about-text {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
    border-top: 1px solid rgba(255, 255, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 0, 0.1);
    padding: 20px 0;
}

.stat {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 10px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

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

.about-links .bat-btn {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
}

.about-links .bat-btn.secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
}

.about-links .bat-btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.about-quote {
    flex: 0 0 300px;
    display: flex;
    align-items: center;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: 0.3s;
}

blockquote {
    background-color: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--primary-color);
    padding: 25px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

blockquote::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -10px;
    left: 10px;
    color: rgba(255, 255, 0, 0.1);
    font-family: Georgia, serif;
}

blockquote p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

blockquote cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: 500;
    color: var(--primary-color);
}

/* Enhanced Crime Fighting (Projects) Section */
.projects {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg-color);
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(225deg, rgba(255, 255, 0, 0.05) 0%, rgba(0, 0, 0, 0) 50%);
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 0;
    border-left: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    transform: translateY(30px);
    opacity: 0;
}

.project-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    z-index: 0;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 255, 0, 0.3);
}

.project-card:hover:before {
    width: 100%;
    opacity: 0.05;
}

.project-header {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 0, 0.1);
}

.project-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
    transition: all 0.3s ease;
}

.project-card:hover .project-header i {
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.project-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0;
    flex: 1;
}

.project-tech span {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
    font-size: 0.85rem;
    padding: 5px 10px;
    margin: 0 8px 8px 0;
    border: 1px solid rgba(255, 255, 0, 0.2);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.project-card:hover .project-tech span {
    background-color: rgba(255, 255, 0, 0.1);
    border-color: rgba(255, 255, 0, 0.3);
}

.project-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.bat-btn {
    padding: 10px 15px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
    display: inline-flex;
    align-items: center;
}

.bat-btn i {
    margin-right: 8px;
    transition: all 0.3s ease;
}

.bat-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.bat-btn:hover i {
    transform: scale(1.2);
}

/* Skills Section */
.skills {
    background-color: var(--section-bg);
    padding: 100px 0;
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 0, 0.05) 0%, rgba(0, 0, 0, 0) 50%);
    pointer-events: none;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.skill-category {
    flex: 1;
    min-width: 300px;
    margin: 20px;
    background-color: var(--card-bg);
    border-radius: 0;
    border-top: 3px solid var(--primary-color);
    padding: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: skillPulse 3s infinite alternate;
    transform: translateY(30px);
    opacity: 0;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 255, 0, 0.3);
}

.skill-category-header {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 0, 0.1);
}

.skill-category-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.skill-category h3 {
    text-align: left;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-list {
    padding: 0;
    margin: 0;
}

.skill-list li {
    color: var(--text-color);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.skill-list li:last-child {
    border-bottom: none;
}

.skill-list li:hover {
    background-color: rgba(255, 255, 0, 0.05);
}

.skill-name {
    font-weight: 500;
}

.skill-rating {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.skill-rating i {
    margin-left: 3px;
    transition: all 0.3s ease;
}

.skill-rating i.fas {
    color: var(--primary-color);
}

.skill-rating i.far {
    color: rgba(255, 255, 0, 0.3);
}

.skill-list li:hover .skill-rating i.fas {
    transform: scale(1.2);
    text-shadow: 0 0 5px rgba(255, 255, 0, 0.5);
}

/* Skill Category Animation */
@keyframes skillPulse {
    0% {
        border-color: var(--primary-color);
    }

    50% {
        border-color: rgba(255, 255, 0, 0.5);
    }

    100% {
        border-color: var(--primary-color);
    }
}

/* Contact Section */
.contact {
    background-color: var(--section-bg);
    position: relative;
    padding: 100px 0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.social-links-container {
    width: 100%;
    text-align: center;
    padding: 40px 30px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--primary-color);
    border-radius: 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(255, 255, 0, 0.1);
    animation: socialGlow 3s infinite ease-in-out;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.social-links-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(255, 255, 0, 0.3);
    pointer-events: none;
}

.contact-intro {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    justify-content: center;
}

.social-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 10px;
    padding: 20px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 0, 0.2);
    border-radius: 0;
    position: relative;
    overflow: hidden;
    height: 80px;
}

.social-icon span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
    z-index: -1;
}

.social-icon i {
    font-size: 1.8rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: transparent;
}

.social-icon:hover:before {
    width: 100%;
}

.social-icon:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--secondary-color);
}

/* Glowing effect for social icons */
@keyframes socialGlow {
    0% {
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(255, 255, 0, 0.1);
    }

    50% {
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(255, 255, 0, 0.2);
    }

    100% {
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(255, 255, 0, 0.1);
    }
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    padding: 20px;
}

/* Batman Logo */
.bat-logo {
    width: 200px;
    height: 170px;
    margin: 0 auto 40px;
    position: relative;
    cursor: pointer;
}

.batman-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 0, 0.6));
    animation: batPulse 2s infinite ease-in-out;
}

@keyframes batPulse {
    0% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 0, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 0, 0.8));
    }

    100% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 0, 0.5));
    }
}

/* Add a subtle animation to the background to create movement */
@keyframes batPulse {
    0% {
        background-size: 50% auto;
    }

    50% {
        background-size: 52% auto;
    }

    100% {
        background-size: 50% auto;
    }
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 100vh;
        top: 0;
        background-color: rgba(0, 0, 0, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.8);
        z-index: 998;
    }

    .nav-links li {
        opacity: 0;
        margin: 25px 0;
    }

    .nav-links a {
        color: var(--light-text);
        font-size: 1.2rem;
    }

    .nav-links a i {
        font-size: 1.4rem;
        margin-right: 12px;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
        box-shadow: -5px 0 25px rgba(255, 255, 0, 0.2);
        border-left: 1px solid rgba(255, 255, 0, 0.1);
    }

    /* Batman-themed burger animation */
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: var(--primary-color);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: var(--primary-color);
    }

    .logo span {
        font-size: 1rem;
    }

    .nav-logo {
        height: 30px;
    }

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

    .hero h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 2rem;
    }

    .about-text,
    form {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .social-icon {
        margin: 8px;
        padding: 12px;
    }

    .contact-intro {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .skills-container {
        flex-direction: column;
    }

    .skill-category {
        margin: 10px auto;
        max-width: 500px;
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .nav-links {
        width: 70%;
    }

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

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Content */
.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* Responsive styles for projects */
@media screen and (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-links {
        flex-direction: column;
        gap: 15px;
    }

    .bat-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive styles for the about section */
@media screen and (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }

    .about-card {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .about-quote {
        flex: 0 0 auto;
        width: 100%;
    }
}