



body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: white;
    color: #2e4053; /* Main text color */
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    background: #2e4053; /* Dark background color */
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo-container {
    display: flex;
    align-items: center;
}

header .logo-img {
    width: 40px; /* Adjust as needed */
    height: 40px; /* Adjust as needed */
    margin-right: 10px; /* Adjust as needed */
}

header .logo {
    font-size: 24px;
}

header nav {
    float: right;
}

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

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

header nav ul li a {
    color: white;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    height: 4px;
    width: 25px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}


.hero {
    background: url('mweshidevs_hero.jpg') no-repeat center center/cover;
    color: #2e4053;
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    margin: 0;
    font-size: 36px;
    color: #2e4053; /* Brand color for headings */
}

.hero p {
    font-size: 18px;
    color: #2e4053; /* Main text color */
}

.hero .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #E5D8B6;
    color: #2e4053;
    text-decoration: none;
    border-radius: 10px;
}

.services, .portfolio, .testimonials {
    padding: 40px 0;
    text-align: center;
}

.services h2, .portfolio h2, .testimonials h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2e4053; /* Main text color */
}

.service, .project {
    display: inline-block;
    width: 30%;
    margin: 1.5%;
    text-align: left;
}

.services {
    padding: 40px 0;
    text-align: center;
}

.services .service {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1.5%;
}

.services .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 20px 0;
}

@media (min-width: 768px) {
    .service {
        flex: 1 1 30%;
        max-width: 30%;
        margin: 1.5%;
    }
}

.project img {
    width: 100%;
    height: 100px;
}

.portfolio {
    padding: 40px 0;
    text-align: center;
}

.portfolio .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.project {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 20px 0;
}

@media (min-width: 768px) {
    .project {
        flex: 1 1 45%;
        max-width: 45%;
        margin: 2.5%;
    }
}

.testimonials {
    padding: 40px 0;
    text-align: center;
}

.testimonials .container {
    position: relative;
    overflow: hidden;
}

.carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    flex: 0 0 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

footer {
    background: #2e4053;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Media Queries */
@media (max-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: flex;
    }

    header nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100%;
        width: 75%;
        background: #2e4053;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
    }

    header nav ul.show {
        right: 0;
    }

    header nav ul li {
        margin: 20px 0;
    }

    header nav ul li a {
        font-size: 24px;
    }

    .close-icon {
        font-size: 36px;
        color: white;
        cursor: pointer;
        position: absolute;
        top: 10px;
        right: 10px;
    }
}

.latest-news {
    padding: 40px 0;
    text-align: center;
}

.latest-news .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.news-item {
    width: 100%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: left;
    background-color: #fff; /* Brand color background */
}

.news-item h3, h4, label, .article {
    margin-top: 0;
    color: #2e4053; /* Main text color */
}

.actions {
    margin-top: 10px;
}

.comments {
    margin-top: 20px;
}
.comment-form textarea {
  width: 100%;
}
.poll, .quiz {
    margin-top: 20px;
}

.poll ul, .quiz ul {
    list-style-type: none;
    padding: 0;
}

.poll li, .quiz li {
    margin-bottom: 10px;
}

.poll-vote, .comment-btn,
.comment-submit,.quiz-submit,
.like-btn, .open-modal{
    margin-top: 10px;
    padding: 8px 20px;
    background-color: #E5D8B6;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.poll-vote:hover, .comment-submit:hover, .quiz-submit:hover {
    background-color: #1e2c3c;
}

/* About Us Page Styles */
.about {
    padding: 60px 0;
    background-color: #E5D8B6; /* Your brand color */
    color: #2e4053;
    text-align: center;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2e4053; /* Brand color for headings */
}

.about p {
    font-size: 18px;
    line-height: 1.6;
}

.mission-vision {
    padding: 40px 0;
    background-color: #F7F4E9; /* Your secondary color */
    color: #2e4053;
    text-align: center;
}

.mission-vision h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2e4053; /* Brand color for headings */
}

.mission-vision p {
    font-size: 16px;
    line-height: 1.6;
}

.core-values {
    padding: 40px 0;
    background-color: #E5D8B6; /* Your brand color */
    color: #2e4053;
    text-align: center;
}

.core-values h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2e4053; /* Brand color for headings */
}

.core-values ul {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.core-values li {
    margin-bottom: 10px;
    font-size: 16px;
}

.client-success {
    padding: 40px 0;
    text-align: center;
}

.client-success .success-story {
    max-width: 600px;
    margin: auto;
}

.client-success blockquote {
    font-size: 18px;
    margin-bottom: 20px;
}

.client-success cite {
    font-style: italic;
    color: #888;
}

.cta {
    padding: 60px 0;
    background-color: #F7F4E9; /* Your secondary color */
    text-align: center;
    color: #2e4053;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2e4053; /* Brand color for headings */
}

.cta p {
    font-size: 18px;
    line-height: 1.6;
}

.cta .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #E5D8B6; /* Your brand color */
    color: #2e4053;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.cta .btn:hover {
    background-color: #1e2c3c;
}
.client-success {
    padding: 40px 0;
    text-align: center;
    background-color: #F7F4E9; /* Your secondary color */
    color: #2e4053;
}

.client-success h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.client-success .container {
    position: relative;
}

.carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    flex: 0 0 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

@media (min-width: 768px) {
    .testimonial {
        flex: 0 0 45%;
        max-width: 45%;
        margin: 0 10px;
    }
}
/* The Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    position: relative;
    text-align: center;
}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Image in Modal */
#modalImage {
    max-width: 100%;
    height: auto;
}

/* Caption Text */
#modalCaption {
    margin: 10px 0;
    font-size: 16px;
}


/* Services Introduction */
.services-intro {
    text-align: center;
    padding: 50px 0;
}

.services-intro p {
    font-size: 18px;
    color: #555;
}

/* Services Section with Tabs */
.services {
    background: #ffffff;
    padding: 50px 0;
}

.services-tabs {
    display: flex;
    flex-wrap: wrap;
}

.tabs-nav {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    width: 100%;
    border-right: 1px solid #ddd;
    
}

.tabs-nav li {
    margin: 0;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    background: #f4f4f4;
}

.tabs-nav li.active {
    background: #2e4053;
    color: #ffffff;
}

.tabs-nav li a {
    text-decoration: none;
    color: inherit;
}

.tabs-content {
    flex-basis: 75%;
    padding: 20px;
}

.tab {
    display: none;
}

.tab.active {
    display: block;
}

.service-item {
    margin-bottom: 30px;
}

.service-item h4 {
    color: #2e4053;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 16px;
    color: #555;
}

.service-item ul {
    list-style: disc;
    margin-left: 20px;
    color: #555;
}

.service-item ul li {
    margin-bottom: 5px;
}

.service-item .btn {
    display: inline-block;
    color: #ffffff;
    background: #2e4053;
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 10px;
    border-radius: 10px;
    margin-left: 15%;
}
/* Footer Styles */
footer {
    background: #2e4053;
    color: #ffffff;
    padding: 20px 0;
    margin-top: 20px;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

footer .footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px 0;
}

footer .footer-section h3 {
    margin-bottom: 10px;
    color: #E5D8B6;
}

footer .footer-section p {
    margin: 5px 0;
}

.copyright {margin-bottom: 65px;}
footer .social-icons a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s;
}

footer .social-icons a:hover {
    color: #E5D8B6;
}

footer .footer-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .footer-section input {
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    width: 80%;
}

footer .footer-section .btn {
    background: #E5D8B6;
    color: #2e4053;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
}

footer .footer-section .btn:hover {
    background: #d4c09c;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

footer .footer-links a {
    color: #E5D8B6;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s;
}

footer .footer-links a:hover {
    color: #ffffff;
}

footer p {
    margin: 0;
}



/* Contact Form Section */
.contact-form {
    background-color: #f4f4f4;
    padding: 50px 0;
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin: 10px 0 5px;
    font-weight: bold;
  color: #2e4053;
}
.contact-form input, .contact-form textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form button {
    background-color: #2e4053;
    color: #E5D8B6;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #1c2a36;
}

/* Contact Info Section */
.contact-info {
    padding: 50px 0;
    background-color: #ffffff;
}

.contact-info .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.contact-info .info-item {
    margin: 20px 0;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.contact-info h3 {
    color: #2e4053;
}

.contact-info p, .contact-info a {
    color: #2e4053;
    font-size: 1em;
}

/* Map Section */
.map {
    padding: 50px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.map h3 {
    color: #2e4053;
    margin-bottom: 20px;
}

.map iframe {
    width: 100%;
    max-width: 600px;
    border: 0;
}



/* Responsive Styles */
@media (max-width: 768px) {
   

    .contact-info .container {
        flex-direction: column;
        align-items: center;
    }

    .contact-info .info-item {
        margin: 10px 0;
    }
}



/* Blog Page Styles */
.hero {
    background-color: #E5D8B6;
    color: #2e4053;
    padding: 60px 0;
    text-align: center;
}

.blog-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.blog-content {
    flex: 2;
    padding-right: 20px;
}

.blog-post {
    margin-bottom: 40px;
}

.blog-post img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.blog-post h2 {
    font-size: 24px;
    margin: 10px 0;
    color: #2e4053;
}

.blog-post .post-date {
    font-size: 14px;
    color: #888;
}

.blog-post .post-snippet {
    font-size: 16px;
    line-height: 1.6;
}

.blog-post .read-more {
    display: inline-block;
    margin-top: 10px;
    color: #E5D8B6;
    text-decoration: none;
    border-bottom: 1px solid #E5D8B6;
    transition: color 0.3s ease;
}

.blog-post .read-more:hover {
    color: #2e4053;
}

.sidebar {
    flex: 1;
    padding-left: 20px;
}

.sidebar-section {
    margin-bottom: 40px;
}

.sidebar-section h3 {
    font-size: 20px;
    color: #2e4053;
    margin-bottom: 10px;
}

.sidebar-section input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.sidebar-section ul {
    list-style: none;
    padding: 0;
}

.sidebar-section ul li {
    margin-bottom: 10px;
}

.sidebar-section ul li a {
    color: #2e4053;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-section ul li a:hover {
    color: #E5D8B6;
}




@media screen and (max-width: 768px) {
    .blog-container {
        flex-direction: column;
    }

    .sidebar {
        padding: 0;
        margin-top: 20px;
    }

    .sidebar-section {
        margin-bottom: 30px;
    }
}

.search-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #E5D8B6; /* Your brand color */
    color: #2e4053; /* Text color */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #C9C4B5; /* Hover color */
    color: #fff; /* Text color on hover */
}
/* Default state: visible */
.bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 70px;
    background-color: #fff;
    border-top: 1px solid #ccc;
    z-index: 1000;
}

.bottom-nav .nav-link {
    flex-grow: 1;
    text-align: center;
    padding: 10px 0;
    color: #555;
    text-decoration: none;
    font-size: 14px;
}

.bottom-nav .nav-link.active {
    color: #E5D8B6;
}

.bottom-nav .nav-link i {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

/* Hide the bottom nav on tablets and larger screens */
@media (min-width: 767px) {
    .bottom-nav {
        display: none;
    }
    .bottom-nav .nav-link i, .nav-link {
      display: none;
    }
}