/* Global Styles */
:root {
    --primary-color: #0d47a1;
    --secondary-color: #ff6d00;
    --dark-color: #212121;
    --light-color: #f5f5f5;
    --gray-color: #757575;
    --white-color: #ffffff;
    --black-color: #000000;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}
.sidebar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.sidebar a {
  padding: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  color: white;
  transition: all 0.3s ease;
}

.sidebar a:hover {
  opacity: 0.8;
}
.sidebar-phone {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.sidebar-phone a {
  padding: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  color: white;
  transition: all 0.3s ease;
}

.sidebar-phone a:hover {
  opacity: 0.8;
}
/* Individual platform colors */
.Facebook   { background: #3b5998; }
.Instagram  { background: #e600ee; }
.Linkedin   { background: #0077b5; }
.Youtube    { background: #ff0000; }
.Whatsapp   { background: #25D366; }
.Phone      { background: #f57c00; }

.Whatsapp-phone  { background: #25D366; }
.Phone-phone   { background: #f57c00; }

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #1565c0;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-secondary);
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray-color);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}
body {
  padding-top: 80px; /* Adjust if your header height changes */
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    margin-right: 10px;
    float: left;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar ul li a:hover::after {
    width: 100%;
}

.navbar ul li a:hover {
    color: var(--primary-color);
}

.header-right .call-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.header-right .call-btn:hover {
    background-color: #1565c0;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
}

.close-btn:hover {
    color: #333;
}

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

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

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

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #0069d9;
}

.hero {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
              var(--hero-bg) no-repeat center center/cover;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 0 20px;
  position: relative;
  box-shadow: inset 0 -50px 80px rgba(0, 0, 0, 0.5);
  background-attachment: scroll;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero h1 {
  font-family: var(--font-secondary);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: clamp(16px, 2.5vw, 18px);
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.5;
}

/* — SEARCH WRAPPER CONTAINER — */
.search-wrapper {
  position: relative;
  margin: 30px auto 0;
  width: 100%;
  max-width: 600px;
}

/* — SEARCH INPUT — */
.search-wrapper input {
  width: 100%;
  height: 60px;
  padding: 0 20px;
  font-size: 16px;
  border: none;
  border-radius: 16px;
  background-color: #fff;
  color: #333;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  outline: none;
  box-sizing: border-box;
}

/* — SEARCH BUTTON — */
.search-wrapper button {
  position: absolute;
  right: 4px;
  top: 4px;
  height: 52px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6b35 0%, #f12711 100%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
  transition: background 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.search-wrapper button:hover {
  background: linear-gradient(135deg, #e55a2b 0%, #d12408 100%);
  transform: translateY(-1px);
}

.search-wrapper button:active {
  transform: scale(0.98);
}

/* — SUGGESTIONS DROPDOWN — */
.search-wrapper .dropdown-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  max-height: 240px;
  overflow-y: auto;
  z-index: 10;
}

.search-wrapper .dropdown-list li {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background 0.2s ease;
}

.search-wrapper .dropdown-list li:hover {
  background-color: #f1f1f1;
}

/* — RESPONSIVE ADJUSTMENTS — */
@media (max-width: 768px) {
  .search-wrapper {
    max-width: 100%;
    margin: 20px auto 0;
  }
  .search-wrapper input {
    height: 56px;
    font-size: 15px;
  }
  .search-wrapper button {
    height: 56px;
    font-size: 15px;
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .search-wrapper input {
    height: 52px;
    font-size: 14px;
    padding: 0 16px;
  }
  .search-wrapper button {
    height: 52px;
    width: auto;
    font-size: 14px;
    padding: 0 12px;
  }
}

/* Featured Properties */
.featured-properties {
    padding: 100px 0;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto; /* ✅ this is the key fix */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.property-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.property-details {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

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

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


.location {
    color: var(--gray-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.location i {
    margin-right: 5px;
}

.features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.features span {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--gray-color);
}

.features i {
    margin-right: 5px;
    color: var(--primary-color);
}

.property-price {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.inquiry-form {
    margin-bottom: 15px;
}

.inquiry-form input {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.inquiry-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-inquiry,
.back-inquiry,
.enquire-btn {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-inquiry:hover,
.back-inquiry:hover,
.enquire-btn:hover {
    background-color: #ff8f00;
}

.view-all {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 20px;
    }
    
    .featured-properties {
        padding: 60px 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

/* Loading and Error States */
#loading-indicator {
    color: var(--gray-color);
}

.error-message {
    grid-column: 1 / -1;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background-color: #b5d3f2;
    max-width: 1350px;
    margin: 0 auto;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.why-us-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.why-us-card:hover {
    transform: translateY(-10px);
}

.why-us-card .icon {
    width: 70px;
    height: 70px;
    background-color: rgba(3, 8, 2, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 30px;
    transition: var(--transition);
}

.why-us-card:hover .icon {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.why-us-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.why-us-card p {
    color: var(--gray-color);
    font-size: 14px;
}

/* Our Services Section */
.our-services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(13, 71, 161, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 14px;
}

.service-card a {
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.service-card a i {
    margin-left: 5px;
    font-size: 12px;
}

.service-card a:hover {
    color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #e7ad56;
    color: var(--black-color);
    max-width: 1350px;
    margin: 0 auto;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.rating {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--black-color);
}

.client-info {
    display: flex;
    align-items: center;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.client-info span {
    font-size: 14px;
    color: var(--gray-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h2 {
    font-family: var(--font-secondary);
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.info-item p {
    margin: 0;
    color: var(--gray-color);
    font-size: 14px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

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

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

/* About Section */
.about-section {
    padding: 80px 20px;
    background: #f9f9f9;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 20px;
}

.about-text h2 i {
    color: #007BFF;
    margin-right: 10px;
}

.about-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-highlights {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.about-highlights li {
    margin-bottom: 10px;
    font-weight: 500;
    color: #444;
}

.about-highlights i {
    color: #28a745;
    margin-right: 10px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* Map Footer Container */
.map-footer-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.map-section {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background: #f9f9f9;
}

/* Footer Section */
.footer {
    flex: 1;
    min-width: 300px;
    background-color: #000000;
    color: #ffffff;
    padding: 60px 0 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-col .logo {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-col .logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-col .logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fffefe;
}

.footer-col p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:hover {
    color: #0077b5;
    transform: translateX(5px);
}

.location-info p a {
    display: inline-block;
    transition: all 0.3s ease;
}

.location-info p a:hover {
    color: #0077b5;
    transform: translateX(5px);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #0077b5;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 600px) {
    .popup-content {
        width: 95%;
        padding: 15px;
    }
}

/* New container for side-by-side layout */
.map-footer-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.map-section {
    flex: 1;
    min-width: 300px; /* Adjust as needed */
    padding: 20px;
    background: #f9f9f9; /* Optional background color */
}

/* Modified footer styles for side-by-side layout */
.footer {
    flex: 1;
    min-width: 300px; /* Adjust as needed */
    background-color: #000000;
    color: #ffffff;
    padding: 60px 0 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-col .logo {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-col .logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-col .logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fffefe;
}

.footer-col p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-col h3:hover {
    color: #0077b5;
    transform: translateX(5px);
}

.location-info p a {
    display: inline-block;
    transition: all 0.3s ease;
}

.location-info p a:hover {
    color: #0077b5;
    transform: translateX(5px);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #0077b5; /* LinkedIn blue as accent color */
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #0077b5;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}
.whatsapp { color: #64b500; } 
.facebook { 
    color: #1877F2; 
}

.instagram { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.linkedin { 
    color: #0077B5; 
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 0.9rem;
}

.newsletter-form button {
    background-color: #0077b5;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #005f8d;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #eeebeb;
    font-size: 0.9rem;
    margin: 5px 0;
}

.footer-links {
    display: flex;
}

.footer-links a {
    color: #faeaea;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #0077b5;
}

/* General Layout */
.section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Titles */
.section-title {
    font-size: 2.4rem;
    margin-bottom: 30px;
    color: #333;
}

.section-title span {
    color: #A6EEFF;
}

/* About Section Content */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 1 1 50%;
    max-width: 600px;
    padding: 20px;
}

/* Stats Grid */
.about-stats {
    flex: 1 1 40%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 20px;
}

/* Cards */
.card {
    background-color: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Buttons */
.primary-btn {
    display: inline-block;
    background-color: #A6EEFF;
    color: #000;
    padding: 12px 24px;
    margin-top: 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.primary-btn:hover {
    background-color: #00c4ff;
    color: #fff;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #444;
}

.about-section {
    background: #00b2b2;
    color: #fff;
    padding: 100px 20px 40px;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    height: fit-content;
    justify-content: space-between;
    align-items: flex-start;
}

.about-left {
    flex: 1 1 45%;
}

.about-left h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-left h2 span {
    color: #fff;
    border-left: 4px solid orange;
    padding-left: 8px;
}

.about-left p {
    margin-bottom: 20px;
}

.btn {
    background: orange;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
}

.about-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex: 1 1 45%;
}

.stat-card {
    border: 1px solid #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-card h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
}

.stat-card p {
    color: #e0e0e0;
}

/* From Uiverse.io by vinodjangid07 */ 
.button {
    width: 110px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    background-color: rgb(161, 255, 20);
    border-radius: 30px;
    color: rgb(19, 19, 19);
    font-weight: 600;
    border: none;
    position: relative;
    cursor: pointer;
    transition-duration: .2s;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.116);
    padding-left: 8px;
    transition-duration: .5s;
}

.svgIcon {
    height: 25px;
    transition-duration: 1.5s;
}

.bell path {
    fill: rgb(19, 19, 19);
}

.button:hover {
    background-color: rgb(192, 255, 20);
    transition-duration: .5s;
}

.button:active {
    transform: scale(0.97);
    transition-duration: .2s;
}

.button:hover .svgIcon {
    transform: rotate(250deg);
    transition-duration: 1.5s;
}

.testimonial-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: url('/assets/family_photo.jpg') no-repeat right center;
    background-size: contain;
    background-color: #fff;
    padding: 60px 40px;
    min-height: 500px;
    box-sizing: border-box;
}

.testimonial-wrapper {
    max-width: 700px;
    z-index: 2;
}

.testimonial-heading {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #000;
    border-left: 4px solid #ff8c00;
    padding-left: 10px;
    line-height: 1.3;
}

.testimonial-heading span {
    display: block;
}

.testimonial-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 10px;
    width: 280px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.quote {
    font-size: 40px;
    color: #ff8c00;
    margin-bottom: 10px;
}

.name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.location {
    font-style: italic;
    font-size: 14px;
    margin-bottom: 10px;
    color: #ff8c00;
}

.location span {
    color: #777;
    font-style: italic;
}

.feedback {
    font-size: 15px;
    color: #444;
}

.contact-header {
    background: #00b2b2;
    color: white;
    text-align: center;
    padding-top: 10rem;
    padding-bottom: 7rem;
    padding-left: 6rem;
    padding-right: 6rem;
}

.contact-header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.contact-header p {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
}

.form-container {
    flex: 1 1 400px;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* ADDED shadow effect */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-container h2 {
    margin-bottom: 1rem;
    color: #005f73;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 1rem;
    font-weight: bold;
}

input, textarea {
    margin-top: 0.5rem;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.required {
    color: red;
}

button {
    margin-top: 1.5rem;
    background-color: #005f73;
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #003d4d;
}

.contact-info {
    margin-top: 2rem;
    font-size: 1rem;
    text-align: center;
}

.contact-info p {
    margin: 0.5rem 0;
}

.map-container {
    flex: 1 1 400px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* shadow for map too */
}

/*Special Button*/
.custom-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 18px; /* Balanced padding */
    border-radius: 8px;
    border: none;
    background: #1d3b70; /* dark blue */
    color: white;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    overflow: hidden;
}

.custom-button-text {
    display: inline-flex;
    align-items: center;
    margin: 0;
    transition: transform 0.3s ease;
}

.custom-iconer {
    display: inline-flex;
    align-items: center;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.custom-iconer svg {
    width: 18px;
    height: 18px;
}

.custom-button:hover .custom-button-text {
    transform: translateX(4px);
}

.custom-button:hover .custom-iconer {
    opacity: 1;
    transform: translateX(0);
}

.custom-button:hover {
    background: #2457a6; /* lighter blue on hover */
}

/* Responsive adjustments for side-by-side layout */
@media (max-width: 768px) {
    .map-footer-container {
        flex-direction: column;
    }
    
    .map-section,
    .footer {
        min-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
        justify-content: center;
    }
    
    .footer-links a {
        margin: 0 10px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text, .about-stats {
        padding: 0;
    }

    .section {
        padding: 60px 15px;
    }

    .testimonial-section {
        flex-direction: column;
        background: none;
        padding: 40px 20px;
    }

    .testimonial-wrapper {
        max-width: 100%;
    }

    .testimonial-row {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
.logout-btn, .login-btn {
  padding: 6px 12px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.logout-btn:hover {
  background-color: red;
}
.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.main-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.main-card h1 {
  margin: 10px 0 5px;
  font-size: 28px;
}

.main-card p {
  color: #777;
  font-weight: bold;
}

.info-card {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.info-card div {
  flex: 1;
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #444;
}

.details-card p {
  margin: 8px 0;
  font-size: 15px;
}

.about-card h2 {
  margin-bottom: 12px;
}

.about-card p {
  margin: 5px 0;
}


/*For the property detail page*/
/* — HERO OVERLAY — */
.detail-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
  color: #fff;
  z-index: 2;
  padding: 0 15px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
.hero-meta .display-4 {
  font-size: 2.5rem;
  line-height: 1.2;
}
.hero-stats .badge {
  font-size: 0.9rem;
  padding: 0.6em 1em;
  background: rgba(0, 123, 255, 0.85);
}

/* — STICKY INQUIRY FORM — */
.sticky-card {
  position: sticky;
  top: 120px; /* adjust to sit below your fixed header */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #fff;
}
.card-title {
  font-size: 1.4rem;
  font-weight: 600;
}
.form-group label {
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 0.6em 0.8em;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* — SUMMARY GRID TWEAKS — */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}
.summary-grid .item h4 {
  font-size: 1rem;
  color: #555;
}
.summary-grid .item p {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 5px;
}

/* — SECTION HEADER — */
.section-header {
  font-size: 1.6rem;
  font-weight: 600;
  color: #222;
  border-left: 4px solid var(--theme-color);
  padding-left: 12px;
  margin-bottom: 20px;
}
@media (min-width: 1024px) {
  .sidebar-phone {
    display: none !important;
  }
}
/* — RESPONSIVE ADJUSTMENTS — */
@media (max-width: 991px) {
  .hero-meta .display-4 { font-size: 2rem; }
  .sticky-card { position: relative; top: auto; margin-top: 40px; }
}
@media (max-width: 768px) {

  /* Let items wrap onto new lines */
  .header .container{
      flex-wrap: wrap;
      gap: 10px;  
      justify-content: center;/* small breathing room                  */
  }

  /* Logo stays on its own line (row 1) */


  /* Navigation bar becomes row 2 and spans full width */
  .navbar{
      flex: 1 1 100%;           /* full row                              */
      order: 2;                 /* show after logo                       */
  }
  .navbar ul{
      flex-wrap: wrap;          /* links flow horizontally then wrap     */
      justify-content: center;
      gap: 0px;
  }
  .navbar ul li {
    margin: 8px 10px;
  }
.sidebar { display: none;}

  /* Login / profile actions move to row 3, full width */
  .header-right{
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      order: 3;
      gap: 10px;
  }
  .header-right .call-btn {
    padding: 8px 12px;
    font-size: 14px;
  }

  /* We no longer show the hamburger */
  .mobile-menu-btn{
      display: none;
  }
}




