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

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

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

button {
  cursor: pointer;
  font-family: inherit;
}

/* Mobile Menu Styles */
:root {
  --primary-color: #00CC99;
  --dark-color: #1A202C;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Mobile Header */
.mobile-header {
  display: none;
  padding: 15px 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.mobile-header-elements {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mobile-logo a {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: 2px;
  text-decoration: none;
}

.mobile-nav-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eef5f4;
  border-radius: 50%;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-nav-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.mobile-nav-icon i {
  font-size: 1.1rem;
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: white;
  z-index: 999;
  padding: 30px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-sidebar.active {
  right: 0;
}

/* Mobile Sidebar Header */
.logosicon-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.logos {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eef5f4;
  border-radius: 50%;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-close:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.menu-close i {
  font-size: 1.1rem;
}

/* Mobile Navigation List */
.mobile-nav {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.mobile-nav-list li {
  margin-bottom: 0;
  border-bottom: 1px solid #f5f5f5;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.mobile-nav-list li:last-child {
  border-bottom: none;
}

.mobile-sidebar.active .mobile-nav-list li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-list li a {
  display: block;
  padding: 15px 0;
  font-weight: 500;
  color: var(--dark-color);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-list li a:hover {
  color: var(--primary-color);
  padding-left: 10px;
}

.mobile-nav-list li a.active {
  color: var(--primary-color);
  font-weight: 600;
}

.mobile-nav-list li a.active::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Staggered animation delay */
.mobile-sidebar.active .mobile-nav-list li:nth-child(1) { transition-delay: 0.1s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(2) { transition-delay: 0.15s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(3) { transition-delay: 0.2s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(4) { transition-delay: 0.25s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(5) { transition-delay: 0.3s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(6) { transition-delay: 0.35s; }

/* Mobile Login Section */
.mobile-login-section {
  margin-top: 30px;
  padding: 30px 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(248, 250, 252, 0.8) 30%, #f8fafc 100%);
  backdrop-filter: blur(10px);
  position: relative;
}

.mobile-login-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -30px;
  right: -30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.mobile-login-btn {
  width: 100%;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  color: #00CC99;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.mobile-login-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(0, 204, 153, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  border-radius: 50%;
}

.mobile-login-btn:hover::after {
  width: 300px;
  height: 300px;
}

.mobile-login-btn:hover {
  border-color: #00CC99;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 204, 153, 0.15);
}

.login-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 1rem;
}

.mobile-login-btn:hover .login-arrow {
  transform: translateX(4px);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Ripple Animation */
@keyframes ripple {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* Show mobile header on smaller screens */
@media (max-width: 991px) {
  .mobile-header {
    display: block;
  }
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .mobile-sidebar {
    width: 280px;
    padding: 25px 20px;
  }

  .mobile-nav-list li a {
    font-size: 1rem;
    padding: 12px 0;
  }

  .logos {
    font-size: 1.3rem;
  }
}

@media (max-width: 479px) {
  .mobile-sidebar {
    width: 260px;
    padding: 20px 15px;
  }
}

/* Blog Hero Section */
.blog-hero {
  position: relative;
  width: 100%;
  color: white;
  padding: 5rem 0;
  text-align: center;
  background-color: #00CC99;
}

.blog-hero .container {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  transition: text-decoration 0.3s;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 0.5rem;
}

.blog-hero h1 {
  font-size: 2.25rem;
  max-width: 800px;
  margin-bottom: 2rem;
  line-height: 1.2;
  color: white;
}

@media (min-width: 768px) {
  .blog-hero h1 {
    font-size: 3rem;
  }
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.author {
  display: flex;
  align-items: center;
}

.author img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
  margin-right: 0.5rem;
}

/* Blog Content Styles */
.content-container {
  max-width: 1024px;
  padding: 2rem 1rem;
}

.blog-content {
  margin-bottom: 3rem;
}

.post-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #666;
}

.property-link, .author-info, .date-info {
  display: flex;
  align-items: center;
}

.property-link:hover {
  color: #00CC99;
}

.post-info i {
  margin-right: 0.25rem;
  font-size: 1rem;
}

.blog-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.text-content {
  color: #555;
  margin-bottom: 2rem;
}

/* Key Features */
.key-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .key-features {
    flex-direction: row;
  }
}

.key-features-bottom {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .key-features-bottom {
    flex-direction: row;
  }
}

.feature-left, .feature-right, .feature-left-bottom, .feature-right-bottom {
  flex: 1;
}

.feature-left, .feature-right-bottom {
  border-radius: 0.75rem;
  overflow: hidden;
}

.feature-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

.feature-right, .feature-left-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
  align-items: flex-start;
}

.feature-item:hover {
  background-color: #f1f3f5;
}

.feature-icon {
  margin-top: 0.25rem;
  margin-right: 1rem;
  color: #00CC99;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content strong {
  display: block;
  margin-bottom: 0.25rem;
}

.feature-content p {
  margin-bottom: 0;
}

/* Investment Section */
.investment-section {
  margin-bottom: 2rem;
}

.investment-section h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.investment-section > div {
  margin-bottom: 1rem;
}

.placeholder-img {
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.placeholder-img img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-text {
  margin-bottom: 2rem;
}

/* Quote Section */
.quote-section {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.quote-section blockquote {
  text-align: center;
}

.quote-section p {
  font-size: 1.25rem;
  font-style: italic;
  color: #343a40;
  margin-bottom: 1rem;
}

.quote-section footer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-icon {
  background-color: #dee2e6;
  border-radius: 9999px;
  width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.75rem;
}

.user-icon i {
  color: #6c757d;
  font-size: 0.875rem;
}

.quote-section cite {
  font-weight: 600;
}

/* Post Footer */
.post-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  margin: 2rem 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.tags-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .tags-section {
    margin-bottom: 0;
  }
}

.tags-section span, .social-section span {
  color: #495057;
}

.tag {
  background-color: #f1f3f5;
  color: #495057;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  transition: background-color 0.3s;
}

.tag:hover {
  background-color: #e9ecef;
}

.social-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
}

.social-icons a {
  color: #6c757d;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #00CC99;
}

/* Comments Section */
.comments-section {
  margin-bottom: 3rem;
}

.comments-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.comment {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
}

.comment-avatar {
  background-color: #dee2e6;
  border-radius: 9999px;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.comment-avatar span {
  font-size: 0.75rem;
  color: #6c757d;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.comment-header h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.comment-date {
  font-size: 0.875rem;
  color: #6c757d;
}

.reply-btn {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #6c757d;
  background: none;
  border: none;
  transition: color 0.3s;
}

.reply-btn:hover {
  color: #00CC99;
}

.reply-btn i {
  margin-right: 0.25rem;
}

/* Reply Form */
.reply-form {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 3rem;
}

.reply-form h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.reply-form p {
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.reply-form input, .reply-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
  font-family: inherit;
}

.reply-form input:focus, .reply-form textarea:focus {
  outline: none;
  border-color: #00CC99;
  box-shadow: 0 0 0 3px rgba(0, 204, 153, 0.25);
}

/* Reply comment form input focus styles */
.reply-comment-form textarea:focus {
  outline: none;
  border-color: #00CC99 !important;
  box-shadow: 0 0 0 3px rgba(0, 204, 153, 0.25) !important;
}

.submit-btn {
  background-color: #00CC99;
  color: white;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.25rem;
  transition: background-color 0.3s;
  display: inline-flex;
  align-items: center;
}

.submit-btn:hover {
  background-color: #00b386;
}

.submit-btn i {
  margin-left: 8px;
}

/* Reply Comment Form Styles */
.reply-comment-form button:first-of-type,
.submit-reply-btn {
  background-color: #00CC99 !important;
  color: white !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.25rem;
  transition: background-color 0.3s;
  cursor: pointer;
}

.reply-comment-form button:first-of-type:hover,
.submit-reply-btn:hover {
  background-color: #00b386 !important;
}

/* Custom notification styles */
.custom-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #333;
  color: white;
  padding: 20px;
  border-radius: 5px;
  z-index: 1000;
  text-align: center;
  max-width: 80%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.custom-notification button {
  background-color: #00CC99;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  margin-top: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.custom-notification button:hover {
  background-color: #00b386;
}

/* Related Properties */
.related-properties {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.related-properties h2 {
  font-size: 1.875rem;
  text-align: center;
  margin-bottom: 3rem;
}

.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .property-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property-card {
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.property-img {
  position: relative;
}

.property-img img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: white;
  color: #495057;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.property-content {
  padding: 1.5rem;
}

.property-meta {
  display: flex;
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.meta-item {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.meta-item i {
  margin-right: 0.25rem;
  font-size: 0.875rem;
}

.property-card h3 {
  font-size: 1.125rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-card p {
  color: #6c757d;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: #00CC99;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.read-more:hover {
  color: #00b386;
}

.read-more i {
  margin-left: 0.25rem;
  transition: transform 0.3s;
}

.read-more:hover i {
  transform: translateX(4px);
}