/* ===================================
   Theli Tech – About Us page
   Smart home & AV integration, Tampa Bay
====================================== */

/* ----- 1. Hero ----- */
.about-hero {
  position: relative;
  min-height: 42vh;
  max-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}
.about-hero .container {
  position: relative;
  z-index: 2;
}
.about-hero .about-hero-accent {
  width: 48px;
  height: 3px;
  background: #ffb347;
  margin-bottom: 1rem;
}
.about-hero h1 {
  color: #fff !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  text-transform: none;
}
.about-hero .about-hero-sub {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 1.5rem;
}
.about-hero .about-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.about-hero .about-hero-ctas .btn-primary-about {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ffb347;
  color: #1a1a1a !important;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}
.about-hero .about-hero-ctas .btn-primary-about:hover {
  background: #ffc068;
  color: #1a1a1a;
  transform: translateY(-1px);
}
.about-hero .about-hero-ctas .btn-secondary-about {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff !important;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.about-hero .about-hero-ctas .btn-secondary-about:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@media (max-width: 767px) {
  .about-hero {
    min-height: 38vh;
    max-height: 380px;
  }
  .about-hero h1 { font-size: 1.5rem; }
  .about-hero .about-hero-sub { font-size: 0.95rem; }
  .about-hero .about-hero-ctas { flex-direction: column; align-items: flex-start; }
  .about-hero .about-hero-ctas .btn-primary-about,
  .about-hero .about-hero-ctas .btn-secondary-about { min-width: 160px; text-align: center; }
}

/* ----- 2. Section spacing & readability ----- */
.about-section {
  padding: 4rem 0;
}
.about-section-alt {
  background: #f8f8f8;
}
.about-section-dark {
  background: #252525;
  color: #e5e5e5;
}
.about-section-dark h2,
.about-section-dark .about-heading { color: #fff !important; }
.about-section-dark .about-body { color: rgba(255, 255, 255, 0.9); }

.about-content-width {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.about-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}
.about-body p {
  margin-bottom: 1rem;
}
.about-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
}
.about-subheading {
  font-size: 1.15rem;
  font-weight: 600;
  color: #333;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ----- 3. Company intro two-column ----- */
.about-intro-row {
  align-items: center;
}
.about-intro-img {
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.about-intro-img img {
  width: 100%;
  height: auto;
  display: block;
}
.about-intro-text .about-heading { margin-bottom: 1.25rem; }
.about-intro-text .about-body { max-width: 100%; }

@media (max-width: 767px) {
  .about-intro-row .col-sm-12:first-child { margin-bottom: 1.5rem; }
}

/* ----- 4. What We Do cards ----- */
.about-cards-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
/* Even spacing for What We Do card grid */
.about-what-we-do-row {
  /* Flex layout keeps spacing even without fighting Bootstrap col-* floats */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-left: 0;
  margin-right: 0;
}
.about-what-we-do-row [class*="col-"] {
  /* Neutralize Bootstrap column behavior since flex handles layout */
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 0;
  float: none;
  flex: 1 1 280px;
  max-width: 360px;
}

.about-card {
  width: 100%;
}

@media (max-width: 767px) {
  .about-what-we-do-row {
    gap: 1rem;
  }
  .about-what-we-do-row [class*="col-"] {
    max-width: 100%;
    flex: 1 1 100%;
  }
}
.about-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  border: 1px solid #eee;
}
.about-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.about-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #ffb347;
}
.about-card-icon .fa {
  font-size: 2rem;
  color: #ffb347;
}
.about-card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.about-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  text-transform: none;
}
.about-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* ----- 5. Why Choose grid ----- */
.about-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  justify-content: center;
  justify-items: stretch;
  text-align: center;
  grid-auto-rows: 1fr;
}
.about-why-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  min-height: 88px;
  padding: 1rem 0.75rem;
}
.about-why-item i {
  color: #ffb347;
  font-size: 1.25rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.about-why-item span {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

/* ----- 6. Our Process steps ----- */
.about-process {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  counter-reset: step;
}
.about-process-step {
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 260px;
  position: relative;
  padding-left: 3rem;
  counter-increment: step;
}
.about-process-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: #ffb347;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.about-process-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
  text-transform: none;
}
.about-process-step p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

@media (max-width: 767px) {
  .about-process { flex-direction: column; }
  .about-process-step { max-width: 100%; }
}

/* ----- 7. Service area ----- */
.about-service-area {
  text-align: center;
}
.about-service-area .about-heading { margin-bottom: 0.75rem; }
.about-service-area .about-body { max-width: 640px; margin: 0 auto; }
.about-service-area .about-location-icons {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.about-service-area .about-location-icons i {
  color: #ffb347;
  font-size: 1.5rem;
}
.about-service-area .about-location-text {
  font-size: 0.95rem;
  color: #555;
}
@media (max-width: 767px) {
  .about-service-area .about-location-icons {
    flex-direction: column;
  }
}

/* ----- 8. Trust / credibility ----- */
.about-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
}
.about-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}
.about-trust-list li i {
  color: #ffb347;
  font-size: 1.1rem;
}

/* ----- 9. Bottom CTA ----- */
.about-cta-section {
  padding: 4rem 2rem;
  text-align: center;
  background: #252525;
  color: #fff;
}
.about-cta-section .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-cta-section .about-heading {
  color: #fff !important;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 0.75rem;
  text-align: center;
  width: 100%;
}
.about-cta-section .about-body {
  color: #fff !important;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.about-cta-section .about-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}
.about-cta-section .about-hero-ctas .btn-primary-about {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ffb347;
  color: #1a1a1a !important;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  transition: background 0.25s ease, transform 0.2s ease;
}
.about-cta-section .about-hero-ctas .btn-primary-about:hover {
  background: #ffc068;
  color: #1a1a1a !important;
  transform: translateY(-1px);
}
.about-cta-section .about-hero-ctas .btn-secondary-about {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.about-cta-section .about-hero-ctas .btn-secondary-about:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
}

/* ----- 10. Typography tweaks (page-wide) ----- */
.about-page .about-heading,
.about-page .about-subheading {
  letter-spacing: 0.02em;
}
.about-page .about-body {
  color: #333;
}
.about-page .about-cta-section .about-body {
  color: #fff !important;
}

@media (max-width: 767px) {
  .about-cta-section { padding: 3rem 1rem; }
  .about-cta-section .about-hero-ctas { flex-direction: column; }
  .about-cta-section .about-hero-ctas .btn-primary-about,
  .about-cta-section .about-hero-ctas .btn-secondary-about { min-width: 200px; text-align: center; }
}

/* ----- 11. Dividers ----- */
.about-divider {
  height: 1px;
  background: #e8e8e8;
  margin: 0;
}
