body {
    font-family: 'Arial', sans-serif;
    color: #333;
}

.navbar {
    background-color: #343a40; /* Dark background */
}

h1 {
    font-weight: bold;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    color: #fff;
    transition: color 0.3s, background-color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
    background-color: #495057; /* Slightly lighter background on hover */
    border-radius: 5px;
}

.navbar-nav .nav-link.active {
    color: #007bff;
    font-weight: bold;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.section {
    padding: 60px 0;
}

.section.bg-light {
    background-color: #f9f9f9;
}

.section h1 {
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.section img {
    border-radius: 5px;
}

.section ul {
    list-style-type: none;
    padding: 0;
}

.section ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer {
    background-color: #343a40;
    color: #ffffff;
    padding: 20px 0;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.contact ul {
    list-style-type: none;
    padding: 0;
}

.contact ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact ul li i {
    margin-right: 10px;
}

.contact form .form-control {
    margin-bottom: 15px;
}

.contact form button {
    background-color: #007bff;
    border-color: #007bff;
}

.contact form button:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.text-backdrop {
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    color: #fff; /* White text color */
    border-radius: 10px; /* Optional: rounded corners */
    padding: 1.5rem; /* Optional: padding for spacing */
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translate(0, 10vh);
    transition: all 1s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Window tint preview */
.tint-preview-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 100%;
}

.tint-preview-container img {
    display: block;
    width: 100%;
    height: auto;
}

.tint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
    pointer-events: none; /* Prevents interactions with the overlay */
    transition: background 0.3s ease;
}

#car-window {
    z-index: 2;
    position: relative;
}

/* Custom styles to override Bootstrap and style the range input and labels */
input[type="range"] {
    width: 100%;
    appearance: none;
    background: transparent;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    animate: 0.2s;
    background: #ddd;
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}

input[type="range"]::-webkit-slider-thumb {
    border: 1px solid #000000;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -5px;
}

input[type="range"]:focus::-webkit-slider-runnable-track {
    background: #ccc;
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    animate: 0.2s;
    background: #ddd;
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}

input[type="range"]::-moz-range-thumb {
    border: 1px solid #000000;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

input[type="range"]::-ms-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type="range"]::-ms-fill-lower {
    background: #777;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
}

input[type="range"]::-ms-fill-upper {
    background: #ddd;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
}

input[type="range"]::-ms-thumb {
    border: 1px solid #000000;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

input[type="range"]:focus::-ms-fill-lower {
    background: #888;
}

input[type="range"]:focus::-ms-fill-upper {
    background: #ccc;
}

/* Custom label styles */
.range-labels {
    position: relative;
    width: 100%;
    margin-top: -10px; /* Adjust this value to move the labels closer or farther from the slider */
}

.range-labels span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: #333;
}

.range-labels span:nth-child(1) {
    left: 0%;
}

.range-labels span:nth-child(2) {
    left: 33.33%;
}

.range-labels span:nth-child(3) {
    left: 66.66%;
}

.range-labels span:nth-child(4) {
    left: 100%;
}

/* About Us Section */
#about {
    background-color: #f9f9f9;
}

#about h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

#about p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

#about img {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

#about ul {
    list-style: none;
    padding: 0;
}

#about ul li {
    font-size: 1.1rem;
    color: #333;
    display: flex;
    align-items: center;
}

#about ul li i {
    color: #007bff;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Instagram Section */
.instagram-card {
    position: relative;
    overflow: hidden;
}

.instagram-img {
    transition: transform 0.3s ease;
}

.instagram-link:hover .instagram-img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
}

.instagram-link:hover .instagram-overlay {
    opacity: 1;
}

.instagram-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.instagram-content {
    text-align: center;
}

.instagram-content h5 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

.instagram-content p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.instagram-tags span {
    display: inline-block;
    font-size: 0.8rem;
    margin-right: 5px;
    color: #E0F1FF;
}

#home .overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity for desired darkness */
}