/* Basic Reset & Body */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden; /* Clear floats */
    padding: 0 20px;
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    border-bottom: #007bff 3px solid;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header .tagline {
    font-size: 1.1em;
    color: #ccc;
}

/* Navigation */
nav {
    background: #444;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    position: sticky; /* Makes the nav bar stick to the top when scrolling */
    top: 0;
    z-index: 1000; /* Ensures it's above other content */
}

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

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #007bff;
}

/* Main Content & Sections */
main {
    padding: 20px 0;
}

section {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

section h2 {
    color: #333;
    margin-top: 0;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#hero {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

#hero h2 {
    color: #fff;
    border-bottom: 2px solid #fff;
}

#hero p {
    font-size: 1.2em;
}

#ctaButton {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#ctaButton:hover {
    background-color: #218838;
}

/* Project Items */
.project-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dotted #ccc;
}
.project-item:last-child {
    border-bottom: none;
}
.project-item h3 {
    margin-top: 0;
    color: #0056b3;
}

/* Contact Links */
#contact a {
    color: #007bff;
    text-decoration: none;
}
#contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
    margin-top: 20px;
}

/* Basic Responsive (for smaller screens) */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    header h1 {
        font-size: 2em;
    }
    nav ul li {
        display: block;
        margin: 10px 0;
    }
    #hero h2 {
        font-size: 1.8em;
    }
    #hero p {
        font-size: 1em;
    }
}
