/* .marquee {
  display: flex;
  overflow: hidden;
  height: 10vh;
  user-select: none;
  gap: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 100%;
  animation: scroll 15s linear infinite reverse;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 2rem));
  }
}
@media only screen and (min-width: 360px) {
    .marquee__group span {
        font-size: 6.5vw;
    }
}
 */


        .marquee {
            display: flex;
            overflow: hidden;
            height: 10vh;
            user-select: none;
            gap: 2rem;
            padding-top: 1rem;
            padding-bottom: 1rem;
            white-space: nowrap;
            width: 100%;
            position: relative;
        }

        .marquee__group {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
            min-width: max-content; /* Ensures full content is shown */
            animation: scroll 15s linear infinite reverse;
        }

        .marquee__group span {
            display: flex;
            align-items: center;
            font-size: 5vw; /* Adjust font size for responsiveness */
        }

        @keyframes scroll {
            from {
                transform: translateX(0);
            }
            to {
                transform: translateX(calc(-100% - 2rem));
            }
        }

        /* Mobile responsiveness */
        @media only screen and (max-width: 360px) {
            .marquee__group span {
                font-size: 4vw;
            }
        }


/* General form styling */
.custom-wpform .wpforms-form input[type="text"],
.custom-wpform .wpforms-form input[type="email"],
.custom-wpform .wpforms-form input[type="tel"],
.custom-wpform .wpforms-form textarea,
.custom-wpform .wpforms-form select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease-in-out;
}

/* Add focus effect */
.custom-wpform .wpforms-form input:focus,
.custom-wpform .wpforms-form textarea:focus,
.custom-wpform .wpforms-form select:focus {
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

/* Adjust spacing for form fields */
.custom-wpform .wpforms-form .wpforms-field {
    margin-bottom: 15px;
}

/* Style the Submit button */
.custom-wpform .wpforms-form button[type="submit"] {
    background-color: #0073aa;
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

/* Hover effect for Submit button */
.custom-wpform .wpforms-form button[type="submit"]:hover {
    background-color: #005f87;
}

/* Add subtle shadow to form */
.custom-wpform .wpforms-form {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Style labels */
.custom-wpform .wpforms-form label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

/* Style the service area section */
.service-area {
    color: #333;
    padding: 30px 20px;
    background-color: #f9f9f9;
}


/* Add styling to the map section */
.service-map {
    margin-top: 20px;
    border: 4px solid #d4af37; /* Gold border */
    border-radius: 8px;
    overflow: hidden;
}

.service-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/*get a quote css  */
.quote-button {
    position: fixed;
    left: 0;
    bottom: 20px;
    background-color: #444;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    transition: background 0.3s;
}

.quote-button a {
    text-decoration: none;
    color: white;
}

/* popup maker */

/* Popup background */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* Popup content */
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Default font size for larger screens */
body {
  font-size: 18px;
}

h1 { font-size: 48px; }
h2 { font-size: 40px; }
h3 { font-size: 32px; }
h4 { font-size: 28px; }
h5 { font-size: 24px; }
h6 { font-size: 20px; }
p { font-size: 14px; }

/* Adjust font size for tablets (1024px and below) */
@media (max-width: 1024px) {
  body { font-size: 16px; }
  h1 { font-size: 40px; }
  h2 { font-size: 34px; }
  h3 { font-size: 28px; }
  h4 { font-size: 24px; }
  h5 { font-size: 20px; }
  h6 { font-size: 18px; }
  p { font-size: 14px; }
}

/* Adjust font size for mobile screens (768px and below) */
@media (max-width: 768px) {
  body { font-size: 14px; }
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }
  h5 { font-size: 18px; }
  h6 { font-size: 16px; }
  p { font-size: 12px; }
}

/* Ultra-small mobile screens (480px and below) */
@media (max-width: 480px) {
  body { font-size: 12px; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; }
  h5 { font-size: 16px; }
  h6 { font-size: 14px; }
  p { font-size: 11px; }
}


@media (min-width: 769px) {
    .call-now-btn {
        display: none;
    }
}

/*Footer column in services area  */

@media (min-width: 1024px) { /* For laptop screens and larger */
  #menu-services-area {
  column-count: 2;  /* Split into two columns */
    column-gap: 40px; /* Space between columns */
		text-align: left;
  }
}

@media (max-width: 1023px) { /* For tablets and mobile devices */
  #menu-services-area {
    display: block; /* One column layout */
  }
}

/*Services area  */
#services-paragraph a {
    color: black !important; /* Change this to your desired color */
    text-decoration: none; /* Optional: Removes underline */
}

#services-paragraph a:hover {
    color: #0073e6 !important; /* Change this to your desired hover color */
    text-decoration: underline; /* Optional: Adds underline on hover */
}
/* hover effect */
#menu-services-area li a:hover {
    color: #f4b400; /* Highlight color on hover */
}

/* Homepage the images dont have the same sizes */
.elementor-widget-image img {
   /* width: 150px;  Adjust as needed */
    /*height: 150px;  Uniform height */
    object-fit: contain; /* Keeps the image proportions */
    display: block;
    margin: auto;
}

.elementor-widget-image img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elementor-widget-image img:hover {
    transform: scale(1.1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

/* slider images our recent projects */

.swiper-slide img {
    width: 100%; /* Makes the image fill the container */
    height: 335px; /* Set a fixed height for consistency */
    object-fit: cover; /* Ensures images maintain aspect ratio while filling the container */
    border-radius: 5px; /* Optional: Keeps the rounded corners */
}

.site-primary-footer-wrap a,
.site-primary-footer-wrap li {
	font-size: 13px;
}
header .custom-logo-link img {
	width: 100% !important;
	max-width:  130px !important;
}

.site-above-footer-wrap, .site-below-footer-wrap {
padding-top: 0px !important; 
padding-bottom: 20px !important; 
}

/* Blog Card Custom Styling */
.ast-blog-single-element {
    border-radius: 10px; /* Rounded corners */
    padding: 20px;
  
}

.ast-blog-single-element:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    transition: all 0.3s ease-in-out;
}

/* Title Styling */
.entry-title {
		margin-top: 80px;
    font-size: 20px;
    font-weight: bold;
    color: #333; /* Dark text */
}

/* Author and Meta Info */
.ast-blog-meta-container {
    font-size: 14px;
    color: #777;
}


.ast-excerpt-container {
    display: -webkit-box;
    -webkit-line-clamp: 6; /* Limits to about 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Adds "..." at the end */
 
}


/* Read More Link */
.ast-blog-single-element .read-more-container {
    margin-top: 15px;
}

.ast-blog-single-element .read-more-container a {
    text-decoration: none;
    color: #0073aa; /* WordPress blue */
    font-weight: bold;
}

.ast-blog-single-element .read-more-container a:hover {
    color: #005177;
    text-decoration: underline;
}


