/* About page styles - Updated for real estate positioning */

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.story-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .story-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.story-text {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.story-text h2 {
  color: #1e293b;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  border-bottom: 3px solid #f97316;
  padding-bottom: 12px;
}

.story-text h3 {
  color: #f97316;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 30px 0 16px 0;
}

.story-text p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.credentials-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid rgba(249, 115, 22, 0.2);
  height: fit-content;
}

.credentials-box h3 {
  color: #1e293b;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

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

.credentials-list li {
  padding: 12px 0;
  color: #475569;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.philosophy-section {
  margin-bottom: 60px;
}

.philosophy-section h2 {
  text-align: center;
  color: #1e293b;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.philosophy-card {
  background: white;
  padding: 32px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.2s ease;
}

.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15);
}

.philosophy-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.philosophy-card h4 {
  color: #1e293b;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.philosophy-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.stats-showcase {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 60px;
  color: white;
}

.stats-showcase h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: white;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.result-stat {
  padding: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: white;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.cta-section {
  text-align: center;
  background: white;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.cta-section h2 {
  color: #1e293b;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.headline-orange {
  color: #e65100 !important;
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin-top: 18vh;
  margin-bottom: 36px;
  width: 90vw;
  max-width: 1100px;
  letter-spacing: -0.01em;
}

.colored-headline {
  color: #1e293b;
  font-weight: 700;
}

.company-name {
  color: #f97316;
}

/* Agent Profile Styles */
.agent-profiles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  width: 100%;
}

.agent-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.agent-card {
  background: rgba(30,41,59,0.90);
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(20,184,166,0.07);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1.5px solid #14b8a6;
  width: 100%;
  padding: 30px;
  display: flex;
  align-items: center;
}

.agent-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px 0 rgba(20,184,166,0.2);
  border-color: #06b6d4;
}

.agent-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  width: 100%;
}

.agent-img-container {
  width: 180px;
  height: 180px;
  min-width: 180px;
  margin-right: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #14b8a6;
  box-shadow: 0 5px 15px rgba(20,184,166,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.agent-card:hover .agent-img-container {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(20,184,166,0.3);
  border-color: #06b6d4;
}

.agent-img-placeholder {
  width: 100%;
  height: 100%;
  background-color: #14b8a6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
}

#sam-img {
  background-color: #14b8a6;
}

#morgan-img {
  background-color: #0ea5e9;
}

#rebecca-img {
  background-color: #a855f7;
}

.agent-img-text {
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.agent-info {
  text-align: left;
  flex: 1;
}

.agent-name {
  color: #14b8a6;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.agent-description {
  color: #e6f7f7;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.demo-instructions {
  color: #38bdf8; /* Brighter, more saturated blue */
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 10px;
  border: 1px dashed #38bdf8;
  padding: 8px 12px;
  border-radius: 6px;
  background-color: rgba(56, 189, 248, 0.09);
  display: inline-block;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

.demo-note {
  font-size: 0.9rem;
  font-weight: normal;
  font-style: italic;
  opacity: 0.9;
}

.coming-soon {
  color: #f59e0b;
  font-weight: 700;
  background-color: rgba(245, 158, 11, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

#marianne-img {
  background-color: #f59e0b;
}

.about-feature-row {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,41,59,0.92);
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(20,184,166,0.07);
  margin: 0 auto 36px auto;
  max-width: 1000px;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1.5px solid #14b8a6;
}

.about-feature-row:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(20,184,166,0.18);
  border-color: #06b6d4;
}

.about-feature-row.reverse { 
  flex-direction: row-reverse; 
}

.about-feature-img {
  width: 320px;
  min-width: 180px;
  max-width: 360px;
  object-fit: cover;
  display: block;
  height: 100%;
}

.about-feature-text {
  flex: 1 1 400px;
  padding: 36px 36px 36px 32px;
  color: #e6f7f7;
  font-size: 1.13rem;
  text-align: left;
  line-height: 1.55;
}

.about-feature-quote {
  color: #14b8a6;
  font-size: 1.17rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.4em;
}

@media (max-width: 900px) {
  .about-feature-row, .about-feature-row.reverse {
    flex-direction: column;
  }
  .about-feature-img { max-width: 100%; }
  .about-feature-text { padding: 24px 14px; }
  
  .agent-profiles {
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .agent-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
  }
  
  .agent-link {
    flex-direction: column;
    align-items: center;
  }
  
  .agent-img-container {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .agent-info {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .headline-orange { font-size: 1.1rem; margin-top: 12vh; }
  .about-feature-row { border-radius: 12px; }
  .about-feature-img { min-width: 80px; max-width: 100%; }
  .about-feature-text { padding: 14px 6px; font-size: 1rem; }
  
  .agent-card {
    width: 100%;
    padding: 20px 15px;
  }
  
  .agent-img-container {
    width: 140px;
    height: 140px;
    margin-bottom: 16px;
  }
  
  .agent-name {
    font-size: 1.4rem;
  }
  
  .agent-description {
    font-size: 1rem;
  }
}
