/* Heder Style */

/* ================================
   HEADER / NAVBAR
================================ */

.main_header {
  width: 100%;
  padding: 20px 0;
  position: relative;
  z-index: 1000;
}

.main_header .container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.main_header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

/* ================================
   LOGO
================================ */

.brand_logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.nav-brand-icon {
  min-width: 38px;
  min-height: 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ================================
   NAVIGATION
================================ */

.main_header .nav {
  position: relative;
  background: none;
  border: none;
  padding: 0;
}

.main_header .nav-inner {
  position: relative;
  padding: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  transition: 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--brand-orange);
}

/* ================================
   CTA BUTTONS
================================ */

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  white-space: nowrap;
}

.btn-outline {
  border: 1px solid var(--brand-orange);
  color: var(--brand-orange);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brand-orange);
  color: var(--surface-base);
}

.btn-primary {
  background: var(--brand-orange);
  color: var(--surface-base);
  border: 1px solid var(--brand-orange);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

/* ================================
   MOBILE CTA
================================ */

.mobile-cta {
  display: none;
}

/* ================================
   MOBILE TOGGLE
================================ */

.nav-toggle {
  display: none;
  width: 28px;
  height: 22px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
}

.nav-toggle span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--brand-orange);
  border-radius: 20px;
  left: 0;
  transition: 0.35s ease;
}

/* Hamburger positions */

.nav-toggle span:nth-child(1) {
  top: 0;
}

.nav-toggle span:nth-child(2) {
  top: 9px;
}

.nav-toggle span:nth-child(3) {
  top: 18px;
}

/* Open Animation */

.nav-toggle.active span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* ================================
   TABLET
================================ */

@media (max-width:1024px) {

  .nav-brand {
    font-size: 16px;
  }

  .nav-links {
    gap: 22px;
  }

  .nav-cta {
    gap: 10px;
  }

  .btn {
    padding: 11px 16px;
  }

}

/* Injected by JS — hidden everywhere except the mobile offcanvas */
.offcanvas-header {
  display: none;
}

/* ================================
   MOBILE — OFF-CANVAS
================================ */

@media (max-width:900px) {

  body.nav-open {
    overflow: hidden;
  }

  .main_header {
    padding: 16px 0;
  }

  .main_header .row {
    gap: 14px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  /* .nav becomes the off-canvas panel.
     Using left (not transform) so position:fixed children
     remain viewport-anchored. */
  .main_header .nav {
    position: fixed;
    top: 0;
    left: -110vw;
    width: 100vw;
    height: 100vh;
    background: var(--surface-base);
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
    z-index: 1001;
    overflow-y: auto;
    border: none;
    padding: 0;
    transition: left 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .main_header .nav.active {
    left: 0;
  }

  /* nav-inner: vertical flex column inside the panel */
  .main_header .nav-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    max-width: none;
    padding: 0;
  }

  /* Offcanvas header injected by JS */
  .offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--surface-border);
    flex-shrink: 0;
  }

  .offcanvas-brand-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-navy);
  }

  .offcanvas-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-sunken);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
  }

  .offcanvas-close:hover {
    background: var(--brand-orange-light);
    color: var(--brand-orange);
  }

  /* Nav links */
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links li {
    border-bottom: 1px solid var(--surface-border);
  }

  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    transition: background 0.2s, color 0.2s;
  }

  .nav-links a:hover {
    background: var(--brand-orange-light);
    color: var(--brand-orange);
  }

  /* CTA buttons */
  .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 24px;
    border-top: 1px solid var(--surface-border);
    margin-top: 0;
  }

  .mobile-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    color: var(--brand-orange);
  }

  .mobile-cta .btn.btn-primary {
    color: var(--surface-base);
    background: var(--brand-orange);
  }
}

/* ================================
   SMALL MOBILE
================================ */

@media (max-width:575px) {

  .nav-brand {
    font-size: 15px;
    gap: 10px;
  }

  .nav-brand-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }
}



/* Footer Style */

.footer-col .footer_menu_head {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-legal .copyright_term_list {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
}

.footer-legal .copyright_term_list li:not(:last-child) {
  padding-right: 12px;
  margin-right: 12px;
  position: relative;
}

.footer-legal .copyright_term_list li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.3);
}

.footer-social ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style-type: none;
}

@media only screen and (max-width: 767px) {
  .footer-top {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
}

/* End */

/* Feature page Style */

.feature_list_wrap {
  background: var(--surface-base)
}

@media only screen and (max-width: 1024px) {
  .feature-block {
    gap: 60px;
    margin-bottom: 60px;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

@media only screen and (max-width: 767px) {
  .feature-block {
    gap: 40px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .features-grid {
    gap: 15px;
  }
}


/* General styling */

@media only screen and (max-width: 1024px) {
  .page-header {
    padding: 80px 0px;
  }
}

@media only screen and (max-width: 767px) {
  .page-header {
    padding: 60px 0px;
  }
}