/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0A0F1C;
    color: white;
    padding: 1rem 2rem;
    z-index: 10;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.navbar ul li a {
    text-decoration: none;
    color: #F4F6F9;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #FFD700;
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 6rem 2rem 4rem;
    transition: background-color 0.8s ease, color 0.8s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section.light {
    background: #F4F6F9;
    color: #0A0F1C;
}

.section.dark {
    background: #0A0F1C;
    color: #F4F6F9;
}

.section h1,
.section h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.section p {
    max-width: 600px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Smooth transitions */
.section,
.navbar,
.section h1,
.section h2,
.section p {
    transition: all 0.6s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        gap: 1rem;
    }

    .section h1, .section h2 {
        font-size: 2rem;
    }

    .section p {
        font-size: 1rem;
    }
}
.invisible {
    opacity: 0;
    transform: translateY(30px);
}

.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.navbar a.active {
    color: #FFD700;
}
.section-image {
    margin-top: 20px;
    max-width: 400px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.reverse {
    flex-direction: row-reverse;
}

.section-image {
    width: 300px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.text-block {
    max-width: 600px;
}

@media (max-width: 768px) {
    .row, .reverse {
        flex-direction: column;
    }

    .section-image {
        width: 100%;
        max-width: 90vw;
    }

    .text-block {
        text-align: center;
    }
}

.section.light {
    background: linear-gradient(135deg, #f8f8f8, #ffffff);
}
.section.dark {
    background: linear-gradient(135deg, #0e0e0e, #1a1a1a);
}
.project-list p {
    font-size: 18px;  /* Adjust as needed */
    margin: 10px 0;
}
/* Section Layout */
#contact.section.light {
    background-color: #f9f9f9;
    padding: 40px 20px;
    color: black;
}

/* Container Row (Image + Text side-by-side) */
#contact .content.row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* stacks items on smaller screens */
    gap: 40px;
}

/* Image Styling */
.section-image {
    width: 300px;
    max-width: 90%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Text Block */
.text-block {
    max-width: 500px;
    text-align: center;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Blue Buttons */
.social-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

