body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: #333;
}

.top-bar {
    background-color: #f0f0f0;
    padding: 10px 0;
    font-size: 0.9em;
    margin-top: 0;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
}

.top-bar .contact-info a {
    display: flex; /* Use flexbox to align icon and text */
    align-items: center; /* Vertically align items */
    color: inherit;
    text-decoration: none;
    outline: none;
}

.top-bar .contact-info a:hover,
.top-bar .contact-info a:focus {
    color: inherit;
    text-decoration: none;
    outline: none;
}

.top-bar .contact-info a + a {
    margin-left: 20px;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.top-bar-icon {
    height: 16px; /* Adjust icon size as needed */
    margin-right: 5px; /* Add space between icon and text */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    max-height: 160px;
    width: auto;
    height: auto;
    max-width: 100%;
}

nav {
    background-color: #367c2b;
    color: #fff;
    padding: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav li {
    display: inline-block;
    margin: 0 10px;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

nav a:hover, nav a.active {
    background-color: #2a6021;
    border-radius: 5px;
}

#hero {
    background-image: url('images/BG_Main.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 200px 0;
    position: relative;
    overflow: hidden;
    clip-path: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3); /* Add semi-transparent white overlay */
    z-index: 0;
}

#hero .hero-content {
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    z-index: 1; /* Ensure content is above the overlay */
	margin-top: 40px; /* Add margin to move text down */
}

#hero .logo {
    max-height: 250px;
    position: absolute; /* Position logo absolutely */
    top: 10px; /* Adjust top position */
	left: 20px; /* Maintain left margin */
	filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.9));
}

#hero h1 {
    font-size: 3.2em;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Ink Free', sans-serif;
    line-height: 1.2;
}

.hero-subtext {
    font-size: 1em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #eee;
    margin-bottom: 30px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    background-color: #367c2b;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 30px;
    transition: background-color 0.3s ease;
    font-size: 1.1em;
}

.btn:hover {
    background-color: #2a6021;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    background-color: transparent;
}

.content-section {
    padding: 50px 0;
    text-align: center;
    position: relative;
}

.content-section::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #663300, transparent);
    width: 80%;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
}

.service-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}

.table-responsive {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 20px auto;
}

form input, form textarea {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    padding-right: 20px;
}

.about-image {
    flex: 1;
    text-align: right;
}

.about-image img {
    max-width: 95%;
    height: auto;
    border-radius: 20px;
    padding: 10px;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-image {
    flex: 1;
    text-align: left;
	padding-right: 20px;
    order: -1;
}

.contact-text {
    flex: 1;
    text-align: center; /* Center the contact information */
}

.contact-image img {
    max-width: 95%;
    height: auto;
    border-radius: 20px;
    padding: 10px;
}

.contact-text a {
    color: inherit; /* Inherit color from parent */
    text-decoration: none; /* Remove underline */
    outline: none; /* Remove outline */
}

.contact-text a:hover,
.contact-text a:focus {
    color: inherit; /* Maintain color on hover/focus */
    text-decoration: underline; /* Add underline on hover/focus */
    outline: none; /* Remove outline on hover/focus */
}

.service-area-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-area-text {
    flex: 1;
    padding-right: 20px;
    text-align: center; /* Center the text */
    order: -1;
}

.service-area-image {
    flex: 1;
    text-align: right;
}

.service-area-image img {
    max-width: 95%;
    height: auto;
    border-radius: 20px;
    padding: 10px;
}

.service-area::after {
    display: none;
}

.footer-bar {
    background-color: #367c2b; /* Same color as nav bar */
    color: #fff; /* Ensure text is visible */
    padding: 10px 0; /* Add some padding for visual appeal */
}

.footer-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bar .contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    margin-right: 20px;
}

.footer-bar .contact-info a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.footer-bar .contact-info a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.footer-bar .contact-info a + a {
    margin-left: 20px;
}

.footer-bar .social-links a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.footer-bar .social-links a:hover {
    opacity: 0.8;
}

.footer-icon {
    height: 20px;
    margin: 0 5px;
    border-radius: 5px; /* Add radius to footer icons */
}

footer {
    background-color: #f0f0f0;
    text-align: center;
    padding: 2px 0;
    margin: 0;
    font-size: 0.8em;
}

footer .container {
    padding: 0;
}

@media (min-width: 769px) {
    	header .logo { /* Hide logo in header in standard mode */
        display: none;
    }

	#hero .logo {
		max-height: 230px;
		position: absolute; /* Position logo absolutely */
		top: 10px; /* Adjust top position */
		left: 20px; /* Maintain left margin */
		filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.95));
	}
	header {
		padding: 0;
		text-align: left;
		background-color: #f8f8f8;
	}
}

/* Responsive adjustments */
@media (max-width: 768px) {
    
	.top-bar,
	.top-bar .container,
	.top-bar .contact-info,
	.top-bar .contact-info a,
	.top-bar .contact-info span {
	  padding: 0;
	  margin: 0;
	}

	.top-bar .contact-info {
	  flex-direction: column; /* Stack contact and social links */
	  display: flex;
	  align-items: center;
	}
	
	.top-bar .contact-info a {
	  display: flex;
	  align-items: center;
	}

	.top-bar .contact-info img.top-bar-icon{
		margin-right: 5px;
	}

	
	/* Adjust logo size */
    .logo {
        max-height: 70px; /* Smaller logo on mobile */
    }
	
	header {
		padding: 10px 0;
		text-align: left;
		background-color: #f8f8f8;
	}
	
	header .logo { /* Show logo in header in standard mode */
        display: block;
        max-height: 100px; /* Adjust as needed */
    }

    #hero .logo { /* Hide logo in hero in standard mode */
        display: none;
    }

    /* Consolidate navigation */
    nav {
        padding: 2px 0; /* Reduce nav padding */
    }

    nav ul {
        flex-direction: column; /* Stack navigation items */
        align-items: center; /* Center navigation items */
    }

    nav li {
        display: block; /* Full-width list items */
        margin: 2px 0; /* Reduce margin */
    }

    nav a {
        padding: 8px 12px; /* Reduce padding slightly */
        display: block; /* Full-width links */
        width: 100%;
        text-align: center;
        font-size: 0.9em; /* Reduce font size */
    }

    /* Adjust hero section padding */
    #hero {
        padding: 100px 0;
    }

    #hero h1 {
        font-size: 2.5em; /* Smaller heading on mobile */
		font-family: 'Ink Free', sans-serif;
    }

    /* Reorganize services, about, and contact sections */
    .service-grid,
    .about-container,
    .contact-container {
        flex-direction: column; /* Stack content vertically */
    }

    .service,
    .about-text,
    .about-image,
    .contact-text,
    .contact-image {
        width: 100%; /* Full-width elements */
        padding: 20px 0; /* Add padding between stacked elements */
        text-align: center; /* Center text and images */
    }

    .about-image img,
    .contact-image img {
        max-width: 80%; /* Adjust image size on mobile */
        margin: 0 auto; /* Center images */
    }
	
	.service-area-container {
    flex-direction: column; /* Stack image and text vertically */
	}

	.service-area-text {
    width: 100%; /* Full-width text */
    text-align: center; /* Center text on mobile */
    padding: 20px 0 0; /* Add top padding for spacing */
    order: 1; /* Place text above image */
	}

	.service-area-image {
    width: 80%; /* Adjust image width */
    margin: 0 auto; /* Center image */
    text-align: center; /* Center image */
    order: 2; /* Place image below text */
	}

	.service-area-image img {
    max-width: 100%; /* Ensure image fits within container */
	}
	
	/* Adjust footer bar */
    .footer-bar .container {
        flex-direction: column; /* Stack footer content */
        align-items: center;
    }

	.footer-bar .contact-info,
    .footer-bar .social-links {
        flex-direction: column; /* Stack contact and social links */
        align-items: center;
        margin: 10px 0; /* Add spacing */
    }

    /* Move contact image below contact info */
    .contact-container {
        flex-direction: column;
    }

    .contact-image {
        order: 1;
        width: 80%;
        margin: 20px auto 0;
        padding: 0;
    }

    .contact-text {
        width: 100%;
        text-align: center;
    }
}