/* ==========================================================================
   Holcim Egypt Microsite - Desktop & Core Styles
   ========================================================================== */

body {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	font-family: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	direction: rtl;
	text-align: right;
	background-color: #ffffff;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

/* ==========================================================================
   1. HEADER
   ========================================================================== */

.header {
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
	height: 84px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-container-inner {
	width: 100%;
	max-width: 1340px;
	padding: 0 40px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Left: Hotline Phone */
.header-phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #184370;
	font-size: 24px;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-phone:hover {
	opacity: 0.85;
	transform: scale(1.02);
}

.header-phone-icon {
	width: 26px;
	height: 26px;
	pointer-events: none;
}

.header-phone-number {
	font-family: 'Montserrat', 'Noto Kufi Arabic', sans-serif;
	letter-spacing: 0.5px;
}

/* Center: Navigation Links */
.header-nav {
	display: flex;
	align-items: center;
	gap: 36px;
}

.nav-link {
	color: #041739;
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
	position: relative;
	padding: 4px 0;
	transition: color 0.2s ease;
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -2px;
	right: 0;
	width: 0%;
	height: 2px;
	background-color: #4bb05b;
	transition: width 0.25s ease;
}

.nav-link:hover {
	color: #4bb05b;
}

.nav-link:hover::after {
	width: 100%;
}

/* Right: Logo */
.header-logo {
	display: flex;
	align-items: center;
}

.header-logo-svg {
	width: 260px;
	height: 34px;
	display: block;
	pointer-events: none;
}

/* Hide mobile-specific header on desktop */
.mobile-header-menu {
	display: none;
}

/* ==========================================================================
   2. HERO PROMO SECTION
   ========================================================================== */

.promo-section {
	position: relative;
	height: 560px;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: flex-start; /* in RTL, flex-start is on the right side */
	padding: 0 max(80px, calc((100% - 1320px) / 2));
	overflow: hidden;
	box-sizing: border-box;
	background: url('../assets/pooster.webp') center / cover no-repeat;
}

.promo-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
	user-select: none;
  	-webkit-user-select: none;
}

.promo-video::-webkit-media-controls,
.promo-video::-webkit-media-controls-start-playback-button {
	display: none !important;
	-webkit-appearance: none;
}

.promo-video.is-autoplay-blocked {
	visibility: hidden;
}

.promo-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to left, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 55%, transparent 100%);
	pointer-events: none;
}

.promo-content {
	position: relative;
	z-index: 2;
	max-width: 620px;
	display: flex;
	flex-direction: column;
	align-items: flex-start; /* right-aligned in RTL */
	gap: 28px;
	text-align: right;
}

.promo-title {
	color: #ffffff;
	font-size: 44px;
	font-weight: 800;
	line-height: 1.35;
	margin: 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.promo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #184370;
	color: #ffffff;
	font-size: 20px;
	font-weight: 600;
	padding: 13px 36px;
	border-radius: 8px;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(24, 67, 112, 0.4);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-btn:hover {
	background-color: #041739;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(4, 23, 57, 0.5);
}

/* ==========================================================================
   3. SECTION 2: PRODUCT SHOWCASE
   ========================================================================== */

.section {
	background-color: #f6f6f6;
	padding: 64px 32px 72px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 36px;
	box-sizing: border-box;
}

.section-col-top {
	text-align: center;
	max-width: 820px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 auto;
}

.section-subtitle-symbol {
	color: #041739;
	font-size: 34px;
	font-weight: 700;
	margin: 0;
}

.section-text {
	color: #6f6e73;
	font-size: 15px;
	margin: 0;
	line-height: 1.6;
}

.showcase-container {
	position: relative;
	width: 100%;
	max-width: 1240px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	box-sizing: border-box;
}

.slider-arrow {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, opacity 0.2s ease;
	flex-shrink: 0;
}

.slider-arrow:hover {
	transform: scale(1.15);
	opacity: 0.8;
}

.showcase-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 180px;
	flex: 1;
}

/* Typography on Left (RTL) */
.showcase-typography {
	text-align: right;
	min-width: 250px;
}

.product-subcode {
	color: #041739;
	font-size: 30px;
	font-weight: 500;
	margin: 0 0 10px 0;
	letter-spacing: -0.5px;
	line-height: 48.3px;
	font-family: 'Noto Kufi Arabic', sans-serif;
	word-wrap: break-word;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-catchphrase {
	color: #041739;
	font-size: 72px;
	font-weight: 800;
	line-height: 84px;
	margin: 0;
	letter-spacing: -1px;
	font-family: 'Noto Kufi Arabic', sans-serif;
	word-wrap: break-word;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Card on Right */
.showcase-card-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.showcase-card {
	position: relative;
	width: 362px;
	height: 540px;
	border-radius: 6px;
	overflow: visible;
	box-shadow: 0 10px 30px rgba(4, 23, 57, 0.08);
}

.showcase-card-bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
	display: block;
	border-radius: 6px;
	position: relative;
	z-index: 0;
}

.showcase-card-bag {
	position: absolute;
	top: 65px;
	left: -149px;
	width: 260px;
	height: auto;
	object-fit: contain;
	z-index: 1;
	filter: drop-shadow(-8px 12px 18px rgba(0, 0, 0, 0.3));
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.showcase-card-bag.fade-out,
.product-subcode.fade-out,
.product-catchphrase.fade-out {
	opacity: 0;
	transform: translateY(6px);
}

.showcase-indicators {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	transform: translateX(-200px);
}

.indicator-dash {
	width: 52px;
	height: 3px;
	background-color: rgba(0, 0, 0, 0.22);
	border-radius: 2px;
	transition: background-color 0.25s ease;
	cursor: pointer;
}

.indicator-dash.active {
	background-color: #184370;
}

/* ==========================================================================
   4. SECTION 3: STRATEGIC PILLARS / ACCORDION
   ========================================================================== */

.row {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-height: 620px;
	background: #ffffff;
	box-sizing: border-box;
}

.col-left {
	flex: 1 1 50%;
	max-width: 50%;
	width: 50%;
	margin-right: 0;
	padding: 56px 48px 40px max(48px, calc((100vw - 1280px) / 2));
	display: flex;
	flex-direction: column;
	gap: 20px;
	box-sizing: border-box;
}

.col-top1 {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.subtitle-symbol1 {
	color: #041739;
	font-size: 40px;
	font-weight: 600;
	line-height: 56px;
	margin: 0;
	word-wrap: break-word;
}

.text-symbol1 {
	color: #6f6e73;
	font-size: 18px;
	font-weight: 400;
	line-height: 27px;
	margin: 0;
	word-wrap: break-word;
}

.horizontal-border {
	display: flex;
	flex-direction: column;
	border-top: 1px solid rgba(157, 157, 157, 0.35);
	margin-top: 6px;
}

.accordion-item {
	border-bottom: 1px solid rgba(157, 157, 157, 0.35);
}

.accordion-header {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	background: none;
	border: none;
	cursor: pointer;
	text-align: right;
	font-family: inherit;
	transition: opacity 0.2s ease;
}

.accordion-header:hover {
	opacity: 0.85;
}

.button-icon-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
}

.accordion-chevron {
	transition: transform 0.3s ease;
}

.accordion-item.active .accordion-chevron {
	transform: rotate(180deg);
}

.button-subtitle {
	flex: 1;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	color: #041739;
	margin: 0 16px;
	text-align: right;
	word-wrap: break-word;
}

.button-text {
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	color: #4bb05b;
	font-family: 'Noto Kufi Arabic', sans-serif;
	min-width: 24px;
	text-align: left;
	word-wrap: break-word;
}

.accordion-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, padding 0.35s ease;
}

.accordion-item.active .accordion-body {
	max-height: 150px;
	padding-bottom: 16px;
}

.accordion-body p {
	color: #555555;
	font-size: 14px;
	line-height: 1.65;
	margin: 0;
	text-align: right;
}

.story-image {
	flex: 0 0 50%;
	max-width: 50%;
	height: 620px;
	overflow: hidden;
	position: relative;
}

.story-image .img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

/* ==========================================================================
   5. SECTION 4: SUSTAINABILITY & PRODUCTS LINEUP
   ========================================================================== */

.sustainability-section {
	position: relative;
	width: 100%;
	background: #ffffff;
	overflow: hidden;
}

.sustainability-visual-wrap {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
}

.sustainability-bg {
	width: 100%;
	height: auto;
	display: block;
}

/* Visibility utilities */
.mobile-only {
	display: none !important;
}

.desktop-only {
	display: block;
}

.sustainability-text {
	position: absolute;
	top: 12%;
	right: 2%;
	max-width: 526px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 16px;
	text-align: right;
	z-index: 2;
}

.sustainability-text .subtitle-symbol {
	max-width: 526px;
	width: 100%;
	color: #041739;
	font-size: 40px;
	font-weight: 600;
	line-height: 60px;
	margin: 0;
	text-align: right;
	word-wrap: break-word;
}

.sustainability-text .subtitle-symbol2 {
	margin-top: 0;
}

.sustainability-text .text-symbol2 {
	max-width: 526px;
	width: 100%;
	color: #000000;
	font-size: 18px;
	font-weight: 400;
	line-height: 28.8px;
	margin: 0;
	text-align: right;
	word-wrap: break-word;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */

.footer {
	background-color: #041739;
	color: #ffffff;
	padding: 44px 48px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	box-sizing: border-box;
}

.footer-row-top {
	width: 100%;
	max-width: 1320px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Left: Social Icons */
.footer-row-left1 {
	display: flex;
	align-items: center;
	gap: 14px;
}

.circle-light {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.circle-light:hover {
	transform: scale(1.1);
	opacity: 0.9;
}

.circle-light-icon {
	width: 20px;
	height: 20px;
	pointer-events: none;
}

/* Center: Contact Info */
.footer-contact {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	font-weight: 500;
	color: #ffffff;
}

.footer-phone-icon {
	width: 20px;
	height: 20px;
	pointer-events: none;
}

.footer-tel {
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	font-family: 'Montserrat', sans-serif;
	letter-spacing: 0.5px;
}

/* Right: Logo */
.footer-logo {
	display: flex;
	align-items: center;
}

.footer-graphic {
	width: 250px;
	height: 32px;
	pointer-events: none;
}

/* Bottom: Copyright Notice */
.footer-row-bottom {
	width: 100%;
	max-width: 1320px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 18px;
	text-align: center;
}

.footer-text {
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	font-family: 'Montserrat', sans-serif;
	margin: 0;
	letter-spacing: 0.3px;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES (TABLET: 768px - 1024px)
   ========================================================================== */

@media screen and (min-width: 1025px) and (max-width: 1200px) {
	.section {
		padding-left: 20px;
		padding-right: 20px;
	}

	.showcase-content {
		gap: 150px;
	}

	.showcase-typography {
		min-width: 290px;
	}

	.product-subcode {
		font-size: 20px;
		line-height: 32px;
	}

	.product-catchphrase {
		font-size: 50px;
		line-height: 60px;
	}

	.showcase-card {
		width: 320px;
		height: 480px;
	}

	.showcase-card-bag {
		top: 55px;
		left: -112px;
		width: 230px;
	}

	.showcase-indicators {
		transform: translateX(-175px);
	}

	.sustainability-text {
		top: 9%;
		right: 2%;
		max-width: 390px;
		width: 36%;
		gap: 12px;
		overflow-wrap: anywhere;
	}

	.sustainability-text .subtitle-symbol {
		font-size: 28px;
		line-height: 40px;
		overflow-wrap: anywhere;
	}

	.sustainability-text .text-symbol2 {
		font-size: 14px;
		line-height: 22px;
		overflow-wrap: anywhere;
	}
}

@media screen and (max-width: 1024px) {
	.header-container-inner {
		padding: 0 24px;
	}

	.header-nav {
		gap: 20px;
	}

	.nav-link {
		font-size: 15px;
	}

	.header-phone {
		font-size: 20px;
	}

	.header-logo-svg {
		width: 220px;
	}

	.promo-section {
		height: 480px;
		padding: 0 40px;
	}

	.promo-title {
		font-size: 36px;
	}

	.showcase-content {
		gap: 24px;
	}

	.showcase-typography {
		min-width: 220px;
	}

	.product-catchphrase {
		font-size: 44px;
		line-height: 54px;
	}

	.showcase-card {
		width: 320px;
		height: 420px;
	}

	.showcase-card-bag {
		top: 48px;
		left: 0;
		width: 220px;
	}

	.showcase-indicators {
		transform: translateX(-165px);
	}

	.row {
		flex-direction: column;
	}

	.col-left {
		max-width: 60%;
		padding: 40px 32px;
	}

	.story-image {
		max-width: 100%;
		height: 420px;
	}

	.sustainability-text {
		max-width: 380px;
	}

	.subtitle-symbol {
		font-size: 28px;
	}

	.footer-row-top {
		flex-direction: column;
		gap: 20px;
	}
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
	.row {
		flex-direction: row;
		min-height: 520px;
	}

	.story-image {
		flex: 0 0 50%;
		max-width: 50%;
		height: 520px;
	}

	.col-left {
		flex: 1 1 50%;
		max-width: 50%;
		width: 50%;
		padding: 36px 28px;
		gap: 16px;
	}

	.subtitle-symbol1 {
		font-size: 28px;
		line-height: 40px;
	}

	.text-symbol1 {
		font-size: 14px;
		line-height: 22px;
	}

	.button-subtitle {
		font-size: 18px;
		line-height: 26px;
	}

	.accordion-header {
		padding: 14px 0;
	}

	.sustainability-text {
		top: 10%;
		right: 3%;
		max-width: 360px;
		width: 38%;
		gap: 10px;
	}

	.sustainability-text .subtitle-symbol {
		font-size: 30px;
		line-height: 44px;
	}

	.sustainability-text .text-symbol2 {
		font-size: 14px;
		line-height: 22px;
	}
}
