* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Preloader Styles */
.preloader {
    position: fixed; /* Fixed to cover the viewport */
    top: 0; /* Start from the top */
    left: 0; /* Start from the left */
    width: 100%; /* Cover the entire width */
    height: 100%; /* Cover the entire height */
    background-color: #000; /* Black background */
    z-index: 1000; /* Ensure it stays on top of other content */
    display: flex; /* Use flexbox to center the loader */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

.loader {
    display: flex; /* Display letters in a row */
    gap: 5px; /* Space between letters */
    color: #fff; /* White text */
    font-size: 2rem; /* Adjust font size as needed */
    font-family: Arial, sans-serif; /* Set the font */
}

.loader span {
    display: inline-block; /* Allow individual animation */
    animation: bounce 1s infinite ease-in-out; /* Apply bounce animation */
}

.loader span:nth-child(1) {
    animation-delay: 0s;
}
.loader span:nth-child(2) {
    animation-delay: 0.1s;
}
.loader span:nth-child(3) {
    animation-delay: 0.2s;
}
.loader span:nth-child(4) {
    animation-delay: 0.3s;
}
.loader span:nth-child(5) {
    animation-delay: 0.4s;
}
.loader span:nth-child(6) {
    animation-delay: 0.5s;
}
.loader span:nth-child(7) {
    animation-delay: 0.6s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0); /* Start and end at the same position */
    }
    50% {
        transform: translateY(-10px); /* Move up */
    }
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0A1D37;
}

button, .btn {
    padding: 1rem;
    border: none;
    color: rgb(255, 255, 255);
    cursor: pointer;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5.2px);
    -webkit-backdrop-filter: blur(5.2px);
}

button:hover, .btn:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Optional: Add a hover effect */
}

button {
    /* Default button styles */
    background: rgba(255, 255, 255, 0.1); /* Slight transparency */
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Softer shadow */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Light border */
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

button:hover {
    /* Apply glassmorphism effect on hover */
    background: rgba(255, 255, 255, 0.2); /* Slightly more transparency */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2); /* Stronger shadow */
    backdrop-filter: blur(5px); /* Increase blur on hover */
    -webkit-backdrop-filter: blur(5px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.5); /* Stronger border */
}


header {
    background-color: #000000;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background-color: #b9b4b4; /* Background color */
    height: 60px; /* Set a fixed height */
    border-radius: 30px; /* Half of the height for oval shape */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Optional shadow */
    position: relative;
    z-index: 100;
}

nav .logo img {
    height: 70px; /* Adjust the height as needed */
    width: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the image scales correctly */
    margin-left: -20px; /* Move the logo more to the left */
    margin-top: 10px;
}

/* Burger menu toggle */
.menu-toggle {
    display: none; /* Initially hidden */
    flex-direction: column;
    cursor: pointer;
    margin-right: 1rem;
}

.menu-toggle span {
    background-color: #000;
    height: 3px;
    width: 25px;
    margin: 4px;
    transition: all 0.3s ease;
}

/* Transform the burger icon into an "X" when the menu is active */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 8px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0; /* Hide the middle line */
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -8px;
}

.menu {
    display: flex;
}

nav {
    position: relative; /* Ensures the menu is positioned relative to the nav */
    z-index: 100; /* Make sure the nav appears above other elements */
}

nav ul.menu {
    list-style: none;
    display: flex;
    flex-grow: 1;
    justify-content: center; /* Center the menu links */
}

nav ul.menu li {
    margin: 0 1rem;
}

nav ul.menu li a {
    color: #000000;
    text-decoration: none;
    font-size: 1rem;
}

.contact-btn {
    background-color: #000000;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1rem;
    margin-left: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    margin-right: 1rem; 
}

.contact-btn:hover {
    background-color: #fafafa; /* Darker blue on hover */
    color: #000000;
}


.hero {
    height: 100vh;
    background-image: url('photos/hero_imag.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

section {
    padding: 3rem;
    text-align: center;
    background-image: url('photos/Texturelabs_Sky_170M.jpg'); /* Update with your image path */
    background-size: cover; /* Make the background cover the entire section */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    color: white; /* Change text color if necessary for contrast */
}

.section h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.service-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-image {
    display: flex;
    justify-content: center; /* Center the image horizontally */
    margin-bottom: 1rem; /* Spacing between the image and title */
}

.service-image img {
    width: 30%; /* or use a fixed width like 300px */
    max-width: 736px; /* Optional: set a max-width to prevent overflow */
    height: auto; /* Maintain aspect ratio */
}

.service {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2.4px);
    -webkit-backdrop-filter: blur(2.4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2rem;
    width: 45%;
    margin: 1rem;
}

.about-container {
    display: flex;
    justify-content: space-between; /* Space between the text and image */
    align-items: center; /* Center the image and text vertically if heights differ */
    gap: 2rem; /* Add space between the text and image */
}

.about-text {
    flex: 1; /* The text takes up half the width */
    max-width: 50%; /* Ensure the text doesn't exceed half the page width */
}

.about-image {
    flex: 1; /* Image container takes up half the width */
    max-width: 50%; /* Ensure it doesn't exceed half the page width */
    position: relative; /* Required for Swiper navigation buttons */
}

.about-image img {
    width: 100%; /* Make images responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional rounding for images */
}

.swiper {
    width: 100%; /* Slider width matches its container */
    height: 100%; /* Slider height adjusts to content */
}

.swiper-button-next,
.swiper-button-prev {
    color: #7c7c7c; /* Optional: Customize navigation button colors */
    width: 30px;
    height: 30px;
}

.swiper-slide {
    position: relative;
}

.slide-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

/* Packages Section */
.package-container {
    display: flex;
    justify-content: center; /* Center the packages horizontally */
    flex-wrap: wrap; /* Allow packages to wrap to the next line */
    gap: 2rem; /* Add space between packages */
    padding: 2rem 0;
}

.package {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2.4px);
    -webkit-backdrop-filter: blur(2.4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 2rem;
    flex: 1 1 300px; /* Allow packages to grow and shrink, with a base width of 300px */
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.package h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.package ul {
    list-style: none;
    padding: 0;
}

.package li {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.package:hover {
    transform: scale(1.05);
}

form {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: 0 auto;
}

form input, form textarea {
    padding: 1rem;
    margin: 0.5rem 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form button {
    padding: 1rem;
    border: none;
    color: rgb(255, 255, 255);
    cursor: pointer;
    border-radius: 5px;
}

footer {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    padding: 2rem 1rem; /* Spacing for content */
    font-family: Arial, sans-serif; /* Clean font style */
}

.footer-container {
    display: flex;
    flex-wrap: wrap; /* Responsive layout */
    justify-content: space-between; /* Equal spacing between columns */
    max-width: 1200px;
    margin: 0 auto; /* Center content */
}

.footer-column {
    flex: 1;
    margin: 0 1rem;
    min-width: 200px; /* Ensure columns don't get too small */
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #c9c7c7; /* Accent color for headings */
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #fff; /* White links */
    text-decoration: none; /* Remove underline by default */
    font-size: 0.9rem;
    position: relative;
}

.footer-column a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* Adjust underline position */
    width: 0;
    height: 2px; /* Thickness of the underline */
    background-color: #c9c7c7; /* Color of the underline */
    transition: width 0.3s ease; /* Smooth transition */
}

.footer-column a:hover::after {
    width: 100%; /* Full width on hover */
}


foot {
    background-color: #f0f0f0; /* Light gray background */
    color: #333; /* Dark gray text for contrast */
    padding: 1rem;
    text-align: center; /* Center the text horizontally */
    font-family: Arial, sans-serif; /* Clean font style */
    border-top: 1px solid #ccc; /* Optional subtle border */
    width: 100%; /* Ensure full width */
    display: flex; /* Use flexbox for vertical alignment */
    justify-content: center; /* Horizontally center content */
    align-items: center; /* Vertically center content */
    height: 60px; /* Set a consistent height for the footer */
    position: relative; /* Footer stays at the bottom */
}



/* Burger menu toggle */
nav ul.menu {
    display: flex; /* Default layout */
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto; /* Move the burger menu to the right */
    margin-right: 1rem;
}

.menu-toggle span {
    background-color: #000;
    height: 3px;
    width: 25px;
    margin: 4px;
    transition: 0.3s;
}

.menu {
    display: flex;
}

@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }

    nav ul.menu {
        position: absolute; /* Absolute positioning under the nav */
        top: 100%; /* Position right below the nav bar */
        left: -100%; /* Align to the right */
        border-radius: 16px;
        flex-direction: row; /* Stack the menu items vertically */
        align-items: center; /* Align items to the right */
        height: auto; /* Let the height be dynamic based on the content */
        width: 100%; /* Make the menu take the full width under nav */
        transition: left 0.3s ease; /* Smooth transition for show/hide */
        z-index: 99;
    }

    nav ul.menu.active {
        left: 0; /* Show the menu when active (set height large enough for content) */
    }

    nav ul.menu.active li a {
        color: #fff; /* Change text color to white */
    }

    nav ul.menu li {
        margin: 1rem ;
        padding-right:0 1rem; /* Add some padding for the items */
    }

    .menu-toggle {
        display: flex;
        margin-left: 1rem; /* Remove auto margin to align it with the contact button */
    }

    .contact-btn {
        margin-right: 0.5rem;
    }

    .contact-btn, .menu-toggle {
        display: flex;
        align-items: center;
    }

    .menu-toggle {
        margin-right: 1rem; /* Ensure the menu burger is at the far right */
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav ul.menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #000; /* Set menu background to black */
        position: absolute;
        top: 60px;
        left: 0;
        padding: 1rem 0;
    }

    nav ul.menu.active {
        display: flex;
    }

    nav .menu-toggle {
        display: flex; /* Show the menu toggle on smaller screens */
    }

    nav ul.menu li {
        margin: 1rem 0;
        text-align: center;
    }

    nav ul.menu li a {
        padding: 1rem;
        display: block;
        color: #fff; /* Ensure text color is white */
    }

    nav .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    nav .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    nav .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* service */
@media (max-width: 768px) {
    .service {
        width: 90%; /* Make each service take up most of the width */
        margin: 0.5rem auto; /* Center the services and reduce margin */
    }

    .service-image img {
        width: 70%; /* Adjust image size for smaller screens */
        max-width: 300px; /* Set a max width for images */
    }

    .section h2 {
        font-size: 2rem; /* Smaller font size for the heading */
    }
}

@media (max-width: 480px) {
    .section h2 {
        font-size: 1.8rem; /* Further reduce font size for very small screens */
    }
}


/* about */
@media (max-width: 768px) {
    nav ul.menu.active {
        left: 0; /* Show the menu */
        background: rgba(255, 255, 255, 0.06); /* Apply glass effect */
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(3.6px);
        -webkit-backdrop-filter: blur(3.6px);
    }

    nav ul.menu.active li a {
        color: #fff; /* Ensure the text is visible */
    }
}


@media (max-width: 768px) {
    .about-container {
        flex-direction: column; /* Stack items vertically on small screens */
        align-items: center; /* Center items */
    }

    .about-text {
        max-width: 100%; /* Allow text to take full width */
        text-align: center; /* Center the text for better presentation */
        margin-bottom: 1.5rem; /* Add space below text */
    }

    .about-image {
        max-width: 90%; /* Allow image to take most of the width */
    }
}

@media (max-width: 480px) {
    .about-text h2 {
        font-size: 1.8rem; /* Adjust font size for smaller screens */
    }

    .about-text p {
        font-size: 1rem; /* Adjust font size for smaller screens */
    }
}

/* package */
@media (max-width: 768px) {
    .package-container {
        justify-content: center; /* Center packages on smaller screens */
    }

    .package {
        min-width: 80%; /* Allow packages to take more space */
        max-width: 90%; /* Adjust maximum width for smaller screens */
        margin: 1rem 0; /* Add vertical margin for spacing */
    }
}

@media (max-width: 480px) {
    .package h3 {
        font-size: 1.3rem; /* Adjust heading size for smaller screens */
    }

    .package li {
        font-size: 0.9rem; /* Adjust list item size for readability */
    }
}

/* form */
@media (max-width: 768px) {
    form {
        width: 80%; /* Increase width for tablets */
    }

    form input, form textarea {
        padding: 0.8rem; /* Adjust padding for smaller screens */
    }

    form button {
        padding: 0.8rem; /* Adjust button padding */
    }

    h2 {
        font-size: 2rem; /* Adjust heading size for smaller screens */
    }

    p {
        font-size: 1rem; /* Adjust paragraph size */
    }
}

@media (max-width: 480px) {
    form {
        width: 90%; /* Full width for mobile */
    }

    h2 {
        font-size: 1.5rem; /* Further adjust heading size for mobile */
    }

    p {
        font-size: 0.9rem; /* Further adjust paragraph size */
    }
}

/* Preloader */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0); /* Start and end at the same position */
    }
    50% {
        transform: translateY(-10px); /* Move up */
    }
}

/* footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack columns on small screens */
        align-items: center;
    }

    .footer-column {
        margin-bottom: 2rem; /* Add spacing between stacked columns */
        text-align: center; /* Center-align content for small screens */
    }
}

/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 10px;
    }
}

@media (max-width: 992px) {
    .about-image {
        max-width: 100%;
    }

    .package-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero button {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 5px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.875rem;
    }

    .hero button {
        font-size: 0.875rem;
    }
}

#findOutMoreBtn {
    color: white; /* Set the text color to white */
}