/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    padding: 8px;
}

/* Header */
header {
    background-color: #061f36;
    color: #fff;
    padding: 1rem 0;
}

.logo {
    float: left;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

nav {
    float: right;
}

/* nav { */
/*     background-color: #0c355c; */
/* } */

nav ul {
    list-style: none;
}

nav li {
    display: inline;
    margin-left: 1.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
}

/* nav a:hover { */
/*     background-color: #0c355c; */
/* } */

/* Hero Section */
#hero {
    background: url('images/hero-background-2.jpeg') no-repeat center center/cover; /* Replace with your image */
    height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    background-color: #326fa8; /* Example color, choose your brand color */
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #d83f3f; /* Darker shade for hover effect */
}

/* About Section */
#about {
    padding: 3rem 0;
}

#about h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Services Section */
#services {
    background-color: #f4f4f4;
    padding: 3rem 0;
}

#services h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.service h3 {
    margin-bottom: 0.8rem;
}

/* Portfolio Section */
#portfolio {
    padding: 3rem 0;
}

#portfolio h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.portfolio-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-item h3 {
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.portfolio-item p {
    padding: 0 1rem 1rem 1rem;
}

.view-project {
    display: block;
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 0.8rem;
    text-decoration: none;
    border-top: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

.view-project:hover {
    background-color: #555;
}

/* Contact Section */
#contact {
    background-color: #f4f4f4;
    padding: 3rem 0;
}

#contact h2 {
    text-align: center;
    margin-bottom: 2rem;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    resize: vertical;

}

#contact-form textarea {
    height: 150px;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}
