/* Image Zoom on Hover - Zooms within boundaries */
.zoom-container {
  overflow: hidden;
  display: inline-block;
}

img.zoom-hover {
  transition: transform 0.3s ease-in-out;
  display: block;
}

img.zoom-hover:hover {
  transform: scale(1.15);
}

/* Image Overlay Container - Zoom + Text Overlay */
.image-overlay-container {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.image-overlay-container img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-in-out;
}

.image-overlay-container img:hover {
  transform: scale(1.15);
}

/* Overlay Text */
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 10;
  width: 100%;
  pointer-events: none;
}

.overlay-text p {
  margin: 0;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: normal;
  font-family: 'Times New Roman', Times, serif;
}

.overlay-text h3 {
  margin: 5px 0 0 0;
  font-size: 28px;
  font-weight: normal;
  letter-spacing: 1px;
  font-family: 'Times New Roman', Times, serif;
}

.overlay-text h2 {
  margin: 5px 0 0 0;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}



/* Stats Counting Block with Switching Text */
.stats-container {
  background-color: #39527a;
  padding: 10px 0;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 15px solid white;
  border-right: 15px solid white;
}

.stats-block {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  gap: 60px;
  padding: 0 20px;
  min-height: 50px;
}

/* Stats Display */
#statsDisplay {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 60px;
  min-height: 50px;
}

.stat-item {
  flex: 0 1 auto;
  min-width: 120px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-size: 18px;
  font-weight: bold;
  font-family: 'Times New Roman', Times, serif;
  margin-bottom: 3px;
  line-height: 1;
  white-space: nowrap;
}

.stat-symbol {
  font-size: 16px;
  margin-left: 2px;
}

.stat-label {
  font-size: 11px;
  font-weight: normal;
  font-family: Arial, sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Achievement Display */
#achievementDisplay {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
  min-height: auto;
  height: auto;
  overflow: visible;
}

.achievement-text {
  color: white;
  text-align: center;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  margin: 0;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.achievement-line1 {
  font-size: 14px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  margin: 0 0 8px 0;
  line-height: 1.6;
  padding: 0;
  width: 100%;
}

.achievement-line2 {
  font-size: 14px;
  font-weight: normal;
  font-family: Arial, sans-serif;
  margin: 0;
  line-height: 1.4;
  min-height: auto;
  padding: 0;
}

/* Mobile Responsive - Stack vertically and grow taller */
@media (max-width: 768px) {
  .stats-container {
    min-height: auto;
    padding: 10px 0;
    border-left: none;
    border-right: none;
  }
  
  .stats-block {
    min-height: auto;
    gap: 5px;
    padding: 5px 20px;
  }
  
  #statsDisplay {
    flex-direction: column;
    gap: 5px;
    min-height: auto;
    justify-content: center;
  }
  
  .stat-item {
    min-width: 100%;
  }
  
  .stat-number {
    font-size: 18px;
    margin-bottom: 0px;
  }
  
  .stat-label {
    font-size: 11px;
  }
  
  #achievementDisplay {
    padding: 5px 20px;
    min-height: auto;
    height: auto;
    overflow: visible;
  }
  
  .achievement-text {
    height: auto;
    margin: 0;
    padding: 0;
  }
  
  .achievement-line1 {
    font-size: 13px;
    margin: 0 0 3px 0;
    padding: 0 15px;
    line-height: 1.6;
    width: 100%;
    box-sizing: border-box;
  }
  
  .achievement-line2 {
    font-size: 13px;
    min-height: auto;
    margin: 0;
    padding: 0;
  }
}

/* Stats Counting Block */
.stats-container {
  background-color: #39527a;
  padding: 10px 0;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 15px solid white;
  border-right: 15px solid white;
}

.stats-block {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  gap: 60px;
  padding: 0 20px;
  min-height: 50px;
}

.stat-item {
  flex: 0 1 auto;
  min-width: 120px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-size: 18px;
  font-weight: bold;
  font-family: 'Times New Roman', Times, serif;
  margin-bottom: 3px;
  line-height: 1;
  white-space: nowrap;
}

.stat-symbol {
  font-size: 16px;
  margin-left: 2px;
}

.stat-label {
  font-size: 11px;
  font-weight: normal;
  font-family: Arial, sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Mobile Responsive - Stack vertically and grow taller */
@media (max-width: 768px) {
  .stats-container {
    min-height: auto;
    padding: 10px 0;
    border-left: none;
    border-right: none;
  }
  
  .stats-block {
    flex-direction: column;
    gap: 5px;
    min-height: auto;
    padding: 5px 20px;
  }
  
  .stat-item {
    min-width: 100%;
  }
  
  .stat-number {
    font-size: 18px;
    margin-bottom: 0px;
  }
  
  .stat-label {
    font-size: 11px;
  }
}




/* Contact Section - Photo Left, Info Right - Left Aligned */
.contact-section-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 40px 20px;
  background-color: transparent;
  box-sizing: border-box;
}

.contact-section {
  display: flex;
  gap: 60px;
  max-width: 890px;
  width: 100%;
  align-items: flex-start;
}

/* Photo on left */
.contact-photo {
  flex: 0 0 auto;
  width: 280px;
}

.agent-photo {
  width: 100%;
  height: auto;
  display: block;
}

/* Contact info on right - left aligned */
.contact-info-right {
  flex: 1;
  text-align: left;
}

.agent-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  font-weight: normal;
  color: #39527a;
  margin: 0 0 20px 0;
  line-height: 1.2;
  letter-spacing: 1px;
  width: 100%;
  box-sizing: border-box;
}

.contact-row {
  margin-bottom: 15px;
  text-align: left;
}

.contact-label {
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  color: #39527a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 5px 0;
}

.contact-value {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  color: #333;
  margin: 0 0 3px 0;
  line-height: 1.4;
}

.contact-value a {
  color: #39527a;
  text-decoration: none;
  font-family: Georgia, 'Times New Roman', serif;
}

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

/* Social icons - horizontal row below contact info */
.social-icons-bottom {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: white;
  color: #39527a;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #39527a;
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-icon:hover {
  background-color: #39527a;
  color: white;
  transform: scale(1.1);
}

.social-icon:active {
  transform: scale(0.95);
}

/* Bio Section - Full Width */
.bio-section-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 40px 20px;
  background-color: transparent;
  box-sizing: border-box;
  overflow: hidden;
}

.bio-section {
  max-width: 890px;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.span_about {
  overflow: auto;
}

.about {
  overflow: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about img {
  max-width: 150px;
  height: auto;
  margin-right: 15px;
  margin-left: 0;
}

/* Get To Know Me heading with separator bar */
.get-to-know-me {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  font-weight: normal;
  color: #39527a;
  text-align: left;
  margin: 0 0 20px 0;
  line-height: 1.2;
  letter-spacing: 2px;
  padding-bottom: 20px;
  border-bottom: 2px solid #39527a;
  width: 100%;
  box-sizing: border-box;
}

/* Mobile Responsive */
@media (max-width: 890px) {
  .contact-section {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  
  .contact-photo {
    width: 280px;
  }
  
  .contact-info-right {
    width: 100%;
  }
  
  .agent-name {
    font-size: 26px;
  }
  
  .get-to-know-me {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .contact-section-wrapper {
    padding: 15px 10px;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .bio-section-wrapper {
    padding: 15px 10px;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .contact-section {
    gap: 15px;
    overflow-x: hidden;
  }
  
  .contact-row {
    margin-bottom: 10px;
  }
  
  .agent-name {
    font-size: 24px;
  }
  
  .contact-value {
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }
  
  .contact-info-right {
    padding: 0;
    overflow: hidden;
    min-width: 0;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }
  
  .social-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .get-to-know-me {
    font-size: 28px;
  }
}



/* Testimonials Heading */
.testimonials-heading {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  color: #39527a;
  text-align: left;
  margin: 30px 0 15px 0;
  padding: 0 15px 15px 15px;
  border-bottom: 2px solid #39527a;
  letter-spacing: 2px;
}

/* Testimonials Carousel */
.testimonials-carousel-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 0 15px 5px 15px;
  background-color: transparent;
  box-sizing: border-box;
  overflow: hidden;
}

.testimonials-carousel {
  position: relative;
  width: 100%;
  max-width: 890px;
  height: auto;
  min-height: 200px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 30px 50px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-slide {
  position: relative;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
}

.testimonial-slide.active {
  display: flex;
}

.testimonial-slide.active {
  opacity: 1;
  display: flex;
}

.testimonial-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  margin: 0 0 15px 0;
  font-style: italic;
  overflow: auto;
}

.testimonial-author {
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #39527a;
  margin: 0;
  text-align: right;
}

/* Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #39527a;
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background-color: #5e82a4;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-btn {
  left: 15px;
}

.next-btn {
  right: 15px;
}

/* Dots Indicator - Show every 5th dot */
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #999;
  display: none;
}

.carousel-dot:nth-child(5n+1) {
  display: inline-block;
}

.carousel-dot.active {
  background-color: #39527a;
  border-color: #39527a;
}

/* Mobile Responsive */
@media (max-width: 890px) {
  .testimonials-carousel-wrapper {
    padding: 20px 10px;
  }
  
  .testimonials-carousel {
    height: auto;
    min-height: 150px;
    padding: 20px 45px;
  }
  
  .testimonial-slide {
    width: 100%;
    padding: 0;
  }
  
  .testimonial-text {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  
  .testimonial-author {
    font-size: 12px;
  }
  
  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .prev-btn {
    left: 10px;
  }
  
  .next-btn {
    right: 10px;
  }
}

@media (max-width: 600px) {
  .testimonials-carousel-wrapper {
    padding: 15px 10px;
  }
  
  .testimonials-carousel {
    height: auto;
    min-height: 120px;
    padding: 15px 40px;
  }
  
  .testimonial-slide {
    width: 100%;
    padding: 0;
  }
  
  .testimonial-text {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  
  .testimonial-author {
    font-size: 11px;
  }
  
  .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .prev-btn {
    left: 8px;
  }
  
  .next-btn {
    right: 8px;
  }
}


/* Compact Social Icons with Brand Colors */
.social-icons-compact {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 5px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid;
  cursor: pointer;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.social-icon:hover svg {
  transform: scale(1.1);
}

/* Instagram - Pink */
.social-icon.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  border-color: #dc2743;
}

.social-icon.instagram:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(220, 39, 67, 0.5);
}

/* Facebook - Blue */
.social-icon.facebook {
  background-color: #1877f2;
  color: white;
  border-color: #1877f2;
}

.social-icon.facebook:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(24, 119, 242, 0.5);
}

/* YouTube - Red */
.social-icon.youtube {
  background-color: #ff0000;
  color: white;
  border-color: #ff0000;
}

.social-icon.youtube:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Google - Multi-color */
.social-icon.google {
  background-color: #ffffff;
  color: #4285f4;
  border-color: #ddd;
}

.social-icon.google:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(66, 133, 244, 0.5);
  background-color: #f8f9fa;
}

/* Zillow - Blue */
.social-icon.zillow {
  background-color: #0074e4;
  color: white;
  border-color: #0074e4;
}

.social-icon.zillow:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 116, 228, 0.5);
}

/* LinkedIn - Blue */
.social-icon.linkedin {
  background-color: #0a66c2;
  color: white;
  border-color: #0a66c2;
}

.social-icon.linkedin:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(10, 102, 194, 0.5);
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .social-icons-compact {
    gap: 8px;
  }
  
  .social-icon {
    width: 28px;
    height: 28px;
  }
  
  .social-icon svg {
    width: 16px;
    height: 16px;
  }
}



/* Development Block Styling */
.dev-section-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 20px 20px;
  background-color: transparent;
  box-sizing: border-box;
}

.dev-section {
  max-width: 890px;
  width: 100%;
  box-sizing: border-box;
}

.dev-heading {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 36px;
  font-weight: normal;
  color: #39527a;
  text-align: left;
  margin: 0 0 20px 0;
  line-height: 1.2;
  letter-spacing: 2px;
  padding-bottom: 20px;
  border-bottom: 2px solid #39527a;
  width: 100%;
  box-sizing: border-box;
}

.dev-block {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
  align-items: flex-start;
  padding: 0;
  background-color: transparent;
  border: none;
}

/* Image with zoom effect */
.dev-image-wrapper {
  flex: 0 0 280px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.image-overlay-container {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
}

.image-overlay-container img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-in-out;
}

.image-overlay-container img:hover {
  transform: scale(1.15);
}

.dev-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

/* Development title - same format as ADAM PALMITER, REALTOR */
.dev-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  font-weight: normal;
  color: #39527a;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

/* Development info - left aligned like contact page */
.dev-info {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #333;
  line-height: 1.8;
  margin: 0 0 20px 0;
  list-style-position: inside;
  text-align: left;
}

.dev-info li {
  margin-bottom: 8px;
  color: #666;
  text-align: left;
}

.dev-info li strong {
  color: #39527a;
  font-weight: bold;
}

/* Action buttons - styled like social icons with light background */
.dev-buttons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.dev-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  background-color: #f0f4f8;
  color: #39527a;
  text-decoration: none;
  border-radius: 3px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid #39527a;
  cursor: pointer;
}

.dev-button:hover {
  background-color: #39527a;
  color: white;
  transform: scale(1.05);
  text-decoration: none;
}

.dev-button:active {
  transform: scale(0.95);
}

/* Mobile Responsive */
@media (max-width: 890px) {
  .dev-section-wrapper {
    padding: 30px 15px;
  }

  .dev-block {
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin-bottom: 40px;
  }

  .dev-image-wrapper {
    flex: 0 0 auto;
    width: 100%;
    max-width: 280px;
  }

  .dev-title {
    font-size: 22px;
  }

  .dev-info {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .dev-section-wrapper {
    padding: 20px 10px;
  }

  .dev-section {
    width: 100%;
  }

  .dev-heading {
    font-size: 28px;
    margin: 0 0 15px 0;
    padding-bottom: 15px;
  }

  .dev-block {
    padding: 0;
    margin-bottom: 30px;
  }

  .dev-image-wrapper {
    width: 100%;
    max-width: 280px;
  }

  .dev-title {
    font-size: 20px;
  }

  .dev-info {
    font-size: 11px;
    margin-bottom: 15px;
  }

  .dev-buttons {
    flex-wrap: wrap;
    gap: 10px;
  }

  .dev-button {
    padding: 8px 12px;
    font-size: 10px;
  }
}