
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

.oswald-42x {
    font-family: 'Oswald', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.icon {
    margin-right: 0.3vw;
}

body, h1, h2, h3, h4, h5, h6, p, a, li, span, div {
    font-family: 'Oswald', sans-serif;
}

html, body {
    height: 100%;
}

body {
    background-color: #f9f9f9;
    color: #333;
}

hr {
  border: none !important;
  height: 4px;
  background-color: black !important;
  opacity: 1 !important;
}

.custom-navbar {
    background-color: black !important;
    padding: 0.8rem 0;
    overflow: visible !important; 
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: clamp(40px, 6vh, 80px);  
    width: auto;
    max-width: 12vw;                 
    margin-right: 12px;
    border-radius: 10px;
    object-fit: contain;
}

.brand-name {
    color: #fff;
    font-weight: 600;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    position: relative;
    color: #f5f5f5 !important;
    margin: 0 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: white !important;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-collapse {
    position: relative;
    z-index: 1000;
    background-color: black;
    width: 100%;
}

@media (max-width: 992px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
    }
}

.carousel-item {
    position: relative;
}

.carousel-img {
    width: 100%;
    height: 35vh;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: transform 0.4s ease;
}

.carousel-video {
    height: 35vh;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 768px) {
    .carousel-video {
        height: 55vh;
    }
}

@media (min-width: 1200px) {
    .carousel-video {
        height: 70vh;
    }
}

@media (max-width: 575.98px) {
    .carousel-img { height: 35vh; }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .carousel-img { height: 45vh; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .carousel-img { height: 55vh; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .carousel-img { height: 60vh; }
}
@media (min-width: 1200px) {
    .carousel-img { height: 70vh; }
}

.about-me-bg-content {
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.about-section h2 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: black;
}

.about-section p {
    color: #555;
    line-height: 1.7;
}

.agent-photo {
    max-width: 50%;
    min-height: 20%;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.awards-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.award-img {
    width: 180px; 
    height: 180px; 
    object-fit: cover; 
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
    .award-img { width: 140px; height: 140px; }
}

@media (max-width: 480px) {
    .award-img { width: 120px; height: 120px; }
}

.featured-hero {
    position: relative;
    height: 320px;      
    border-radius: 16px;
    overflow: hidden;
}

.featured-images {
    position: absolute;
    inset: 0;
    display: flex;
    gap: 3px;
    padding: 20px;
    z-index: 1;
}

.featured-img {
    flex: 1;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    filter: brightness(0.6);
}

.featured-overlay {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    pointer-events: none;
    padding: 0 20px; 
}

.featured-overlay a {
    pointer-events: auto;
    margin-top: 12px;
}

.featured-images.empty-background {
    background: url('/static/images/blackandwhitelogo.png') no-repeat center center;
    background-size: cover;
    height: 300px;
}

@media (max-width: 768px) {

    .featured-hero {
        height: auto;           
        min-height: 320px;      
        position: relative;      
        padding: 0;              
    }

    .featured-images {
        flex-direction: column; 
        gap: 10px;
        padding: 0;             
        position: relative;      
    }

    .featured-img {
        width: 100%;
        height: auto;          
        max-height: 200px;     
        border-radius: 14px;
    }

    .featured-overlay {
        position: absolute;       
        top: 50%;                 
        left: 50%;                
        transform: translate(-50%, -50%);  
        height: auto;             
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;       
        text-align: center;
    }

    .featured-overlay h2 {
        font-size: clamp(1.5rem, 4vw, 2rem); 
        margin-bottom: 8px;
    }

    .featured-overlay p {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: 12px;
    }

    .featured-overlay a {
        margin-top: 12px;
    }
}



.logo-container {
    height: 80px;                 
    display: flex;
    align-items: center;
    flex-shrink: 0;               
}

.project-logo {
    height: 220px;                 
    width: auto;                  
    max-width: none;              
    object-fit: contain;
}

.primary-btn-styling {
    position: relative;
    display: inline-block;
    background-color: black;
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.primary-btn-styling::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px; 
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 60%;
    height: 2px;
    background-color: white;
    transition: transform 0.3s ease;
}

.primary-btn-styling:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.primary-btn-styling:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.primary-btn-styling:active {
    transform: translateY(1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.footer {
    background: black;
    color: #f5f5f5;
    font-family: 'Oswald', sans-serif;
}

.footer a {
    color: #f5f5f5;
    text-decoration: none;

}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #222;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {

    color: #111;
}

.footer-brand {
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-tagline {
    font-weight: 400;
    font-size: 0.95rem;
    color: #ccc;
}

.footer-bottom small {
    color: #aaa;
}


.property-header {
    display: flex;
    align-items: center;
    gap: 10px;
}


.property-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.property-div {
    background-color: #000;
    padding: 2px;
    margin: 2rem 35vw;
    border-radius: 2%;
}

.property-div h1 {
    color: #fff;
    margin: 0;
}


.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-active {
    background-color: rgba(220, 220, 220, 0.945);
    color: black;
}

.status-sold {
    background-color: black;
    color: #fff;
}

.status-pending {
    background-color: goldenrod;
    color: black;
}

.inner-section {
    display: flex;
    align-items: center;    
    gap: 1rem;
}

.inner-section ul {
    flex: 1;                 
    margin: 0;
    padding-left: 1rem;
    list-style:none;
}

.inner-section button {
    flex-shrink: 0;         
    white-space: nowrap;     
}


.more-details-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}


.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem;
    justify-items: center;
}

.property-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-details {
    padding: 1rem;
}

.property-details h2 {
    margin-top: 0;
    font-size: 1.25rem;
}


.pagination {
    margin: 2rem auto;
    text-align: center;
    font-size: 1rem;
}

.pagination a {
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f8f8;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
}

.pagination a:hover {
    background-color: #ddd;
}

.property-filter-form {
    max-width: 700px;
    margin: 0 auto 40px auto;
    padding: 25px 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.08);
}

.property-filter-form .form-row {
    margin-bottom: 20px;
}

.property-filter-form label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.property-filter-form input[type="text"],
.property-filter-form input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.property-filter-form input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.3);
}

.double-input {
    display: flex;
    gap: 12px;
}

@media (max-width: 992px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .property-grid {
        grid-template-columns: 1fr;
    }

    .property-card img {
        height: 180px;
    }
}

@media screen and (min-width: 691px) {
    .search-form-container form {
        max-width: 900px;
        padding: 20px 40px;
    }
}

.properties-page-container {
    max-width: 1200px;    
    margin: 0 auto;
    padding: 0 20px;
}

.property-filter-form {
    width: 100%;
    margin: 0 auto 40px auto;
    padding: 25px 30px;

    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.08);

    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.property-filter-form .form-row {
    flex: 1 1 calc(50% - 18px);  
    min-width: 260px;
}

.property-filter-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

.double-input {
    display: flex;
    gap: 12px;
}

.property-filter-form button {
    flex: 1 1 100%;
    margin-top: 10px;
}

@media (max-width: 690px) {
    .property-filter-form {
        flex-direction: column;
        gap: 14px;
    }

    .property-filter-form .form-row {
        flex: 1 1 100%;
    }

    .double-input {
        flex-direction: column;
        gap: 10px;
    }

    .property-filter-form button {
        width: 100%;
    }
}

.send-message {
  padding: 60px 0;
}

.contact-card,
.agent-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
  font-weight: 600;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0d6efd;
}

.agent-image {
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.filled-button {
  background: #0d6efd;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.filled-button:hover {
  background: #084298;
}

@media (max-width: 768px) {
  .agent-card {
    margin-top: 30px;
  }
}


























