/* Template 10: Indigo & Sand — QSRemit Korea */
:root {
  --primary: #3D348B;
  --accent: #C6A15B;
  --dark: #211D52;
  --light-bg: #F8F6F0;
  --text-dark: #1a1a2e;
  --text-muted: #6c757d;
  --white: #ffffff;
}

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

body {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
}

a { text-decoration: none; color: var(--primary); }
a:hover { color: var(--accent); }

/* ===== NAVBAR (Template 10: NO fixed-top, menu_box, d-flex brand) ===== */
.menu_box {
  background: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.menu_box .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

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

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

.menu_box .nav-link {
  color: var(--primary) !important;
  font-size: 1rem;
  padding: 8px 16px !important;
  font-weight: 500;
  transition: color 0.3s;
}

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

.mbr-section-btn-main {
  margin-left: 16px;
}

.mbr-section-btn-main .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.btn-secondary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-secondary:hover {
  background: #b38b45;
  border-color: #b38b45;
  color: var(--white);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: #2d2570;
  border-color: #2d2570;
  color: var(--white);
}

.btn-black {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.btn-black:hover {
  background: #151038;
  border-color: #151038;
  color: var(--white);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

/* Navbar toggler */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: 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(61, 52, 139, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO (Template 10: full-screen parallax, overlay 0.6, centered) ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: url('../images/hero-banner.jpg') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33, 29, 82, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-content .btn {
  font-size: 1.1rem;
  padding: 14px 36px;
  border-radius: 50px;
}

/* ===== SECTIONS ===== */
section {
  padding: 80px 0;
}

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

.section-dark {
  background: var(--dark);
  color: var(--white);
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
}

.section-light .section-title {
  color: var(--dark);
}

.section-dark .section-title {
  color: var(--white);
}

/* ===== IMAGE+TEXT SECTIONS ===== */
.img-text-section {
  padding: 80px 0;
}

.img-text-section img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.img-text-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.2rem;
}

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

/* ===== TEAM CARDS (3-column) ===== */
.team-card {
  text-align: center;
  margin-bottom: 30px;
}

.team-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid var(--light-bg);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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

.team-card .role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== FAQ ACCORDION ===== */
.accordion-item {
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: transparent;
}

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

.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'%3e%3cpath fill='none' stroke='%233D348B' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.accordion-body {
  color: var(--text-muted);
  line-height: 1.8;
  padding: 0 0 20px 0;
}

/* ===== CONTACT FORM ===== */
.contact-form .form-control {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 1rem;
  background: var(--white);
}

.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(61, 52, 139, 0.15);
}

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

/* ===== CONTACT INFO CARDS ===== */
.contact-info-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}

.contact-info-card:hover {
  transform: translateY(-4px);
}

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

.contact-info-card h5 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

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

/* ===== MAP ===== */
.map-container {
  width: 100%;
  height: 400px;
  border: none;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* ===== FOOTER (Template 10: Simple centered, minimal) ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
  text-align: center;
}

.site-footer .footer-links {
  margin-bottom: 16px;
}

.site-footer .footer-links a {
  color: rgba(255,255,255,0.7);
  margin: 0 12px;
  font-size: 0.95rem;
  transition: color 0.3s;
}

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

.site-footer .company-info {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.site-footer .copyright {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  padding: 120px 0 80px;
}

.legal-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

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

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

.legal-content p, .legal-content li {
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

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

/* Cookie table styles */
.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;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .img-text-content h2 { font-size: 1.8rem; }
  .menu_box .navbar-collapse {
    background: var(--white);
    padding: 16px;
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }
}

@media (max-width: 767px) {
  section { padding: 50px 0; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .section-title { font-size: 1.7rem; }
  .team-card img { width: 140px; height: 140px; }
  .site-footer .footer-links a { margin: 0 8px; font-size: 0.85rem; }
}

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

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.85;
}

/* ===== Services page ===== */
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card .service-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.8rem;
  color: var(--primary);
}

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

/* ===== Testimonials page ===== */
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-bottom: 24px;
  border-left: 4px solid var(--accent);
}

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

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

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