/* ================================================================
   TashInc Consulting - Global CSS
   Recreated from Joomla Helix Ultimate template (shaper_helixultimate)
   and presets/default.css for tashincconsulting.com
   ================================================================ */

/* ------------------------------------------------------------------
   CSS Variables (from template + presets)
   ------------------------------------------------------------------ */
:root {
  --header_height: 60px;
  --brand-color: #fc006c;
  --body-color: #252525;
  --body-bg: #ffffff;
  --footer-bg: #171717;
  --footer-color: #ffffff;
  --footer-link: #a2a2a2;
  --border-subtle: rgba(80, 80, 80, 0.2);
  --container-max: 1320px;
  --gutter-x: 1.875rem;
}

/* ------------------------------------------------------------------
   Base / Reset (from template.css)
   ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ------------------------------------------------------------------
   Typography (Bootstrap/Helix-style: 1rem base, 1.5 line-height)
   ------------------------------------------------------------------ */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body-color);
  background-color: var(--body-bg);
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

a {
  transition: color 400ms, background-color 400ms;
  text-decoration: none;
  color: var(--brand-color);
}

a:hover,
a:focus,
a:active {
  color: var(--brand-color);
}

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

/* ------------------------------------------------------------------
   Layout: Container & Row (Bootstrap-like, from template)
   ------------------------------------------------------------------ */
.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.container,
.container-inner {
  width: 100%;
  max-width: var(--container-max);
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-right: -0.9375rem;
  margin-left: -0.9375rem;
}

.row.align-items-center {
  align-items: center;
}

/* Column utilities (from Bootstrap) */
.col-auto {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}

.ms-auto {
  margin-left: auto;
}

.d-flex {
  display: flex;
}

.d-none {
  display: none !important;
}

.align-items-center {
  align-items: center;
}

.justify-content-between {
  justify-content: space-between;
}

.flex-auto {
  flex: auto;
}

/* Desktop: show nav; Mobile: hide nav */
@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }

  .d-lg-flex {
    display: flex !important;
  }

  .sp-megamenu-parent.d-lg-block {
    display: flex !important;
  }
}

@media (max-width: 991.98px) {
  .d-lg-block,
  .d-lg-flex {
    display: none !important;
  }
}

/* ------------------------------------------------------------------
   Header #sp-header (from template.css + presets)
   ------------------------------------------------------------------ */
#sp-header {
  height: var(--header_height);
  width: 100%;
  position: relative;
  z-index: 99;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
  background: var(--body-bg);
}

#sp-header.full-header-left .container-fluid {
  display: flex;
  align-items: center;
  height: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

#sp-header.full-header-left .container-inner,
#sp-header.full-header-left .container {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 15px;
}

#sp-header .row {
  width: 100%;
  margin: 0;
  padding: 0;
}

#sp-header .row.align-items-center {
  min-height: var(--header_height);
}

/* Logo column #sp-logo (no separator line – match original) */
#sp-logo {
  flex-shrink: 0;
}

#sp-logo.has-border {
  position: relative;
  padding-right: 1rem;
  margin-right: 0;
}

#sp-logo .sp-column {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

#sp-header .logo {
  height: var(--header_height);
  display: inline-flex;
  margin: 0;
  align-items: center;
}

#sp-header .logo a {
  font-size: 24px;
  line-height: 1;
  margin: 0;
  padding: 0;
  color: inherit;
}

#sp-header .logo a:hover {
  color: var(--brand-color);
}

.logo-image,
#sp-header .logo img {
  height: 36px;
  width: auto;
  display: block;
}

@media (max-width: 992px) {
  .logo-image,
  #sp-header .logo img {
    height: 36px;
  }
}

@media (max-width: 576px) {
  .logo-image,
  #sp-header .logo img {
    height: 36px;
  }
}

/* Menu #sp-menu - megamenu (from template + presets) */
#sp-menu {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}

#sp-menu > .sp-column {
  height: 100%;
  display: flex;
  align-items: center;
}

.menu-with-offcanvas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.sp-megamenu-wrapper {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
}

.sp-megamenu-parent {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sp-megamenu-parent > li {
  display: inline-block;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--body-color);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  transition: color 0.2s;
}

.sp-megamenu-parent > li > a:hover,
.sp-megamenu-parent > li > a:focus,
.sp-megamenu-parent > li > span:hover,
.sp-megamenu-parent > li > span:focus {
  color: var(--brand-color);
}

.sp-megamenu-parent > li.current-item.active > a,
.sp-megamenu-parent > li.current-item.active > span,
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active > span {
  color: var(--brand-color);
}

.sp-menu-item {
  list-style: none;
}

/* Menu right: hamburger (from template) */
#menu-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.offcanvas-toggler,
#offcanvas-toggler {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--body-color);
  text-decoration: none;
  font: inherit;
}

.offcanvas-toggler:hover,
.offcanvas-toggler:focus,
.offcanvas-toggler:active,
#offcanvas-toggler:hover,
#offcanvas-toggler:focus,
#offcanvas-toggler:active {
  color: var(--brand-color);
}

/* Burger icon (from template: .burger-icon) */
.burger-icon {
  width: 25px;
  cursor: pointer;
  display: block;
  padding: 5px 0;
}

.burger-icon > span {
  display: block;
  height: 2px;
  background-color: #000000;
  margin: 5px 0;
  transition: background-color 0.3s ease-in, opacity 0.3s ease-in, transform 0.3s ease-in;
}

.offcanvas-active .burger-icon > span,
body.offcanvas-open .burger-icon > span {
  background-color: #000000;
}

.offcanvas-active .burger-icon > span:nth-child(1),
body.offcanvas-open .burger-icon > span:nth-child(1) {
  transform: translate(0, 8px) rotate(-45deg);
}

.offcanvas-active .burger-icon > span:nth-child(2),
body.offcanvas-open .burger-icon > span:nth-child(2) {
  opacity: 0;
}

.offcanvas-active .burger-icon > span:nth-child(3),
body.offcanvas-open .burger-icon > span:nth-child(3) {
  transform: translate(0, -5px) rotate(45deg);
}

@media (max-width: 991.98px) {
  #sp-header .sp-megamenu-parent.d-lg-block {
    display: none !important;
  }
}

/* ------------------------------------------------------------------
   Offcanvas menu (from template: .offcanvas-menu)
   ------------------------------------------------------------------ */
.offcanvas-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 998;
}

.offcanvas-overlay.open {
  display: block;
}

.offcanvas-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  max-width: 85vw;
  height: 100%;
  background: var(--body-bg);
  color: var(--body-color);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.offcanvas-menu.open {
  right: 0;
}

.offcanvas-menu .offcanvas-inner,
.offcanvas-menu .sp-module-content {
  padding: 2rem 1.5rem;
}

.offcanvas-menu .offcanvas-inner a,
.offcanvas-menu ul.menu > li > a,
.offcanvas-menu ul.menu > li > span {
  color: var(--body-color);
}

.offcanvas-menu .offcanvas-inner a:hover,
.offcanvas-menu .offcanvas-inner a:focus,
.offcanvas-menu .offcanvas-inner a:active,
.offcanvas-menu ul.menu > li > a:hover,
.offcanvas-menu ul.menu > li > a:focus,
.offcanvas-menu ul.menu > li > span:hover,
.offcanvas-menu ul.menu > li > span:focus {
  color: var(--brand-color);
}

.offcanvas-menu ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offcanvas-menu ul.menu > li {
  border-bottom: 1px solid #eee;
}

.offcanvas-menu ul.menu > li > a,
.offcanvas-menu ul.menu > li > span {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

.close-offcanvas {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

body.offcanvas-open {
  overflow: hidden;
}

/* ------------------------------------------------------------------
   Footer #sp-footer (from template + presets)
   ------------------------------------------------------------------ */
#sp-footer {
  font-size: 14px;
  padding: 0;
  background: var(--footer-bg);
  color: var(--footer-color);
}

#sp-footer .container-inner,
#sp-footer .container {
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#sp-footer ul.menu {
  display: inline-block;
  list-style: none;
  padding: 0;
  margin: 0 -10px;
}

#sp-footer ul.menu li {
  display: inline-block;
  margin: 0 10px;
}

#sp-footer ul.menu li a {
  display: block;
  color: var(--footer-link);
}

#sp-footer ul.menu li a:hover,
#sp-footer a:hover,
#sp-footer a:active,
#sp-footer a:focus {
  color: var(--footer-color);
}

#sp-footer p {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: var(--footer-link);
}

/* ------------------------------------------------------------------
   Page title / hero (from template .sp-page-title + SP Page Builder)
   ------------------------------------------------------------------ */
.sp-page-title {
  padding: 30px 0;
  background: var(--brand-color);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

.sp-page-title .sp-page-title-heading,
.sp-page-title .sp-page-title-sub-heading {
  margin: 0;
  padding: 0;
  color: #fff;
}

.sp-page-title .sp-page-title-heading {
  font-size: 24px;
  line-height: 1;
}

/* ------------------------------------------------------------------
   Common page header (Concept, Services, Testimonials)
   ------------------------------------------------------------------ */
.page-header {
  background: var(--brand-color);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 400;
  margin: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.2;
}

/* ------------------------------------------------------------------
   Main content area (from template #sp-main-body)
   ------------------------------------------------------------------ */
#sp-main-body {
  padding: 70px 0 100px;
}

/* ------------------------------------------------------------------
   Content typography (shared: body text, headings in content)
   ------------------------------------------------------------------ */
.content-section p,
.section-item p,
.testimonial-text p,
.card p {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body-color);
}

.content-section h1,
.content-section h2,
.content-section h3,
.section-item h3,
.card h2,
.card h3 {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--body-color);
}

.content-section h1 { font-size: 2.5rem; }
.content-section h2 { font-size: 1.5rem; }
.content-section h3,
.section-item h3,
.card h3 { font-size: 1.125rem; }
.card h2 { font-size: 1.5rem; }

/* ------------------------------------------------------------------
   Utilities
   ------------------------------------------------------------------ */
.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
  .page-header h1 {
    font-size: 2rem;
  }

  #sp-main-body {
    padding: 2rem 0 3rem;
  }
}

@media (max-width: 575.98px) {
  .container,
  .container-inner,
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
}
