body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    background-color: #fff;
    color: #333;
    padding: 10px 40px; /* Increased padding for margins */
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
}

header .logo h1 {
    margin: 0;
    margin-left: 20px;
}

.logo img {
    max-height: 60px; /* Adjust the height as needed */
    width: auto;
}
header nav {
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

header nav a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

header nav a:hover {
    color: #6F4E37;
}

.hero {
    width: 100%;
    padding: 100px 20px;
    background: url('path/to/your/hero-image.jpg') center/cover no-repeat;
    text-align: center;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0.8);
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero .btn {
    background-color: #FFB74D;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .btn:hover {
    background-color: #FFA726;
    transform: scale(1.05);
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.project-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
}

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

.project-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.project-card-content h3 {
    margin-top: 0;
    color: #6F4E37;
    font-size: 1.2em;
    text-align: center; /* Center the title */
}

.project-card-content p {
    margin-bottom: 20px;
    flex: 1;
    text-align: center; /* Center the text */
}

.project-card-content .btn {
    background-color: #FFB74D;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    align-self: center; /* Center the button */
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card-content .btn:hover {
    background-color: #FFA726;
    transform: scale(1.05);
}

footer {
    background-color: #fff;
    color: #333;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eaeaea;
}

footer a {
    color: #333;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

footer a:hover {
    color: #6F4E37;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 10px 20px;
    }

    header nav {
        flex-direction: column;
        align-items: center;
    }

    header nav a {
        margin: 5px 0;
    }

    .hero {
        padding: 40px 10px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .projects {
        padding: 0 10px;
        grid-template-columns: 1fr;
    }
}
