body {
    font-family: Arial, sans-serif;
    color: #333;
    overflow-x: hidden;
    margin: 0; /* Prevent default margins */
}

.service-section {
    margin-top: 50px;
    padding: 0 15px; /* Consistent padding */
}

.service-section h2 {
    color: #ff4500;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-align: left;
}

.service-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 450px;
}

.service-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.service-image img {
    max-width: 80%;
    width: calc(100% - 20px);
    height: 400px;
    object-fit: cover;
    border-radius: 20px 20px 200px 20px; /* Unique border-radius for desktop */
    background-color: #e9ecef;
    margin-bottom: 20px; /* Prevent overlap */
}

.btn-custom {
    background-color: #ff4500;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    margin-top: 15px;
    align-self: flex-start;
}

.btn-custom:hover {
    background-color: #e03a00;
    color: #fff;
}

hr {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 15px 0;
}

@media (max-width: 768px) {
    .service-section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 30px;
    }

    .service-content,
    .service-image {
        width: 100%;
        padding: 10px 15px;
        text-align: left;
        min-height: auto;
    }

    .service-section h2 {
        font-size: 2em;
        margin: 15px 0 10px 0;
        text-align: left;
    }

    .service-image img {
        width: 100%;
        height: auto; /* Maintain aspect ratio for rectangular shape */
        border-radius: 10px; /* Rectangular with slight curve for mobile */
        margin-bottom: 15px;
        background-color: #e9ecef;
    }

    .btn-custom {
        align-self: flex-start;
        margin-bottom: 20px;
    }

    .service-content p {
        margin-bottom: 10px;
        text-align: left;
    }
}

/* Desktop layout for side-by-side display */
@media (min-width: 769px) {
    .service-section {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px; /* Space between content and image */
    }

    .service-content,
    .service-image {
        width: 50%; /* Equal split for content and image */
        padding: 20px;
    }

    .service-image img {
        max-width: 100%;
        height: 450px; /* Taller for desktop */
        border-radius: 20px 20px 200px 20px; /* Retain unique desktop style */
    }
}

/* Dropdown main box */
.services-menu .dropdown-menu {
    display: none !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px 20px !important;
    padding: 25px !important;
    width: 650px !important;
    background: #fff !important;
    border-radius: 12px !important;
    left: -220px !important;
    position: absolute !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.services-menu:hover .dropdown-menu {
    display: grid !important;
}

.services-menu .dropdown-menu li {
    list-style: none !important;
}

.services-menu .dropdown-menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 14px 18px !important;
    border-radius: 8px !important;
    background: #f9f1ed !important;
    color: #333 !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    text-align: left !important;
    white-space: nowrap !important;
}

.services-menu .dropdown-menu li a i {
    color: #e93c05 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
}

.services-menu .dropdown-menu li a:hover {
    background: #e93c05 !important;
    color: #fff !important;
}

.services-menu .dropdown-menu li a:hover i {
    color: #fff !important;
}

@media (max-width: 991px) {
    .services-menu .dropdown-menu {
        display: none !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        left: 0 !important;
        position: relative !important;
        padding: 15px !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        background: #f8f9fa !important;
    }

    .mean-container .mean-nav ul li.services-menu.mean-expanded .dropdown-menu {
        display: grid !important;
    }

    .services-menu .dropdown-menu li a {
        padding: 10px 15px !important;
        font-size: 14px !important;
        white-space: normal !important;
        background: #fff !important;
        border: 1px solid #eee !important;
    }

    .mean-container .mean-nav ul li.services-menu>a {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        color: #333 !important;
    }

    .mean-container .mean-nav ul li.services-menu .mean-expand {
        background: transparent !important;
        color: #e93c05 !important;
        font-size: 18px !important;
        width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
        text-align: center !important;
    }
}

section {
    scroll-margin-top: 200px;
    padding-top: 20px;
    padding-bottom: 80px; /* Ensure enough space for scrolling */
    min-height: calc(100vh - 200px); /* Adjusted for scroll-margin */
}

.footer-newsletter .social-icons li a:hover {
    color: #e93c05 !important;
    transition: color 0.3s ease;
}
          .mean-container {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: #fff !important; /* Adjust to match your navbar background */
}
/* Mobile-specific styles */
    @media (max-width: 991px) {
        .services-menu .dropdown-menu {
            display: none !important;
            grid-template-columns: 1fr !important;
            width: 100% !important;
            left: 0 !important;
            position: relative !important;
            padding: 15px !important;
            border-radius: 8px !important;
            box-shadow: none !important;
            background: #f8f9fa !important;
        }

        .mean-container .mean-nav ul li.services-menu.mean-expanded .dropdown-menu {
            display: grid !important;
        }

        .services-menu .dropdown-menu li a {
            padding: 10px 15px !important;
            font-size: 14px !important;
            white-space: normal !important;
            background: #fff !important;
            border: 1px solid #eee !important;
        }

        .mean-container .mean-nav ul li.services-menu>a {
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            color: #333 !important;
        }

        .mean-container .mean-nav ul li.services-menu .mean-expand {
            display: none !important;
        }
    }

    /* Fix navbar visibility on scroll */
    .mean-container {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        background: #fff !important;
    }