body {
  background: url('images/background.png') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  position: relative;
  overflow-x: hidden; /* Allow vertical scrolling */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

header {
  background-color: #000;
  color: #fff;
  padding: 1em 0;
}

.nav-logo {
  max-height: 80px; /* Adjust height to make the logo bigger */
  max-width: 100px; /* Adjust width to maintain aspect ratio */
  margin-right: 1em; /* Space between the logo and the nav items */
  vertical-align: middle;
}

nav {
  display: flex;
  align-items: center; /* Align items vertically in the center */
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 1em;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

main {
  padding: 2em;
  text-align: center;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  color: #000;
  padding: 2em;
  min-height: 50vh;
  gap: 5%;
}

.hero-text {
  max-width: 40%;
  margin-right: 5%;
  margin-top: -150px; /* Move the text up */
  margin-left: -5%; /* Move the text to the left */
}

.hero-logo-container {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-end; /* Adjusts horizontal alignment */
}

.hero-logo {
    max-width: 900px;
    height: 600px;
    margin-left: 30px;
    margin-right: 0px;
    margin-top: 170px;
}    
    
.hero-text h1 {
  font-size: 4.2rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 1rem;
}

.hero-text h2 {
  font-size: 1.5em;
  font-weight: normal;
  margin: 1em 0;
  color: #000;
}

.hero-button {
  background-color: #00FF00;
  border: none;
  padding: 1em 2em;
  font-size: 1em;
  color: #000;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-button:hover {
  background-color: #00cc00;
}
        .hero-video {
            position: relative;
            width: 100%;
            max-width: 600px;
            margin: auto;
        }

        .hero-video video {
            height: 750px;
        }

        .volume-control {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 5px;
            padding: 5px;
        }

        .volume-control input {
            width: 100%;
            cursor: pointer;
        }

section {
  margin: 2em 0;
}

.feature-section {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center; /* Center items horizontally */
  padding: 2em;
  border-radius: 10px;
  text-align: center; /* Center text */
}

.feature-item img {
  max-width: 100%;
  height: 450px;
  width: 450px;
  margin-bottom: 2rem; /* Add space between image and text */
  margin-right: 9rem;
  border-radius: 10px;
}

.feature-text {
  max-width: 100%;
}

.hero-text h1, .hero-text h2, .feature-text h3, .feature-text-2 h3, .feature-text p, .feature-text-2 p, .contact-details p, .feature-title-text h3, #find-us h2, .contact-text h3 {
  text-shadow: 
    -2px -2px 0 #000,  
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
    -2px  0 0 #000,
     2px  0 0 #000,
     0 -2px 0 #000,
     0  2px 0 #000;
}
.feature-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1em;
  color: #fff;
}

.feature-text p {
  font-size: 1rem;
  margin-bottom: 1em;
  color: #fff;
}

.feature-button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 0.5em 1.5em;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s;
}

.feature-button:hover {
  background-color: #444;
}

.feature-item-2 {
  display: flex;
  align-items: center;
  justify-content: center; /* Center items horizontally */
  padding: 2em;
  border-radius: 10px;
  text-align: center; /* Center text */
}

.feature-item-2 img {
  max-width: 100%;
  height: 550px;
  width: 550px;
  margin-bottom: 2rem; /* Add space between image and text */
  margin-left: 9rem;
  border-radius: 10px;
}

.feature-text-2 {
  max-width: 100%;
}

.feature-text-2 h3 {
  font-size: 1.8rem;
  margin-bottom: 1em;
  color: #fff;
}

.feature-text-2 p {
  font-size: 1rem;
  margin-bottom: 1em;
  color: #fff;
}

.feature-button-2 {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 0.5em 1.5em;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s;
}

.feature-button-2:hover {
  background-color: #444;
}

/* New Find Us section */
#find-us {
  text-align: center;
  margin-top: 2em;
}

#find-us h2 {
  text-decoration: underline;
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1em;
  color: #fff;
}

#find-us h3 {
  font-size: 2rem;
  color: #007BFF; /* Blue color for the "Reach Us AT" text */
  text-decoration: underline;
}

.map-container {
  height: 450px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #ccc;
}

.feature-title-text h3 {
  font-size: 3.5rem;
  text-decoration: underline;
  color: #fff;
}

.location-input {
  margin-bottom: 1em;
}

.location-input input {
  padding: 0.5em;
  font-size: 1em;
}

.location-input button {
  padding: 0.5em 1em;
  font-size: 1em;
  cursor: pointer;
}

.contact-text h3 {
  text-decoration: underline;
  font-size: 3rem;
  color: #fff;
}

.contact-details {
  margin-bottom: 2em;
  text-align: center;
  font-size: 1.2em;
  padding-bottom: 3em; /* Add padding to the bottom */
}

.contact-details p {
  margin: 0.5em 0;
  padding-bottom: 0.5em;
  color: #fff;  /* Add padding to the bottom of each paragraph */
}

footer {
  background-color: #000;
  color: #fff;
  text-align: left;
  padding: 1em 0;
  padding-left: 1em;
  position: fixed;
  width: 100%;
  bottom: 0;
}

.white-link {
    color: white;
}

.detailing-image {
  width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 10px;
}

#detailing {
  text-align: center;
  padding: 2em;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  margin: 2em 0;
}

#detailing h1 {
  font-size: 2.5rem;
  margin-bottom: 1em;
}

#detailing p {
  font-size: 1.2rem;
  margin-bottom: 1em;
}

#detailing ul {
  list-style-type: disc;
  margin-left: 1em;
}

#detailing ul li {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
}

#quote-form {
    background-color: #f4f4f4;
    padding: 2em;
    border-radius: 10px;
    max-width: 1200px;
    margin: auto;
}

#quote-form h2 {
    font-size: 2rem;
    margin-bottom: 1em;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    margin-bottom: 1em;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.form-group label, .form-group legend {
    margin-bottom: 0.5em;
    font-weight: bold;
}

.form-group input, .form-group textarea, .form-group fieldset {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group textarea {
    height: 80px;
    resize: vertical;
}
.grid-image {
    width: 500px;
    height: auto;
    border-radius: 10px;
    box-sizing: border-box;
    object-fit: cover;
    margin: 1em 0;
}
.form-group button {
    padding: 1em;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    margin-top: 1em;
    margin-bottom: 2em;
}

.form-group button:hover {
    background-color: #0056b3;
}

@media (max-width: 890px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .map-container, .grid-image, .map-container iframe, .hero-logo-container img,
    .detailing-image, .feature-item img, .feature-item-2 img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
        margin: 1em 0;
        box-sizing: border-box;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .hero-text, .video-container {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-text {
        margin-bottom: 0;
    }

    .video-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 20px; /* Space below the video */
        padding: 10px; /* Padding around the video container */
        box-sizing: border-box;
        background-color: #f0f0f0; /* Optional: Background color for visibility */
        border-radius: 10px; /* Rounded corners for the video container */
    }

    .hero-video {
        width: 100%;
        height: auto;
    }

    .hero-video video {
        width: 100%;
        height: auto; /* Maintain aspect ratio */
        border-radius: 10px;
    }

    .feature-item, .feature-item-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 1em 0;
        text-align: center;
    }

    .feature-item, .feature-item-2 {
        margin-top: 20px; /* Space between video and images below */
    }

    .feature-text, .feature-text-2 {
        order: 2;
        padding: 1em 0;
        max-width: 90%;
        margin: 0 auto;
    }

    .feature-text h3, .feature-text-2 h3 {
        font-size: 1.5rem;
        margin: 0.5em 0;
        color: #fff;
    }

    .feature-text p, .feature-text-2 p {
        font-size: 1rem;
        margin: 0.5em 0;
        color: #fff;
    }

    .feature-button, .feature-button-2 {
        order: 3;
        margin: 1em 0;
        padding: 0.5em 2em;
        font-size: 1rem;
        background-color: #000;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .feature-button:hover, .feature-button-2:hover {
        background-color: #333;
    }

    #quote-form-container {
        padding: 1em;
        margin: 0 auto;
    }

    #quote-form {
        background-color: #f4f4f4;
        padding: 1em;
        border-radius: 10px;
        max-width: 100%;
        margin: 0 auto;
    }

    #quote-form h2 {
        font-size: 1.5rem;
        margin-bottom: 1em;
        text-align: center;
    }

    .form-row {
        display: block;
        margin-bottom: 1em;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-bottom: 1em;
    }

    .form-group label, .form-group legend {
        margin-bottom: 0.5em;
        font-weight: bold;
    }

    .form-group input, .form-group textarea, .form-group fieldset {
        width: 100%;
        padding: 0.5em;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .form-group textarea {
        height: 80px;
        resize: vertical;
    }

    #find-us h2, #find-us h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .map-container, .grid-image, .map-container iframe, .hero-logo-container img,
    .detailing-image, .feature-item img, .feature-item-2 img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
        margin: 1em 0;
        box-sizing: border-box;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .hero-text, .video-container {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-text {
        margin-bottom: 0;
    }

    .video-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 20px; /* Space below the video */
        padding: 10px; /* Padding around the video container */
        box-sizing: border-box;
        background-color: #f0f0f0; /* Optional: Background color for visibility */
        border-radius: 10px; /* Rounded corners for the video container */
    }

    .hero-video {
        width: 100%;
        height: auto;
    }

    .hero-video video {
        width: 100%;
        height: auto; /* Maintain aspect ratio */
        border-radius: 10px;
    }

    .feature-item, .feature-item-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 1em 0;
        text-align: center;
    }

    .feature-item, .feature-item-2 {
        margin-top: 20px; /* Space between video and images below */
    }

    .feature-text, .feature-text-2 {
        order: 2;
        padding: 1em 0;
        max-width: 90%;
        margin: 0 auto;
    }

    .feature-text h3, .feature-text-2 h3 {
        font-size: 1.5rem;
        margin: 0.5em 0;
        color: #fff;
    }

    .feature-text p, .feature-text-2 p {
        font-size: 1rem;
        margin: 0.5em 0;
        color: #fff;
    }

    .feature-button, .feature-button-2 {
        order: 3;
        margin: 1em 0;
        padding: 0.5em 2em;
        font-size: 1rem;
        background-color: #000;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .feature-button:hover, .feature-button-2:hover {
        background-color: #333;
    }

    #quote-form-container {
        padding: 1em;
        margin: 0 auto;
    }

    #quote-form {
        background-color: #f4f4f4;
        padding: 1em;
        border-radius: 10px;
        max-width: 100%;
        margin: 0 auto;
    }

    #quote-form h2 {
        font-size: 1.5rem;
        margin-bottom: 1em;
        text-align: center;
    }

    .form-row {
        display: block;
        margin-bottom: 1em;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-bottom: 1em;
    }

    .form-group label, .form-group legend {
        margin-bottom: 0.5em;
        font-weight: bold;
    }

    .form-group input, .form-group textarea, .form-group fieldset {
        width: 100%;
        padding: 0.5em;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .form-group textarea {
        height: 80px;
        resize: vertical;
    }

    #find-us h2, #find-us h3 {
        font-size: 2rem;
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .map-container, .grid-image, .map-container iframe, .hero-logo-container img,
    .detailing-image, .feature-item img, .feature-item-2 img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
        margin: 1em 0;
        box-sizing: border-box;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .hero-text, .video-container {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-text {
        margin-bottom: 0;
    }

    .video-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 20px; /* Space below the video */
        padding: 10px; /* Padding around the video container */
        box-sizing: border-box;
        background-color: #f0f0f0; /* Optional: Background color for visibility */
        border-radius: 10px; /* Rounded corners for the video container */
    }

    .hero-video {
        width: 100%;
        height: auto;
    }

    .hero-video video {
        width: 100%;
        height: auto; /* Maintain aspect ratio */
        border-radius: 10px;
    }

    .feature-item, .feature-item-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 1em 0;
        text-align: center;
    }

    .feature-item, .feature-item-2 {
        margin-top: 20px; /* Space between video and images below */
    }

    .feature-text, .feature-text-2 {
        order: 2;
        padding: 1em 0;
        max-width: 90%;
        margin: 0 auto;
    }

    .feature-text h3, .feature-text-2 h3 {
        font-size: 1.5rem;
        margin: 0.5em 0;
        color: #fff;
    }

    .feature-text p, .feature-text-2 p {
        font-size: 1rem;
        margin: 0.5em 0;
        color: #fff;
    }

    .feature-button, .feature-button-2 {
        order: 3;
        margin: 1em 0;
        padding: 0.5em 2em;
        font-size: 1rem;
        background-color: #000;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .feature-button:hover, .feature-button-2:hover {
        background-color: #333;
    }

    #quote-form-container {
        padding: 1em;
        margin: 0 auto;
    }

    #quote-form {
        background-color: #f4f4f4;
        padding: 1em;
        border-radius: 10px;
        max-width: 100%;
        margin: 0 auto;
    }

    #quote-form h2 {
        font-size: 1.5rem;
        margin-bottom: 1em;
        text-align: center;
    }

    .form-row {
        display: block;
        margin-bottom: 1em;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-bottom: 1em;
    }

    .form-group label, .form-group legend {
        margin-bottom: 0.5em;
        font-weight: bold;
    }

    .form-group input, .form-group textarea, .form-group fieldset {
        width: 100%;
        padding: 0.5em;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .form-group textarea {
        height: 80px;
        resize: vertical;
    }

    #find-us h2, #find-us h3 {
        font-size: 2rem;
    }
}


