/* ==========================================================================
   Arock Construction — About page visual enhancements & Scroll Engine
   Mirrors the luxury styling defined across the Arock design system.
   Loaded last so it wins cascade over post-9930454.css rules.
   ========================================================================== */

:root {
	--arock-accent: #FFB214;
	--arock-accent-dark: #D98D00;
	--arock-accent-glow: rgba(255, 178, 20, 0.4);
}

/* ── Hero — match services.html size and position ────────────────────────
   Services has no spacer before its hero — the JS-set wrapper margin-top
   (-(header_height+1)px) handles the transparent-header overlap at every
   breakpoint. On the about page a 1-px spacer with margin-top:-226px collapses
   with that wrapper margin and breaks the responsive offset. Zeroing the
   spacer lets the JS margin take over; the hero then mirrors services exactly.
   -------------------------------------------------------------------------- */

.elementor-993 .elementor-element-e2f3131 {
	margin-top: 0 !important;
	display: none !important;
}

.elementor-993 .elementor-element.elementor-element-b857d32 {
	margin-top: 0 !important;
	position: relative !important;
	overflow: hidden !important;
	background-image: none !important;
	background: #0d0c09 !important;
}

.elementor-993 .elementor-element.elementor-element-b857d32::before {
	content: "" !important;
	position: absolute !important;
	top: -6% !important;
	left: -6% !important;
	width: 112% !important;
	height: 112% !important;
	background-image: url("/assets/Pages%20main%20images/About%20Us.jpg") !important;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	animation: ar-kenburns-hero 22s ease-in-out infinite alternate !important;
	z-index: 0 !important;
	transform-origin: center center !important;
}

.elementor-993 .elementor-element.elementor-element-b857d32::after {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	pointer-events: none !important;
	background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.4) 100%) !important;
	z-index: 1 !important;
}

.elementor-993 .elementor-element.elementor-element-b857d32 > .elementor-container {
	position: relative !important;
	z-index: 2 !important;
	min-height: max(480px, 31.25vw) !important;
}

@keyframes ar-kenburns-hero {
	0%   { transform: scale(1) translate(0, 0); }
	50%  { transform: scale(1.08) translate(-1.2%, -0.8%); }
	100% { transform: scale(1.04) translate(0.8%, 0.5%); }
}

@media (prefers-reduced-motion: reduce) {
	.elementor-993 .elementor-element.elementor-element-b857d32::before {
		animation: none !important;
		transform: scale(1) !important;
	}
}

@media (max-width: 767px) {
	.elementor-993 .elementor-element.elementor-element-b857d32 > .elementor-container {
		min-height: 440px !important;
	}
	.elementor-993 .elementor-element.elementor-element-b857d32::before {
		background-position: center 30% !important;
	}
}


/* Golden background-stroke underline on the closing word of every animated
   section heading — animated draw-on when section enters viewport */
.qodef-qi-animated-text .qodef-m-title .qodef-e-word-holder:last-child {
	background-image: linear-gradient(var(--arock-accent), var(--arock-accent));
	background-repeat: no-repeat;
	background-position: 0 92%;
	background-size: 0% 0.05em;
	transition: background-size 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.qodef-qi--appeared .qodef-m-title .qodef-e-word-holder:last-child,
.qodef-qi-animated-text.qodef-qi--appeared .qodef-m-title .qodef-e-word-holder:last-child {
	background-size: 100% 0.05em;
}

/* ── Parallax Images & Scroll Effect Engine ─────────────────────────────── */
.qodef-qi-parallax-images {
	position: relative;
	perspective: 1200px;
	perspective-origin: center center;
}

.qodef-qi-parallax-images .qodef-m-images {
	position: relative;
	display: block;
	width: 100%;
}

.qodef-qi-parallax-images .qodef-e-main-image-holder {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 28px 60px -15px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1);
	background: #111111;
	transform-style: preserve-3d;
}

.qodef-qi-parallax-images:hover .qodef-e-main-image-holder {
	box-shadow: 0 36px 70px -15px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 178, 20, 0.35);
}

.qodef-qi-parallax-images .qodef-e-main-image-zoom-holder {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.qodef-qi-parallax-images .qodef-e-main-image {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.qodef-qi-parallax-images .qodef-e-main-image img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 650px;
	object-fit: cover;
	transform-origin: center center;
	transition: filter 0.5s ease;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	will-change: transform;
}

/* Floating Luxury Philosophy Badge */
.qodef-qi-parallax-images .qodef-e-parallax-image {
	position: absolute;
	bottom: -22px;
	left: -22px;
	z-index: 10;
	pointer-events: none;
	will-change: transform;
	transform-style: preserve-3d;
	transition: transform 0.12s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.elementor-element-61c62f2 .qodef-qi-parallax-images .qodef-e-parallax-image {
	left: auto;
	right: -22px;
}

.arock-philosophy-badge {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 14px 22px;
	background: rgba(14, 14, 14, 0.94);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-left: 3px solid var(--arock-accent, #FFB214);
	border-radius: 8px;
	box-shadow: 0 22px 45px rgba(0, 0, 0, 0.4);
	color: #ffffff;
	pointer-events: auto;
	user-select: none;
	transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.arock-philosophy-badge:hover {
	transform: translateY(-4px) scale(1.03);
	box-shadow: 0 28px 56px rgba(0, 0, 0, 0.52), 0 0 20px rgba(255, 178, 20, 0.25);
	border-color: rgba(255, 178, 20, 0.4);
}

.arock-badge-icon {
	color: var(--arock-accent, #FFB214);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	animation: arockBadgePulse 3s infinite ease-in-out;
}

@keyframes arockBadgePulse {
	0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 178, 20, 0)); }
	50%      { transform: scale(1.08); filter: drop-shadow(0 0 8px rgba(255, 178, 20, 0.6)); }
}

.arock-badge-text {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.arock-badge-sub {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	color: var(--arock-accent, #FFB214);
	line-height: 1.2;
}

.arock-badge-title {
	font-size: 13.5px;
	font-weight: 600;
	color: #f7f7f7;
	font-family: 'Urbanist', sans-serif;
	letter-spacing: 0.5px;
	line-height: 1.3;
	white-space: nowrap;
}

/* ── Interactive Scroll Rail & Active Paragraph System ───────────────── */
.elementor-element-467c72f .elementor-widget-text-editor .elementor-widget-container,
.elementor-element-61c62f2 .elementor-widget-text-editor .elementor-widget-container {
	position: relative;
	padding-left: 28px;
}

/* Glowing Gold Vertical Track */
.arock-philosophy-rail {
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 12px;
	width: 2px;
	background: rgba(0, 0, 0, 0.08);
	border-radius: 2px;
	overflow: hidden;
}

.arock-rail-fill {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0%;
	background: linear-gradient(180deg, var(--arock-accent, #FFB214), var(--arock-accent-dark, #D98D00));
	box-shadow: 0 0 12px var(--arock-accent-glow);
	border-radius: 2px;
	transition: height 0.15s linear;
}

/* Philosophy Paragraphs with dynamic on-scroll focus */
.arock-scroll-para {
	opacity: 0;
	transform: translateY(28px);
	transition: 
		opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
		color 0.35s ease,
		border-color 0.35s ease;
	position: relative;
	margin-bottom: 26px !important;
	line-height: 1.85;
	font-size: 16.5px;
	color: #666666;
}

.arock-scroll-para:last-child {
	margin-bottom: 0 !important;
}

.arock-scroll-para.arock-para-in {
	opacity: 0.65;
	transform: translateY(0);
}

/* Active paragraph highlighted as user scrolls through reading focal line */
.arock-scroll-para.arock-para-active,
.arock-scroll-para:hover {
	opacity: 1 !important;
	transform: translateX(8px) translateY(0) !important;
	color: #111111 !important;
}

/* Step Number Tag (01, 02, 03) */
.arock-para-num {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	font-family: 'Urbanist', sans-serif;
	letter-spacing: 1.5px;
	color: var(--arock-accent, #FFB214);
	background: rgba(255, 178, 20, 0.12);
	border: 1px solid rgba(255, 178, 20, 0.25);
	padding: 2px 8px;
	border-radius: 4px;
	margin-right: 12px;
	vertical-align: middle;
	transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.arock-scroll-para.arock-para-active .arock-para-num,
.arock-scroll-para:hover .arock-para-num {
	background: var(--arock-accent, #FFB214);
	color: #0C0C0C;
	border-color: var(--arock-accent, #FFB214);
	box-shadow: 0 4px 14px rgba(255, 178, 20, 0.4);
	transform: scale(1.08);
}

/* ── Section Spacing & Parallax Clearance ─────────────────────────────────
   Prevents parallax-transformed images (data-parallax-main="60") from
   overlapping following headings and text across all viewports.
   -------------------------------------------------------------------------- */

/* Section 1 (Philosophy with sofa picture) */
.elementor-993 .elementor-element.elementor-element-467c72f {
	margin-top: clamp(20px, 3vw, 40px) !important;
	margin-bottom: clamp(60px, 6vw, 100px) !important;
	padding-bottom: 30px !important;
}

/* Parallax image containers: ensure buffer room for JS translateY */
.elementor-993 .elementor-element.elementor-element-5ceb6be,
.elementor-993 .elementor-element.elementor-element-567c3db {
	margin-bottom: 35px !important;
	padding-bottom: 20px !important;
}

.elementor-993 .elementor-element.elementor-element-5ceb6be .qodef-m-images,
.elementor-993 .elementor-element.elementor-element-567c3db .qodef-m-images {
	padding-bottom: 25px;
}

/* Section 2 (A Different Approach to Luxury Home Construction) */
.elementor-993 .elementor-element.elementor-element-61c62f2 {
	margin-top: clamp(50px, 5vw, 80px) !important;
	margin-bottom: clamp(60px, 6vw, 100px) !important;
	padding-top: clamp(20px, 2.5vw, 40px) !important;
	padding-bottom: 30px !important;
}

.elementor-993 .elementor-element.elementor-element-61c62f2 .elementor-element-ec77f45 {
	margin-top: 15px !important;
	margin-bottom: 20px !important;
}

.elementor-993 .elementor-element.elementor-element-d92d6cc > .elementor-element-populated {
	padding-right: clamp(20px, 4vw, 50px) !important;
	padding-top: 10px !important;
}

/* Section 3 (Our Core Values) */
.elementor-993 .elementor-element.elementor-element-9444089 {
	margin-top: clamp(50px, 5vw, 80px) !important;
	margin-bottom: clamp(40px, 4vw, 60px) !important;
	padding-top: 20px !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
	.elementor-993 .elementor-element.elementor-element-467c72f {
		margin-bottom: 50px !important;
		padding-bottom: 20px !important;
	}

	.elementor-993 .elementor-element.elementor-element-61c62f2 {
		margin-top: 50px !important;
		margin-bottom: 50px !important;
		padding-top: 20px !important;
	}

	.elementor-993 .elementor-element.elementor-element-9444089 {
		margin-top: 50px !important;
	}
}

@media (max-width: 767px) {
	.elementor-993 .elementor-element.elementor-element-467c72f {
		margin-top: 30px !important;
		margin-bottom: 40px !important;
	}

	.elementor-993 .elementor-element.elementor-element-5ceb6be {
		margin-bottom: 30px !important;
	}

	.elementor-993 .elementor-element.elementor-element-6430ca2 > .elementor-widget-container {
		padding-top: 20px !important;
	}

	.elementor-993 .elementor-element.elementor-element-61c62f2 {
		margin-top: 50px !important;
		margin-bottom: 40px !important;
		padding-top: 20px !important;
	}

	.elementor-993 .elementor-element.elementor-element-567c3db {
		margin-top: 30px !important;
		margin-bottom: 30px !important;
	}

	.elementor-993 .elementor-element.elementor-element-9444089 {
		margin-top: 40px !important;
	}

	.elementor-element-467c72f .elementor-widget-text-editor .elementor-widget-container,
	.elementor-element-61c62f2 .elementor-widget-text-editor .elementor-widget-container {
		padding-left: 20px;
	}

	.qodef-qi-parallax-images .qodef-e-parallax-image {
		bottom: -15px;
		left: 10px;
		right: auto;
	}

	.arock-philosophy-badge {
		padding: 10px 14px;
		gap: 10px;
	}

	.arock-badge-title {
		font-size: 12px;
	}

	.arock-scroll-para {
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.arock-scroll-para {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.qodef-qi-parallax-images .qodef-e-main-image img,
	.qodef-qi-parallax-images .qodef-e-parallax-image,
	.qodef-qi-parallax-images .qodef-e-main-image-holder {
		transform: none !important;
		transition: none !important;
	}

	.qodef-qi-animated-text .qodef-m-title .qodef-e-word-holder:last-child {
		background-size: 100% 0.05em !important;
		transition: none !important;
	}

	.arock-badge-icon {
		animation: none !important;
	}
}

/* ── Masonry Image Gallery — Gap & Aspect Ratio Fix ───────────────────────
   Replaces the square-forcing isotope layout with CSS Grid to eliminate the
   excess vertical empty gap between photo rows on all viewports.
   -------------------------------------------------------------------------- */
.elementor-993 .elementor-element.elementor-element-f04aa72 {
	margin-top: clamp(30px, 3.5vw, 50px) !important;
	margin-bottom: clamp(30px, 3.5vw, 50px) !important;
	padding-left: clamp(15px, 3vw, 40px) !important;
	padding-right: clamp(15px, 3vw, 40px) !important;
}

.qodef-qi-image-gallery-masonry .qodef-grid-inner {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 24px !important;
	height: auto !important;
}

.qodef-qi-image-gallery-masonry .qodef-qi-grid-masonry-sizer {
	display: none !important;
}

.qodef-qi-image-gallery-masonry .qodef-grid-item {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	width: 100% !important;
	height: auto !important;
	transform: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.qodef-qi-image-gallery-masonry .qodef-e-inner {
	height: auto !important;
	overflow: hidden !important;
	border-radius: 12px !important;
}

.qodef-qi-image-gallery-masonry .qodef-e-inner img {
	width: 100% !important;
	height: auto !important;
	display: block !important;
	border-radius: 12px !important;
	transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.qodef-qi-image-gallery-masonry .qodef-e-inner:hover img {
	transform: scale(1.05) !important;
}

/* ── Section Margin Normalization (Our Vision, Values, Commitment) ─────── */
.elementor-993 .elementor-element.elementor-element-210f0bb {
	margin-top: clamp(40px, 4vw, 60px) !important;
	margin-bottom: clamp(20px, 2vw, 30px) !important;
}

.elementor-993 .elementor-element.elementor-element-541de9f {
	margin-top: clamp(40px, 4vw, 60px) !important;
	margin-bottom: clamp(30px, 3vw, 40px) !important;
}

.elementor-993 .elementor-element.elementor-element-b1a04f0 {
	padding-top: clamp(30px, 3vw, 50px) !important;
}

@media (max-width: 1024px) {
	.qodef-qi-image-gallery-masonry .qodef-grid-inner {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 20px !important;
	}

	.elementor-993 .elementor-element.elementor-element-210f0bb {
		margin-top: 40px !important;
	}

	.elementor-993 .elementor-element.elementor-element-541de9f {
		margin-top: 40px !important;
	}
}

@media (max-width: 680px) {
	.qodef-qi-image-gallery-masonry .qodef-grid-inner {
		grid-template-columns: 1fr !important;
		gap: 18px !important;
	}

	.elementor-993 .elementor-element.elementor-element-210f0bb {
		margin-top: 35px !important;
	}

	.elementor-993 .elementor-element.elementor-element-541de9f {
		margin-top: 35px !important;
	}

	.elementor-993 .elementor-element.elementor-element-f04aa72 {
		margin-top: 25px !important;
		margin-bottom: 25px !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
}



