/*--------------------------------------------------------------
# About page (TheProperty layout)
# Scoped to .page-title and .about so the site header/footer and
# every other page keep their original styling.
--------------------------------------------------------------*/

.page-title,
.about.section {
  --background-color: #ffffff;
  --default-color: #323b3b;
  --heading-color: #0d1432;
  --accent-color: #17c788;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Raleway", sans-serif;

  font-family: var(--default-font);
}

.page-title h1,
.about.section h2,
.about.section h3,
.about.section h4,
.about.section h5 {
  font-family: var(--heading-font);
  font-weight: 700;
}

/*--------------------------------------------------------------
# Page Title & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Section
--------------------------------------------------------------*/
.about.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .intro-content .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.about .intro-content .section-badge i {
  font-size: 1rem;
}

.about .intro-content h2 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .about .intro-content h2 {
    font-size: 2.4rem;
  }
}

.about .intro-content .lead-text {
  font-size: 1.25rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.about .intro-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about .founder-highlight {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 1.5rem;
  border-left: 4px solid var(--accent-color);
  margin-top: 2rem;
}

.about .founder-highlight .founder-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  float: left;
  margin-right: 1rem;
  margin-bottom: 1rem;
  border: 3px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  /* Tinted fill so the transparent-background logo mark stays visible. */
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about .founder-highlight .founder-image img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.about .founder-highlight .founder-info {
  overflow: hidden;
}

.about .founder-highlight .founder-info blockquote {
  font-style: italic;
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about .founder-highlight .founder-info .founder-details h5 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--heading-color);
}

.about .founder-highlight .founder-info .founder-details span {
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 500;
}

.about .visual-section {
  position: relative;
}

.about .visual-section .main-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.about .visual-section .main-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about .visual-section .main-image img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .about .visual-section .main-image img {
    height: 350px;
  }
}

.about .visual-section .experience-badge {
  position: absolute;
  top: 25px;
  right: 25px;
  background: var(--surface-color);
  padding: 1.2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--accent-color);
}

.about .visual-section .experience-badge .badge-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.about .visual-section .experience-badge .badge-text {
  font-size: 0.8rem;
  color: var(--heading-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about .visual-section .overlay-image {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 200px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 4px solid var(--surface-color);
}

@media (max-width: 992px) {
  .about .visual-section .overlay-image {
    display: none;
  }
}

.about .visual-section .overlay-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.about .achievements-grid {
  background: linear-gradient(135deg, var(--surface-color), color-mix(in srgb, var(--surface-color), var(--accent-color) 5%));
  border-radius: 20px;
  padding: 3rem 2rem;
  margin: 5rem 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

.about .achievements-grid .achievement-item {
  padding: 1.5rem;
}

.about .achievements-grid .achievement-item .achievement-icon {
  width: 80px;
  height: 80px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.about .achievements-grid .achievement-item .achievement-icon i {
  font-size: 2rem;
  color: var(--accent-color);
}

.about .achievements-grid .achievement-item .achievement-icon:hover {
  background: var(--accent-color);
  transform: translateY(-5px);
}

.about .achievements-grid .achievement-item .achievement-icon:hover i {
  color: var(--contrast-color);
}

.about .achievements-grid .achievement-item .achievement-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .about .achievements-grid .achievement-item .achievement-number {
    font-size: 2.5rem;
  }
}

.about .achievements-grid .achievement-item .achievement-label {
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about .timeline-section {
  margin: 5rem 0;
}

.about .timeline-section .section-header h3 {
  font-size: 2.5rem;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.about .timeline-section .section-header p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  max-width: 600px;
  margin: 0 auto;
}

.about .timeline-section .timeline {
  position: relative;
  padding: 2rem 0;
}

.about .timeline-section .timeline .timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

@media (max-width: 768px) {
  .about .timeline-section .timeline .timeline-item {
    padding-left: 60px;
    flex-direction: column;
    align-items: flex-start;
  }
}

.about .timeline-section .timeline .timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .about .timeline-section .timeline .timeline-item:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
  }
}

.about .timeline-section .timeline .timeline-item:nth-child(even) .timeline-content {
  text-align: right;
  padding-right: 2rem;
  padding-left: 0;
}

@media (max-width: 768px) {
  .about .timeline-section .timeline .timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    padding-right: 0;
  }
}

.about .timeline-section .timeline .timeline-item .timeline-year {
  width: 120px;
  height: 120px;
  min-width: 120px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .about .timeline-section .timeline .timeline-item .timeline-year {
    position: absolute;
    left: -40px;
    width: 80px;
    height: 80px;
    min-width: 80px;
    font-size: 1rem;
  }
}

.about .timeline-section .timeline .timeline-item .timeline-content {
  flex: 1;
  padding-left: 2rem;
}

@media (max-width: 768px) {
  .about .timeline-section .timeline .timeline-item .timeline-content {
    padding-left: 0;
    margin-top: 1rem;
  }
}

.about .timeline-section .timeline .timeline-item .timeline-content h4 {
  font-size: 1.4rem;
  color: var(--heading-color);
  margin-bottom: 0.8rem;
}

.about .timeline-section .timeline .timeline-item .timeline-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.6;
  margin: 0;
}

.about .team-preview {
  text-align: center;
  margin: 5rem 0;
}

.about .team-preview h3 {
  font-size: 2.5rem;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.about .team-preview .team-description {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about .team-preview .team-member {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
}

.about .team-preview .team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about .team-preview .team-member .member-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--accent-color);
}

.about .team-preview .team-member .member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about .team-preview .team-member .member-info h5 {
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.about .team-preview .team-member .member-info span {
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 500;
}

.about .team-preview .view-team-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  background: var(--accent-color);
  color: var(--contrast-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.about .team-preview .view-team-btn:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: var(--contrast-color);
}
