/* ============================================
   Template 11: "Teal & Pewter" — Reversed Hero
   Company: 보나네트웍스 주식회사 (Bona Networks)
   Primary: #1B6B6B | Accent: #B8A07A | Dark: #0D3D3D | Light bg: #F4F9F9
   Font: Host Grotesk (300-800)
   ============================================ */

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

/* --- Root Variables --- */
:root {
  --primary: #1B6B6B;
  --primary-rgb: 27, 107, 107;
  --accent: #B8A07A;
  --accent-rgb: 184, 160, 122;
  --dark: #0D3D3D;
  --dark-rgb: 13, 61, 61;
  --light-bg: #F4F9F9;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #6c757d;
  --font-family: 'Host Grotesk', sans-serif;
}

/* --- Base --- */
* {
  font-family: var(--font-family);
}

body {
  background-color: var(--light-bg);
  color: var(--text-dark);
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

a {
  transition: all 0.3s ease;
}

/* --- Navbar --- */
nav.custom-navbar {
  background-color: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 0.6rem 0;
  z-index: 1030;
  transition: all 0.3s ease;
}

nav.custom-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

nav.custom-navbar .navbar-caption {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none;
  white-space: nowrap;
}

nav.custom-navbar .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
  position: relative;
}

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

nav.custom-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--accent);
  border-radius: 1px;
}

.navbar-buttons .btn-info {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.navbar-buttons .btn-info:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(184, 160, 122, 0.4);
}

.navbar-buttons .btn-info i {
  margin-left: 0.4rem;
  font-size: 0.8rem;
}

/* --- Navbar toggler --- */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

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

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(27, 107, 107, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Hero Section (Reversed — content on RIGHT) --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 61, 61, 0.85) 0%, rgba(27, 107, 107, 0.7) 100%);
  z-index: 1;
}

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

.hero-content {
  padding: 6rem 0;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-content .hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-content .btn-hero {
  background-color: var(--accent);
  border: 2px solid var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-content .btn-hero:hover {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-content .btn-hero i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.hero-content .btn-hero:hover i {
  transform: translateX(4px);
}

/* --- Section Common --- */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

/* --- About / Split Sections --- */
.split-section {
  padding: 5rem 0;
}

.split-section.bg-light {
  background-color: var(--light-bg);
}

.split-section.bg-dark {
  background-color: var(--dark);
  color: #fff;
}

.split-section .text-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.split-section.bg-dark .text-content h2 {
  color: #fff;
}

.split-section .text-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.split-section.bg-dark .text-content p {
  color: rgba(255, 255, 255, 0.8);
}

.split-section .text-content .btn-outline-accent {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-weight: 600;
  padding: 0.6rem 1.75rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.split-section .text-content .btn-outline-accent:hover {
  background-color: var(--accent);
  color: #fff;
}

.split-section .image-col img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* --- Card Styles --- */
.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.feature-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card .card-icon i {
  font-size: 1.5rem;
  color: #fff;
}

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

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

/* --- Service Cards (card_1 / card_2 classes) --- */
.service-card-1,
.service-card-2 {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card-1 {
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.service-card-2 {
  border-left: 4px solid var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.service-card-1:hover,
.service-card-2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.service-card-1 h4,
.service-card-2 h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.service-card-1 p,
.service-card-2 p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-card-1 .service-icon,
.service-card-2 .service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin-top: 1rem;
}

.service-card-1 .service-icon i,
.service-card-2 .service-icon i {
  font-size: 1.75rem;
  color: var(--accent);
}

/* --- Advantage Items --- */
.advantage-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.advantage-item .adv-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(27, 107, 107, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-item .adv-icon i {
  font-size: 1.25rem;
  color: var(--primary);
}

.advantage-item .adv-text h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.advantage-item .adv-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Parallax Section --- */
.parallax-section {
  position: relative;
  padding: 6rem 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 61, 61, 0.92) 0%, rgba(27, 107, 107, 0.85) 100%);
}

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

.parallax-section h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.parallax-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* --- Mission Section --- */
.mission-card {
  background: #fff;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* --- FAQ Accordion --- */
.accordion-section {
  padding: 5rem 0;
  background-color: #fff;
}

.accordion-button {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  background-color: #fff;
  padding: 1.25rem 1.5rem;
  border: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: rgba(27, 107, 107, 0.03);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(27, 107, 107, 0.15);
}

.accordion-button::after {
  background-size: 1rem;
  transition: transform 0.3s ease;
}

.accordion-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 0 1.5rem 1.5rem;
}

.accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

/* --- Contact Form --- */
.contact-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.contact-form-wrapper {
  background: #fff;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.contact-form-wrapper .form-control {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

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

.contact-form-wrapper .btn-submit {
  background-color: var(--primary);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 2.5rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-form-wrapper .btn-submit:hover {
  background-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 107, 107, 0.3);
}

.contact-form-wrapper .btn-submit i {
  font-size: 0.85rem;
}

/* --- Contact Info --- */
.contact-info-section {
  padding: 4rem 0;
}

.contact-info-card {
  text-align: center;
  padding: 2rem 1rem;
}

.contact-info-card .ci-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.contact-info-card .ci-icon i {
  font-size: 1.5rem;
  color: #fff;
}

.contact-info-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* --- Map --- */
.map-section {
  padding: 0;
}

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

/* --- Footer --- */
footer.footer-dark {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 0;
}

footer.footer-dark .footer-content {
  text-align: center;
}

footer.footer-dark .footer-links {
  margin-bottom: 1rem;
}

footer.footer-dark .footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.75rem;
  transition: color 0.3s ease;
}

footer.footer-dark .footer-links a:hover {
  color: #fff;
}

footer.footer-dark .copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* --- Page Hero (sub pages) --- */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero .page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-hero .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 61, 61, 0.9) 0%, rgba(27, 107, 107, 0.75) 100%);
  z-index: 1;
}

.page-hero .container-fluid {
  position: relative;
  z-index: 2;
  padding-top: 2rem;
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.page-hero .breadcrumb-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb-text a {
  color: var(--accent);
  text-decoration: none;
}

/* --- Content sections for inner pages --- */
.content-section {
  padding: 4rem 0;
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.content-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.content-section .highlight-box {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-left: 4px solid var(--accent);
  margin: 2rem 0;
}

/* --- Testimonials --- */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.testimonial-card .testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card .testimonial-author .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .testimonial-author .author-info h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.15rem;
}

.testimonial-card .testimonial-author .author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Legal Pages --- */
.legal-content {
  padding: 4rem 0;
}

.legal-content h3.wp-block-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3.wp-block-heading:first-child {
  margin-top: 0;
}

.legal-content h4.wp-block-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.legal-content ul li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.legal-content .wp-block-table {
  margin: 1.5rem 0;
  overflow-x: auto;
}

.legal-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.legal-content .wp-block-table th,
.legal-content .wp-block-table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
}

.legal-content .wp-block-table th {
  background-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

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

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

/* --- Responsive --- */
@media (max-width: 991.98px) {
  nav.custom-navbar .navbar-collapse {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
  }

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

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

  .split-section .text-content h2 {
    font-size: 1.7rem;
  }

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

  .contact-form-wrapper {
    padding: 2rem;
  }

  .mission-card {
    padding: 2rem;
  }

  .split-section .image-col {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content .hero-subtitle {
    font-size: 1rem;
  }

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

  .footer-dark .footer-links a {
    margin: 0 0.4rem;
    font-size: 0.85rem;
  }

  .parallax-section {
    background-attachment: scroll;
  }
}
