@import "tailwindcss";
body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  background: white;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #123458;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb {
  background: #a9850e;
  border-radius: 3px;
}
::selection {
  background-color: #b08a0e;
  color: #222;
}
.section_padding {
  padding: 5rem 5px;
}
.container {
  max-width: 1250px !important;
  margin: auto !important;
}
.search_btn {
  text-align: center;
  position: relative;
  cursor: pointer;
  background: #a9850e;
  color: white;
  border-radius: 50px;
  font-weight: 500;
  font-size: 18px;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.home_btn,
.header_btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.5rem;
  text-align: center;
  position: relative;
  cursor: pointer;
  background: #a9850e;
  color: white;
  border-radius: 50px;
  font-weight: 500;
  font-size: 18px;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}
.home_btn::before,
.header_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #123458;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-in-out;
  z-index: -1;
}
.header_btn::before {
  background: #655008 !important;
}
.home_btn:hover::before,
.header_btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.a_hover {
  color: #a9850e;
  position: relative;
  text-decoration: none;
}
.a_hover::before {
  content: "";
  position: absolute;
  width: 95%;
  height: 2px;
  border-radius: 4px;
  background-color: #a9850e;
  bottom: -5px;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}
.a_hover:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}
header {
  background: white;
  width: 100vw;
  height: auto;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: black;
}
.toggle img {
  transform: rotate(180deg);
  object-fit: cover;
}
#topnav {
  height: auto;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 1rem 2rem !important;
  border-bottom: 1px solid #123458;
}
.toggle img {
  transform: rotate(180deg);
  width: 28px !important;
}
.toggle,
.close {
  display: none;
}
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
}
.navbar a {
  font-size: 18px;
  font-weight: 500;
  color: #222;
  transition: color 0.3s ease;
}
.navbar a:hover {
  color: #a9850e;
}
.git_btn {
  color: white !important;
}
.dropdown-menu {
  display: none;
}
.group:hover .dropdown-menu {
  display: block;
}
.active-link {
  color: #a9850e !important;
  font-weight: 600 !important;
}
.video_container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero_content {
  background-color: #0000008a;
  padding: 3rem 1.5rem;
  border-radius: 8px;
  backdrop-filter: blur(5px);
}
.hero_content_p {
  font-size: 0.9rem !important;
  font-weight: 300;
}
.hero_section a::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #a9850e;
  color: #222;
  transition: all 0.3s ease-in-out;
}
.hero_section a:hover::before {
  width: 100%;
}
.pigibankSection img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(30%);
}
#searchSection {
  overflow: hidden;
  color: #222;
  z-index: 111;
  background: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: color 0.6s ease;
}
#searchSection input,
#searchSection select {
  border: 1px solid #ccc;
  transition: all 0.3s ease;
  height: 50px !important;
}
#searchSection input:focus,
#searchSection select:focus {
  border-color: #ccc;
  outline: none;
}
#searchSection input:hover,
#searchSection select:hover {
  border-color: #87650b;
}
#searchSection input[type="checkbox"] {
  accent-color: #a9850e;
  cursor: pointer;
}
#searchButton:hover {
  background: #87650b;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.condo_br {
  padding: 0 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.tiny_bg_brightness {
  filter: brightness(0.4) !important;
}
.tiny_home_section_img {
  border-radius: 8px;
}
.Incentives_p_box {
  display: grid;
  height: 400px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  border: 1px solid #123458;
  gap: 1rem;
}
.Incentives_p_box p {
  border: 1px solid #46709c;
  padding: 1rem 2rem;
}
.Incentives_p_box p span {
  -webkit-text-stroke: 1px #46709c;
  color: transparent;
}
.bylaw_card {
  padding: 2rem;
  border: 1px solid #c4c4c4;
  transition: all 0.5s ease;
}
.bylaw_card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.226);
}
.Laneway_section_card {
  border: 1px solid #c4c4c4;
  padding: 4rem 1rem;
  border-radius: 8px;
  transition: all 0.5s ease;
}
.Laneway_section_card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.226);
}
.contactForm_box {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}
.contactForm .input {
  height: 40px;
  outline: none;
  border-bottom: 1px solid gray;
  padding: 0 0.5rem;
}
.contactForm .input:focus,
.form-group textarea:focus {
  border-bottom: 1px solid #123458;
}
.form-group textarea {
  outline: none;
  border: 1px solid gray;
  padding: 0 0.5rem;
}
.footer_grid_box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
}
.copyright_br {
  border-top: 1px solid rgba(245, 245, 245, 0.527);
  margin-top: 2rem;
}
.contact-box {
  max-width: 600px;
}
.blog_box {
  border-bottom: 1px solid #d4d4d4;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}
.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: white;
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}
.swiper-button-next,
.swiper-button-prev {
  color: white;
}
.img_box img {
  object-fit: cover;
}
.img_box_child1 {
  flex: 1 1 50%;
}
.img_box_child2 {
  flex: 1 1 49%;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  grid-template-rows: repeat(2, minmax(auto, 1fr));
}
.h1 {
  font-size: clamp(1.4rem, 5vw, 28px);
}
.h2 {
  font-size: clamp(1rem, 5vw, 20px);
}
.svg_box {
  display: flex;
  justify-content: center;
}
.bs_detail {
  border-right: 1px solid #d3d3d4;
  flex: 1 1 100px;
  box-sizing: border-box;
}
.bs_detail:last-child {
  border: none;
}
.property_box {
  border: 1px solid #d3d3d4;
  border-radius: 20px;
}
.full_detail_box::before,
.upper_card_h1::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #d3d3d4;
}
.full_detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 2rem;
}
.ads .card {
  margin: auto;
}
@media (max-width: 1024px) {
  #mobileMenu a {
    font-size: 16px;
  }
  .navbar a {
    font-size: 16px;
  }
  .contact_flex img {
    width: 100%;
    height: 500px;
  }
  .tiny_home_sectionTwo_btn {
    margin-top: 2rem;
  }
  .tiny_home_sectionTwo h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    padding: 0 1rem;
  }
  .blog_section .blog_box {
    width: 80%;
  }
  .blog_section h1 {
    font-size: 28px;
  }
  .blog_section p {
    font-size: 15px;
  }
}
@media (max-width: 992px) {
  .contact .container {
    flex-direction: column;
    align-items: center;
  }
  .contact .container > div {
    width: 100%;
  }
  .contact-box {
    margin-top: 2rem;
  }
}
@media (max-width: 950px) {
  .full_details {
    flex-direction: column;
  }
  .details {
    width: 100%;
  }
  .ads {
    width: 100%;
    margin-top: 2rem;
    padding: 0;
  }
  .card {
    width: 100%;
  }
  .toggle {
    display: block;
    cursor: pointer;
  }
  .navbar {
    position: fixed;
    top: 0;
    left: 100%;
    width: 70%;
    height: 100vh;
    background: #123458;
    z-index: 1100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    visibility: hidden;
    opacity: 0;
  }
  .navbar a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
  }
  .navbar a:hover {
    color: #a9850e;
  }
  .close {
    display: block;
    width: 32px;
    height: auto;
    position: absolute;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    width: 100%;
    text-align: center;
    background: transparent;
  }
  .blog_section {
    padding: 2rem 0 !important;
  }
}
@media (max-width: 768px) {
  .hero_content h1 {
    font-size: 2rem;
  }
  .hero_content p,
  .hero_content {
    font-size: 1rem;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem !important;
  }
  h3 {
    font-size: 1.2rem;
  }
  p {
    font-size: 1rem;
  }
  .dot {
    display: none;
  }
  .contact_flex img {
    height: auto;
  }
  form input {
    padding: 0.8rem 1rem;
  }
  form button {
    padding: 0.5rem 1rem;
    margin-left: 0.2rem;
  }
  .tiny_section {
    flex-direction: column;
    height: auto !important;
  }
  .tiny_home_section_img,
  .CMHC .container {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }
  .tiny_home_sectionTwo_btn {
    margin-top: 1rem;
  }
  .tiny_home_content {
    margin-top: 2rem;
  }
  .Incentives_p_box {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .CMHC .container,
  .rental .container {
    flex-direction: column;
    text-align: center;
  }
  .blog_section_container {
    width: 100%;
    padding: 0 !important;
  }
  .blog_section .blog_box {
    width: 95%;
    margin: auto;
  }
  .blog_section .blog_imgBox {
    height: 250px;
  }
  .blog_section h1 {
    font-size: 22px;
  }
  .blog_section p {
    font-size: 14px;
  }
  .footer_grid_box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem !important;
  }
}
@media (max-width: 600px) {
  header h1 {
    font-size: 1.8rem;
  }
  .search-bar input,
  .search-bar select {
    width: 85%;
  }
  .contact-box {
    padding: 1.5rem;
  }
  .contact-box h3 {
    font-size: 1.5rem;
  }
  .contact-box p {
    font-size: 0.9rem;
  }
  .contact-box form input,
  .contact-box form textarea {
    font-size: 0.9rem;
    padding: 0.7rem;
  }
  .full_detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
@media (max-width: 500px) {
  .hero_content {
    padding: 1rem;
    font-size: 0.9rem;
  }
  .hero_content h1,
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.3rem !important;
  }
  p {
    font-size: 0.9rem;
  }
  .Accordion button {
    font-size: 0.9rem;
  }
  .full_details {
    flex-direction: column;
  }
  .details {
    width: 100%;
  }
  .ads {
    width: 100%;
  }
  .card {
    width: 100%;
  }
  .bs_container {
    flex-wrap: wrap;
  }
  .bs_detail {
    min-width: 100px;
    margin: 1rem 0;
  }
  .bs_detail .txt {
    font-size: 0.8rem;
  }
  .detail_svg {
    width: 20px;
  }
  .home_txt {
    word-spacing: 0;
    font-size: 16px;
  }
  .property_box {
    padding: 1rem;
  }
}
@media (max-width: 480px) {
  .blog_section .blog_box {
    width: 100%;
    margin-top: 4rem;
  }
  .blog_text_content {
    padding: 1rem;
  }
  .blog_section .blog_imgBox {
    height: 200px;
  }
  .blog_section h1 {
    font-size: 18px;
  }
  .blog_section p {
    font-size: 13px;
  }
}
@media (max-width: 450px) {
  .section_padding {
    padding: 5rem 8px !important;
  }
  .navbar a {
    font-size: 1rem !important;
  }
  .home_btn {
    padding: 0.8rem 1.2rem !important;
    font-size: 16px !important;
  }
  h1 {
    font-size: 1.5rem !important;
    line-height: auto !important;
  }
  h2 {
    font-size: 1.4rem !important;
  }
  h3 {
    font-size: 1.3rem !important;
  }
  p,
  li {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }
  .choose_container {
    padding: 0 !important;
  }
  #searchSection {
    border-radius: 0;
  }
  .condo_br {
    padding: 0.5rem;
    border: 1px solid #87650b;
    border-radius: 4px;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 0.3rem;
  }
  .Laneway_section_cardBox {
    gap: 1rem;
  }
  .Incentives_p_box {
    padding: 0 !important;
  }
  .Incentives_p_box span {
    font-size: 1rem;
  }
  table {
    font-size: 0.9rem;
  }
  th,
  td {
    padding: 0.5rem;
  }
  .contact-box {
    padding: 1rem;
  }
  .contact-box h3 {
    font-size: 1.3rem;
  }
  .blog_imgBox img {
    border-radius: 0 !important;
  }
  .footer_grid_box a,
  .footer_grid_box p {
    font-size: 14px !important;
  }
  .copyright {
    font-size: 14px !important;
  }
  .swiper-button-next,
  .swiper-button-prev {
    font-size: 20px !important;
  }
  .swiper-pagination {
    display: none !important;
  }
}
