.projects h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #f8f9fa; /* Brighter for better emphasis */
}

.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(58, 55, 52, 0.9); /* Matching the project-card background */
    padding: 8px;
    border-radius: 8px;
    z-index: 1000;
    border: 1px solid rgba(229, 231, 235, 0.1); /* Subtle border */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
}

.language-toggle button {
    background-color: transparent;
    color: #e5e7eb; /* Matching the link color */
    border: 1px solid rgba(229, 231, 235, 0.2); /* Subtle border */
    padding: 8px 16px;
    margin: 4px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.language-toggle button:hover {
    background-color: rgba(229, 231, 235, 0.1); /* Light hover effect */
    border-color: rgba(229, 231, 235, 0.4);
}

.language-toggle .active {
    background-color: #4a90e2; /* Accent color for active state */
    border-color: #4a90e2;
    color: #fff;
    cursor: default;
    box-shadow: 0 2px 4px rgba(74, 144, 226, 0.4); /* Soft glow */
}
        
.project-card {
    background-color: #3A3734;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    max-width: 90%;
    width: 600px;
    text-align: left;
    border-left: 5px solid #e5e7eb; /* Adds a subtle highlight */
}

.project-card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff; /* Brighter for title emphasis */
}

.project-card strong {
    font-size: 1.2em;
    display: block;
    margin-top: 10px;
    color: #e0e0e0; /* Slightly brighter for contrast */
}

.project-card p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #b0b0b0; /* Makes text more subtle */
}

.project-card li {
    color: #b0b0b0; /* Makes text more subtle */
}

.project-card a {
    display: inline-block;
    margin-top: 15px;
    font-size: 1.1em;
    font-weight: bold;
    color: #f8f9fa;
}

.section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

a {
    color: #e5e7eb;
    text-decoration: none;
}

a:hover {
    color: #d1d5db;
}

.dedicatory {
    font-size: 0.8em;
    font-style: italic;
    margin-top: 30px;
    padding: 10px;
    border-top: 2px solid #e5e7eb;
}

.scroll-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2em;
    animation: bounce 1.5s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 10px);
    }
}

.about-me {
    background-color: #3A3734;
    padding: 50px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-me h2 {
    margin-bottom: 20px;
}

.about-me p {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 20px;
}

.projects {
    background-color: #1E1C1A;
    padding: 50px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-card {
    background-color: #3A3734;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    max-width: 90%;
    width: 600px;
    text-align: left;
}

.video-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-container video {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.caption {
    font-size: 0.9em;
    margin-top: 10px;
    color: #d1d5db;
}

html {
    scroll-behavior: smooth;
}
