@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f9;
    color: #333;
}

/* HEADER */
header {
    background: #002855;
    color: white;
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* Keeps header at a fixed height */
    overflow: hidden; /* Prevents the header from expanding */
}

/* Mobile Dropdown */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 30px;
}

.hamburger span {
    width: 100%;
    height: 4px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

/* Navigation Links */
#nav-links {
    display: flex;
    gap: 20px;
}

#nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
}

/* Mobile Navigation */
@media (max-width: 800px) {
    #nav-links {
        display: none;
        flex-direction: column;
        gap: 20px;
        position: absolute;
        top: 70px;
        right: 20px;
        background-color: #FFFFFF; /* Set background color */
        padding: 20px;
        border-radius: 8px;
        width: 200px; /* Adjust width as needed */
        z-index: 999; /* Ensure dropdown is above other content */
    }

    .hamburger {
        display: flex;
    }

    #nav-links.active {
        display: flex;
    }
	#nav-links a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
}
}

@media (max-width: 800px) {
    .hero .btn {
        width: 100%; /* Ensures the button spans the full width */
        display: inline-block; /* Prevents it from stacking */
        font-size: 1.4rem; /* Adjusts font size for mobile */
        padding: 1rem 2rem; /* Keeps padding consistent */
        text-align: center; /* Ensures the text is centered */
    }
}

/* LOGO STYLING */
.logo img {
    height: 200px; /* Adjust size as needed */
    width: auto;
}

/* HEADER BUTTONS */
header nav a {
    color: white;
    margin: 0 1.5rem;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 1.8rem;  /* Adjusted font size */
    padding: 0.5rem 1.2rem;  /* Added padding for better clickability */
    border-radius: 5px;  /* Rounded corners */
    text-transform: uppercase;
    letter-spacing: 1px;
}

header nav a::after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    background: #f4a261;
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

header nav a:hover::after {
    width: 100%;
}

/* HERO SECTION */
.hero {
    position: relative;
    background: url('images/Website\ Header.JPG') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 7rem 2rem;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 40, 85, 0.6);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

/* HERO BUTTON CONTAINER */
.hero .btn-box {
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent background */
    padding: 2rem;
    border-radius: 12px;
    display: inline-flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 2rem;
}

/* HERO BUTTONS */
.hero .btn {
    background: linear-gradient(135deg, #f4a261, #e76f51);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.hero .btn:hover {
    background: linear-gradient(135deg, #e76f51, #d1493a);
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}


/* SERVICES */
.services {
    padding: 4rem 5%;
    text-align: center;
    background: #f9f9f9;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 350px;
}

.service-item i {
    font-size: 2rem;
    color: #f4a261;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-item p {
    font-size: 1rem;
    color: #555;
}

/* Gallery */
.gallery {
    padding: 4rem 5%;
    text-align: center;
}

.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* General Styles for the Gallery */
#gallery {
    text-align: center;
    width: 100%;
    max-width: 1000px;  /* Increased max width */
    margin: auto;
    padding: 40px; /* Added more padding for space */
}

/* Main Image Slideshow Container */
.main-image {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px; /* Increased space below the main image */
    height: 500px; /* Fixed height for main image */
    overflow: hidden;
}

/* Slideshow images */
.slide img {
    width: 100%;
    height: 100%; /* Ensure image fills the container */
    object-fit: cover; /* Ensures image covers the container without stretching */
    border-radius: 8px;
}

.slide {
    transition: opacity 0.5s ease-in-out;
}

/* Navigation arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px; /* Larger arrow size */
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    cursor: pointer;
    border: none;
    z-index: 10;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Thumbnail Wrapper (Anchors the container) */
.thumbnail-wrapper {
    width: 100%;
    max-width: 550px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Ensure the thumbnail container has a scrollbar, not the images */
.thumbnail-container {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    cursor: grab;
    width: 100%;
    box-sizing: border-box; /* Prevent overflow */
}

/* Custom scroll bar styling for webkit browsers (Chrome, Safari) */
.thumbnail-container::-webkit-scrollbar {
    width: 8px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.thumbnail-container::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.thumbnail-container::-webkit-scrollbar-track {
    background: #ccc;
}

/* Thumbnail */
.thumbnail {
    width: 100px;
    height: 75px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, border 0.3s ease;
    border-radius: 5px;
    object-fit: cover;
    border: 2px solid transparent;
}

/* Highlight thumbnail on hover and active state */
.thumbnail:hover, .thumbnail.active {
    opacity: 1;
    border: 2px solid white;
}

/* For Mobile Devices */
@media (max-width: 768px) {
    .thumbnail-container {
        overflow-x: auto;
        display: block; /* Make sure it's block for scrolling */
        width: 100%; /* Ensure full width */
    }

    .thumbnail {
        width: 80px; /* Adjust size of thumbnails */
        height: 60px;
    }
}

/* General Style */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #333;
}

h2 {
    font-size: 2rem;
    text-align: center;
    color: #4A90E2;
    margin-bottom: 1rem;
}

.contact {
    max-width: 800px; /* Increased width for a wider form */
    margin: 0 auto;
    padding: 3rem; /* Increased padding for more space inside the form */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
	text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem; /* More padding for wider input fields */
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.3s ease-in-out;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #4A90E2;
    outline: none;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.4);
}

textarea {
    resize: vertical;
}

button.submit-btn {
    width: 100%;
    padding: 1.2rem; /* Increased padding for button */
    background-color: #4A90E2;
    color: white;
    font-size: 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

button.submit-btn:hover {
    background-color: #357ABD;
}

@media (max-width: 800px) {
    .contact {
        padding: 2rem; /* Adjusted padding for smaller screens */
    }
}

#subService {
    display: block !important;
}

footer {
    background-color: #002855;
    color: white;
    padding: 3rem 5%;
    text-align: center;
    font-size: 1rem;
    margin-top: 3rem;
    border-top: 4px solid #f4a261;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.footer-column {
    width: 100%;
    max-width: 500px; /* Limits the width for readability */
    text-align: center;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #f4a261;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin: 0.5rem 0;
}

.footer-column a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #f4a261;
}

.footer-bottom {
    font-size: 0.875rem;
    margin-top: 2rem;
    border-top: 1px solid #f4a261;
    padding-top: 1rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 800px) {
    /* Prevent horizontal scrolling and zoom */
    body {
        overflow-x: hidden;
        touch-action: manipulation; /* Disable zoom */
    }

    .contact {
        padding: 2rem; /* Adjust padding for smaller screens */
    }

    header {
        padding: 0.8rem 2%; /* Less padding for smaller screens */
        height: auto; /* Adjust header height on mobile */
    }

    .logo img {
        height: 150px; /* Adjust logo size for mobile */
    }

    header nav a {
        font-size: 1.5rem; /* Reduce font size for navigation links */
        margin: 0 1rem; /* Less margin for smaller screens */
    }

    .services, .gallery {
        padding: 3rem 2%;
    }

    /* Slideshow and gallery adjustments */
    .thumbnail-container {
        flex-direction: column; /* Stack thumbnails for better mobile layout */
        gap: 1rem;
    }
	
	* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

}
