/* =========================================================
   ABOUT US HERO SECTION
   Edward Robinson Lawfirm
   ========================================================= */

/* ----- HERO SECTION CONTAINER ----- */
.about-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  background: url("https://images.unsplash.com/photo-1589391886645-d51941baf7fb?auto=format&fit=crop&w=1600&q=80")
    center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* ----- DARK OVERLAY FOR READABILITY ----- */
.about-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.55);
  z-index: 1;
}

/* ----- HERO TEXT CONTENT ----- */
.about-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.about-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.about-hero-content p {
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #d4af37; /* gold accent */
  letter-spacing: 2px;
  font-weight: 500;
}

/* ----- RESPONSIVE DESIGN ----- */
@media (max-width: 992px) {
  .about-hero {
    height: 50vh;
  }

  .about-hero-content h1 {
    font-size: 2.4rem;
  }

  .about-hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .about-hero {
    height: 45vh;
  }

  .about-hero-content h1 {
    font-size: 1.9rem;
  }

  .about-hero-content p {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
}


/* ***************************************************************************************************************************************** */


/* =========================================================
   ABOUT US HERO SECTION
   ========================================================= */
.about-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  background: url("https://images.unsplash.com/photo-1589391886645-d51941baf7fb?auto=format&fit=crop&w=1600&q=80")
    center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.about-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.55);
  z-index: 1;
}
.about-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.about-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
.about-hero-content p {
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #d4af37;
  letter-spacing: 2px;
  font-weight: 500;
}

/* =========================================================
   OUR HISTORY SECTION
   ========================================================= */
.about-history {
  padding: 80px 0;
  background: #fff;
}
.about-history .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ----- Left: Founder Info ----- */
.history-image {
  text-align: center;
}
.history-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 6px;
}
.history-image h4 {
  margin-top: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #222;
}
.history-image .founder-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.5px;
}
.history-image .founder-email {
  font-size: 0.9rem;
  font-style: italic;
  color: #777;
}
.history-image .founder-email a {
  color: #555;
  text-decoration: none;
}
.history-image .founder-email a:hover {
  color: #d4af37;
}

/* ----- Right: History Content ----- */
.history-content .section-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.history-content .section-header .line {
  width: 40px;
  height: 3px;
  background: #d4af37;
  margin-right: 10px;
}
.history-content .section-header span {
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #777;
  letter-spacing: 2px;
}
.history-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
}
.history-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1rem;
}
.history-content .closing-note {
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding-top: 20px;
  font-style: italic;
  color: #666;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 992px) {
  .about-hero {
    height: 50vh;
  }
  .about-hero-content h1 {
    font-size: 2.4rem;
  }
  .history-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .history-image img {
    max-width: 400px;
  }
}
@media (max-width: 576px) {
  .about-hero {
    height: 45vh;
  }
  .about-hero-content h1 {
    font-size: 1.9rem;
  }
  .about-hero-content p {
    font-size: 0.9rem;
  }
  .about-history {
    padding: 60px 0;
  }
}


/* ***************************************************************************************************************************************** */


/* =========================================================
   OUR VALUES SECTION
   ========================================================= */
.our-values {
  position: relative;
  background: url("https://images.unsplash.com/photo-1590608897129-79da98d1596d?auto=format&fit=crop&w=1600&q=80")
    center/cover no-repeat;
  color: #fff;
  padding: 80px 0;
  z-index: 1;
}

.our-values .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.75);
  z-index: 0;
}

.our-values .container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 50px 30px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.3);
}

.value-box {
  text-align: center;
  padding: 10px 15px;
}

.value-box i {
  font-size: 2rem;
  color: #d4af37; /* gold icon */
  margin-bottom: 15px;
}

.value-box h4 {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
  color: #fff;
}

.value-box p {
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 40px 20px;
  }
}


/* ***************************************************************************************************************************************** */



/* =========================================================
   WHY CLIENTS CHOOSE US SECTION
   ========================================================= */
.why-choose-us {
  padding: 100px 0 80px;
  background: #fff;
  color: #222;
}

.why-choose-us .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ----- Header ----- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header span {
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.85rem;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 10px 0;
}
.section-header .divider {
  width: 50px;
  height: 2px;
  background: #d4af37;
  margin: 0 auto;
}

/* ----- Text Grid ----- */
.choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 70px;
}
.choose-box p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}
.choose-box strong {
  color: #000;
}

/* ----- Counters Section ----- */
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.counter-box h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  position: relative;
}
.counter-box h3::after {
  content: "+";
  color: #d4af37;
  margin-left: 3px;
  font-size: 1.2rem;
}
.counter-box p {
  font-size: 0.95rem;
  color: #a58d4f;
  margin-top: 8px;
}

/* ----- Responsive Design ----- */
@media (max-width: 992px) {
  .choose-grid {
    grid-template-columns: 1fr;
  }
  .counters {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}
@media (max-width: 576px) {
  .section-header h2 {
    font-size: 1.8rem;
  }
  .counters {
    grid-template-columns: 1fr;
  }
  .counter-box h3 {
    font-size: 1.8rem;
  }
}


/* ***************************************************************************************************************************************** */

/* =========================================================
   FAQ SECTION
   ========================================================= */
.faq-section {
  position: relative;
  background: url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1600&q=80")
    center/cover no-repeat;
  padding: 100px 0;
  color: #fff;
  z-index: 1;
}

.faq-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.85);
  z-index: 0;
}

.faq-section .container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  font-size: 2rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 40px;
  text-align: left;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ----- FAQ ITEM ----- */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 15px;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #d4af37;
}

.faq-icon {
  font-size: 1.5rem;
  color: #d4af37;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

/* ----- FAQ ANSWER ----- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.7;
  padding-right: 10px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  margin-bottom: 10px;
}

.faq-item.active .faq-question {
  color: #d4af37;
}

@media (max-width: 576px) {
  .faq-title {
    text-align: center;
    font-size: 1.8rem;
  }
}
