/* General page styling */
body {
   
	font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #060606;
    margin: center;
    padding: 0;
	height: 100%; /* Full height */
    display: flex;
    flex-direction: column;
}
/*Gallery section*/
style 
.mySlides {
	display:none;
}
/* Flexbox container for centering the image */
/* Flexbox container for centering the image */
.w3-content .mySlides {
  display: block;               /* Make the active slide visible */
  max-width: 80%;               /* Set the maximum width for the container */
  position: relative;           /* For positioning navigation buttons */
  justify-content: center;      /* Center the content horizontally */
  align-items: center;          /* Center the content vertically */
}
/* Slide Navigation Buttons */
.w3-button {
  position: absolute;
  top: 50%;
  background-color: rgba(0, 0, 0, 0.6);  /* Semi-transparent black background */
  color: white;
  border: none;
  padding: 16px;
  cursor: pointer;
  font-size: 18px;
  z-index: 100;
  transform: translateY(-50%); /* Vertically centers the buttons */
  width: 50px;  /* Set a fixed width for the buttons */
  height: 50px; /* Set a fixed height for the buttons */
	
}

/* Position for the 'Previous' button (left side) */
.w3-display-left {
   left: 10px;  /* Position 10px from the left */
  top: 50%;
  transform: translateY(-50%);
}

/* Position for the 'Next' button (right side) */
.w3-display-right {
  right: 10px; /* Position 10px from the right */
  top: 50%;
  transform: translateY(-50%);
}

/* Hover effect for better visibility */
.w3-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
/* Make images responsive */
.w3-content img {
  width: 70%;  
object-fit: contain; /* Ensures the image fits within the container without stretching */
  height: auto; /* Maintain aspect ratio */
  max-width: 800px; /* Ensure images don't exceed their container's width */
display: block; /* Make it a block element so it's centered properly */
	position:center; 
	margin-left: auto;
	margin-right: auto;
}

/* Ensure the slideshow container is also responsive */
.w3-display-container {
  width: 100%; /* Make the container take up 100% width */
  max-width: 100%; /* Ensure the container doesn’t exceed 100% of its parent container */
  height: auto; /* Let the height adjust according to the image size */
}

/* For smaller screens (like mobile), adjust the size of images */
@media (max-width: 768px) {
  .w3-content img {
    width: 80%; /* For mobile screens, images will take up 80% of the screen width */
  }

  .w3-button {
    padding: 10px;  /* Reduce the button size for mobile */
    font-size: 14px; /* Smaller button text on mobile */
  }
}
/*Services content*/
.service-text {
   max-width: 600px;
  margin: 0 auto 40px auto;
	font-size: 20px;   /* Increase this number for bigger text */
  line-height: 1.6;
}

.container {
    width: 70%;
    margin: 0 auto;
    padding: 20px;
}
.map-container {
    text-align: center; /* Center the map */
    margin: 20px auto;
}

.map-container iframe {
    max-width: 100%;
    height: 400px; /* Adjust height as needed */
    border: 0;
}

header {
    background: #f2f2f2;
    padding: 20px;
    text-align: center;
    background-image: url("../images/patternbackground.png");
    background-size: cover;
}

header h1 {
    font-size: 2.5em;
    margin: 0;
	color:white;
}
header h2 {
	align-content: center
}

header p {
    font-size: 5.2em;
    margin: 5px 0;
}
#contact-form {
    padding: 40px 20px;
    text-align: center;
}

#contact-form h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}


/* Form Container (Form Sheet Style) */
form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Form Rows (Label + Input) */
.form-row {
    margin-bottom: 20px;
    text-align: left;
}

.form-row label {
    display: block;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.form-row input, .form-row textarea {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.form-row input:focus, .form-row textarea:focus {
    outline: none;
    border-color: #333;
}

/* Button Styling */
button {
    padding: 10px 20px;
    font-size: 1.2em;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;  /* Make button full width */
}

button:hover {
    background-color: #555;
}

/* Footer Styling */

nav ul {
    list-style: none;
    background-color: #333;
    padding: 10px;
    text-align: center;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}

#welcome {
    padding: 50px 0;
    text-align: center;
}

#featured img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 20px auto;
}
.about-content{
	width: 70%;
}
	
.sidebar-right{
	position: fixed; /* Fixes it to the right side of the page */ 
	right: 20px; /* Position 20px from the right edge */ 
	top: 200px; /* Positions the sidebar below the header */ 
	width: 300px; /* Adjust width as needed */ background-color: #333; 
	color: white; 
	text-align: center;
	padding: 20px; 
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 10;
    }


.sidebar-right h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.sidebar-right ul {
    list-style-type: none;
    padding: 0;
}

.sidebar-right ul li {
    margin-bottom: 10px;
}

.sidebar-right ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
}

.sidebar-right ul li a:hover {
    color: #f2f2f2;
}

footer {
    background-color: #333;
    color: white; /* Make the text color white */
    text-align: center;
    padding: 15px;
    width: 100%;
    bottom: 0;
}
footer a {
    color: white; /* Make links white */
    text-decoration: none; /* Remove underline */
}

footer a:hover {
    color: #f2f2f2; /* Lighter color on hover */
    text-decoration: underline; /* Optional: add underline on hover */
}
/* Mobile Styling */
@media (max-width: 700px) {
    /* Header - adjust font size on mobile */
    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1em;
    }

    /* Navigation - stack navigation items vertically */
    nav ul {
        padding: 20px 0;
    }

    nav ul li {
        display: block;
        margin-bottom: 10px;
    }

    nav ul li a {
        font-size: 1.5em;
    }

    /* Main section - adjust padding for mobile */
	.about-content {
		flex-direction: column; /* Stack sidebar and content vertically */
        margin: 0;
	}
    #contact-form {
        padding: 20px 10px;
    }

    /* Form styling - ensure full width */
    form {
        padding: 20px;
    }

    /* Sidebar - adjust to position it below the content on mobile */
    .sidebar-right {
        position: relative; /* Change to relative positioning for mobile */
        width: 100%; /* Sidebar takes full width on mobile */
        top: 0;
        padding: 10px;
        margin-top: 20px; /* Space between sidebar and content */
        box-sizing: border-box; /* Prevent sidebar from overflowing */
    }
	/* Main content - Adjust width for mobile */
    .main-content {
        width: 100%; /* Full width for main content */
    }
    /* Footer - ensure proper spacing and visibility */
    footer {
        padding: 10px;
    }
}
