.bg-custom-pink {
    background-color: #f95353;
}

/* Popup open close blinking issue fixed */
html {
    overflow-y: scroll;
}

body.modal-open {
    padding-right: 0 !important;
}

/* Scroll Bar design */
::-webkit-scrollbar {
    width: 10px;
}

/* Track (background of scrollbar) */
::-webkit-scrollbar-track {
    background: #111;
    border-radius: 5px;
}

/* Thumb (scroll handle) */
::-webkit-scrollbar-thumb {
    background: #f953539e;
    border-radius: 5px;
}

/* Hover effect on thumb */
::-webkit-scrollbar-thumb:hover {
    background: #f95353;
}

/* Home Calculator Css */
.cost-calc-form_home {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    align-items: flex-end;
    max-width: 1050px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

.modal-header {
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

.cost-calc-group_home {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.cost-calc-group_home label {
    font-weight: bold;
    margin-bottom: 5px;
    color:#333;
}

.cost-calc-group_home input[type="number"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.cost-calc-form_home button {
    background-color: #111;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    height: 42px;
    align-self: flex-end;
}

.cost-calc-form_home button:hover {
    background-color: #f95353;
}

.cost-calc-result_home {
    margin-top: 20px;
    background: #e9f5e9;
    border: 1px solid #c5e1c5;
    padding: 15px;
    border-radius: 6px;
    font-size: 16px;
    max-width: 600px;
    margin: 20px auto;
}

/* Plot Calculator Css */
.cost-calc-form {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

.cost-calc-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.cost-calc-form input[type="number"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.cost-calc-form button {
    background-color:#f95353 ;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

.cost-calc-form button:hover {
    background-color: #f95353d4;
}

.cost-calc-result {
    margin-top: 20px;
    background: #e9f5e9;
    border: 1px solid #c5e1c5;
    padding: 15px;
    border-radius: 6px;
    font-size: 16px;
    max-width: 400px;
    margin: auto;
    color: #333;
    font-weight: 600;
}

.page-template-tpl-services .estimate_cost .section-full {
    padding: 0px !important;
}

/* No result in search bar */
.no-results {
    text-align: center;
    background-color: #f9f9f9;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    margin: 50px auto;
    max-width: 800px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.no-results p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.no-results a {
    color: #0073aa;
    text-decoration: underline;
}

.no-results a:hover {
    color: #005177;
}

.no-results form.search-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.no-results form.search-form input[type="search"] {
    flex: 1 1 auto;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    max-width: 300px;
}

.no-results form.search-form input[type="submit"] {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.no-results form.search-form input[type="submit"]:hover {
    background-color: #555;
}

.no-results label {
    margin-bottom:0px;
}

/* Requirement Checkbox */
.page-template-tpl-requirement input[type=checkbox], input[type=radio] {
    opacity: 1 !important;
}

.page-template-tpl-requirement .wpcf7-form textarea{ 
    width: 100% !important;
    height:70px;
}

/* Walker Menu */
.navbar-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}
.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown-toggle .nav-line-animation > li > a:after {
    opacity: 0;
}

.header-nav .nav > li .sub-menu li a:hover, .header-nav .nav > li .sub-menu li:hover > a {
    background:black;
}

.header-nav .nav > li.menu-item-has-children:before, .nav-line-animation > li.menu-item-has-children > a:after {
    display: none;
}

span.wpcf7-form-control.wpcf7-radio.form-check-input {
    font-size: 18px;
    border:0px;
}

.modal-body {
    font-size: 17px;
    color: #333;
}

.btn-primary {
    background-color: #f95353;
    border-color: #f95353;
}

.btn-primary:hover {
    background-color: #f16b6b;
    border-color: #f16b6b;
}

.custom_btn {
    text-align: center;
}

/* Blog Post Pagination Css */
ul.custom-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin-top: -50px;
    clear: both; /* ✅ Fixes float overlap */
    z-index: 2;
    position: relative;
}

ul.custom-pagination li a,
ul.custom-pagination li span {
    display: inline-block;
    padding: 10px 16px;
    background: #f2f2f2;
    color: #333;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul.custom-pagination li a:hover {
    background: #111;
    color: #fff;
}

ul.custom-pagination li .current {
    background: #111;
    color: #fff;
    font-weight: 600;
}

.fp_feature div {
    padding-bottom: 10px;
}

.fp_feature .feature {
    min-height: 60px;
}


/* Design Process Css */
.circle-process-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.circle-step {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  padding: 30px 20px;
  width: 260px;
  text-align: center;
  position: relative;
  animation: fadeInUp 0.7s ease both;
  transition: transform 0.3s ease;
}

.circle-step:hover {
  transform: translateY(-5px);
}

.circle-number {
  width: 60px;
  height: 60px;
  background: #f95353;
  color: #fff;
  font-size: 24px;
  line-height: 60px;
  font-weight: bold;
  border-radius: 50%;
  margin: 0 auto 15px;
  position: relative;
  animation: scaleIn 0.5s ease forwards;
}

.circle-step h4 {
  margin: 10px 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.circle-step p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Elevation Design CSS */
.horizontal-accordion-wrapper {
    max-width: 100%;
    margin: 40px auto;
    padding: 0 15px;
}

.horizontal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.elevation-tab-btn, .interior-tab-btn, .project-tab-btn {
    padding: 10px 20px;
    background: #eee;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    border-radius: 5px;
}

.elevation-tab-btn.active, .interior-tab-btn.active, .project-tab-btn.active {
    background: #f95353;
    color: #fff;
}

.elevation-tab-content, .interior-tab-content, .project-tab-content {
    display: none;
}

.elevation-tab-content.active, .interior-tab-content.active, .project-tab-content.active {
    display: block;
}

.grid-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px 0;
}

.horizontal-slide {
    width: 100%;
    position: relative;
    transition: box-shadow 0.3s;
}

.slide-image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.slide-image img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: rgba(255, 255, 255, 0.75);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
    border-radius: 6px;
}

.slide-image:hover .slide-overlay {
    opacity: 1;
}

.slide-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    text-align: center;
    padding: 10px;
    font-family: 'Martel', serif;
}

/* Home & Service Popup form  */
.modal-body.custom_popup {
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Our Achievements */
.achievements-section {
  background-color: #f95353;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.achievements-section .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.achievement-box {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.achievement-box:hover {
  transform: translateY(-5px);
}

.achievement-box .icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #007BFF; /* Change to your theme color */
}

.achievement-box h3 {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.achievement-box h4 {
  font-size: 20px;
  margin: 10px 0;
  color: #555;
}

.achievement-box p {
  font-size: 14px;
  line-height: 1.5;
  color: #777;
}

.basic_template p {
    font-size: 16px;
    line-height: 30px;
}

/* Video Popup */
#video-popup {
    max-width: 60%;
    max-height: 60%;
    width: 400px;
    margin: 0 auto;
    position: relative;
    background: #000;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

#video-popup video {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.mfp-close-btn-in .mfp-close {
    color: #fff !important;
    background: #dd3333 !important;
}

.page-template-tpl-blogs .blog-post img {
    height: 250px;
}

@media screen and (max-width: 991px) {
    .grid-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive */
@media (max-width: 768px) {
  .circle-process-wrapper {
    flex-direction: column;
    align-items: center;
  }
}


@media screen and (max-width: 600px) {
    .grid-slider {
        grid-template-columns: 1fr;
    }
}