/*all pages */
.section-0 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: #fff;
    }
.section-1, .section-2, .section-3, .section-4, .section-5 {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    }
.h-sty {
    padding: 50px;
    color: #00BFFF;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 2.5);
    }
.h-sty-2 {
    color: #03339F;
    }
.h1-ch-co {
    color: #f5f5f5;

    text-shadow: 0px 4px 4px rgba(0, 0, 0, 2.5);
    }
.h4-fon-si {
    font-size: 28px;
    color: #ffffff;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 2.5);
    }
.h4-fon-si:hover{
    font-size: 32px;
    }
/*header navigaiton section*/
#header-bor-top-b-5 {
    position: sticky;
    top: 0;
    background: #f5f5f5;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-top: 10px solid #03339F;    
    min-height: 100px;
    height: auto;
}
/*footer*/
#footer {
    width: 100%;
}
/*Our-Story*/
.w-set-1200 {
    max-width: 1200px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    }
#o-s-bg {
    background-image: url(https://rapidkconstruction.com/images/our-story-background.webp);
    background-position: top;
    background-size: cover;
    background-attachment: fixed;
    height: auto;
    }
#o-s-bg-con-g-overlay {
    background-color: rgba(128, 128, 128, 0.6);
    /* width: 100%; */
    max-width: 100%;
    height: 100%;
    padding: 50px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    }
.o-s-p-bg-con-b-overlay {
    width: 80%;
    background-color: rgba(3, 51, 159, 0.7);
    padding: 40px;
    margin: 30px;
    border-radius: 5px;
    }
.o-s-p-sty {
    color: #fff;
    padding-bottom: 20px;
    font-size: 22px;
    }
.o-s-p-con-sty2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 50px;
    }
.o-s-p-sty2 {
    text-align: left;
    }
.h2-sty2 {
    color: #fff;
    font-size: 68px;
    }
.o-s-p-sty2 {
    color: #fff;
    font-size: 28px;
    }
.btn-sty1-1 {
    background: #fff;
    color: #03339F;
    font-weight: 700;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.5px;
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease-in-out;
    }
.btn-sty1-1:hover {
    color:#fff;
    box-shadow: 
    inset -6px -6px 12px rgba(255, 255, 255, 0.7),  /* inner top-left white glow */
    inset  6px  6px 12px rgba(0, 0, 0, 0.5);  
    background: none;
    transform: scale(1.05);
    border-radius: 20px;
    }
/*communities or project*/
#com-bg {
    background-image: url(https://rapidkconstruction.com/images/communities-banner.webp);
    background-position: top;
    background-size: cover;
    background-attachment: fixed;
    max-height: 550px;
    height: 100%;
    }
#com-bg-con-g-overlay {
    background-color: rgba(128, 128, 128, 0.6);
    /* width: 100%; */
    max-width: 100%;
    padding: 50px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    max-height: 550px;
    height: 100%;
    }
.com-title-con {
    width: 600px;
    background-color: rgba(3, 51, 159, 0.7);
    padding: 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    top: 150px;
    left: 20%;
    transform: translateX(50%);
    }
.com-p-sty {
    color: #fff;
    font-size: 16px;
    }
.com-w-set-1200 {
    max-width: 1200px;
    width: 100%;
    height: auto;
    }
#com-bg2 {
  position: relative;
  background-image: url(https://rapidkconstruction.com/images/current-project-bg.webp);
  background-position: top;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  z-index: 1;
  overflow: hidden;
}

#com-bg2::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: inherit;
  background-position: inherit;
  background-size: inherit;
  background-attachment: inherit;
  filter: grayscale(100%);
  z-index: -1;
}
#com-bg-con-g-overlay2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 50px 0;
    }

.com-p-con-sty2 {
    width: 100%;
    font-size: 18px;
    }
.w-set-1200 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: rgb(3 51 159 / 8%);
    padding: 0px 50px 50px 50px;
    margin: 20px 0;
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease-in-out;
    box-shadow: -4px -4px 8px rgba(255, 255, 255, 0.6), 4px 4px 8px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
}
.com-p-sty2 {
    color: #000;
    font-size: 20px;
    }
.p-f-weight {
    font-weight: 600;
    }
.com-img-con-sty {
    background: gray;
    height: 200px;
    margin: 20px;
    }
.project-wrapper {
    order-radius: 12px;
    width: calc(30%);
    height: 520px;
    padding: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    margin-bottom: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease-in-out;
    box-shadow: -4px -4px 8px rgba(255, 255, 255, 0.6), 4px 4px 8px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    }
.finish-project-wrapper {
    order-radius: 12px;
    width: calc(95%/4);
    height: auto;
    padding: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    margin-bottom: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease-in-out;
    box-shadow: -4px -4px 8px rgba(255, 255, 255, 0.6), 4px 4px 8px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    }
.image-size {
    width: 100%;
    border-radius: 10px 10px 0 0;
    }
.project-text-container {
    width: 100%;
    padding: 0 20px;
    height: 245px;
    }
.project-text-container2 {
    width: 100%;
    padding: 0 20px;
    height: 100px;
    }
.view-project-button{
    background: #03339F;
    color: #fff;
    font-weight: 700;
    border: none;
    padding: 15px 92px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    letter-spacing: 0.5px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 230px;
    width: 100%;
    text-align: center;
    position: relative;
    bottom: 0px;

    }
.view-project-button:hover {
    color:#03339F;
    box-shadow: 
    inset -6px -6px 12px rgba(255, 255, 255, 0.7),  /* inner top-left white glow */
    inset  6px  6px 12px rgba(0, 0, 0, 0.5);  
    background: none;
    transform: scale(1.05);
    border-radius: 20px;

}
.project-button-adjust {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }
.finish-project-adjust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

.container { width:100%; margin: auto; padding: 20px; }
    .project-filter { margin-bottom: 20px; }
    .project-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
      gap: 24px;
    }
    .project-card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.12);
      overflow: hidden;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-bottom: 18px;
    }
    .project-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      background: #f8f8f8;
      border-bottom: 1px solid #eee;
    }
    .project-name {
      font-weight: bold;
      margin: 18px 0 8px;
    }
    .view-btn {
      background:#0033a0; color: #fff;
      padding:15px 24px; border-radius:7px;
      text-transform:uppercase; text-decoration:none;
      font-weight:bold; font-size:1rem; margin-top:5px;
      transition: background 0.2s;
      display:inline-block;
      width: 90%;
    }
    .view-btn:hover { background: #002080; }
    .pagination { text-align:center; margin:32px 0 0; }
    .pagination button {
      background:#0033a0; color:#fff; border:none; border-radius:4px;
      padding:7px 14px; margin:0 2px; cursor:pointer;
      font-size:1rem;
    }
    .pagination button.active { background: #002080; }
    
/*contact*/
/*#contact-bg {
    background-image: url(https://rapidkconstruction.com/images/contact-banner2.webp);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    max-height: 40vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    } */
#contact-bg-con-g-overlay2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
    }
#contact-bg2 {
    background-image: url(https://rapidkconstruction.com/images/contact-banner2.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    backdrop-filter: grayscale(100%);

    }
.contact-w-set-1200 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    }
.w-set-900-contact {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    box-shadow:  /* -4px -4px 8px rgba(255, 255, 255, 0.6), top-left white glow */
     4px  4px 8px rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    }
.w-set-700-contact {
    width: 70%;
    }
.com-p-con-sty2 {
    display: flex;
    }
.contact-bg-con-b-overlay {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-direction: row;
    width: 100%;
    }
.contact-con-r1 {
    width: 35%;
    padding: 15px;
    color: #03339F;
    }
.contact-bg-con-b-overlay2 {
    width: 100%;
    background: #fff;
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 50px 0;
    border-radius: 10px;
    box-shadow:/* -4px -4px 8px rgba(255, 255, 255, 0.6),   top-left white glow */
     4px  4px 8px rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    }
.contact-headings-con-sty {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }
.contact-p-con-sty2 {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 15px;
    }
.contact-p-con-sty2-1 {
    width: 70%;
    color: #03339F;
    font-size: 18px;
    padding: 0 10px;
    }
.contact-p-con-sty2-2 {
    width: 30%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    }
.h2-sty3 {
    font-size: 60px;
    color: #03339F;
    }
.o-s-p-sty3 {
    color: #03339F;
    font-size: 30px;
    font-weight: 600;
    } 
.ct-btn-sty {
    padding: 0px;
    font-size: 16px;
    color: #03339F;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    }
.btn-sty1 {
    background: #03339F;
    color: #fff;
    font-weight: 700;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.5px;
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease-in-out;
}
.btn-sty1:hover {
    color:#03339F;
    box-shadow: 
    inset -6px -6px 12px rgba(255, 255, 255, 0.7),  /* inner top-left white glow */
    inset  6px  6px 12px rgba(0, 0, 0, 0.5);  
    background: none;
    transform: scale(1.05);
    border-radius: 20px;
    }
.h6-p-sty {
    padding-right: 10px;
    margin: 15px 0;
}
.ct-ar-r {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.social-icons {
    margin: 10px 0;
}
/* Tablets (768px - 1024px) */
@media screen and (max-width: 1024px) {
  .o-s-p-con-sty2, .contact-bg-con-b-overlay, .com-bg-con-b-overlay {
    flex-direction: column;
    align-items: center;
  }

  .com-title-con {
    width: 90%;
    left: 0;
    transform: translateX(0);
    top: auto;
  }

  .contact-con-r1 {
    width: 80%;
    text-align: center;
  }

  .contact-p-con-sty2-1,
  .contact-p-con-sty2-2 {
    width: 100%;
    text-align: center;
    justify-content: center;
    flex-direction: column;
  }
}

/* Mobile Devices (max-width: 767px) */
@media screen and (max-width: 767px) {
  .h2-sty2, .h2-sty3 {
    font-size: 36px;
  }

  .o-s-p-sty2, .com-p-sty2, .contact-p-con-sty2-1 {
    font-size: 16px;
    padding: 10px;
  }

  .o-s-p-con-sty2, .contact-bg-con-b-overlay, .com-bg-con-b-overlay {
    flex-direction: column;
    margin: 20px 0;
  }

  .o-s-p-bg-con-b-overlay, .com-title-con, .contact-con-r1 {
    width: 90%;
    margin: 20px auto;
  }

  .com-img-con-sty {
    width: 100%;
    height: 180px;
  }

  .btn-sty1, .ct-btn-sty {
    font-size: 14px;
    padding: 8px 15px;
  }

  .w-set-900, .w-set-700, .com-w-set-1200, .w-set-900-contact, .w-set-700-contact {
    width: 95%;
  }

  .section-0 {
    flex-direction: column;
    align-items: center;
  }
}