/*
Template Name: Front Page
Theme Name:   popularfx-Child
Theme URI:    https://rgpropertydevelopers.com/popularfx-child/
Description:  popularfx Theme
Author:       premkumar
Author URI:   http://example.com
Template:     popularfx
Version:      1.0.0
*/

.site .site-header{
  position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensures the header stays on top of other content */
    background-color: #fff; /* Background color to prevent content from showing through */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
}


.scroll-top {
    position: fixed;
    
  
    right: 15px;
    bottom: -5px;
    z-index: 99999;
    background-color: #f5a100;
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
  }
  
  .scroll-top i {
    font-size: 24px;
    color: #000;
    line-height: 0;
  }
  
  .scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
  }
  
  .scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
  }
  
  
  .hero {
      height: 100vh;
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  .section {
      padding: 60px 0;
  }
  


  .text-white {
      color: #fff;
  }
  
  .services {
      padding: 60px 0;
      background: #f7f1e0;
    }
    
    .services .service-item {
      padding: 40px;
      background: #cbd7c1;
      height: 100%;
      border-radius: 10px;
    }
    
    .services .service-item .icon {
      width: 48px;
      height: 48px;
      position: relative;
      margin-bottom: 50px;
    }
    
    .services .service-item .icon i {
      color: #cbd7c1;
      font-size: 56px;
      transition: ease-in-out 0.3s;
      z-index: 2;
      position: relative;
    }
    
    .services .service-item .icon:before {
      position: absolute;
      content: "";
      height: 100%;
      width: 100%;
      background: #cbd7c1;
      border-radius: 50px;
      z-index: 1;
      top: 10px;
      right: -20px;
      transition: 0.3s;
    }
    
    .services .service-item h3 {
      color: #000000;
      font-weight: 700;
      margin: 0 0 20px 0;
      padding-bottom: 8px;
      font-size: 22px;
      position: relative;
      display: inline-block;
      border-bottom: 4px solid #000000;
      transition: 0.3s;
    }
    
    .services .service-item p {
      line-height: 24px;
      font-size: 14px;
      margin-bottom: 0;
    }
    
    .services .service-item .readmore {
      margin-top: 15px;
      display: inline-block;
      color: var(--color-primary);
    }
    
    .services .service-item:hover .icon:before {
      background: #cbd7c1;
    }
    
    .services .service-item:hover h3 {
      border-color: #000000;
    }
  
    .image-section {
      padding: 60px 0;
      text-align: center;
  }
  
  .horizontal-images {
      padding: 60px 0;
      text-align: center;
  }
  
  .img-fluid {
      max-width: 100%;
      height: auto;
  }
  
  
  
  .portfolio .portfolio-filters {
      padding: 0 0 20px 0;
      margin: 0 auto;
      list-style: none;
      text-align: center;
      background: #f7f1e0;
    }
    
    .portfolio .portfolio-filters li {
      cursor: pointer;
      display: inline-block;
      padding: 0;
      font-size: 18px;
      font-weight: 500;
      margin: 0 10px;
      line-height: 1;
      transition: all 0.3s ease-in-out;
    }
    
    .portfolio .portfolio-filters li:hover,
    .portfolio .portfolio-filters li.filter-active {
      color: var(--accent-color);
    }
    
    .portfolio .portfolio-filters li:first-child {
      margin-left: 0;
    }
    
    .portfolio .portfolio-filters li:last-child {
      margin-right: 0;
    }
    
    @media (max-width: 575px) {
      .portfolio .portfolio-filters li {
        font-size: 14px;
        margin: 0 5px;
      }
    }
    
    .portfolio .portfolio-content {
      background-color: var(--surface-color);
      box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
      height: 100%;
      overflow: hidden;
    }
    
    .portfolio .portfolio-content img {
      transition: 0.3s;
      position: relative;
      z-index: 1;
    
    }
    .portfolio .portfolio-item {
      flex: 0 0 16.66%; /* Six items per row */
      max-width: 16.66%; /* Six items per row */
    }
    
    .portfolio .portfolio-item img {
      width: 100%;
      height: auto;
    }
    
    @media (max-width: 992px) {
      .portfolio .portfolio-item {
        flex: 0 0 33.33%; /* Three items per row for medium devices */
        max-width: 33.33%;
      }
    }
    
    @media (max-width: 768px) {
      .portfolio .portfolio-item {
        flex: 0 0 50%; /* Two items per row for small devices */
        max-width: 50%;
      }
    }
    
    @media (max-width: 576px) {
      .portfolio .portfolio-item {
        flex: 0 0 50%; /* Two items per row for extra small devices */
        max-width: 50%;
      }
    }
    
    .portfolio .portfolio-content .portfolio-info {
      background-color: var(--background-color);
      border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
      padding: 25px 20px;
      position: relative;
      z-index: 2;
    }
    
    .portfolio .portfolio-content .portfolio-info h4 {
      font-size: 18px;
      font-weight: 600;
      padding-right: 50px;
    }
    
    .portfolio .portfolio-content .portfolio-info h4 a {
      color: var(--heading-color);
      transition: 0.3s;
    }
    
    .portfolio .portfolio-content .portfolio-info h4 a:hover {
      color: var(--accent-color);
    }
    
    .portfolio .portfolio-content .portfolio-info p {
      color: color-mix(in srgb, var(--default-color), transparent 30%);
      font-size: 10px;
      margin-bottom: 0;
     text-align: center;
    }
    
    .portfolio .portfolio-content:hover img {
      transform: scale(1.1);
    }
  
    .complex-layout {
      background: #f7f1e0;
    }
  
    .complex-layout .top-content {
      margin-bottom: 30px;
  }
  
  .complex-layout .below-content img {
      margin-top: 15px;
  }
  
  .complex-layout1 {
    background: #f7f1e0;
  }
  
  .complex-layout1 .top-content {
    margin-bottom: 30px;
  }
  
  .complex-layout1 .below-content img {
    margin-top: 15px;
  }
  .complex-layout1 .top-content h2{
    color: #3f6434;
  }
  .complex-layout1 .top-content p{
    color: #3f6434;;
  }
  .complex-layout1 .top-content p strong{
    color: #3f6434;;
  }
  
  .complex-layout1 .top-content ul {
    list-style: none;
    padding: 0;
  }
  
  .complex-layout1 .top-content ul li {
    padding: 0 0 10px 30px;
    position: relative;
  }
  
  .complex-layout1 .top-content ul i {
    position: absolute;
    font-size: 20px;
    left: 0;
    top: -3px;
    color: #f5a100;
  }
  
  .horizontal-line {
    border-top: 4px solid #3f6434; /* Adjust color as needed */
    border-radius: 4px;
    width: 100%;
    margin-top: 20px;
  }
  
  .complex-layout1 .top-content p strong{
    color: #3f6434;;
  }
  .complex-layout2 {
    background: #f7f1e0;
  }
  .complex-layout2 .secound-col ul {
    list-style: none;
    padding: 20px;
    background: #cbd7c1;
  
    border-bottom: 4px solid #3f6434;
  }
  
  .complex-layout2 .secound-col ul li {
    padding: 0 0 10px 30px;
    position: relative;
  }
  
  .complex-layout2 .secound-col ul i {
    position: absolute;
    font-size: 20px;
    left: 0;
    top: -3px;
    color: #f5a100;
  }
  
   .info-item+.info-item {
    margin-top: 40px;
  }
  
  .info-item i {
    color: var(--contrast-color);
    background: #f5a100;
    font-size: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
  }
  
  .info-item h3 {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
  }
  
   .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
  }
  
  
  
  .contact-form {
  /*  background-color: #f8f9fa;  *//* Light grey background color */
    padding: 10px;
    border-radius: 5px;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    background-color: #ffffff; /* White background color for input fields */
    border: 1px solid #ced4da;
    padding: 10px;
    width: 100%;
   
    margin-bottom: 5px;
    border-radius: 5px;
  }

  .wpcf7-email-wrapper {
    display: flex;
    align-items: center;
  }
  
  .wpcf7-text-wrapper input[type="text"],
  .wpcf7-email-wrapper input[type="email"] {
    margin-right: 10px; /* Adjust spacing as needed */
  }
  
  .contact-form input[type="submit"] {
    background-color: #f5a100; /* Blue background color for submit button */
    border: none;
    color: #000000;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
  }
  .wpcf7-textarea {
    height: 100px; /* Set the desired height */
}
  .contact-form input[type="submit"]:hover {
    background-color: #0056b3; /* Darker blue on hover */
  }
  
  .footer {
    color: var(--default-color);
    background-color: #cbd7c1;
    font-size: 14px;
    position: relative;
  }
  
  .footer .footer-top {
    padding-top: 0px;
  }
  
  .footer .footer-about .logo {
    line-height: 1;
    margin-bottom: 25px;
  }
  
  .footer .footer-about .logo img {
    max-height: 40px;
    margin-right: 6px;
  }
  
  .footer .footer-about .logo span {
    color: var(--heading-color);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: var(--heading-font);
  }
  
  .footer .footer-about p {
    font-size: 14px;
    font-family: var(--heading-font);
  }
  
  .footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    margin-right: 10px;
    transition: 0.3s;
  }
  
  .footer .social-links a:hover {
    color: var(--default-color);
    border-color: var(--default-color);
  }
  
  .footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
  }
  
  .footer .footer-links {
    margin-bottom: 30px;
  }
  
  .footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer .footer-links ul i {
    padding-right: 2px;
    font-size: 12px;
    line-height: 0;
  }
  
  .footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
  }
  
  .footer .footer-links ul li:first-child {
    padding-top: 0;
  }
  
  .footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    display: inline-block;
    line-height: 1;
  }
  
  .footer .footer-links ul a:hover {
    color: var(--default-color);
  }
  
  .footer .footer-contact p {
    margin-bottom: 5px;
  }
  
  .footer .copyright {
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }
  
  .footer .copyright p {
    margin-bottom: 0;
  }
  
  .footer .credits {
    margin-top: 4px;
    font-size: 13px;
  }
  
  #nav-menu-primary {
    position: sticky;
    top: 0;
    z-index: 1000; /* Adjust this value if needed */
    background-color: #fff; /* Optional: Add a background color to prevent content overlap */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
  }

  .sticky-nav {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensure it stays above other elements */
    background-color: #fff; /* Change as needed */
    box-shadow: 0 4px 6px -6px #222; /* Optional shadow for visual effect */
}
.gallery{
  background: #f7f1e0;
}

.gallery .gallery-item img {
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

.highlight {
  color: #f5a100; /* Change this to whatever style you prefer */
  font-weight: bold;
}
.small-image {
  width: 70px !important;
  height: auto !important;
}

.portfolio-content {
  display: grid;
  place-items: center;
  height: 100%;
}

.section .container .row .col-md-5 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section .container .row .col-md-5 img {
  max-width: 100%;
}
.download-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #f5a100;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-items: end;
}

.download-button:hover {
  background-color: #f5a100;

}

.align-right {
  display: flex;
  justify-content: flex-end;
}


@font-face {
  font-family: 'Futuri';
  src: url('https://rgpropertydevelopers.com/wp-content/themes/popularfx-child/assets/fonts/futuri.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Uni Sans Thin';
  src: url('https://rgpropertydevelopers.com/wp-content/themes/popularfx-child/assets/fonts/Uni Sans Thin.otf') format('opentype');
  
}


@font-face {
  font-family: 'FuturiLightRegular';
  src: url('https://rgpropertydevelopers.com/wp-content/themes/popularfx-child/assets/fonts/Futuri Light Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FuturiBold';
  src: url('https://rgpropertydevelopers.com/wp-content/themes/popularfx-child/assets/fonts/futuribold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

.hero-text .head1 {
  font-size: 60px; 
  margin: 0; 
  font-family: 'FuturiLightRegular';
}

.hero-text .head2 {
  font-size: 60px; 
  margin: 0; 
  font-family: 'FuturiBold', sans-serif;
}

.hero-text .head3 {
  font-size: 60px; 
  margin: 0; 
  font-family: 'FuturiLightRegular', sans-serif;
}

.hero-text .head4 {
  font-size: 60px; 
  margin: 0; 
  font-family: 'FuturiBold', sans-serif;
}
 .hero-content {
  display: flex;
  align-items: center;
  height: 100%;
  text-align: left; 
} 