/*
 * Gigabyte Grove v3 – WPBakery (js_composer) Skin
 * Drop this after the default js_composer.css so it overrides Visual Composer styling.
 * Uses Gigabyte Grove design tokens if present, with hard fallbacks.
 */

/* -------------------------------------------------------------------------- */
/*  Generic VC Layout                                                         */
/* -------------------------------------------------------------------------- */

.vc_row,
.wpb_row {
	position: relative;
	margin-left: 0;
	margin-right: 0;
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
	background-color: transparent;
}

.vc_row[data-vc-full-width="true"],
.vc_row.vc_row-has-fill {
	background-color: transparent;
}

.vc_row::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 0 0, rgba(77, 210, 255, 0.04), transparent 55%),
		radial-gradient(circle at 100% 100%, rgba(243, 179, 63, 0.04), transparent 55%);
	opacity: 1;
	z-index: -1;
}

.vc_row-no-padding .vc_column-inner {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Columns */

.vc_column_container {
	padding-left: 0;
	padding-right: 0;
}

.vc_column-inner {
	padding-left: 0.9rem;
	padding-right: 0.9rem;
}

.vc_column-inner > .wpb_wrapper {
	position: relative;
}

/* -------------------------------------------------------------------------- */
/*  Content Elements & Typography                                             */
/* -------------------------------------------------------------------------- */

.wpb_content_element {
	margin-bottom: 1.6rem;
	color: var(--gg-text, #f5f5f7);
}

.vc_column_text {
	color: var(--gg-text, #f5f5f7);
	font-size: 1rem;
	line-height: 1.7;
}

.vc_column_text p {
	color: inherit;
}

.vc_custom_heading {
	color: var(--gg-heading, #ffffff);
	margin-bottom: 0.75rem;
}

.vc_custom_heading.gg-eyebrow {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--gg-text-muted, #a1a6b3);
}

/* Text alignment helpers */

.vc_align_left,
.vc_tta-align-left {
	text-align: left;
}

.vc_align_center,
.vc_tta-align-center {
	text-align: center;
}

.vc_align_right,
.vc_tta-align-right {
	text-align: right;
}

/* -------------------------------------------------------------------------- */
/*  Cards (useful for columns / inner elements)                               */
/* -------------------------------------------------------------------------- */

.gg-vc-card,
.wpb_text_column.gg-vc-card-wrap,
.vc_column_container.gg-vc-card-wrap > .vc_column-inner > .wpb_wrapper {
	background: var(--gg-surface, #151827);
	border-radius: var(--gg-radius-lg, 1.25rem);
	border: 1px solid var(--gg-border-subtle, rgba(255, 255, 255, 0.08));
	box-shadow: var(--gg-shadow-soft, 0 18px 35px rgba(0, 0, 0, 0.6));
	padding: 1.4rem 1.5rem;
	position: relative;
	overflow: hidden;
}

.gg-vc-card::before,
.wpb_text_column.gg-vc-card-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(circle at 0 0, rgba(77, 210, 255, 0.16), transparent 60%);
	opacity: 0.9;
}

/* -------------------------------------------------------------------------- */
/*  Buttons                                                                   */
/* -------------------------------------------------------------------------- */

.vc_btn,
.vc_btn3,
.vc_general.vc_btn3,
.vc_general.vc_btn3-style-flat,
.vc_general.vc_btn3-style-modern,
.vc_general.vc_btn3-style-custom {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.7rem 1.4rem;
	border-radius: var(--gg-radius-pill, 999px);
	border: 1px solid transparent;
	background: linear-gradient(
		135deg,
		var(--gg-accent, #f3b33f),
		var(--gg-accent-strong, #ffce4b)
	);
	color: #11110b;
	font-weight: 600;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	cursor: pointer;
	box-shadow: 0 14px 30px rgba(243, 179, 63, 0.45);
	background-size: 150% 150%;
	transition:
		transform 150ms ease-out,
		box-shadow 220ms ease-out,
		background-position 220ms ease-out,
		color 220ms ease-out,
		border-color 220ms ease-out;
}

.vc_general.vc_btn3:hover,
.vc_btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 18px 40px rgba(243, 179, 63, 0.7);
	background-position: 100% 0%;
	color: #11110b;
}

.vc_general.vc_btn3:active,
.vc_btn:active {
	transform: translateY(1px);
	box-shadow: none;
}

/* Outline / ghost styles mapped to Gigabyte Grove */

.vc_general.vc_btn3-style-outline,
.vc_general.vc_btn3-style-outline-custom {
	background: transparent;
	color: var(--gg-accent, #f3b33f);
	border-color: var(--gg-accent, #f3b33f);
	box-shadow: none;
}

.vc_general.vc_btn3-style-outline:hover {
	background: var(--gg-accent-soft, rgba(243, 179, 63, 0.16));
	color: var(--gg-heading, #ffffff);
}

/* Button sizes */

.vc_btn3-size-sm {
	font-size: 0.8rem;
	padding: 0.55rem 1.1rem;
}

.vc_btn3-size-md {
	font-size: 0.9rem;
	padding: 0.65rem 1.3rem;
}

.vc_btn3-size-lg {
	font-size: 1rem;
	padding: 0.8rem 1.7rem;
}

/* -------------------------------------------------------------------------- */
/*  Separators / Dividers                                                     */
/* -------------------------------------------------------------------------- */

.vc_separator {
	border-top: none;
	margin-top: 1.7rem;
	margin-bottom: 1.7rem;
	text-align: center;
	position: relative;
}

.vc_separator .vc_sep_holder {
	display: none;
}

.vc_separator.vc_separator_align_center .vc_sep_line {
	margin-left: auto;
	margin-right: auto;
}

.vc_separator .vc_sep_line {
	height: 1px;
	width: 100%;
	max-width: 220px;
	background: linear-gradient(90deg, rgba(77, 210, 255, 0), rgba(77, 210, 255, 0.8), rgba(77, 210, 255, 0));
	opacity: 0.8;
}

.vc_separator h4 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--gg-text-muted, #a1a6b3);
	background: rgba(0, 0, 0, 0.55);
	margin: 0 0 0.6rem;
}

/* -------------------------------------------------------------------------- */
/*  Icon Element                                                              */
/* -------------------------------------------------------------------------- */

.vc_icon_element {
	margin-bottom: 1.2rem;
}

.vc_icon_element.vc_icon_element-outer {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.vc_icon_element-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: radial-gradient(circle at 30% 20%, rgba(77, 210, 255, 0.4), rgba(77, 210, 255, 0.05));
	border: 1px solid rgba(77, 210, 255, 0.4);
	box-shadow:
		0 0 0 1px rgba(3, 5, 14, 0.9),
		0 12px 28px rgba(0, 0, 0, 0.86);
	padding: 0.7rem;
}

.vc_icon_element-inner .vc_icon_element-icon {
	font-size: 1.6rem;
	color: var(--gg-link, #4dd2ff);
}

/* -------------------------------------------------------------------------- */
/*  Call to Action (vc_cta3)                                                  */
/* -------------------------------------------------------------------------- */

.vc_general.vc_cta3 {
	border-radius: var(--gg-radius-lg, 1.25rem);
	border-width: 1px;
	border-style: solid;
	border-color: var(--gg-border-subtle, rgba(255, 255, 255, 0.08));
	background: radial-gradient(circle at 0 0, rgba(77, 210, 255, 0.2), transparent 60%), var(--gg-surface, #151827);
	color: var(--gg-text, #f5f5f7);
	padding: 1.5rem 1.6rem;
	box-shadow: var(--gg-shadow-soft, 0 18px 35px rgba(0, 0, 0, 0.6));
}

.vc_general.vc_cta3 .vc_cta3-content-header h2,
.vc_general.vc_cta3 .vc_cta3-content-header h4 {
	color: var(--gg-heading, #ffffff);
}

.vc_general.vc_cta3 .vc_cta3-actions {
	margin-top: 1rem;
}

/* -------------------------------------------------------------------------- */
/*  Tabs & Accordions (vc_tta)                                                */
/* -------------------------------------------------------------------------- */

.vc_tta-container {
	margin-bottom: 1.8rem;
}

/* Tabs wrapper */

.vc_tta-tabs .vc_tta-tabs-container {
	margin-bottom: 1.1rem;
}

/* Tabs list */

.vc_tta-tabs .vc_tta-tabs-list {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	padding: 0.25rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.vc_tta-tabs .vc_tta-tab {
	margin: 0;
}

.vc_tta-tabs .vc_tta-tab > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.95rem;
	border-radius: 999px;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--gg-text-muted, #a1a6b3);
	border: none;
	background: transparent;
	transition:
		background-color 200ms ease-out,
		color 200ms ease-out,
		box-shadow 200ms ease-out,
		transform 120ms ease-out;
}

.vc_tta-tabs .vc_tta-tab.vc_active > a {
	background: linear-gradient(
		135deg,
		var(--gg-accent, #f3b33f),
		var(--gg-accent-strong, #ffce4b)
	);
	color: #11110b;
	box-shadow: 0 10px 24px rgba(243, 179, 63, 0.6);
}

.vc_tta-tabs .vc_tta-tab > a:hover {
	color: var(--gg-heading, #ffffff);
}

/* Tabs content */

.vc_tta-panels {
	border-radius: var(--gg-radius-lg, 1.25rem);
	background: var(--gg-surface, #151827);
	border: 1px solid var(--gg-border-subtle, rgba(255, 255, 255, 0.08));
	box-shadow: var(--gg-shadow-subtle, 0 12px 26px rgba(0, 0, 0, 0.65));
}

.vc_tta-panel-heading {
	background: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vc_tta-panel-title > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.95rem 1.15rem;
	font-size: 0.92rem;
	color: var(--gg-text, #f5f5f7);
}

.vc_tta-panel-body {
	padding: 1.1rem 1.15rem 1.1rem;
	background: transparent;
	color: var(--gg-text, #f5f5f7);
}

/* Accordion variant */

.vc_tta-accordion .vc_tta-panels {
	background: transparent;
	border-radius: 0;
	border: none;
	box-shadow: none;
}

.vc_tta-accordion .vc_tta-panel {
	border-radius: var(--gg-radius-md, 0.75rem);
	background: var(--gg-surface, #151827);
	border: 1px solid var(--gg-border-subtle, rgba(255, 255, 255, 0.08));
	margin-bottom: 0.75rem;
	overflow: hidden;
}

.vc_tta-accordion .vc_tta-panel:last-child {
	margin-bottom: 0;
}

/* -------------------------------------------------------------------------- */
/*  Classic Toggles (vc_toggle)                                               */
/* -------------------------------------------------------------------------- */

.vc_toggle {
	border-radius: var(--gg-radius-md, 0.75rem);
	border: 1px solid var(--gg-border-subtle, rgba(255, 255, 255, 0.08));
	background: var(--gg-surface-soft, #1d2133);
	margin-bottom: 0.9rem;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.55);
}

.vc_toggle_title {
	padding: 0.85rem 1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.vc_toggle_title h4 {
	margin: 0;
	font-size: 0.95rem;
	color: var(--gg-text, #f5f5f7);
}

.vc_toggle_icon {
	color: var(--gg-link, #4dd2ff);
}

.vc_toggle_content {
	padding: 0 1rem 0.85rem;
	color: var(--gg-text-soft, #7a7f8f);
}

/* -------------------------------------------------------------------------- */
/*  Message Boxes                                                             */
/* -------------------------------------------------------------------------- */

.vc_message_box {
	border-radius: var(--gg-radius-md, 0.75rem);
	border-width: 1px;
	border-style: solid;
	padding: 0.9rem 1rem;
	margin-bottom: 1.1rem;
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	background-color: rgba(0, 0, 0, 0.55);
	color: var(--gg-text, #f5f5f7);
}

.vc_message_box-icon {
	font-size: 1.25rem;
	margin-top: 0.05rem;
}

/* Info (default) */

.vc_message_box-standard,
.vc_message_box-info {
	border-color: rgba(77, 210, 255, 0.75);
	background: radial-gradient(circle at 0 0, rgba(77, 210, 255, 0.22), rgba(5, 7, 16, 0.9));
}

/* Success */

.vc_message_box-success {
	border-color: rgba(39, 232, 167, 0.8);
	background: radial-gradient(circle at 0 0, rgba(39, 232, 167, 0.24), rgba(5, 7, 16, 0.9));
}

/* Warning */

.vc_message_box-warning {
	border-color: rgba(255, 206, 75, 0.9);
	background: radial-gradient(circle at 0 0, rgba(255, 206, 75, 0.24), rgba(5, 7, 16, 0.9));
}

/* Danger */

.vc_message_box-danger {
	border-color: rgba(255, 92, 123, 0.95);
	background: radial-gradient(circle at 0 0, rgba(255, 92, 123, 0.26), rgba(5, 7, 16, 0.9));
}

/* -------------------------------------------------------------------------- */
/*  Progress Bars & Counters                                                  */
/* -------------------------------------------------------------------------- */

.vc_progress_bar {
	margin-bottom: 1.4rem;
}

.vc_progress_bar .vc_single_bar {
	position: relative;
	border-radius: 999px;
	background: rgba(10, 12, 22, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.08);
	margin-bottom: 0.75rem;
	overflow: hidden;
}

.vc_progress_bar .vc_single_bar .vc_bar {
	border-radius: inherit;
	background: linear-gradient(
		90deg,
		var(--gg-link, #4dd2ff),
		var(--gg-accent, #f3b33f)
	);
	box-shadow: 0 0 25px rgba(77, 210, 255, 0.6);
	height: 10px;
}

.vc_progress_bar .vc_single_bar .vc_label {
	position: absolute;
	left: 0.9rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.8rem;
	color: var(--gg-text-muted, #a1a6b3);
	pointer-events: none;
}

/* Counters */

.vc_pie_chart,
.vc_round-chart {
	color: var(--gg-text, #f5f5f7);
}

.vc_pie_chart canvas {
	filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7));
}

/* -------------------------------------------------------------------------- */
/*  Grids & Carousels                                                         */
/* -------------------------------------------------------------------------- */

.vc_images_carousel,
.vc_carousel-inner {
	background: transparent;
}

.vc_images_carousel .vc_carousel-inner > .vc_item {
	border-radius: var(--gg-radius-lg, 1.25rem);
	overflow: hidden;
	box-shadow: var(--gg-shadow-soft, 0 18px 35px rgba(0, 0, 0, 0.6));
}

.vc_images_carousel .vc_carousel-control {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.4);
	top: 50%;
	transform: translateY(-50%);
}

.vc_images_carousel .vc_carousel-control span {
	color: var(--gg-text, #f5f5f7);
}

/* Grid items (vc_basic_grid, vc_media_grid) */

.vc_grid-container .vc_grid-item,
.vc_gitem-zone {
	background: var(--gg-surface, #151827);
	border-radius: var(--gg-radius-md, 0.75rem);
	overflow: hidden;
	box-shadow: var(--gg-shadow-subtle, 0 14px 28px rgba(0, 0, 0, 0.65));
}

/* -------------------------------------------------------------------------- */
/*  Gigabyte Grove Utility Helpers for VC                                     */
/* -------------------------------------------------------------------------- */

.gg-vc-soft {
	background: var(--gg-surface-soft, #1d2133) !important;
	border-radius: var(--gg-radius-lg, 1.25rem);
	border: 1px solid var(--gg-border-subtle, rgba(255, 255, 255, 0.08));
	padding: 1.35rem 1.4rem;
}

.gg-vc-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.7);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--gg-text-muted, #a1a6b3);
}

/* -------------------------------------------------------------------------- */
/*  Responsive Tweaks                                                         */
/* -------------------------------------------------------------------------- */

@media (max-width: 991px) {
	.vc_row {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	.vc_column-inner {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}
}

@media (max-width: 767px) {
	.vc_row {
		padding-top: 1.8rem;
		padding-bottom: 1.8rem;
	}

	.gg-vc-card,
	.vc_general.vc_cta3 {
		padding: 1.2rem 1.2rem;
	}

	.vc_tta-tabs .vc_tta-tabs-list {
		width: 100%;
		justify-content: flex-start;
		overflow-x: auto;
		white-space: nowrap;
	}
}


/* -------------------------------------------------------------------------- */
/*  Light theme                                                               */
/* -------------------------------------------------------------------------- */
html[data-theme="light"] .vc_tta-tabs .vc_tta-tabs-list {
	background: var(--gg-surface-soft);
	border-color: var(--gg-border-subtle);
}

html[data-theme="light"] .vc_tta-panel-heading {
	border-bottom-color: var(--gg-border-subtle);
}

html[data-theme="light"] .vc_toggle {
	box-shadow: var(--gg-shadow-subtle);
}

html[data-theme="light"] .vc_message_box {
	background: var(--gg-surface-soft);
	color: var(--gg-text);
}

html[data-theme="light"] .vc_message_box-standard,
html[data-theme="light"] .vc_message_box-info {
	background: #eaf6ff;
	color: #17324d;
}

html[data-theme="light"] .vc_message_box-success {
	background: #eaf8f0;
	color: #173d2b;
}

html[data-theme="light"] .vc_message_box-warning {
	background: #fff7dc;
	color: #513d08;
}

html[data-theme="light"] .vc_message_box-danger {
	background: #fff0f3;
	color: #5b1d2b;
}

html[data-theme="light"] .vc_progress_bar .vc_single_bar {
	background: var(--gg-surface-soft);
	border-color: var(--gg-border-subtle);
}

html[data-theme="light"] .vc_progress_bar .vc_single_bar .vc_label {
	color: var(--gg-text);
}
