/* AutoStar homepage — custom CSS layer.
   Only rules that native Elementor settings can't achieve. Each block is
   labelled with the section + reason. */

/* ---------------------------------------------------------------------------
   HEADER — nav hover/active + white "Book Now" icon square
   (Elementor free has no Nav Menu widget, so nav items are Heading links and
   the per-item hover colour is handled here.)
--------------------------------------------------------------------------- */
.as-nav-link a,
.as-nav-link .elementor-heading-title {
	transition: color .2s ease;
	cursor: pointer;
}

/* Keep the phone label + number on their own single lines (no wrap → no overflow) */
.as-nowrap .elementor-heading-title { white-space: nowrap; }
.as-nav-link:hover a,
.as-nav-link:hover .elementor-heading-title {
	color: var(--e-global-color-primary) !important;
}

/* Small icon square inside buttons (the dark chip shown in the design) */
.as-btn .elementor-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;

}
.as-btn.as-btn--light .elementor-button-icon { background: rgba(0, 0, 0, .10); }

/* ---------------------------------------------------------------------------
   HERO SLIDER — Slick on the container's inner wrapper.
   We init Slick on `.as-hero-slider > .e-con-inner`; its direct children are
   the slide containers. Neutralise Elementor's flex on the inner once Slick
   has initialised so the track lays out correctly.
--------------------------------------------------------------------------- */
.as-hero-slider { position: relative; }
.as-hero-slider > .e-con-inner.slick-initialized { display: block; }
.as-hero-slider .as-hero-slide { width: 100%; }
/* Avoid a flash of all slides before JS runs */
.as-hero-slider > .e-con-inner:not(.slick-initialized) > .as-hero-slide:not(:first-child) {
	display: none;
}
/* Fade mode stacks slides absolutely; keep the row a normal flex row */
.as-hero-slider .slick-slide .as-hero-row { display: flex; }

/* Vertical dots on the left edge, middle active = orange ring (matches design) */
.as-hero-slider .slick-dots {
	position: absolute;
	left: -72px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
	z-index: 5;
}
.as-hero-slider .slick-dots li { 
	width: 12px;
    height: 12px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 100px;
}
.as-hero-slider .slick-dots li button {
	width: 9px;
	min-width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #4a4a4f;
	font-size: 0;
	line-height: 0;
	color: transparent;
	cursor: pointer;
	transition: all .2s ease;
}
.as-hero-slider .slick-dots li.slick-active button {
	width: 12px;
	min-width: 12px;
	height: 12px;
	padding: 5px;
	background: var(--e-global-color-primary);
	
}

.as-hero-slider .slick-dots li.slick-active{
	border: 1px solid var(--e-global-color-primary);
}

/* (Media panel size + colour are set natively in Elementor now.) */

/* ---------------------------------------------------------------------------
   RESPONSIVE — stack header + hero on tablet / mobile
--------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.as-hero-slider .slick-dots { left: -8px; }
}
@media (max-width: 767px) {
	.as-hero-slider .slick-dots {
		left: 50%;
		top: auto;
		bottom: -34px;
		transform: translateX(-50%);
		flex-direction: row;
	}
}
