/* Add these common styles at the top of style.css */

/* Common Variables */
:root {
    --primary-color: #07234b;
    --secondary-color: #ee7133;
    --text-color: #35373C;
    --light-bg: #f0f3f8;
    --border-color: #e1e8ed;
}

/* Global Styles */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-color);
}

.container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.navbar {
    background-color: white !important;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

.navbar .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    margin-left: 1rem;
}

.navbar .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.dropdown-item {
    color: var(--text-color);
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

/* Common Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Common Card Styles */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card-body {
    padding: 1.5rem;
}

.text-primary {
    color: #07234b !important;
}
.listing-img {
  background-size: cover;  
}

.hero {
    min-height: 500px;
    background: linear-gradient(135deg, rgba(7, 35, 75, 0.95) 0%, rgba(27, 58, 100, 0.95) 100%);
    padding: 80px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.search-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.search-container .form-group {
    margin-bottom: 0;
}

.search-container .form-control {
    height: 54px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    padding: 0 1.25rem;
}

.search-container .btn {
    height: 54px;
    font-size: 1rem;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Featured Section */
.featured-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer Improvements */
footer {
    background-color: var(--primary-color);
    padding: 80px 0 40px;
}

footer h5 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer .contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

footer .contact-info i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

footer .social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

footer .location-links {
    columns: 2;
    column-gap: 2rem;
}

footer .location-links li {
    margin-bottom: 0.75rem;
    break-inside: avoid;
}

footer .location-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer .location-links a:hover {
    color: white;
    padding-left: 0.5rem;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 3rem 0 2rem;
}

footer .copyright {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero {
        min-height: 400px;
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .search-container {
        padding: 1.5rem;
    }

    .featured-section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 350px;
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .search-container {
        padding: 1rem;
    }

    .search-container .form-control,
    .search-container .btn {
        height: 48px;
    }

    footer {
        padding: 40px 0 20px;
    }

    footer .location-links {
        columns: 1;
    }

    footer .social-links {
        justify-content: center;
    }

    footer .contact-info {
        text-align: center;
    }

    footer .contact-info p {
        justify-content: center;
    }
}

.service-icon {
    color: #ff6600;
}

footer {
    background-color: #07234b;
}

footer h5 {
    color: #ffffff;
    margin-bottom: 1rem;
}

footer p, footer a {
    color: #d3d3d3;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

footer ul {
    padding: 0;
    list-style-type: none;
}

.text-center {
    text-align: center;
}

.text-md-right {
    text-align: right;
}

.list-unstyled {
    padding: 0;
    list-style: none;
}

@media (max-width: 767.98px) {
    .text-md-right {
        text-align: center;
    }
}

.contact-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-around;
}

.card-text {
    color: #6c757d;
    /* Secondary color for text */
}

.contact-icons a {
    display: flex;
    align-items: center;
    color: #07234b;
    /* Color for icons and text */
    text-decoration: none;
}

.icon-grey {
    color: #6c757d;
    /* Grey color for icons */
    font-size: 0.9rem;
    /* Slightly smaller size for icons */
    margin-right: 0.5rem;
    /* Space between icon and text */
}

hr {
    border-top: 1px solid #d3d3d3;
    /* Thin grey line */
}

.contact-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.contact-section h2 {
    color: #07234b;
}

.contact-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #07234b;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 10px;
    margin-right: 10px;
}

.contact-item p {
    margin: 0;
}

.contact-divider {
    border-top: 1px solid #d3d3d3;
    margin: 1rem 0;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.form-control {
    border: 1px solid #07234b;
}

.btn-primary {
    background-color: #07234b;
    border-color: #07234b;
}

.btn-primary:hover {
    background-color: #051c3b;
    border-color: #051c3b;
}

/* Spacing between left and right halves */
.pr-md-5 {
    padding-right: 3rem;
}

/* Import the Plus Jakarta Sans font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700&display=swap');

/* Make the menu sticky and white with a thin grey line at the bottom */
.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.bg-white {
    background-color: #ffffff !important;
}

.border-bottom {
    border-bottom: 1px solid #d3d3d3;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    color: rgb(5, 28, 59);
    font-size: 16px;
    line-height: 24px;
    padding: 15px 10px; /* Increase padding to increase menu height */
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #051c3b;
}

.btn-primary {
    background-color: #07234b;
    border-color: #07234b;
}

.btn-primary:hover {
    background-color: #051c3b;
    border-color: #051c3b;
}

.navbar-toggler {
    border: none;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
    }

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

    .navbar-nav .nav-link {
        padding: 10px 15px;
    }

    .btn-primary {
        margin-top: 10px;
    }
}

/* developers partners */
.partners {
    background-color: #ffffff;
}

.elegant-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem; /* Small elegant text */
    color: #35373c;
    font-weight: 500;
}

.partner-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid grey;
    background-color: #ffffff; /* Light grey circle */
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.partner-logo {
    filter: grayscale(100%);
    max-height: 80px; /* Adjust as needed */
}

@media (max-width: 767.98px) {
    .partner-logo-wrapper {
        width: 90px;
        height: 90px;
  
    }
    .partner-logo {
        max-height: 60px; /* Adjust as needed for smaller screens */
    }
}

/* property management */
.property-management-hero {
    background: url('../images/hero-image.jpg') no-repeat center center;
    background-size: cover;
    height: 300px;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.property-management-hero .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-text {
    /* background: rgba(0, 0, 0, 0.5); Semi-transparent background for better text readability */
    padding: 20px;
    border-radius: 10px;
    max-width: 100%; /* Adjust as needed */
}

.smallest-font {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    margin-bottom: 10px;
}

.biggest-font {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.medium-font {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.btn-orange {
        background: linear-gradient(86.28deg, #d75718, #ee7133);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.btn-orange:hover {
    background:   rgb(7, 35,75);;
    color: white;
    text-decoration: none;
}

/* property-listing and property-details page css */
.card-container{
        border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .08), 0 0 2px 0 rgba(0, 0, 0, .16), 0 -12px  24px 0 rgba(0, 0, 0, .03);
    height: 100%;
    overflow: hidden;
}
    h4{
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 32px;
color: rgb(238, 113,51);
    }
     p{
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 26px;
color: rgb(53, 55,60);
    }
    h5{
           font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 26px;
color: rgb(7, 35,75);
    }
       .dollar {
           font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 32px;
color: rgb(7, 35,75);
    }
    .dollar-text{
           
           font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 22px;
color: rgb(7, 35,75);
text-decoration: underline;
    }
    .dollarp{
               font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 26px;
color: rgb(53, 55,60);
    }
     .dollar-text:hover{
        color: rgb(238, 113, 51);
     }
    
  .red{
           font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 19px;
color: rgb(53, 35,60);
  }
    .white{
           font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 19px;
color: rgb(53, 35,60);
  }
   .link{
           font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 16px;
color: rgb(238, 113,51);
text-decoration: underline;
  }
  .paragraph{
          font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
color: rgb(53, 55,60);
  }
   .heading{
      
          font-size: 10px;
        font-style: normal;
        font-weight: 800;
        line-height: 16px;
color: rgb(147, 153,164);
  
   }
   .head{
     
      font-family:'Plus Jakarta Sans', sans-serif ;
          font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 22px;
color: rgb(53, 55,60);
  

   }
hr{
    font-weight: lighter;
}

.input-item{
        border: 1px solid #e1e8ed;
    border-radius: 4px;
    font-size: 14px;
    height: 48px;
    margin-top: 8px;
    padding: 0 16px;
    width: 100%
}
.label{
    
      font-family:'Plus Jakarta Sans', sans-serif ;
          font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: 19px;
color: rgb(53, 55,60);
  
}
.scan{
    
      font-family:'Plus Jakarta Sans', sans-serif ;
          font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 26px;
color: rgb(53, 55,60);
  
}
.button-gray {
    background: #f0f3f8;
    color: #07234b;
    position: relative;
    z-index: 1;
    padding: 15px;
    margin: 15px;
       border-radius: 5px;}
.button-gray:hover{
    background: #ee7133;
    color: #fff;
}
#button-gray {
    background: #f0f3f8;
    color: #07234b;
    position: relative;
    z-index: 1;
    

       border-radius: 5px;}
#button-gray:hover{
    background: #ee7133;
    color: #fff;
}
.box{
    border: 3px solid white;
    box-shadow: 16px;
}
 .bs-btn{
        
    background: rgba(0, 0, 0, .4);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, .4);
    color: #fff;
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    left: 20px;
    padding: 10px 16px;
    position: absolute;
    text-transform: capitalize;
    top: 8px;
    z-index: 1
 }
.hide-mobile
{
display: none;
}
@media only screen and (min-width: 500px) {
.hide-mobile
{
display: block;
}
}

@media only screen and (min-width: 500px) {
.show-mobile
{
display: block;
}
}

/* media query */
@media (max-width: 767.98px){
    .ima{
        width: 100%;
        height: 100%;
    }
}

.input-group {
    width: 100%;
}

@media (min-width: 1400px) {
    .search-container {
        max-width: 1400px;
    }
}

/* Project Detail Page Styles */
.project-header {
    background: linear-gradient(135deg, #07234b 0%, #1b3a64 100%);
    color: white;
    padding: 60px 0;
    position: relative;
}

/* Breadcrumb Styles */
.project-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.project-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.project-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-header .breadcrumb-item a:hover {
    color: #fff;
}

.project-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.project-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
    content: "›";
    font-size: 16px;
    padding: 0 10px;
}

/* Project Title Styles */
.project-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-header .lead {
    font-size: 1.1rem;
    opacity: 0.9;
}

.project-header .lead i {
    color: #ee7133;
    margin-right: 8px;
}

.project-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .08), 0 0 2px 0 rgba(0, 0, 0, .16);
    margin-bottom: 24px;
}

.card-body {
    padding: 24px;
}

.card h2 {
    color: #07234b;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.card h3 {
    color: #07234b;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.project-details li {
    margin-bottom: 16px;
    color: #35373C;
}

.project-details i {
    color: #ee7133;
    width: 24px;
    margin-right: 8px;
}

.contact-link {
    color: #07234b;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 4px;
}

.contact-link:hover {
    background: #f0f3f8;
    color: #ee7133;
}

.contact-link i {
    margin-right: 8px;
}

.btn-primary {
    background: #07234b;
    border-color: #07234b;
    padding: 12px 24px;
    font-weight: 600;
}

.btn-primary:hover {
    background: #ee7133;
    border-color: #ee7133;
}

.btn-outline-primary {
    color: #07234b;
    border-color: #07234b;
    padding: 12px 24px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: #07234b;
    border-color: #07234b;
}

.form-control {
    height: 48px;
    border: 1px solid #e1e8ed;
    border-radius: 4px;
    padding: 0 16px;
}

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

/* Project Listing Styles */
.projects-listing {
    padding: 60px 0;
    background-color: var(--light-bg);
}

/* Card Container */
.projects-listing .col-md-4 {
    margin-bottom: 30px;
    display: flex;
}

/* Card */
.projects-listing .card {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-listing .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Image Container */
.project-image-container {
    position: relative;
    padding-top: 66.67%; /* 3:2 Aspect Ratio */
    overflow: hidden;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.projects-listing .card:hover .project-image {
    transform: scale(1.05);
}

/* Card Content */
.projects-listing .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.projects-listing .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
    height: 2.8em; /* 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.projects-listing .location-text {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.projects-listing .location-text i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
    font-size: 1rem;
}

/* Project Details */
.projects-listing .project-details {
    margin-bottom: 1.5rem;
}

.projects-listing .project-details p {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.projects-listing .project-details i {
    color: var(--secondary-color);
    width: 1.5rem;
    margin-right: 0.75rem;
    font-size: 1rem;
}

/* Contact Section */
.projects-listing .contact-icons {
    margin-top: auto;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
}

.projects-listing .contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.projects-listing .contact-link:hover {
    color: var(--secondary-color);
    background-color: var(--light-bg);
}

.projects-listing .contact-link i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* View Details Button */
.projects-listing .btn-primary {
    margin-top: 1.25rem;
    width: 100%;
    padding: 0.875rem;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 6px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .projects-listing .col-md-4 {
        margin-bottom: 25px;
    }
    
    .project-image-container {
        padding-top: 60%; /* Slightly shorter on mobile */
    }
}

@media (max-width: 767.98px) {
    .projects-listing {
        padding: 40px 0;
    }
    
    .projects-listing .card-title {
        font-size: 1.1rem;
    }
}