/* Creative Villa vs Home Comparison Section */
.villa-vs-home-comparison {
  display: flex;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(46, 42, 101, 0.1);
  border-radius: 20px;
  margin: 50px 0 30px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(46, 42, 101, 0.05);
  position: relative;
  z-index: 1;
}

.villa-vs-home-comparison::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #2e2a65, #bd9130, #2e2a65);
  z-index: 2;
}

.comparison-column {
  flex: 1;
  padding: 50px 40px;
  position: relative;
  transition: all 0.4s ease;
  background: transparent;
}

.comparison-column:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  z-index: 3;
}

.comparison-column.border-right {
  border-right: 1px solid rgba(46, 42, 101, 0.1);
}

.comparison-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(46, 42, 101, 0.05);
  color: #bd9130;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: all 0.4s ease;
}

.comparison-column:hover .comparison-icon {
  background: #2e2a65;
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

.comparison-title {
  font-size: 2rem;
  font-weight: 800;
  color: #2e2a65;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  text-align: left;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 18px;
  font-size: 1rem;
  text-align: left;
  color: #525866;
  line-height: 1.6;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.comparison-column:hover .comparison-list li {
  transform: translateX(5px);
}

.comparison-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #bd9130;
  font-size: 1rem;
  background: rgba(189, 145, 48, 0.1);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-footer {
  text-align: center;
  margin-bottom: 50px;
  margin-top: 10px;
}

.comparison-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, #2e2a65, #3b3680);
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  width: 100%;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(46, 42, 101, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
}

.comparison-list li:last-child {
  margin-bottom: 0;
}

.comparison-link i {
  transition: transform 0.3s ease;
}

.comparison-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(46, 42, 101, 0.3);
  background: linear-gradient(135deg, #3b3680, #2e2a65);
}

.comparison-link:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .villa-vs-home-comparison {
    flex-direction: column;
  }

  .comparison-column.border-right {
    border-right: none;
    border-bottom: 1px solid rgba(46, 42, 101, 0.1);
  }

  .comparison-column {
    padding: 40px 25px;
  }
}

/* Bento Grid for Why SM */
.bento-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.bento-card {
  background: #fdfaf6;
  border: 1px solid rgba(46, 42, 101, 0.1);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(46, 42, 101, 0.08);
  border-color: rgba(46, 42, 101, 0.2);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #2e2a65;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.bento-card:hover::before {
  transform: scaleX(1);
}

.bento-icon {
  width: 56px;
  height: 56px;
  background: rgba(46, 42, 101, 0.05);
  color: #2e2a65;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.bento-card:hover .bento-icon {
  background: #2e2a65;
  color: #fdfaf6;
}

.bento-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #2e2a65;
  margin-bottom: 16px;
  line-height: 1.3;
}

.bento-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
}

.bento-large-card {
  grid-column: span 2;
  grid-row: span 2;
  background: #2e2a65;
}

.bento-large-card .bento-title,
.bento-large-card .bento-desc {
  color: #fdfaf6;
}

.bento-large-card .bento-desc {
  opacity: 0.8;
  font-size: 18px;
}

.bento-large-card .bento-icon {
  background: rgba(253, 250, 246, 0.1);
  color: #fdfaf6;
}

.bento-large-card:hover .bento-icon {
  background: #fdfaf6;
  color: #2e2a65;
}

.bento-large-card::before {
  background: #d4af37;
}

.bento-full-card {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.bento-full-card .bento-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

@media screen and (max-width: 991px) {
  .bento-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-large-card {
    grid-column: span 2;
  }

  .bento-full-card {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .bento-full-card .bento-icon {
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 767px) {
  .bento-why-grid {
    grid-template-columns: 1fr;
  }

  .bento-large-card,
  .bento-full-card {
    grid-column: span 1;
  }
}

/* Directory Section CSS - Light Theme with Creative Cards */
.section-directory {
  background-color: #fdfaf6;
  /* Light cream background */
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.directory-header {
  margin-bottom: 70px;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.directory-tagline {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #bd9130;
  margin-bottom: 16px;
  font-weight: 700;
}

.directory-heading {
  font-size: 46px;
  font-weight: 700;
  color: #2e2a65;
  /* Navy heading */
  margin-bottom: 24px;
  line-height: 1.2;
}

.directory-desc {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

.directory-category {
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.directory-category:last-child {
  margin-bottom: 0;
}

.directory-category-title {
  font-size: 15px;
  letter-spacing: 2px;
  color: #bd9130;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
}

.directory-category-title::after {
  content: '';
  height: 1px;
  flex-grow: 1;
  background: linear-gradient(90deg, rgba(189, 145, 48, 0.3), transparent);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* White Cards with Creative Effects */
.dir-card {
  background: #ffffff;
  border: 1px solid rgba(46, 42, 101, 0.08);
  border-radius: 20px;
  padding: 35px 25px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(46, 42, 101, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dir-card:hover {
  transform: translateY(-8px);
  border-color: rgba(189, 145, 48, 0.4);
  box-shadow: 0 20px 40px rgba(46, 42, 101, 0.08);
}

.dir-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #2e2a65;
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.dir-card:hover .dir-card-title {
  color: #bd9130;
}

.dir-card-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
  flex-grow: 1;
  transition: color 0.3s ease;
}

.dir-card:hover .dir-card-desc {
  color: #444;
}

.dir-link {
  font-size: 13px;
  font-weight: 700;
  color: #bd9130;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  transition: color 0.3s ease;
  border-top: 1px solid rgba(46, 42, 101, 0.08);
  padding-top: 20px;
}

.dir-link i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(189, 145, 48, 0.1);
  color: #bd9130;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dir-card:hover .dir-link i {
  background: #bd9130;
  color: #ffffff;
  transform: scale(1.1) rotate(-45deg);
}

/* --- Responsive Styles for Directory Section --- */

@media screen and (max-width: 1024px) {
  .section-directory {
    padding: 80px 0;
  }
  .directory-header {
    margin-bottom: 50px;
  }
  .directory-heading {
    font-size: 38px;
  }
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .directory-category {
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 768px) {
  .section-directory {
    padding: 60px 0;
  }
  .directory-heading {
    font-size: 32px;
  }
  .directory-desc {
    font-size: 16px;
  }
  .dir-card {
    padding: 30px 20px;
  }
}

@media screen and (max-width: 600px) {
  .section-directory {
    padding: 50px 0;
  }
  .directory-header {
    margin-bottom: 40px;
  }
  .directory-heading {
    font-size: 28px;
    margin-bottom: 16px;
  }
  .directory-tagline {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }
  .directory-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .directory-category {
    margin-bottom: 40px;
  }
  .directory-category-title {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .dir-card {
    padding: 24px 20px;
  }
  .dir-card-title {
    font-size: 20px;
  }
  .dir-card-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .dir-link {
    padding-top: 16px;
  }
  .dir-link i {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}