@font-face {
  font-family: "Futura PT Book";
  src: url("/futura-pt-book-wisabo/Futura-PT_Book.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Kinfolk";
  src: url("/kinfolk/Kinfolk.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
.btn1{
  border: none;
background: #f2f2f2;
  padding: 10px;
  color: black;
}
.font-family {
  font-family: "Futura PT Book";
}
.hero-banner{
margin-top: 108px;
}

.color {
  color: #f0c241;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.bg {
  background: #307fe2;
}

.heading {
  color: #307fe2;
  font-size: 30px;
  font-weight: 700;
  font-family: "Futura PT Book";
}

.nav-link.active {
  color: #307fe2;
  /* Green or your theme color */
  font-weight: bold;
  border-bottom: 2px solid #307fe2;
  /* Optional visual indicator */
}

.hero-section1 {
  height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-section1 .bg-image {
  background-image: url("/images/horizon-floors-overivew-rectangle.png");
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-section1 .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  /* black with 50% opacity */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-section1 .hero-text {
  position: relative;
  z-index: 3;
}

.hero-section1 .hero-text {
  position: relative;
  z-index: 2;
  transform: translateY(-50%);
}

.pera {
  font-size: 16px;
  font-weight: 400;
  font-family: "Futura PT Book";
}

.form-label {
  font-size: 16px;
  font-weight: 600;
  font-family: "Futura PT Book";
}

.nav-link {
  font-family: "Futura PT Book";
  color: black;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 2px;
}

.navbar-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fffdf7;
}

ul li a {
  font-size: 18px;
  color: #83735b;
  text-decoration: none;
  font-weight: 500;

  cursor: pointer;
  color: #7e7770;
}

.form-control:focus {
  outline: 0;
  box-shadow: none;
}

:focus-visible {
  outline: none;
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none !important;
}

.navbar-nav {
  margin-left: auto;

  flex-direction: row;
}

/* HOME SECTION CSS */
.hero-section {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
}

.hero-section1 {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
}

.hero-section video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  display: flex;
  justify-content: flex-start;
  /* Align left */
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-text {
  max-width: 600px;
  padding: 2rem;
  text-align: left;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: "Futura PT Book";
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
  font-family: "Futura PT Book";
  /* Slight shadow */
}

.form-control:focus {
  box-shadow: none;
  border-color: #fffdf7;
}

.btn-light:focus {
  color: #000;
  background-color: #f9fafb;
  border-color: #f9fafb;
  box-shadow: none!important;
}

.btn-primary {
  background-color: #307fe2;
  border: none;
}

.btn-primary:hover {
  background-color: #307fe2;
}

.left-section {
  background-image: url("../images/payment-plan.jpg");
  background-size: cover;
  background-position: center;
  min-height: 70vh;
}

.right-section {
  background-color: #16325c;
  
  color: white;
  padding: 40px;
}

table th,
table td {
  vertical-align: middle !important;
  text-align: center;
}

table th {
  background-color: #f0c241 !important;
  color: black;
  font-family: "Futura PT Book";
}

table td {
  background-color: #fff;
  color: white;
  /* Fixed from white */
  font-family: "Lato", sans-serif;
}

.table-responsive {
  border-radius: 5px;
  overflow-x: auto;
}

.brand-logo {
  width: 300px;
}
.brand-logo1 {
  width: 200px;
}

@media (max-width: 992px) {
  .navbar-nav {
    flex-direction: column;

    align-items: center;

    justify-content: center;
  }

  .nav-item {
    margin-bottom: 10px;
  }

  .navbar-toggler {
    margin-left: auto;
  }

  .heading {
    color: #307fe2;
    font-size: 20px;
    font-weight: 700;
    font-family: "Futura PT Book";
  }

  .right-section {
    background-color: #16325c;
    color: white;
    padding: 10px;
  }
  .brand-logo {
    width: 200px;
  }

  .brand-logo1 {
    width: 150px;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.highlight-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid #eaeaea;
}

.highlight-box img {
  width: 60px;
  height: auto;
}

.highlight-text {
  font-size: 16px;
  color: #222;
  font-family: "Futura PT Book", sans-serif;
}

@media (max-width: 767px) {
  .highlight-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .highlight-box img {
    margin-bottom: 10px;
  }
}

/* Projects Mega Dropdown Styles (copied from React Navbar.css for consistency) */
.projects-mega {
  width: 100%;
  max-width: 800px;
  left: 50% !important;
  transform: translateX(-50%);
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.projects-tile {
  background: none;
  border: none;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.projects-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.projects-image {
  position: relative;
  height: 140px; /* Fixed decent height */
  overflow: hidden;
  border-radius: 8px;
}

.projects-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.projects-tile:hover .projects-image img {
  transform: scale(1.05);
}

.projects-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.projects-tile:hover .projects-overlay {
  opacity: 1;
}

.projects-caption {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  text-align: center;
  background: white;
  border-top: 2px solid #f0c241;
}

.projects-tile:hover .projects-caption {
  color: #2c2c2c;
}

/* Grayscale effect for coming soon */
.grayscale {
  filter: grayscale(100%);
  opacity: 0.7;
}

.projects-tile:hover .grayscale {
  filter: grayscale(80%);
  opacity: 0.9;
}

/* 992px mobile-friendly mega menu adjustments */
@media (max-width: 992px) {
  /* Make the mega menu behave nicely inside collapsed navbar */
  .navbar .dropdown-menu.projects-mega {
    position: static !important;      /* flow with the menu on mobile */
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 95vw;
    margin: 0 auto;                   /* center within the viewport */
  }
  .projects-mega .row {
    justify-content: center;          /* center tiles */
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .projects-mega {
    max-width: 95vw;
    margin: 0 auto;
  }
  
  .projects-image {
    height: 120px;
  }
  
  .projects-caption {
    font-size: 13px;
    padding: 10px 12px;
  }
}

@media (max-width: 576px) {
  .projects-image {
    height: 100px;
  }
  
  .projects-caption {
    font-size: 12px;
    padding: 8px 10px;
  }
}

.amenity-card {
  border: 1px solid #e0e0e0;
  padding: 30px 15px;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.amenity-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.amenity-icon {
  height: 60px;
  margin-bottom: 15px;
}

.amenity-title {
  font-size: 18px;
  color: #333;
  font-family: "Futura PT Book";
}

/* Payment Plan section tweaks */
.payment-plan-img {
  max-width: 70%; /* desktop default */
  height: auto;
}

.payment-plan-ratio {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: .35rem; /* slightly tighter than .5rem for balance */
}

@media (max-width: 992px) {
  .payment-plan-img {
    max-width: 80%;
  }
  .payment-plan-ratio {
    letter-spacing: .25rem;
  }
}

@media (max-width: 576px) {
  .payment-plan-img {
    max-width: 85%;
  }
  .payment-plan-ratio {
    font-size: 1.5rem;
    letter-spacing: .2rem;
  }
}
