/* ============================================================
   Template 14: "Crimson & Cream" — Parallax Classic
   Company: 프라부 주식회사 (Prabhu Co., Ltd.)
   Primary: #8B1A1A | Accent: #D4A574 | Dark: #4A0E0E | Light: #FDF8F4
   Font: Darker Grotesque (300-900)
   ============================================================ */

/* --- Base --- */
:root {
  --primary: #8B1A1A;
  --primary-rgb: 139, 26, 26;
  --accent: #D4A574;
  --accent-rgb: 212, 165, 116;
  --dark: #4A0E0E;
  --dark-rgb: 74, 14, 14;
  --light-bg: #FDF8F4;
  --white: #ffffff;
  --text: #2d2d2d;
  --text-light: #6c6c6c;
  --font-display: 'Darker Grotesque', sans-serif;
}

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

body {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 1.05rem;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

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

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

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

/* --- Typography helpers --- */
.display-1 { font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 800; }
.display-2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 600; }
.display-4 { font-size: 1rem; font-weight: 500; }
.display-5 { font-size: 1.3rem; font-weight: 700; }
.display-7 { font-size: 1.1rem; font-weight: 400; line-height: 1.8; }

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

/* --- Container overrides --- */
.container { max-width: 1140px; padding: 0 20px; }
.container-fluid { padding: 0 28px; }

.content-wrap { width: 100%; }

/* ============================================================
   NAVBAR — Template 14: navbar-fixed-top, content-wrap container-fluid
   Logo: card-wrap little-radius height:2.5rem
   Company name: text-black text-primary display-4 with <strong>
   ============================================================ */
.navbar-fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  padding: 10px 0;
}

.navbar-fixed-top .content-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.navbar-fixed-top .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-fixed-top .navbar-brand img {
  height: 2.5rem;
  border-radius: 6px;
  object-fit: contain;
}

.navbar-fixed-top .navbar-caption {
  font-weight: 700;
  font-size: 1rem;
}

.navbar-fixed-top .navbar-caption strong {
  font-weight: 800;
  letter-spacing: -0.2px;
}

.card-wrap { display: inline-block; }
.little-radius { border-radius: 6px; }

.navbar-fixed-top .navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  flex-basis: auto !important;
  width: auto !important;
  list-style: none;
  gap: 6px;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}

.navbar-fixed-top .nav-item { position: relative; }

.navbar-fixed-top .nav-link {
  display: block;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.25s ease;
  text-decoration: none;
}

.navbar-fixed-top .nav-link:hover,
.navbar-fixed-top .nav-link.active {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary) !important;
}

.navbar-buttons { display: flex !important; gap: 10px; align-items: center; }

.navbar-fixed-top .navbar-toggler {
  display: none !important;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text);
  padding: 6px 10px;
  border-radius: 6px;
  order: 10;
}

/* Buttons — use .site-btn prefix to avoid Bootstrap conflicts */
.btn.site-btn,
a.btn.site-btn,
.navbar-fixed-top .btn,
.hero-content .btn,
.faq-section .btn,
.contact-section .btn,
.features1 .btn,
.parallax-banner .btn,
.service-card .btn {
  display: inline-block;
  padding: 12px 28px !important;
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  border-radius: 6px !important;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.3s ease;
  line-height: 1.4 !important;
}

.btn-black,
a.btn-black,
.navbar-fixed-top .btn-black {
  background: var(--dark) !important;
  color: var(--white) !important;
  border-color: var(--dark) !important;
}
.btn-black:hover,
a.btn-black:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--white) !important;
}

.btn-danger,
a.btn-danger,
.hero-content .btn-danger,
.contact-section .btn-danger {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-color: var(--primary) !important;
}
.btn-danger:hover,
a.btn-danger:hover {
  background: var(--dark) !important;
  border-color: var(--dark) !important;
  color: var(--white) !important;
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: transparent;
  color: var(--accent);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--dark);
}

/* ============================================================
   HERO — Template 14: Full-screen parallax, overlay 0.7
   Subtitle display-2, Main text display-7, CTA btn-danger
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80') center/cover no-repeat;
  background-attachment: fixed;
  text-align: center;
  padding: 120px 20px 60px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

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

.hero-content .label-text {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-content h2.display-1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-content p.display-7 {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

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

.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* Divider */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 24px;
}

/* ============================================================
   FEATURES / IMAGE+TEXT — Template 14
   ============================================================ */
.features1 {
  padding: 80px 0;
}

.features1 .row {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.features1 .col-image { flex: 1; min-width: 300px; }
.features1 .col-text { flex: 1; min-width: 300px; }

.features1 .col-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.features1 .heading {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.features1 .text-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
}

.features1.reversed .row { flex-direction: row-reverse; }

/* ============================================================
   NUMBERED ADVANTAGES — Template 14: step-number circles
   ============================================================ */
.numbered-advantages {
  padding: 80px 0;
  background: var(--white);
}

.numbered-advantages .cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.numbered-advantages .card-item {
  text-align: center;
  padding: 40px 28px;
  background: var(--light-bg);
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.numbered-advantages .card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.numbered-advantages .icon-box {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
}

.numbered-advantages .card-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

/* ============================================================
   SERVICES CARDS
   ============================================================ */
.services-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.services-section .cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.service-card .card-body {
  padding: 24px;
}

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

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

/* ============================================================
   CLIENTS LOGOS
   ============================================================ */
.clients-section {
  padding: 60px 0;
  background: var(--white);
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  opacity: 0.6;
}

.client-logo-box {
  width: 140px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-light);
  border: 1px dashed var(--text-light);
  border-radius: 8px;
  opacity: 0.5;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section {
  padding: 80px 0;
  background: var(--white);
}

.accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 4px;
}

.accordion-header {
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.accordion-header:hover { color: var(--primary); }

.accordion-header .icon {
  font-size: 1.4rem;
  transition: transform 0.3s;
  color: var(--primary);
}

.accordion-header.active .icon { transform: rotate(45deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}

.accordion-body.open {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: var(--white);
  margin-bottom: 16px;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

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

.form-control::placeholder {
  color: #aaa;
  font-family: var(--font-display);
}

/* ============================================================
   CONTACT INFO CARDS
   ============================================================ */
.contacts01 {
  padding: 60px 0;
  background: var(--dark);
  color: var(--white);
}

.contacts01 .cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.contacts01 .contact-card {
  text-align: center;
  padding: 30px 20px;
}

.contacts01 .contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dark);
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.contacts01 .contact-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.contacts01 .contact-value {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* ============================================================
   MAP
   ============================================================ */
.map-section { padding: 0; }
.map-section iframe { width: 100%; height: 400px; border: none; display: block; }

/* ============================================================
   PARALLAX BANNER
   ============================================================ */
.parallax-banner {
  position: relative;
  padding: 100px 0;
  background: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?w=1200&q=80') center/cover no-repeat;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
}

.parallax-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(74, 14, 14, 0.85);
  z-index: 1;
}

.parallax-banner .content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.parallax-banner .heading {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 140px 0 70px;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.page-hero .page-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero .breadcrumb {
  color: var(--accent);
  font-weight: 500;
}

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

/* ============================================================
   FOOTER — Template 14: Dense block
   ALL info in ONE <p>: policy links + <br> + email + <br> + address + <br> + phone + <br> + reg + <br> + copyright
   ============================================================ */
.footer3 {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 50px 20px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 2;
}

.footer3 .footer-content {
  max-width: 700px;
  margin: 0 auto;
}

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

.footer3 .footer-links li { display: inline; }

.footer3 a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s;
}

.footer3 a:hover { color: var(--white); }

.footer3 .media-container-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.footer3 .align-center { text-align: center; }

.footer3 .mbr-white { color: var(--white); }

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-section {
  padding: 80px 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.team-card {
  text-align: center;
  background: var(--light-bg);
  border-radius: 10px;
  overflow: hidden;
  padding-bottom: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.team-card .team-name {
  font-weight: 800;
  font-size: 1.15rem;
  margin-top: 18px;
  color: var(--dark);
}

.team-card .team-role {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin-bottom: 24px;
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 14px;
}

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

.testimonial-card .author {
  font-weight: 700;
  color: var(--primary);
  margin-top: 14px;
}

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

/* ============================================================
   CONTENT PAGES (about, services, etc.)
   ============================================================ */
.content-section {
  padding: 60px 0;
}

.content-section h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin: 40px 0 14px;
}

.content-section h3:first-child { margin-top: 0; }

.content-section p {
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 16px;
}

.content-section ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.content-section ul li {
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 8px;
}

/* ============================================================
   POLICY PAGES — cookie tables etc
   ============================================================ */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 30px;
  font-size: 0.9rem;
}

.policy-table th,
.policy-table td {
  border: 1px solid #ddd;
  padding: 10px 14px;
  text-align: left;
}

.policy-table th {
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
}

.policy-table tr:nth-child(even) { background: var(--light-bg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .navbar-fixed-top .navbar-nav {
    display: none !important;
    width: 100%;
    flex-direction: column !important;
    padding: 16px 0 8px;
  }

  .navbar-fixed-top .navbar-nav.show {
    display: flex !important;
  }

  .navbar-fixed-top .navbar-toggler {
    display: block !important;
  }

  .navbar-fixed-top .content-wrap {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .navbar-fixed-top .navbar-buttons {
    display: flex !important;
    order: 1;
  }

  .hero-section {
    background-attachment: scroll;
    min-height: 80vh;
  }

  .features1 .row {
    flex-direction: column !important;
  }

  .section { padding: 50px 0; }
  .parallax-banner { background-attachment: scroll; padding: 60px 0; }
}

@media (max-width: 576px) {
  .container-fluid { padding: 0 14px; }
  .navbar-fixed-top .navbar-brand img { height: 2rem; }
  .navbar-caption { font-size: 0.9rem; }
  .hero-section { min-height: 70vh; padding-top: 100px; }
  .section-title { font-size: 1.5rem; }
}
