/* ============================================
   Template 11: Teal & Pewter — MOIN Style
   Primary: #1B6B6B | Accent: #B8A07A
   Dark: #0D3D3D | Light bg: #F4F9F9
   Font: Host Grotesk
   ============================================ */

/* === Google Font Import === */
@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:wght@300;400;500;600;700;800&display=swap');

/* === Base === */
:root {
  --primary: #1B6B6B;
  --accent: #B8A07A;
  --dark: #0D3D3D;
  --light-bg: #F4F9F9;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --font-family: 'Host Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 700;
  color: var(--dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

/* === Navigation — Template 11: NO navbar-fixed-top === */
.custom-navbar {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 12px 0;
  z-index: 1030;
  transition: all 0.3s ease;
}

.custom-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-navbar .navbar-brand img {
  height: 3rem;
  width: auto;
}

.navbar-caption {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary) !important;
  text-decoration: none;
}

.custom-navbar .nav-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary) !important;
  padding: 8px 16px !important;
  transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: var(--accent) !important;
}

.navbar-buttons .btn {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar-buttons .btn-info {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: var(--white);
}

.navbar-buttons .btn-info:hover {
  background: transparent;
  color: var(--accent);
}

.navbar-toggler {
  border: none;
  padding: 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

/* === Hero Section — Full-screen parallax, REVERSED (content RIGHT) === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 61, 61, 0.7);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: 40px;
}

.hero-content h1 {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 3.2rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content .hero-subtitle {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-content .btn {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 6px;
}

.hero-content .btn-accent {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: var(--white);
}

.hero-content .btn-accent:hover {
  background: transparent;
  color: var(--accent);
}

.hero-content .btn-outline-light {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  margin-left: 12px;
}

/* === Section Common === */
.section-padding {
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.7;
}

.text-accent {
  color: var(--accent) !important;
}

.text-primary-custom {
  color: var(--primary) !important;
}

.bg-light-custom {
  background: var(--light-bg);
}

.bg-dark-custom {
  background: var(--dark);
}

/* === About / Features Section (article03 strengthm5) === */
.feature-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.feature-image-wrap img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.feature-image-wrap:hover img {
  transform: scale(1.03);
}

.feature-text {
  padding: 20px 0;
}

.feature-text h2 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px;
}

.feature-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 16px;
}

.feature-text .btn {
  margin-top: 12px;
}

/* === Service Cards — card_1 / card_2 classes === */
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.service-card.card_1 {
  border-top: 4px solid var(--primary);
}

.service-card.card_2 {
  border-top: 4px solid var(--accent);
}

.service-card .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: var(--primary);
}

.service-card .card-icon.accent {
  background: rgba(184, 160, 122, 0.12);
  color: var(--accent);
}

.service-card h4 {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* === Icon Feature Boxes === */
.icon-feature {
  text-align: center;
  padding: 30px 20px;
}

.icon-feature .icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.icon-feature:hover .icon-circle {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.icon-feature h5 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.icon-feature p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* === Impact / Stats Section === */
.stats-section {
  background: var(--primary);
  padding: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
}

/* === FAQ Accordion === */
.accordion-item {
  border: none;
  border-bottom: 1px solid #e0e8e8;
  background: transparent;
}

.accordion-button {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  background: transparent;
  padding: 20px 0;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background: transparent;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231B6B6B'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  padding: 0 0 20px 0;
}

/* === Contact Form === */
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

.contact-form-wrap .form-control {
  font-family: var(--font-family);
  border: 1px solid #dde5e5;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--light-bg);
}

.contact-form-wrap .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 107, 107, 0.1);
  background: var(--white);
}

.contact-form-wrap textarea.form-control {
  min-height: 140px;
}

.contact-form-wrap .btn-submit {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 40px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form-wrap .btn-submit:hover {
  background: transparent;
  color: var(--primary);
}

/* === Contact Info Cards === */
.contact-info-item {
  text-align: center;
  padding: 30px 20px;
}

.contact-info-item .info-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--white);
}

.contact-info-item h5 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* === Google Map === */
.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* === Footer — Simple centered === */
.site-footer {
  background: var(--dark);
  padding: 50px 0 30px;
  text-align: center;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-info {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.footer-info strong {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

/* === Page Header (sub-pages) === */
.page-header {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  padding: 140px 0 80px;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 12px;
}

.page-header .breadcrumb {
  justify-content: center;
  background: transparent;
  margin: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.page-header .breadcrumb-item.active {
  color: var(--accent);
}

/* === Content Section for Sub-pages === */
.content-section {
  padding: 80px 0;
}

.content-section h2 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px;
}

.content-section h3 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 16px;
  margin-top: 40px;
}

.content-section p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* === Team Cards === */
.team-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-card .team-info {
  padding: 24px 20px;
}

.team-card .team-info h5 {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--dark);
}

.team-card .team-info .role {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}

/* === Testimonial Cards === */
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  position: relative;
  height: 100%;
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 16px;
  line-height: 1;
}

.testimonial-card .quote-text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card .author-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
}

.testimonial-card .author-role {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}

.cta-section .btn {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 40px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-section .btn:hover {
  background: transparent;
  color: var(--accent);
}

/* === White Card Wrapper === */
.card-wrapper {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

/* === Cookie Alert Plugin Overrides === */
.cookies-alert-plugin-wrapper {
  font-family: var(--font-family) !important;
}

/* === Responsive === */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .navbar-buttons {
    margin-top: 12px;
  }

  .hero-content {
    padding: 30px 20px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 80vh;
    background-attachment: scroll;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .contact-form-wrap {
    padding: 30px 20px;
  }

  .footer-links {
    gap: 16px;
  }
}

/* === Additional legal page styles === */
.wp-block-heading strong {
  font-weight: 700;
  color: var(--dark);
}

.cookie-tables-white .wp-block-table table,
.cookie-tables-white .wp-block-table th,
.cookie-tables-white .wp-block-table td {
  border: 1px solid #333 !important;
  border-collapse: collapse !important;
}

.cookie-tables-white .wp-block-table th,
.cookie-tables-white .wp-block-table td {
  padding: 12px 8px !important;
  font-size: 0.9rem;
}

.cookie-tables-white .wp-block-table th {
  background: var(--light-bg);
  font-weight: 700;
}

.has-fixed-layout {
  table-layout: fixed;
  width: 100%;
}
