/*-----------------------HOME.HTML--------------------------*/

/* General Reset */

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
}

/* Logo Section */
header {
    text-align: center;
    padding: 20px 0;
}

.logo {
    max-width: 300px; /* Adjust the size of the logo */
    height: auto;
}

/* Navigation Bar */
nav {
    background-color: #d3d3d3; /* Light gray background for the strip */
    text-align: center;
    padding: 10px 0; /* Adjust the height of the strip */
}

.nav-links {
    list-style: none; /* Remove bullet points */
    display: flex; /* Arrange items horizontally */
    justify-content: center; /* Center the links horizontally */
    gap: 30px; /* Add space between links */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.nav-links li a {
    text-decoration: none; /* Remove underline */
    color: black; /* Black text for links */
    font-size: 18px; /* Adjust font size */
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #007bff; /* Change colour on hover (blue) */
}



/* Background Strip with Image */
.background-strip {
    position: relative; /* Set position to relative for layering */
    width: 100%;        /* Full width of the page */
    height: 600px;      /* Fixed height for the strip */
    background-color: #838185; /* Fallback background color */
    overflow: hidden;   /* Hide overflow if image exceeds container */
    display: flex;      /* Use Flexbox to center the foreground image */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

/* Blurred Background Image */
.background-strip::before {
    content: ""; /* Pseudo-element for the background image */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/rte_Overview/img_homepage.jpg');  /* Path to your image */
    background-size: cover; /* Make the image cover the entire container */
    background-position: center center; /* Center the image */
    filter: blur(40px); /* Apply blur effect */
    transform: scale(1.2); /* Slightly scale up the image for a better effect */
    z-index: 1; /* Place it behind the foreground image */
}

/* Foreground Image */
.homepage-image {
    position: relative; /* Ensure it sits above the background */
    z-index: 2;         /* Place it above the blurred background */
    max-width: 100%;    /* Ensure the image scales proportionally */
    height: auto;       /* Maintain aspect ratio */
    object-fit: cover;  /* Ensures the image fills the container without distortion */
}


/*--------------------SERVICES.HTML----------------------------------------------------*/
.services-section {
    padding: 20px;
    text-align: center;
    background-color: #fff;
    margin: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* Section heading */
.services-section h2 {
    margin-bottom: 20px; /* Adds spacing below the header */
    font-size: 24px; /* Sets the font size */
    color: #08b1f4; /* Light blue colour */
    text-align: center; /* Centres the header text */
}

/* Services Grid Section */
.services-grid {
    display: flex; /* Arrange the rectangles in a row */
    justify-content: space-between; /* Add space between the rectangles */
    gap: 20px; /* Space between the rectangles */
    margin: 20px; /* Add some space around the grid */
}

.service-box {
    flex: 1; /* Make all rectangles equal in width */
    height: 450px; /* Set height greater than width */
    border: 2px solid #87CEEB; /* Light blue border */
    border-radius: 5px; /* Rounded corners */
    padding: 20px; /* Add padding inside the rectangle */
    background-color: #fff; /* White background */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for better visibility */
    text-align: center; /* Center-align text */
}

.service-box h3 {
    margin-bottom: 15px; /* Add space below the heading */
    font-size: 18px; /* Adjust font size */
    color: #333; /* Darker text colour for the heading */
    text-transform: uppercase; /* Make the heading uppercase */
}

.service-box ul {
    list-style: disc; /* Use bullet points */
    padding-left: 20px; /* Add space for the bullet points */
    text-align: left; /* Align bullet points to the left */
    margin-top: 10px; /* Add space above the list */
}

.service-box ul li {
    margin-bottom: 10px; /* Add space between bullet points */
    font-size: 14px; /* Adjust font size for bullet points */
    color: #555; /* Slightly lighter text colour for bullet points */
}


/*------------------------CONTACT US.HTML------------------------------------------------*/
/* Contact Form Section */
.contact-form-section {
    padding: 20px;
    text-align: center;
    background-color: #fff;
    margin: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}



.contact-form-section h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #08b1f4; /* Light blue colour */
}



.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    font-size: 16px;
    font-weight: bold;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%; /* Full width of the form container */
    padding: 15px; /* Add padding inside the input fields */
    font-size: 16px; /* Set font size */
    border: 1px solid #ccc; /* Add a light border */
    border-radius: 5px; /* Rounded corners */
}

.contact-form textarea {
    resize: none; /* Prevent resizing */
}

.send-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px;  /* Add padding for a larger button */
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.send-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.site-footer {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 12px 0;
    background-color: #f2f2f2;
    font-size: 0.9rem;
    color: #555;
}

.site-footer p {
    margin: 0;
}
