/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}
.navbar-brand img {
	height: 75px;
	margin-right: 10px;
}
.section-title {
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-weight: bold;
	color: #343a40;
}
.card-icon {
	color: #6AA62E; 
}
		
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
header {
    background-color: #000000; /* Updated header background color */
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000; /* Updated brand color */
}

.nav-link {
    font-weight: 500;
    color: #000000; /* Updated link color */
}

.nav-link.active {
    text-decoration: underline;
}

/* Main Styles */
main {
    flex: 1;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1, h2, h3 {
    color: #37B6FF; /* Updated heading color */
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

p {
    line-height: 1.6;
}

ul {
    list-style-type: none;
    padding: 0;
}

.service {
    margin-bottom: 1.5rem;
}

/* Form Styles */
form {
    margin-top: 1.5rem;
}

.form-label {
    font-weight: bold;
}

textarea {
    resize: none; /* Disable resizing */
}

/* Button Styles */
.btn-primary {
    background-color: #53A028; /* Updated button background color */
    border-color: #53A028; /* Updated button border color */
    color: #ffffff; /* Button text color */
}

.btn-primary:hover {
    background-color: #37B6FF; /* Updated hover color */
    border-color: #0056b3;
}

/* Footer Styles */
footer {
    padding: 1rem 0;
    background-color: #000000; /* Updated footer background color */
    color: #ffffff; /* Footer text color */
	line-height: 3;
}

footer p {
    margin: 0;
}

.btn-outline-primary {
    color: #37B6FF; /* Updated text color for outline button */
    border-color: #37B6FF; /* Updated border color for outline button */
}

.btn-outline-primary:hover {
    background-color: #37B6FF; /* Updated hover background color */
    color: white; /* Change text color to white on hover */
}

.btn-success {
    background-color: #53A028; /* Updated background color for success button */
    border-color: #53A028; /* Updated border color for success button */
    color: #ffffff; /* Text color for success button */
}

.btn-success:hover {
    background-color: #ADE74E; /* Updated hover background color for success button */
    border-color: #ADE74E; /* Updated hover border color for success button */
}
.card {
	border: none;
	border-radius: 10px;
	transition: transform 0.3s;
}
.card:hover {
	transform: scale(1.05);
}
.section-group {
	padding: 40px 20px; 
	margin-bottom: 30px; 
	border-top: 1px solid #E3E3E3; 
	border-bottom: 1px solid #E3E3E3; 
	
}


        .backdrop {
            background: url('assets/IMG_0575.jpg') center/cover no-repeat;
            position: relative;
            height: 300px; /* Adjusted height */
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }
        .backdrop::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
            opacity: 0.8; /* Darker overlay */
            z-index: 1;
        }

        .backdrop * {
            position: relative;
            z-index: 2;
            text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.7); /* Adds text shadow for emphasis */
        }

		/* Container styling with backdrop */
		.text-transition {
			position: relative;
			width: 100%;
			height: 200px;
			font-size: 1.5em;
			font-weight: bold;
			text-align: center;
			display: flex;
			justify-content: center;
			align-items: center;
			overflow: hidden;
			background-size: cover;
			background-position: center;
		}

		/* Style for each text */
		.text1, .text2 {
			position: absolute;
			opacity: 0; /* Start both texts hidden */
			animation-timing-function: ease-in-out;
			animation-iteration-count: infinite;
		}

		/* Colors for each text */
		.text1 {
			color: white;
			animation: fade1 18s infinite;
		}

		.text2 {
			animation: fade2 18s infinite;
		}

		/* Keyframes for first text (text1) */
		@keyframes fade1 {
			0%, 5% { opacity: 0; }   /* Start hidden */
			5%, 25% { opacity: 1; }  /* Fade in text1 over 2 seconds */
			25%, 75% { opacity: 1; } /* Hold text1 for 8 seconds */
			75%, 100% { opacity: 0; } /* Fade out text1 over 2 seconds */
		}

		/* Keyframes for second text (text2) */
		@keyframes fade2 {
			50%, 55% { opacity: 0; }  /* Start hidden */
			55%, 75% { opacity: 1; }  /* Fade in text2 over 2 seconds */
			75%, 125% { opacity: 1; } /* Hold text2 for 8 seconds */
			125%, 150% { opacity: 0; } /* Fade out text2 over 2 seconds */
		}
        .slider {
            position: relative;
            width: 100%;
            max-width: 600px;
            margin: auto;
            overflow: hidden;
        }
        .slider img {
            width: 100%;
            height: auto;
            opacity: 0;
            transition: opacity 1s ease;
        }
        .slider .slides {
            display: flex;
            transition: transform 1s ease-in-out;
        }
        .slider .slides img.loaded {
            opacity: 1;
        }
        .controls {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
        }
        .prev, .next {
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            padding: 10px;
            border: none;
            cursor: pointer;
            font-size: 20px;
        }
/* Optional: You can use a low-res placeholder or a transparent image */
.lazy {
    background-color: #f0f0f0; /* This can be a light gray or placeholder color */
    display: block;
    width: 100%;
    height: auto;
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease; /* Smooth fade-in transition */
}

/* When image is fully loaded, show it */
img.loaded {
    opacity: 1;
}


/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    main {
        padding: 1.5rem;
    }
}
