/* 1. Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #FCFCFC;
    color: #1C1A1B;
    line-height: 1.5;
}

/* 2. NAVIGATION */
.navbar {
    background-color: #D4D4D4; 
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #1C1A1B;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* 3. HERO SECTION (Home Page) */
.hero {
    background: linear-gradient(to right, #ffe3ed, #fffafc);
    padding: 8rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.hero h1 {
    font-size: 2.5rem;
    max-width: 800px;
    margin-bottom: 2rem;
}

/* 4. PROJECTS PAGE STYLING */
.services {
    padding: 5rem 2rem;
    background-color: #ffffff;
    text-align: center;
    min-height: 70vh; /* Ensures the page feels full even with few projects */
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1C1A1B;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 2.5rem;
    border-radius: 12px;
    width: 320px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #002147;
}

.card h3 {
    color: #002147;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* 5. DEDICATED CONTACT PAGE STYLING */
/* This section will now center itself on the screen for the Contact Page */
.contact-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh; /* Centers content vertically */
    padding: 2rem;
}

.contact-page-container h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Shared Contact/Footer Style */
.contact-footer {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #FCFCFC;
    border-top: 1px solid #e2e8f0;
}

.linkedin-link {
    font-size: 50px;           
    color: #0077b5;            
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-block;
    margin-top: 1.5rem;     
}

.linkedin-link:hover {
    transform: scale(1.15);
}

/* 6. BIO SECTION (Home Page) */
#bio-text {
    display: none;
    margin-top: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-left: 4px solid #002147;
    border-radius: 8px;
    text-align: left;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* 7. RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .bio-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .card {
        width: 100%;
        max-width: 400px;
    }

    .contact-page-container h1 {
        font-size: 2rem;
    }
}
