.container-fluid{
	padding-left: 15px;
	padding-right: 15px;
	display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
.navbar-brand {
	display: flex;
    align-items: center;
    margin-right: 20px; 
    font-size: 1.5rem;
}
.navbar-nav {
	display:flex;
    flex-direction: column; 
    align-items: flex-end;
    font-size: 1.2rem;
    transition: color .25s ease-in-out;
}
.nav-item button{
	font-size: 1.2rem;
	margin-left: 10px;
}

.btn-dark:hover{
	background-color: transparent;
	border:1px solid black;
	color: black;
}
body {
    margin: 0;
    padding-top: 90px;
    width: 100%;
    height: 100%;
}
body.home{
    padding-top: 0;
}
.full-screen-image{
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}
.full-screen-image::before{
	content:"";
	position:absolute;
	width:100%;
	height:100%;
    background-image: url('../assets/images/cophomepage.png');
    filter: brightness(60%);
    background-size: cover;
    background-position: center;
    z-index:1;
}
.navbar{
    background-color: #5697ac;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar.transparent{
    background-color: transparent !important;
    box-shadow: none;
}
.caption{
	z-index:2;
    position:absolute;
    top: 130px !important;
	border-radius: 10px;
	color: white;
}
.caption h1 {
    font-weight: bold;
}
.caption p {
    margin-top: 10px;
}
@media (max-width: 400px) {
    h1.display-4 {
        font-size: 1.8rem; /* Smaller heading size for mobile screens */
    }

    .caption p{
        font-size: 1rem; /* Smaller paragraph size for mobile screens */
    }
    .caption{
        position:absolute;
        top: 80px;
    }
}
@media (min-width: 400px) {
    h1.display-4 {
        font-size: 2.2rem; /* Smaller heading size for mobile screens */
    }

    .caption p {
        font-size: 1.2rem; /* Smaller paragraph size for mobile screens */
    }
    .caption{
        position:absolute;
        top: 50px;
    }
}

@media (min-width: 768px) {
    h1.display-4 {
        font-size: 3rem; /* Larger heading size for tablets */
    }

    .caption p {
        font-size: 1.4rem; /* Larger paragraph size for tablets */
    }
    .caption{
        padding:70px;
        padding-top: 330px;
    }
}

@media (min-width: 1200px) {
    h1.display-4 {
        font-size: 4rem; /* Extra-large heading size for desktops */
    }

    .caption p {
        font-size: 1.6rem; /* Extra-large paragraph size for desktops */
    }
}
footer {
            background-color: #5697ac;
            padding: 2rem 1rem;
            color: white;
        }

footer a {
            color: white;
            text-decoration: none;
}

footer a:hover {
    opacity: .7;
}   

.brand-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 2rem;
}

/* Ensure the map displays properly */
#map {
  width: 100%;
  height: 100%;
  border-left: 2px solid #ddd;
  z-index: 0;
}


.sections {
  padding: 30px;
  padding-left: 50px;
}

/* Make sure the split-view fills the available width */
/* === Property Split View Layout === */
.split-view {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  height: calc(100vh - 150px);
}

/* Cards on the left */
.split-view-cards {
  flex: 1;
  overflow-y: auto;
  max-height: 100%;
  padding-right: 10px;
}

/* Map on the right */
.split-view-map {
  flex: 1;
  min-width: 400px;
  height: 100%;
  position: relative;
}

/* Map itself */
#map {
  width: 100%;
  height: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
}

/* Cards styling */
.split-view-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 20px;
  margin-top: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: #fff;
  cursor: pointer;
}

.split-view-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-inner {
  display: flex;
  flex-direction: column;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
}

.card-content h3 {
  margin-bottom: 5px;
}

.card-price {
  color: #007bff;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-description {
  color: #555;
}

.card-active {
  border: 2px solid #5697ac;
  box-shadow: 0 0 10px rgba(86, 151, 172, 0.6);
}

/* Responsive fix for small screens */
@media only screen and (max-width: 767px) {
  .split-view {
    flex-direction: column;
  }

  .split-view-cards,
  .split-view-map {
    max-width: 100%;
    height: auto;
  }

  .split-view-map {
    position: relative;
    top: 0;
    border-left: none;
    height: 400px;
  }
}

.team-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 30px;
  margin-bottom: 20px;
}

.team-photo {
  width: 250px;
  height: auto;
  border-radius: 12px;
  flex-shrink: 0; /* prevents image from growing / stretching */
}

.team-text p {
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  font-size: 1.2rem;
}

.team-text h2 {
  margin-bottom: 4px;
}

.team-text .role {
  display: inline-block;
  margin-bottom: 22px; 
  color: #777;
  letter-spacing: 0.5px;
}

.role{
    font-size: 0.95rem;
}

@media(max-width:768px) {
  .team-wrapper {
    flex-direction: column;
    }

    .team-photo {
        width: 150px; 
        margin-bottom: 10px;
    }
}

.valuation-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px; /* space between form and image */
    flex-wrap: wrap; /* allow stacking on smaller screens */
}

.valuation-form {
    flex: 0 0 55%; /* take remaining space */
    min-width: 300px; /* prevent shrinking too much */
}

.valuation-image {
    flex: 0 0 40%; /* take remaining space for image */
    min-width: 200px; 
    justify-content: flex-end; 
}

.valuation-image img {
    width: 100%; /* scale image to container */
    height: auto;
    border-radius: 10px;
    opacity: 0;
    transform: translateX(50px); /* Slide from right */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.valuation-image img.animate-in {
    opacity: 1;
    transform: translateX(0);
}






