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

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

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}
.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: none;
}

.menu.active {
    display: block;
    position: absolute;
    top: 60px; /* Adjust based on header height */
    right: 20px; /* Adjust based on desired position */
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.menu ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.menu li {
    margin: 10px 0;
}

.menu li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #0c0101;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.menu li a:hover {
    background-color: #464242;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #dad0d0;
}

.menu-toggle:focus {
    outline: none;
}


/* Header */
header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

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

header .logo img {
    height: 50px; /* Adjust height as per your logo */
    margin-right: 10px;
}

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

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-right: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header nav ul li a:hover {
    background-color: #555;
}

/* Hero Section */
.hero {
    background: url('background.jpg') center/cover;
    color: #fff;
    text-align: center;
    padding: 200px 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .btn {
    display: inline-block;
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #45a049;
}

/* About Section */
.about {
    background: #fff;
    padding: 100px 0;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Blog Section */
.blog {
    background: #f2f2f2;
    padding: 100px 0;
    text-align: center;
}

.blog h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.blog-posts {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.blog-post {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-10px);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-content .btn {
    background-color: #4CAF50;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.blog-content .btn:hover {
    background-color: #45a049;
}

/* Services Section */
.services {
    background: #fff;
    padding: 100px 0;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.services-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.service {
    text-align: center;
    padding: 30px;
    background-color: #f2f2f2;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #4CAF50;
}

.service h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: #f2f2f2;
    padding: 100px 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact form {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.contact form input,
.contact form textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact form .btn {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact form .btn:hover {
    background-color: #45a049;
}

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

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .about h2,
    .blog h2,
    .services h2,
    .contact h2 {
        font-size: 2rem;
    }

    .blog-posts {
        flex-direction: column;
        align-items: center;
    }

    .blog-post {
        width: 100%;
        margin-bottom: 30px;
    }

    .services-list {
        flex-wrap: wrap;
    }

    .service {
        width: calc(50% - 30px);
        margin-bottom: 30px;
    }

    .contact form {
        padding: 15px;
    }
}

/* Additional styling can be added as per your design preferences */
