/* ============================================================================
   Page Builder Styles
   ============================================================================ */

:root {
    --primary-color: #264D83;
    --primary-dark: #264D83;
    --secondary-color: #FAB622;
    --text-color: #868686;
    --text-light: #FFFFFF;
    --border-color: #eee;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================================================
   Container & Layout
   ============================================================================ */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* ============================================================================
   Buttons
   ============================================================================ */

.btn {
    display: inline-block;
    padding: 23px 32px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: none;
}

.btn-primary {
  background: #FAB622;
  color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
    color: #FAB622;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #333;
}

.btn-secondary:hover {
    background-color: #d6a734;
}

/* ============================================================================
   Section: Hero
   ============================================================================ */

.section-hero {
    min-height: 300px;
    background-size: cover;
    background-position: bottom center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}

.section-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(234.22deg, rgba(67, 118, 189, 0.8) -0.67%, rgba(38, 77, 131, 0.9) 69.19%, rgba(8, 17, 29, 0.8) 99.12%);
    z-index: 1;
}

.section-hero .container {
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: clamp(2.8rem, 4vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1rem;
    opacity: 0.95;
}

.hero-feature-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.feature-icon-item {
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    object-fit: contain;
}

/* ============================================================================
   Section: About
   ============================================================================ */

.about-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ============================================================================
   Service Cards
   ============================================================================ */

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

/* ============================================================================
   FAQ Accordion
   ============================================================================ */

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.faq-question {
    cursor: pointer;
    font-weight: 600;
    user-select: none;
}

.faq-answer {
    display: none;
    margin-top: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-answer.active {
    display: block;
}

/* ============================================================================
   Testimonials
   ============================================================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-card img {
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 15px solid var(--primary-color);
    border-style: solid dashed double dotted;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 10px;
}

/* ============================================================================
   Responsive
   ============================================================================ */

@media (max-width: 768px) {
    .hero-headline {
        font-size: 1.8rem;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .service-cards-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   Helper: Eyebrow, Sections & Layouts
   ============================================================================ */

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.eyebrow--green { color: #fff; }

.company-grid { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: stretch; }
.company-left { max-width: 720px; }
.company-right .company-image img { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; }

/* FAQ two-column layout: left = accordion, right = visual */
.faq-visual { display: flex; align-items: center; justify-content: center; }
.faq-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

/* Accordion visuals */
.faq-item { margin-bottom: 18px; border: 1px solid #e9f3ee; padding: 18px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.faq-item .faq-question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0; border: none; background: transparent; }
.faq-item .faq-question span { color: #000000; font-weight: 500; }
.faq-item .faq-icon { color: #2bb673; margin-left: 12px; font-size: 0.9rem; }
.faq-answer { margin-top: 12px; color: var(--text-light); display: none; }
.faq-item.active .faq-answer { display: block; }

.section-engagement {
  padding: clamp(4rem, 6vw, 6.5rem) 0;
  background: #f4f7f7;
}

.engagement-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.engage-main {
  padding-right: 1rem;
}

.engage-heading {
    margin: 0 0 1rem;
    font-size: clamp(2.3rem, 3.8vw, 2.3rem);
    line-height: 45px;
    letter-spacing: 0;
    font-weight: 600;
    color: var(--primary-color);
}

.engage-text {
  color: #394b5d;
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 0;
  max-width: 36rem;
}

.engage-text p {
  margin: 0;
}

.engagement-grid > div:nth-child(2),
.engagement-grid > div:nth-child(3) {
  position: relative;
  padding-left: 2.25rem;
}

.engagement-grid > div:nth-child(2)::before,
.engagement-grid > div:nth-child(3)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  bottom: 0.1rem;
  width: 4px;
  background: #31C36C;
}

.small-title {
    margin: 0 0 0.9rem;
    font-size: 1.5rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
    font-weight: 600;
    color: #31C36C;
    text-transform: uppercase;
}

@media (max-width: 900px) {
  .engagement-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .engage-main {
    padding-right: 0;
  }

  .engagement-grid > div:nth-child(2),
  .engagement-grid > div:nth-child(3) {
    padding-left: 0;
  }

  .engagement-grid > div:nth-child(2)::before,
  .engagement-grid > div:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .engage-heading {
    font-size: 2.1rem;
  }

  .engage-text {
    font-size: 0.98rem;
  }

  .small-title {
    font-size: 1rem;
  }
}

.section-dark { background: linear-gradient(rgba(6,36,58,0.75), rgba(6,36,58,0.75)), url('') no-repeat center/cover; color: white; }

/* Team cards */
.team-cards { display: flex; justify-content: center; gap: 30px; margin-top: 30px; }
.team-card { background: white; width: 300px; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-lg); text-align: center; color: #123; }
.team-photo img { width: 100%; height: 220px; object-fit: cover; }
.team-meta { padding: 16px; }
.team-name { color: var(--primary-color); margin-bottom: 6px; }
.team-position { font-weight: 600; color: #2bb673; margin-bottom: 10px; }
.team-contact { color: var(--text-light); font-size: 0.95rem; }

/* Service / Expertise */
.service-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { border-radius: 8px; overflow: hidden; }

/* Why choose */
.why-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.why-card { background: white; color: #123; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.why-card img { width: 100%; height: 150px; object-fit: cover; }
.why-card h4 { padding: 12px; font-size: 1rem; }

/* Partners */
.partners-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 30px; }
.partner-logo-wrap { width: 160px; height: 100px; background: #f6eedd; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.partner-logo-wrap img { max-width: 100%; max-height: 80px; object-fit: contain; }
.partner-body h4 { margin: 0 0 8px; }

@media (max-width: 900px) {
    .company-grid { grid-template-columns: 1fr; }
    .engagement-grid { grid-template-columns: 1fr; }
    .team-cards { flex-direction: column; }
    .service-cards-grid { grid-template-columns: 1fr; }
    .why-cards-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: 1fr; }
}
