body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #252b42;
    color: #fff;
    /* Add smooth scrolling for a better user experience */
    scroll-behavior: smooth;
}

header {
    background: #252b42;
    color: #fff;
    padding: 0;
    /* This makes the header stick to the top of the page */
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #00bcd4;
}

/* Updated hero section to use flexbox for better alignment */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 6rem;
    margin: 4rem auto 2rem auto;
    max-width: 60%;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 0 #ad499e;
    }
    50% {
        transform: scale(1.04);
        text-shadow: 0 0 16px #ad499e88;
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 0 #ad499e;
    }
}

.hero p {
    font-size: 1.2rem;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 1rem;
    text-shadow: 0 0 16px #ad499e88;
}

/* Styles for the new "Learn more" button */
.button {
    display: inline-block;
    padding: 1rem 2rem;
    margin-top: 1.5rem;
    background-color: #00bcd4;
    color: #fff;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.button:hover {
    background-color: #008c9e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.team-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.card {
    background: #252b42;
    border-radius: 0.25rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0,0,0,0.10);
    overflow: hidden;
    width: 220px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-12px) scale(1.06);
    box-shadow: 0 12px 48px 0 rgba(173, 73, 158, 0.45), 0 2px 8px 0 rgba(0,0,0,0.18);
    border: 2px solid #ad499e;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid #ad499e;
}

.card h3 {
    color: #fff;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.2rem;
}

.card p {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

main {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
}

.spacer {
    flex-grow: 3;
}

/* Styles for the new project details section */
.project-details {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* This makes the section take up the full viewport height */
    padding: 2rem;
    box-sizing: border-box; /* Ensures padding is included in the height */
    background: #1e2439;
    /* The pink border has been removed */
}

.project-details .content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    padding: 2rem;
    border-radius: 1rem;
    background: #23273a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.project-details h2 {
    color: #00bcd4;
    font-size: 2rem;
    border-bottom: 2px solid #ad499e;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-details p {
    line-height: 1.6;
    font-size: 1.1rem;
}

.about-container {
    background: #23273a;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    margin: 2.5rem auto;
    width: 90%;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-top-row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ad499e;
    box-shadow: 0 0 0 6px #252b42;
    background: #fff;
}

.about-desc {
    flex: 1;
    color: #fff;
    font-size: 1.15rem;
}

.about-bottom-row {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(173,73,158,0.15);
    border: none;
    min-height: 200px;
}

@media (max-width: 700px) {
    .about-top-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .about-desc {
        margin-top: 1rem;
    }
}

.about-page header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 24px 0 rgba(10, 24, 54, 0.25);
}
