/* --- Basic Setup & Variables --- */
:root {
    --primary-color: #2c3e50;
    /* Dark Blue */
    --secondary-color: #3498db;
    /* Bright Blue */
    --background-color: #ecf0f1;
    /* Light Grey */
    --text-color: #34495e;
    /* Dark Grey */
    --card-bg-color: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

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

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    color: var(--background-color);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 1.8rem;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav li {
    display: inline-block;
    margin-left: 20px;
}

.main-nav a {
    color: var(--background-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

/* --- Sections --- */
main section {
    padding: 60px 0;
}

.hero-section {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.hero-section h2 {
    font-size: 2.5rem;
    margin-top: 0;
}

/* --- Project Grid --- */
.work-section h3,
.about-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--card-bg-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: auto;
    display: block;
}

.project-card h4,
.project-card p {
    padding: 0 20px;
}

.project-card h4 {
    margin-top: 15px;
    color: var(--primary-color);
}

.project-card p {
    padding-bottom: 20px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--primary-color);
    color: var(--background-color);
    text-align: center;
    padding: 20px 0;
}

.site-footer a {
    color: var(--secondary-color);
    font-weight: bold;
}

/* #newsFeedImage{
    height: 20%;
    width:auto;
    margin-left: 30%;
} */