/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Custom accordion & tabs, MV */

.custom-tabs-component,
.custom-tabs-dropdown-component {
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  /* Generic border for structure, hidden by default */
  margin-bottom: 20px;
}

.custom-tabs {
  gap: 8px;
  display: flex;
  margin-top: 0;
  justify-content: center;
}

.custom-tab {
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 16px 24px;
  transition: 0.3s;
  color: #163156;
  border-radius: 16px 16px 0 0;
  box-shadow: none;
  font-size: 1.25rem;
  line-height: 1.875rem;
  background-color: #fff;
}

.custom-tabs-component .custom-tab:hover {
  color: #163156;
}

.custom-tab-content {
  display: none;
  width: 100%;
}

.custom-tab-content.active {
  display: block;
  /* Show active content */
}

/* Horizontal tabs */
.custom-tabs-component.horizontal,
.custom-tabs-dropdown-component.horizontal {
  flex-direction: column;
}

.custom-tabs-component.horizontal .custom-tabs-content {
  padding: 96px 32px;
  margin-top: 0;
  background-color: #eff6ff;
  border-radius: 16px;
  flex: 1;
}

.custom-tabs-component.horizontal .custom-tab.active {
  background-color: #eff6ff;
  color: #163156;
}

/* Vertical tabs */
.custom-tabs-component.vertical {
  flex-direction: row;
}

.custom-tabs-component.vertical .custom-tabs {
  display: flex;
  flex-direction: column;
}

.custom-tabs-component.vertical .custom-tabs {
  flex: 1;
}

.custom-tabs-component.vertical .custom-tabs-content {
  flex: 1.92;
  padding: 48px;
  background-color: #e8f7f6;
  border-radius: 16px;
}

.custom-tabs-component.vertical .custom-tab {
  padding: 24px;
  text-align: left;
  border-radius: 16px 0 0 16px;
}

.custom-tabs-component.vertical .custom-tab.active {
  background-color: #e8f7f6;
  color: #163156;
}

.custom-tabs-component.vertical .custom-tab:not(.active):hover {
  background-color: #e8f7f6;
}

/* Dropdown */
/* Custom dropdown styling */
.custom-dropdown {
  position: relative;
  display: none;
  width: 100%;
  margin-bottom: 10px;
}

.custom-dropdown-selected {
  padding: 12px 16px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  background-color: #eff6ff;
  cursor: pointer;
  text-align: left;
  color: #163156;
  box-shadow: none;
  border: none;
  border-radius: 999px;
}

.custom-dropdown-selected:after {
  content: "";
  background-image: url(/wp-content/uploads/2025/01/chevron-down.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: right;
  position: absolute;
  height: 20px;
  width: 20px;
  display: inline-block;
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
}

.custom-dropdown.active .custom-dropdown-selected:after {
  background-image: url(/wp-content/uploads/2025/01/chevron-up.svg);
}

.custom-dropdown-options {
  display: none;
  position: absolute;
  background-color: #fff;
  z-index: 1;
  margin-left: 0;
  padding: 0;
  box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.1),
    0px 2px 4px -2px rgba(16, 24, 40, 0.06);
  border-radius: 8px;
  width: 100%;
}

.custom-dropdown-option {
  padding: 10px 14px;
  cursor: pointer;
  line-height: 1.75rem;
  font-size: 1.125rem;
  font-weight: 400;
}

.custom-dropdown-option.active {
  color: #c43f1c !important;
  font-weight: 700;
  background-color: #eff6ff;
}

.custom-dropdown-option.active:not(:last-child),
.custom-dropdown-option.active:not(:first-child) {
  border-radius: 0;
}

.custom-dropdown-option.active:first-child {
  border-radius: 8px 8px 0 0;
}

.custom-dropdown-option.active:last-child {
  border-radius: 0 0 8px 8px;
}

.custom-dropdown-option.active:after {
  content: "";
  background-image: url(/wp-content/uploads/2025/01/check-orange.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: right;
  position: absolute;
  height: 20px;
  width: 20px;
  display: inline-block;
  right: 14px;
}

.custom-dropdown.active .custom-dropdown-options {
  display: block;
}

@media screen and (max-width: 1024px) {
  .custom-tabs-component {
    flex-direction: column;
    border: none;
  }

  .custom-tabs-component.accordion .custom-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .custom-tabs-component.accordion .custom-tab {
    width: 100%;
    text-align: left;
    padding: 16px;
    background-color: #eff6ff;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .custom-tabs-component.accordion .custom-tab:after {
    content: url(/wp-content/uploads/2025/01/chevron-down.svg);
    line-height: 1.875rem;
  }

  .custom-tabs-component.accordion .custom-tab.active:after {
    content: url(/wp-content/uploads/2025/01/chevron-up.svg);
  }

  .custom-tabs-component.accordion .custom-tab.active {
    border-radius: 16px 16px 0 0;
  }

  .custom-tabs-component.accordion .custom-tab-content {
    padding: 0 16px 16px 16px;
    display: none;
    width: 100%;
    background-color: #eff6ff;
    border-radius: 0 0 16px 16px;
    margin-top: -8px;
  }

  .custom-tabs-component.accordion.vertical .custom-tab-content,
  .custom-tabs-component.accordion.vertical .custom-tab {
    background-color: #e8f7f6;
  }

  .custom-tabs-component.accordion .custom-tab.active+.custom-tab-content {
    display: flex;
    /* Show content when tab is active */
    flex-direction: column;
  }

  .custom-tabs-component.horizontal .custom-tabs-content {
    display: none;
  }

  .custom-tabs-component.vertical .custom-tabs-content {
    display: none;
  }

}

@media screen and (max-width: 1024px) {
  .custom-tabs-dropdown-component .custom-tabs {
    display: none;
    /* Hide tabs on mobile */
  }

  .custom-tabs-dropdown-component .custom-tabs-dropdown {
    display: block;
    /* Show dropdown on mobile */
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 1025px) {

  .custom-tabs-dropdown-component .custom-tabs-dropdown {
    display: none;
    /* Hide dropdown on desktop */
  }

  .custom-tabs-dropdown-component .custom-tabs {
    display: flex;
    justify-content: space-around;
    gap: 16px;
    background: #eff6ff;
    border-radius: 999px;
    padding: 4px;
    margin-top: 0;
  }

  .custom-tabs-dropdown-component .custom-tab {
    border-radius: 999px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #163156;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.75rem;
    flex: 1;
    box-shadow: none;
  }

  .custom-tabs-dropdown-component .custom-tab.active {
    background: #fff;
    font-weight: 600;
  }

  .custom-tabs-component.horizontal .custom-tab:not(.active):hover,
  .custom-tabs-component.horizontal .custom-tab:not(.active):focus {
    background-color: #fff;
    text-decoration: underline;
  }

}

/* Business applications tabs content styling */
.bapp-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.bapp-content img {
  margin-bottom: 24px;
  width: 620px;
}

.bapp-content p {
  margin-bottom: 0;
}

.bapp-content--text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

@media screen and (max-width: 1024px) {

  .bapp-content {
    flex-direction: column-reverse;
  }

  .bapp-content img {
    margin-bottom: 0;
  }

}