/* Optimized custom.css */
@charset "UTF-8";
/*@import url("bootstrap.min.css");*/
@font-face {
font-family: "MyFont";
src: url("font.woff2") format("woff2");
font-display: swap;
}
/*@font-face {
    font-family: 'TahomaCustom';
    src: url('assets/tahoma.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}*/

/* General Styles */
body {
background-color: #efefef;
background-image: radial-gradient(
rgba(255, 255, 255, 0.16) 0,
rgba(255, 255, 255, 0.16) 15%,
transparent 16%
),
radial-gradient(
rgba(255, 255, 255, 0.36) 0,
rgba(255, 255, 255, 0.71) 15%,
transparent 16%
);
background-size: 20px 20px, 10px 10px;
background-position: 0 0, 60px 30px;
background-repeat: repeat;
color: #444;
font-family: "Tahoma", sans-serif;
/*font-family: 'TahomaCustom', sans-serif;*/
font-size: 13pt;
line-height: 1.65em;
padding: 0;
margin: 0;
}


.al-left {
text-align: left;
}
.al-centr {
text-align: center;
align-items: center;
}
.al-right {
text-align: right;
align-items: center;
}
a {
color: #6596d3;
text-decoration: none;
}

a:hover {
color: #414f7b;
text-decoration: none;
}

p {
margin-bottom: 2em;
}

.wrapper {
padding: 8em 0 6em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #474747;
font-weight: 700;
line-height: 2em;
margin-bottom: 1em;
}
h2 {
font-size: 1.75em;
}
h3 {
font-size: 1.35em;
}
h4 {
font-size: 1.1em;
}
h5 {
font-size: 0.9em;
}
h6 {
font-size: 0.7em;
}

/*---------------Standard Button ------------------*/
.BtnSubmitTop {
font-size: 18px;
color: #fff;
background: #6596d3;
border-radius: 25px;
border: solid 1px #6596d3;
padding: 10px 45px;
margin: 0 10px 0 10px;
text-decoration: none;
}
.BtnSubmitTop {
transition: background 0.3s ease, border 0.3s ease;
}
.BtnSubmitTop:hover {
background: #414f7b;
border: solid 1px #414f7b;
color: #fff;
}

/*---------------END: Standard Button ------------------*/

/* ----------------Button white border light-blue background---------------------- */
#phone-number a {
border: 1px solid #fff;
background: #6596d3;
}

#phone-number a:hover {
border: 1px solid #1f2741;
background: #1f2741;
}
#phone-number a.button.special.custom:hover {
border: 1px solid #212943;
background-color: transparent;
}
/*------------------END: Button white border light-blue background------*/

/*-------------- Main styles of titles in the all docs-----------*/
img#logo{
    max-width:184px;
    max-height:75px;
}
#blue {
color: #6596d3;
}
#title-in p,
#banner p {
font-size: 22px;
letter-spacing: 2px;
}
#title-in h2,
#banner h1 {
font-size: 42px;
line-height: 48px;
}
#title-in h3,
#banner h3 {
font-size: 16px;
font-weight: 100;
}
#title-in h3 {
letter-spacing: 12px;
}
/*-------------- END: Main styles of titles in the whole doc-----------*/

/*----------------------------  Header -------------- */
#header {
background: linear-gradient(to bottom, #3f4f7d, #202842);
color: white;
height: 6em;
line-height: 6em;
width: 100%;
left: 0;
top: 0;
position: fixed;
z-index: 101;
}

/* Logo */
#logo {
color: #ffffff;
height: inherit;
left: 7em;
line-height: inherit;
margin: 0;
padding-bottom: 15px;
}

/* Navigation */
.nav-links {
display: flex;
align-items: center;
margin-left: auto;
}

.nav-links ul {
list-style: none;
display: flex;
margin: 0;
padding: 0;
}

.nav-links ul li {
margin-left: 2em;
}

.nav-links ul li a {
text-decoration: none;
color: #cdced0;
transition: color 0.3s;
}

.nav-links ul li a:hover {
color: #6596d3;
}

.nav-links a.active {
font-weight: bold;
border-bottom: 2px solid #6596d3;
}
/* Burger Menu */
.menu-toggle {
display: none;
}

.menu-icon {
display: none;
flex-direction: column;
cursor: pointer;
width: 30px;
height: 25px;
justify-content: space-between;
}

.menu-icon span {
display: block;
height: 4px;
width: 100%;
background: white;
border-radius: 2px;
transition: 0.3s;
}

/* Phone Number Section (Now Inside Header) */

/* Responsive for Mobile */
@media screen and (max-width: 1024px) {
.nav-links {
display: none;
position: absolute;
top: 6em;
left: 0;
width: 100%;
background: #202842;
flex-direction: column;
padding: 10px 0;
}

.nav-links ul {
flex-direction: column;
text-align: center;
width: 100%;
}

.nav-links ul li {
margin: 10px 0;
}

.menu-icon {
display: flex;
}

/* Show Menu when Checked */
.menu-toggle:checked ~ .nav-links {
display: flex;
flex-direction: column;
position: absolute;
background: #202842;
width: 100%;
left: 0;
top: 6em;
padding: 15px 0;
transition: all 0.3s ease-in-out;
}
/* Animate Burger */
.menu-toggle:checked + .menu-icon span:nth-child(1) {
transform: translateY(10px) rotate(45deg);
}

.menu-toggle:checked + .menu-icon span:nth-child(2) {
opacity: 0;
}

.menu-toggle:checked + .menu-icon span:nth-child(3) {
transform: translateY(-10px) rotate(-45deg);
}

/*------------------ Phone Number Link ------------------*/
#phone-number .phone-content {
flex-direction: column;
gap: 5px;
display: flex;
justify-content: center;
align-items: center;
color: white;
}
}

#phone-number {
margin-top: -77px;
width: 100%;
position: fixed;
text-align: center;
font-size: 0.9em;
padding: 8px 0;
text-align: right;
color: #fff;
background-color: #6596d3; /* Blue Background */
font-size: 1.25em;
z-index: 1000;
}
/* Mobile View: Stack on top */
@media (max-width: 1024px) {
#phone-number .row {
flex-direction: column;
text-align: center;
}
#phone-number {
font-size: 1em;
}
.text-lg-end {
text-align: center !important;
}
.text-lg-start {
text-align: center !important;
}
}
/*------------------ END: Phone Number Link ------------------*/
/*----------------------------  END: Header -------------- */

/*----------------------------  First Banner ---------------------------- */
#banner {
  background: url("../images/main-background.jpg") center center / cover no-repeat;
  text-align: center;
  position: relative;
  color: white;
  min-height: 700px;
}

/* Mobile: Change Background for Small Screens */
@media screen and (max-width: 768px) {
  #banner {
    background: url("../images/main-backgroundmobile.webp") center center / cover no-repeat;
  }
}

#banner, #bottom-banner {
position: relative;
margin-top: 180px;
background-color: #202842; /* Fallback color */
color: white;
text-align: center;
min-height: 700px;
}


#banner::before, #bottom-banner::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, #3f4f7d, #202842);
opacity: 0.9;
}
.bottom{
    background: url(../images/main-background.jpg);
    margin-top: 0!important;
}
#banner h1,
#banner p,
#banner h2,
#banner h3,
form {
position: relative;
z-index: 2;
}
#banner h1,
#banner h3,
#bottom-banner h1,
#bottom-banner h2,
#bottom-banner h3  {
color: #fff;
}

#banner h2,
#banner form h2,
#banner form h3,
#banner form p,
#bottom-banner form h2,
#bottom-banner form h3,
#bottom-banner form p{
color: #3c3c3c;
}

/*---------------------------- END: First Banner ---------------------------- */
/*------------------ Form ------------------*/
/* Form container */
form {
padding: 50px;
border: 1px solid #daa300;
border-radius: 20px;
background: linear-gradient(to bottom, #ffc956, #ffbb39);
max-width: 450px;
width: 90%;
text-align: left;
}

/* Form headings */
form h2 {
color: #3c3c3c;
font-size: 32px;
line-height: 38px;
}

form h3 {
color: #3c3c3c;
font-weight: 300;
font-size: 15px;
line-height: 20px;
}

form p {
color: #3c3c3c;
font-size: 18px;
letter-spacing: 0;
}
@media (max-width: 768px) {
form {
width: 90%; /* Make sure it's not too wide */
margin: 0 auto; /* Center it */
text-align: center; /* Center the text inside */
display: flex;
flex-direction: column;
align-items: center;
}

form input,
form textarea {
width: 100%; /* Ensure input fields stretch properly */
max-width: 400px;
}
}

/* Label styles */
label {
color: #474747;
display: block;
font-size: 0.9em;
font-weight: 700;
}

/* Input and Textarea Styles */
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
-moz-appearance: none;
-webkit-appearance: none;
-o-appearance: none;
-ms-appearance: none;
appearance: none;
background: #fff;
border-radius: 10px;
border: 1px solid #daa300;
color: #3c3c3c; /* Updated text color */
display: block;
outline: none;
margin: 4px 0;
padding: 10px;
width: 100%;
font-size: 16px; /* Optional: Adjust readability */
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Placeholder Text Color */
input::placeholder,
textarea::placeholder {
color: #888888; /* Lighter placeholder for better visibility */
}

/* Focused Input Field */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
border-color: #daa300;
box-shadow: 0 0 5px rgba(218, 163, 0, 0.5);
color: #3c3c3c; /* Ensure focus text color remains consistent */
}

/* Focused field (keeps normal border color) */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
border-color: #daa300;
box-shadow: 0 0 5px rgba(218, 163, 0, 0.5);
}

/* Wrapper for select */
.select-wrapper {
display: block;
position: relative;
}

/*------------------END:  Form ------------------*/

/* Don't-delete */
#phone-number2 {
text-align: center;
color: #fff;
background-color: #6596d3;
font-size: 1.25em;
padding: 120px 0 14px 0;
z-index: 1000;
}
/* END: Don't-delete */

/* ------------------About Section ------------------*/
#about {
background: linear-gradient(to bottom, #202842, #3f4f7d);
padding: 50px 0;
color: white;
width: 100%;
display: block;
position: relative;
text-align: left;
margin-bottom:-1px;
}
.sp-heading {
font-size: 18px;
line-height: 15px;
letter-spacing: 8px;
font-weight: 200;
text-transform: uppercase;
color: #fff;
}

#about h2,
#about h3,
#about h4 {
color: #fff;
}
#about h4 {
font-size: 40px;
}

/* Ensure the container stretches */
#about .container {
max-width: 1200px;
width: 100%;
padding-left: 8%;
padding-right: 8%;
}

/*---Youtube section---*/

.about-right {
magin-left: 15%;
magin-right: 15%;
}

.youtube-video {
position: relative;
width: 100%;
height: 80%;
max-width: 100%;
cursor: pointer;
z-index: 100;
margin-bottom: -68%;
}

.youtube-thumbnail {
width: 100%;
height: auto;
display: block;
border-radius: 8px;
border: solid 15px #b6b5b5;
}
/* Preview Image (Initially Visible) */
.youtube-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: solid 15px #b6b5b5;
    z-index: -1; /* Above the video */
    cursor: pointer;
}

/* Hide Preview & Button When Video is Playing */
.youtube-thumbnail:has([controls]:not([paused])) + .youtube-preview, {
    display: none;
}

/* Image Styling */
.img-fluid {
width: 100%;
height: auto;
border-radius: 10px;
position: relative;
z-index: 99;
}
/*---END: Youtube section---*/
/* ---------END: About Section ---------*/
/* --------- How Does It Work Section --------- */

/*---wave separator----*/

#how-does-it-work,
#how-does-it-work2 {
position: relative;
}
#how-does-it-work{
    padding: 0;
}


#how-does-it-work2 {
padding-bottom: 150px;
background-image: url("../images/road.webp");
background-repeat: repeat-y;
background-position: center;

z-index: -1;
}

/* Default styling for the van */
#van {
position: sticky;
left: 45%;
top: 40%;
width: 150px;
z-index: 1;
margin-top: -190px;
}

#house2 {
margin-top: -310px;
z-index: 20;
}

#house2 #house1 {
order: 2;
}

#van #road {
order: -1;
}
@media (max-width: 1024px) {
#house-container {
position: relative; /* Ensures houses are positioned inside */
width: 100%;
overflow: hidden; /* This hides anything outside the container */
}

#house1,
#house2 {
position: absolute;
width: 420px; /* Adjust as needed */
box-sizing: border-box;
}

#house1 {
margin-right: 0;
margin-left: auto;
left: 0; /* Ensures it aligns to the left */
}

#house2 {
margin-right: auto;
margin-left: 0;
right: 0;
}
}

.margin-right {
margin-right: 25%;
margin-left: 5%;
}

.margin-left {
margin-left: 25%;
margin-right: 5%;
}

/* Tablet & Mobile Adjustments */
@media (max-width: 1024px) {
#van {
left: 80%;
top: 55%;
width: 100px;
height: auto;
margin-top: -110px;
transform: translateY(-50%);
}

#how-does-it-work2 {
background-position: right;
}

.margin-right {
margin-right: 38%;
}

.margin-left {
margin-left: 0%;
margin-right: 38%;
}
}

@media (max-width: 768px) {
.margin-left {
margin-left: 0%;
}
}

/* --------- END: How Does It Work Section --------- */

/* --------- About Section --------- */

#about2 {
background-color: #fff;
padding: 0;
margin: 0;
}
.margin-b {
padding: 70px 20px;
}

/* Background Image with Overlay */
.background-overlay {
background-image: url("../images/11.jpg"); /* Adjust your background */
background-size: cover;
background-position: center;
position: relative;
height: 100%;
min-height: 600px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column; /* Align content vertically */
}

/* Dark Overlay Effect */
.background-overlay::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, #3f4f7d, #202842);
opacity: 0.9;
}

/* Text Content on Overlay */
.overlay-content {
position: relative;
z-index: 2;
color: white;
text-align: center;
width: 80%;
}

/* Experience Box Styling */
.experience-box {
background: rgba(255, 255, 255, 0.2);
padding: 20px;
border-radius: 8px;
text-align: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
width: 90%;
margin-top: auto; /* Push to bottom */
margin-bottom: -150px;
}

.experience-box .impresome-icon-box-wrapper {
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
}

.experience-box .impresome-icon-box-icon {
font-size: 36px;
color: #fff;
background: #3f4f7d;
padding: 10px;
border-radius: 50%;
}

.experience-box h3 {
font-size: 18px;
color: #fff;
font-weight: bold;
margin-bottom: 5px;
}

.experience-box p {
font-size: 14px;
color: #eee;
}

/* Icon Boxes Grid */
.icon-boxes {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-top: 30px;
}

/* Individual Icon Box */
.icon-box {
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
.icon-boxes {
grid-template-columns: 1fr; /* Stack icons in one column on mobile */
}

.experience-box {
width: 100%;
}
}

/* ------------------ Why choose us ------------------*/

.testimonial-box {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
.testimonial-img {
width: 60px;
height: 60px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 10px;
}
.testimonial-logo {
width: 50px;
margin-top: 10px;
}
.yellow {
color: #ffcc00;
font-size: 18px;
margin: 10px 0;
}

/* ------------------END: Why choose us ------------------*/

/* ------------------ Blog ------------------*/
#latest-articles {
background: url(../images/main-background.jpg) center center / cover;
color: white;
position: relative;
padding: 60px 0;
}
/* Dark Overlay */
#latest-articles::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, #3f4f7d, #202842);
opacity: 0.9;
}

#latest-articles #title-in h2,
#latest-articles #title-in h3,
#latest-articles #title-in p {
position: relative;
z-index: 2;
color: white;
}

/* Article Card */
.article-card {
background: white;
border-radius: 10px;
overflow: hidden;
transition: transform 0.3s ease-in-out;
}

.article-card:hover {
transform: scale(1.05);
}

/* Article Image */
.article-image {
width: 100%;
height: auto;
}

/* Article Content */
.article-content {
padding: 20px;
text-align: center;
color: black;
}

.article-content h3 {
font-size: 18px;
font-weight: bold;
}

.article-content p {
font-size: 14px;
margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
.article-card {
margin-bottom: 20px;
}

.article-content {
padding: 15px;
}
}

/* --------- END: Blog ---------*/
/* --------- Moving Tips Section ---------  */
#moving-tips {
position: relative;
padding: 60px 0;
margin-top: -50px;
}
/* Bottom Wave Divider - Flipped */
.wave-divider {
position: absolute;
bottom: 0;
width: 100%;
overflow: hidden;
line-height: 0;
transform: scaleY(-1) scaleX(-1); /* Flip the wave vertically */
}

.wave-divider svg {
width: 100%;
height: 160px;
display: block;
}
.wave-path {
fill: #414f7b;
}

#moving-tips #how-does-it-work2 {
margin-bottom: -50px;
}
@media (max-width: 768px) {
#moving-tips #how-does-it-work2 .margin-left {
margin-left: -16%;
margin-bottom: 5%;
}
}
/* Responsive Design */
@media (max-width: 768px) {
.moving-van {
margin-top: 20px;
}

#moving-tips h2 {
font-size: 1.5rem;
}
}

/* ---------  END: Moving Tips Section ---------  */

/* -------------- Horizontal Carousel by 1 image ------ */
.slider-wrapper-horizontal {
width: 80%;
max-width: 900px;
height: 500px; /* Ensures only one image is visible */
overflow: hidden;
position: relative;
margin: auto;
}

.slider-horizontal {
display: flex;
animation: slideHorizontal 16s infinite ease-in-out;
width: 100%; /* Enough to fit all images in a row */
}

.slider-horizontal img {
width: 100%;
height: 500px; /* Matches wrapper height */
border-radius: 15px; /* Rounded corners */
object-fit: cover;
flex-shrink: 0;
}

/* Keyframes for horizontal sliding - Moves exactly 1 image */
@keyframes slideHorizontal {
0% {
transform: translateX(0%);
}
20% {
transform: translateX(-100%);
}
40% {
transform: translateX(-200%);
}
60% {
transform: translateX(-300%);
}
80% {
transform: translateX(-400%);
}
100% {
transform: translateX(0%);
}
}

.slider-horizontal {
animation: slideHorizontal 16s infinite;
}

/*-----------------END: Horizontal Carousel by 1 image ------*/

/* --------- Horizontal Carousel by 3 images Section --------- */
#image-carousel {
background: #f8f9fa;
padding: 50px 0;
}

/* Carousel Container */
.carousel-container {
width: 80%;
max-width: 900px;
overflow: hidden;
margin: auto;
position: relative;
}

/* Carousel Track */
.carousel-track {
display: flex;
width: 100%;
animation: slide 10s infinite linear;
}

/* Individual Slide */
.carousel-slide {
flex: 0 0 33.33%; /* 3 images per slide */
padding: 0 10px;
text-align: center;
}

.carousel-slide img {
    width: 100%;  /* Ensures the image scales to fit the container */
    height: auto; /* Maintains the aspect ratio */
    max-width: 660px; /* Prevents the image from exceeding its original size */
    max-height: 500px;
    object-fit: cover; /* Ensures images look good and fill the space */
}

/* Keyframes for Animation */
@keyframes slide {
0%,
20% {
transform: translateX(0%);
}
25%,
45% {
transform: translateX(-33.33%);
}
50%,
70% {
transform: translateX(-66.66%);
}
75%,
95% {
transform: translateX(-100%);
}
100% {
transform: translateX(0%);
}
}

/* Responsive for Mobile & Tablet */
@media (max-width: 768px) {
.carousel-slide {
flex: 0 0 100%; /* Show only 1 image per slide */
}

@keyframes slide {
0%,
20% {
transform: translateX(0%);
}
25%,
45% {
transform: translateX(-100%);
}
50%,
70% {
transform: translateX(-200%);
}
75%,
95% {
transform: translateX(-300%);
}
100% {
transform: translateX(0%);
}
}
}
/* --------- END : Carousel Section --------- */
/* --------- Footer Styles --------- */
#footer {
background-color: #202842;
color: white;
padding: 50px 0;
text-align: center;
}

#banner h2,
#banner #title-in h3,
#banner #title-in p {
color: #fff;
}

/* Footer Logo */
.footer-logo {
width: 180px;
margin-bottom: 10px;
}
/* Footer Tagline */
.footer-tagline {
font-size: 14px;
font-style: italic;
margin-top: 10px;
}

/* Footer Links */
.footer-links {
list-style: none;
padding: 0;
}

.footer-links li {
margin-bottom: 8px;
}

.footer-links a {
color: #fff;
text-decoration: none;
transition: 0.3s ease-in-out;
}

.footer-links a:hover {
color: #6596d3;
}

/* Footer Divider */
.footer-divider {
border-top: 1px solid #ffffff33;
margin-top: 30px;
}

/* Copyright */
#footer p {
font-size: 14px;
color: #bbb;
}

#footer a {
color: #6596d3;
text-decoration: none;
}

#footer a:hover {
text-decoration: underline;
}

#footer h4 {
color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
.footer-links {
text-align: center;
}
}
/* ---------  END: Footer Styles --------- */