/* =========================
   UNIQUE PAGE STYLES
   Different layouts for each page
========================= */

/* =========================
   ABOUT PAGE - IMAGE HERO WITH SPLIT LAYOUT
========================= */
.about-page-hero {
  background: linear-gradient(135deg, rgba(33, 94, 97, 0.1), rgba(254, 127, 45, 0.1));
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.about-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-hero-image {
  position: relative;
}

.about-hero-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.about-feature-card {
  background: white;
  padding: 32px;
  border-radius: 20px;
  border-left: 4px solid var(--brand-orange);
  transition: transform 0.3s ease;
}

.about-feature-card:hover {
  transform: translateX(8px);
}

/* =========================
   SERVICES PAGE - TIMELINE/CARD HYBRID
========================= */
.services-page-hero {
  background: var(--brand-dark);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.services-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('imgs/Copy of CTA.jpg') center/cover;
  opacity: 0.2;
  z-index: 1;
}

.services-page-hero > * {
  position: relative;
  z-index: 2;
}

.services-page-hero .hero-text .hero-actions {
  margin-top: 32px;
}

.services-timeline-section {
  position: relative;
  padding: 80px 0;
  background: var(--bg-soft);
}

.services-timeline-section .container {
  position: relative;
}

/* Line behind the cards */
.services-timeline-section .container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-orange), var(--brand-teal));
  transform: translateX(-50%);
  z-index: 0;
}

.services-timeline-section .services-timeline {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.services-timeline-section .service-card {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

.service-timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 30px;
  margin-bottom: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.service-timeline-item:nth-child(even) {
  direction: rtl;
}

.service-timeline-item:nth-child(even) > * {
  direction: ltr;
}

.service-timeline-dot {
  width: 60px;
  height: 60px;
  background: var(--brand-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(254, 127, 45, 0.4);
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.service-timeline-content {
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-timeline-content:hover {
  transform: translateY(-4px);
}

.service-timeline-content h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--brand-dark);
}

.service-timeline-content p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================
   CONTACT PAGE - SPLIT SCREEN WITH FORM
========================= */
.contact-page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.contact-visual {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.contact-visual img {
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.contact-form-section {
  background: white;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.contact-info-card {
  background: var(--bg-soft);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-8px);
}

.contact-info-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--brand-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
}

/* =========================
   BLOG PAGE - MAGAZINE GRID
========================= */
.blog-page-hero {
  background: linear-gradient(135deg, rgba(33, 94, 97, 0.05), rgba(254, 127, 45, 0.05));
  padding: 100px 0 60px;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.blog-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-content {
  padding: 32px;
}

.blog-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--brand-dark);
}

.blog-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.blog-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.blog-card-featured .blog-card-image {
  height: 100%;
}

/* =========================
   FAQ PAGE - ACCORDION STYLE
========================= */
.faq-page-hero {
  background: var(--brand-dark);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.faq-page-hero .hero-text .hero-actions {
  margin-top: 32px;
}

.faq-accordion {
  max-width: 900px;
  margin: 60px auto 0;
}

.faq-item {
  background: white;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.faq-question {
  padding: 28px 32px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--brand-dark);
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-soft);
}

.faq-icon {
  font-size: 24px;
  color: var(--brand-orange);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 32px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  padding: 0 32px 28px;
  max-height: 500px;
}

/* =========================
   SUCCESS STORIES - MASONRY LAYOUT
========================= */
.success-hero {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-dark));
  color: white;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.success-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('imgs/Copy of hero3.jpg') center/cover;
  opacity: 0.15;
  z-index: 1;
}

.success-hero > * {
  position: relative;
  z-index: 2;
}

.success-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.success-card {
  background: white;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.success-card:hover {
  transform: scale(1.02);
}

.success-card-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-teal));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  font-weight: 700;
}

/* =========================
   PRIVACY/TERMS - DOCUMENT STYLE
========================= */
.legal-page-hero {
  background: white;
  padding: 100px 0 60px;
  border-bottom: 3px solid var(--brand-orange);
}

.legal-content {
  max-width: 800px;
  margin: 60px auto;
  background: white;
  padding: 60px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  color: var(--brand-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-soft);
}

.legal-section p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-section ul {
  margin-left: 24px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .about-hero-content,
  .contact-page-hero,
  .blog-card-featured {
    grid-template-columns: 1fr;
  }

  .services-timeline-section .container::before {
    left: 30px;
  }

  .service-timeline-item {
    grid-template-columns: 60px 1fr;
    direction: ltr !important;
    gap: 20px;
  }

  .service-timeline-item > * {
    direction: ltr !important;
  }

  .service-timeline-item .service-timeline-content:first-child {
    display: none;
  }

  .contact-info-cards,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .about-feature-grid {
    grid-template-columns: 1fr;
  }
}
