/* CSS Styles for Creative Foundry Elementor Addon */
:root {
	--cf-blue: #0000ff;
	--cf-dark: #090909;
	--cf-light: #f4f4f4;
}

/* Base resets & layout */
.cf-hero-section, .cf-philosophy-section, .cf-portfolio-section, 
.cf-expertise-section, .cf-awards-section, .cf-feed-section, 
.cf-cta-section, .cf-footer-section {
	font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	position: relative;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
}

/* 1. Hero Section Styling */
.cf-hero-section {
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	background-color: var(--cf-blue);
}
.cf-hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	animation: cfKburnsZoom 30s infinite alternate ease-in-out;
	z-index: 1;
}
@keyframes cfKburnsZoom {
	0% { transform: scale(1); }
	100% { transform: scale(1.12); }
}
.cf-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--cf-blue);
	opacity: 0.85;
	mix-blend-mode: multiply;
	z-index: 2;
}
.cf-hero-container {
	position: relative;
	z-index: 3;
	width: 100%;
	height: 100%;
	padding: 8% 5%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
}
.cf-hero-top-row {
	display: flex;
	justify-content: flex-end;
	width: 100%;
}
.cf-hero-text-block {
	max-width: 320px;
	text-align: left;
}
.cf-hero-subtext {
	font-size: 1.25rem;
	font-weight: 300;
	line-height: 1.6;
	margin-bottom: 2rem;
	letter-spacing: -0.01em;
}
.cf-hero-btn {
	display: inline-block;
	color: #ffffff;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 1.1rem;
	letter-spacing: 0.1em;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	padding-bottom: 5px;
	transition: border-bottom-color 0.3s ease;
}
.cf-hero-btn:hover {
	border-bottom-color: #ffffff;
}
.cf-hero-bottom-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	width: 100%;
}
.cf-hero-title {
	font-size: clamp(4.5rem, 15vw, 15rem);
	font-weight: 200;
	line-height: 0.9;
	margin: 0;
	letter-spacing: -0.04em;
}
.cf-hero-scroll {
	font-size: 1.1rem;
	font-weight: 300;
	opacity: 0.7;
	padding-bottom: 20px;
}

/* Curtain Reveal Animation Styles */
.cf-curtain-word-wrapper {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
	margin-right: 0.05em;
}
.cf-curtain-word {
	display: inline-block;
	transform: translateY(100%);
	opacity: 0;
	transition: transform 1.2s cubic-bezier(0.15, 0.85, 0.3, 1), opacity 1.2s ease;
}
.cf-curtain-word-wrapper.animated .cf-curtain-word {
	transform: translateY(0);
	opacity: 1;
}

/* 2. Philosophy Styling */
.cf-philosophy-section {
	background-color: var(--cf-light);
	color: var(--cf-dark);
	padding: 8% 5%;
}
.cf-philosophy-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1.5fr;
	gap: 40px;
	align-items: start;
	margin-bottom: 6%;
}
.cf-philosophy-label {
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 500;
	color: var(--cf-blue);
}
.cf-philosophy-text {
	font-size: clamp(1.5rem, 2.5vw, 2.5rem);
	font-weight: 300;
	line-height: 1.4;
	letter-spacing: -0.02em;
}
.cf-philosophy-text a {
	color: var(--cf-blue);
	text-decoration: none;
	font-size: 1.25rem;
	font-weight: 400;
	border-bottom: 1px solid rgba(0, 0, 255, 0.2);
	padding-bottom: 3px;
	transition: border-color 0.3s;
}
.cf-philosophy-text a:hover {
	border-color: var(--cf-blue);
}

/* Marquee general styles */
.cf-marquee-container {
	display: flex;
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	pointer-events: none;
}
.cf-scroll-marquee {
	display: inline-block;
	will-change: transform;
	white-space: nowrap;
	transition: transform 0.1s linear;
}
.cf-large-marquee-text {
	font-size: clamp(6rem, 20vw, 20rem);
	font-weight: 200;
	color: var(--cf-blue);
	line-height: 1;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

/* 3. Portfolio Showcase Section */
.cf-portfolio-section {
	background-color: var(--cf-blue);
	padding: 5% 0;
}
.cf-portfolio-list {
	width: 100%;
}
.cf-portfolio-item {
	position: relative;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	padding: 2.5% 5%;
	cursor: pointer;
}
.cf-portfolio-item:first-child {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.cf-portfolio-title-link {
	text-decoration: none;
	display: block;
}
.cf-portfolio-title {
	font-size: clamp(2.5rem, 5vw, 6rem);
	font-weight: 200;
	color: #ffffff;
	margin: 0;
	letter-spacing: -0.02em;
	transition: opacity 0.3s;
}
.cf-portfolio-item:hover .cf-portfolio-title {
	opacity: 0.6;
}
.cf-hover-image {
	position: absolute;
	width: 320px;
	height: 220px;
	background-size: cover;
	background-position: center;
	border-radius: 8px;
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.8);
	transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 10;
	box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* 4. Expertise Section */
.cf-expertise-section {
	background-color: var(--cf-light);
	color: var(--cf-dark);
	padding: 8% 5%;
}
.cf-expertise-heading-row {
	max-width: 90%;
	margin-bottom: 6%;
}
.cf-expertise-main-heading {
	font-size: clamp(1.8rem, 3.5vw, 4.5rem);
	font-weight: 200;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: var(--cf-blue);
}
.cf-expertise-cols-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 40px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding-top: 4%;
}
.cf-expertise-column {
	border-left: 1px solid rgba(0, 0, 0, 0.1);
	padding-left: 20px;
}
.cf-expertise-column:first-child {
	border-left: none;
	padding-left: 0;
}
.cf-expertise-column-title {
	font-size: 1.1rem;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--cf-blue);
	margin-bottom: 2rem;
	letter-spacing: 0.05em;
}
.cf-expertise-column-text {
	font-size: clamp(1.5rem, 2vw, 2.2rem);
	font-weight: 200;
	line-height: 1.4;
}
.cf-expertise-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.cf-expertise-list li {
	font-size: clamp(1.4rem, 1.8vw, 2rem);
	font-weight: 200;
	line-height: 1.5;
	margin-bottom: 0.5rem;
}

/* 5. Awards Section */
.cf-awards-section {
	position: relative;
	background-size: cover;
	background-position: center;
	padding: 10% 0;
	color: #ffffff;
	background-attachment: scroll;
}
.cf-awards-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--cf-blue);
	opacity: 0.92;
	z-index: 1;
}
.cf-awards-content {
	position: relative;
	z-index: 2;
	width: 100%;
}
.cf-awards-text {
	font-size: clamp(4rem, 12vw, 12rem);
	font-weight: 200;
	text-transform: uppercase;
	line-height: 1;
	letter-spacing: -0.02em;
	padding: 15px 0;
}
.cf-stroke-text span {
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}

/* 6. Linear Feed Section */
.cf-feed-section {
	background-color: var(--cf-light);
	color: var(--cf-dark);
	padding: 8% 5%;
}
.cf-feed-header {
	margin-bottom: 4%;
}
.cf-feed-heading {
	font-size: clamp(2rem, 3.5vw, 4rem);
	font-weight: 200;
	color: var(--cf-blue);
	margin-bottom: 1rem;
	letter-spacing: -0.02em;
}
.cf-feed-subheading {
	font-size: 1.25rem;
	font-weight: 300;
	max-width: 480px;
	opacity: 0.8;
}
.cf-linear-feed-wrapper {
	width: 100%;
	overflow: hidden;
}
.cf-linear-feed {
	display: flex;
	gap: 24px;
	padding: 20px 0;
}
.cf-feed-card {
	flex: 0 0 420px;
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
	transition: transform 0.3s;
}
.cf-feed-card:hover {
	transform: translateY(-5px);
}
.cf-feed-link {
	text-decoration: none;
	color: inherit;
	display: block;
}
.cf-feed-image {
	height: 280px;
	background-size: cover;
	background-position: center;
}
.cf-feed-image-placeholder {
	background-color: #ddd;
}
.cf-feed-meta {
	padding: 24px;
}
.cf-feed-date {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--cf-blue);
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
}
.cf-feed-card-title {
	font-size: 1.5rem;
	font-weight: 300;
	margin: 0;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

/* 7. CTA Section */
.cf-cta-section {
	background-color: var(--cf-light);
	color: var(--cf-dark);
	padding: 6% 5%;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.cf-cta-content {
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}
.cf-cta-heading {
	font-size: clamp(2.5rem, 5vw, 6.25rem);
	font-weight: 200;
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin-bottom: 3rem;
	color: var(--cf-blue);
}
.cf-cta-btn {
	display: inline-block;
	background-color: var(--cf-blue);
	color: #ffffff;
	padding: 20px 48px;
	border-radius: 50px;
	font-size: 1.1rem;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-decoration: none;
	box-shadow: 0 10px 20px rgba(0, 0, 255, 0.15);
	transition: background-color 0.3s, transform 0.3s;
}
.cf-cta-btn:hover {
	background-color: #0000cc;
	transform: translateY(-2px);
}

/* 8. Footer Section */
.cf-footer-section {
	background-color: var(--cf-blue);
	color: #ffffff;
	padding: 6% 5% 2% 5%;
}
.cf-footer-top-row {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr 2fr;
	gap: 30px;
	align-items: start;
	margin-bottom: 6%;
}
.cf-footer-logo {
	font-size: 1.5rem;
	font-weight: 300;
}
.cf-footer-links a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	font-size: 1.1rem;
}
.cf-footer-menu-title {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.6;
	margin-bottom: 1.5rem;
	font-weight: 500;
}
.cf-footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}
.cf-footer-menu li {
	margin-bottom: 0.8rem;
}
.cf-footer-menu a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	font-size: 1.1rem;
	opacity: 0.8;
	transition: opacity 0.3s;
}
.cf-footer-menu a:hover {
	opacity: 1;
}
.cf-footer-contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.cf-footer-email {
	color: #ffffff;
	text-decoration: none;
	font-size: clamp(1.5rem, 2vw, 2.5rem);
	font-weight: 200;
	margin-bottom: 1rem;
	letter-spacing: -0.01em;
}
.cf-footer-location {
	font-size: 1.2rem;
	font-weight: 300;
	margin: 0 0 1.5rem 0;
	opacity: 0.8;
}
.cf-footer-call-btn {
	display: inline-block;
	color: #ffffff;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 1rem;
	letter-spacing: 0.05em;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	padding-bottom: 3px;
}
.cf-footer-marquee-text {
	font-size: clamp(8rem, 22vw, 36rem);
	font-weight: 200;
	color: #ffffff;
	line-height: 0.85;
	letter-spacing: -0.04em;
	text-transform: uppercase;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
	.cf-philosophy-grid {
		grid-template-columns: 1fr 1fr;
	}
	.cf-philosophy-col.cf-col-3 {
		grid-column: span 2;
	}
	.cf-expertise-cols-row {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.cf-expertise-column {
		border-left: none;
		padding-left: 0;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		padding-top: 20px;
	}
	.cf-expertise-column:first-child {
		border-top: none;
		padding-top: 0;
	}
	.cf-footer-top-row {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}
	.cf-footer-col-5 {
		grid-column: span 2;
	}
}

@media (max-width: 768px) {
	.cf-philosophy-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.cf-philosophy-col.cf-col-3 {
		grid-column: span 1;
	}
	.cf-feed-card {
		flex: 0 0 320px;
	}
	.cf-feed-image {
		height: 200px;
	}
	.cf-footer-top-row {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.cf-footer-col-5 {
		grid-column: span 1;
	}
}
/* Sticky Scroll Portfolio Styles */
.cf-portfolio-scroll-container {
	position: relative;
	width: 100%;
}
.cf-portfolio-scroll-sticky {
	position: sticky;
	top: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	background-color: var(--cf-blue);
	display: flex;
	align-items: center;
	justify-content: center;
}
.cf-portfolio-scroll-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	will-change: transform, opacity;
	pointer-events: none;
}
.cf-portfolio-scroll-slide-inner {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 5%;
	box-sizing: border-box;
}
.cf-portfolio-scroll-image-wrap {
	position: relative;
	width: auto;
	height: auto;
	max-width: 85%;
	max-height: 70vh;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
}
.cf-portfolio-scroll-image {
	max-width: 100%;
	max-height: 70vh;
	object-fit: contain;
	display: block;
}
.cf-portfolio-scroll-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 1;
	pointer-events: none;
}
.cf-portfolio-scroll-title {
	font-size: clamp(2.5rem, 5vw, 6rem);
	font-weight: 200;
	color: #ffffff;
	text-align: center;
	margin: 0 0 10px 0;
	line-height: 1.1;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	opacity: 0.9;
}
.cf-portfolio-scroll-link {
	font-size: 1.1rem;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	padding-bottom: 5px;
	margin-top: 20px;
	pointer-events: auto;
	transition: border-bottom-color 0.3s;
}
.cf-portfolio-scroll-link:hover {
	border-bottom-color: #ffffff;
}

/* Ensure parents do not block sticky scrolling */
.elementor-widget-cf_portfolio, 
.elementor-widget-cf_portfolio .elementor-widget-container {
	height: 100%;
}

/* Editor specific styling to make slides fully visible and editable */
.elementor-editor-active .cf-portfolio-scroll-container {
	height: auto !important;
}
.elementor-editor-active .cf-portfolio-scroll-sticky {
	position: relative !important;
	height: auto !important;
	overflow: visible !important;
	display: block !important;
}
.elementor-editor-active .cf-portfolio-scroll-slide {
	position: relative !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: none !important;
	margin-bottom: 50px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 50px;
}
