/*
Theme Name: Rida Farm
Theme URI: https://ridafarmbali.com
Author: Rida Farm
Description: Custom Elementor Theme for Rida Farm Bali
Version: 1.0.0
*/

/* Reset & Custom Properties */
:root {
	--primary: #1a3e2c; /* Dark Green */
	--primary-light: #2c5c44;
	--bg-main: #f4efdf; /* Cream/Tan Background */
	--bg-white: #fdfdfc; /* Off-white */
	--text-dark: #1b2622;
	--text-light: #68725f; /* Muted olive/green text */
	--accent: #a58e65; /* Gold/Brown */
	--border: #dfd8c7;

	--font-heading: "Playfair Display", serif;
	--font-body: "DM Sans", sans-serif;
	--font-hand: "Caveat", cursive;

	--transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
	--transition-fast: 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	color: var(--text-dark);
	background-color: var(--bg-main);
	line-height: 1.6;
	overflow-x: hidden;
	cursor: none; /* For custom cursor */
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
	position: fixed;
	top: 0;
	left: 0;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	z-index: 9999;
	pointer-events: none;
}

.cursor-dot {
	width: 6px;
	height: 6px;
	background-color: var(--primary);
	transition:
		width 0.2s,
		height 0.2s,
		background-color 0.2s;
}

.cursor-outline {
	width: 40px;
	height: 40px;
	border: 1px solid rgba(26, 62, 44, 0.3);
	transition:
		transform 0.1s ease-out,
		width 0.2s,
		height 0.2s;
}

body.hovering .cursor-dot {
	width: 10px;
	height: 10px;
	background-color: var(--accent);
}

body.hovering .cursor-outline {
	width: 60px;
	height: 60px;
	border-color: var(--accent);
	background-color: rgba(165, 142, 101, 0.1);
}

/* Loader */
.loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: var(--primary);
	z-index: 10000;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
	transition:
		opacity 1s ease,
		visibility 1s ease;
}

.loader.hidden {
	opacity: 0;
	visibility: hidden;
}

.loader-text {
	font-family: var(--font-heading);
	font-size: 2rem;
	margin-bottom: 20px;
	letter-spacing: 2px;
}

.loader-progress {
	width: 200px;
	height: 2px;
	background-color: rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
}

.loader-progress::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background-color: white;
	animation: progress 1.5s ease-in-out forwards;
}

@keyframes progress {
	0% {
		width: 0%;
	}
	100% {
		width: 100%;
	}
}

/* Typography */
h1,
h2,
h3 {
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.1;
	color: var(--primary);
}

h1 {
	font-size: clamp(3rem, 6vw, 5rem);
}
h2 {
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	margin-bottom: 1.5rem;
}
h3 {
	font-size: clamp(1.5rem, 2vw, 2rem);
}

p {
	font-size: 1.1rem;
	color: var(--text-light);
	margin-bottom: 1.5rem;
}

.handwritten {
	font-family: var(--font-hand);
	font-size: 1.8rem;
	color: var(--text-dark);
	line-height: 1.2;
}

.subheading {
	display: inline-flex;
	align-items: center;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 2px;
	color: var(--primary);
	text-transform: uppercase;
	margin-bottom: 1.5rem;
}

.subheading .line {
	width: 40px;
	height: 1px;
	background-color: var(--accent);
	margin-right: 15px;
}

.subheading.justify-center .line {
	margin: 0 15px;
}

/* Container & Utilities */
.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
}

@media (max-width: 1024px) {
	.container {
		padding: 0 40px !important;
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 24px !important;
	}
}

.section-padding {
	padding: 8rem 0;
}

@media (max-width: 1024px) {
    .section-padding { padding: 5rem 0; }
}
@media (max-width: 768px) {
    .section-padding { padding: 3.5rem 0; }
}


.bg-white {
	background-color: var(--bg-white);
}
.text-center {
	text-align: center;
}
.justify-center {
	justify-content: center;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 2rem;
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	border-radius: 50px;
	transition: var(--transition-fast);
	gap: 10px;
	cursor: pointer;
	overflow: hidden;
	position: relative;
	border: 1px solid transparent;
}

.btn-primary {
	background-color: var(--primary);
	color: white;
}

.btn-primary:hover {
	background-color: var(--primary-light);
	transform: translateY(-2px);
}

.btn-outline {
	background-color: transparent;
	color: var(--text-dark);
	border-color: var(--text-dark);
}

.btn-outline:hover {
	background-color: var(--text-dark);
	color: white;
}

.btn-sm {
	padding: 0.6rem 1.2rem;
	font-size: 0.9rem;
}

.icon-right {
	transition: transform var(--transition-fast);
}

.btn:hover .icon-right {
	transform: translateX(5px);
}

main {
	margin-top: 90px; /* same as navbar height */
}

/* Navigation */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 1.5rem 5%;
	z-index: 100;
	background: var(--bg-main);
	transition:
		padding 0.4s ease,
		background 0.4s ease,
		backdrop-filter 0.4s ease;
}

.navbar.scrolled {
	padding: 1rem 5%;
	background: rgba(244, 239, 223, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1400px;
	margin: 0 auto;
}

.logo {
	display: flex;
	align-items: center;
	gap: 15px;
	text-decoration: none;
	color: var(--primary);
}

.logo-img,
.navbar .logo-img {
	height: 60px !important;
	width: 60px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	overflow: hidden !important;
}

.logo-text {
	display: flex;
	flex-direction: column;
}

.brand-name {
	font-weight: 700;
	font-size: 1.4rem;
	line-height: 1;
}

.nav-links {
	display: flex;
	gap: 1.5rem;
	margin-left: auto;
	margin-right: 1.5rem;
}

.lang-switcher {
	display: flex;
	align-items: center;
	gap: 8px;

	margin-right: 20px;
}

.lang-btn {
	background: none;
	text-decoration: none;
	border: none;
	font-family: var(--font-body);
	font-weight: 500;
	color: var(--text-dark);
	cursor: pointer;
	padding: 5px;
	transition: color var(--transition-fast);
}

.lang-btn.active {
	color: var(--primary);
	font-weight: 700;
}

.lang-btn:hover {
	color: var(--primary);
}

.lang-sep {
	color: var(--text-light);
	font-size: 0.9rem;
}

.nav-link {
	text-decoration: none;
	color: var(--text-dark);
	font-weight: 500;
	font-size: 0.95rem;
	position: relative;
	transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
	color: var(--primary);
}

.nav-link::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0%;
	height: 2px;
	background-color: var(--primary);
	transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
	width: 100%;
}

/* Hero Section */
.hero {
	position: relative;
	height: calc(100vh - 90px); /* subtract navbar height */
	width: 100%;
	overflow: hidden;
	color: white;
}

/* Full-width background image */
.hero-bg-wrap {
	position: absolute;
	inset: 0;
	z-index: 1;
}

img.hero-bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Gradient overlay: strong on left for text readability, fades to clear on right */
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0.6) 0%,
		rgba(0, 0, 0, 0.35) 45%,
		rgba(0, 0, 0, 0.05) 100%
	);
	z-index: 2;
}

/* Left: text content — absolutely positioned */
.hero-content {
	position: absolute;
	z-index: 3;
	bottom: 10%;
	left: 5%;
	max-width: 480px;
	animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-title {
	margin-bottom: 1rem;
	color: white;
	font-size: clamp(1.75rem, 3.5vw, 3.15rem);
	line-height: 1.05;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-desc {
	font-size: 1rem;
	margin-bottom: 2rem;
	color: rgba(255, 255, 255, 0.9);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
	animation-delay: 0.5s;
}

.hero-buttons {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	align-items: flex-start;
	animation-delay: 0.7s;
}

@keyframes heroFadeUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.btn-outline-white {
	background-color: transparent;
	color: white;
	border: 1px solid white;
}

.btn-outline-white:hover {
	background-color: white;
	color: var(--primary);
}

/* Top-right: play button */
.hero-play {
	position: absolute;
	z-index: 3;
	top: 40%;
	right: 6%;
	display: flex;
	align-items: center;
	gap: 12px;
	transform: translateY(-50%);
	animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.play-btn {
	width: 64px;
	height: 64px;
	background: rgba(255, 255, 255, 0.15);
	border: 1.5px solid white;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	font-size: 1rem;
	text-decoration: none;
	backdrop-filter: blur(6px);
	transition:
		background 0.3s,
		transform 0.3s;
	flex-shrink: 0;
}

.play-btn:hover {
	background: rgba(255, 255, 255, 0.35);
	transform: scale(1.08);
}

.play-text {
	color: white;
	font-weight: 500;
	font-size: 0.9rem;
	line-height: 1.3;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}


/* Bottom-right: handwritten */
.hero-handwritten {
	position: absolute;
	z-index: 3;
	bottom: 8%;
	right: 5%;
	color: white;
	font-size: 1.6rem;
	line-height: 1.3;
	text-align: right;
	transform: rotate(-5deg);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
	animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

/* About Section */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 6rem;
	align-items: center;
}

.about-visual {
	position: relative;
	height: 100%;
}

.about-img-main {
	width: 100%;
	height: 100%;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
}

.about-img-main img {
	width: 100%;
	height: 120%;
	object-fit: cover;
}

.about-img-secondary {
	width: 55%;
	height: 60%;
	border-radius: 20px;
	overflow: hidden;
	position: absolute;
	left: -5%;
	bottom: 5%;
	border: 10px solid var(--bg-white);
	z-index: 2;
}

.about-img-secondary img {
	width: 100%;
	height: 120%;
	object-fit: cover;
}

.about-handwritten {
	position: absolute;
	bottom: 8%;
	right: 8%;
	transform: rotate(5deg);
	color: white;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
	z-index: 3;
	pointer-events: none;
	line-height: 1.3;
}

.quote {
	margin-top: 2rem;
	font-size: 1.5rem;
	color: var(--accent);
}

.philosophy-grid {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	gap: 2rem;
	margin-top: 4rem;
	padding-bottom: 2rem;
	-ms-overflow-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.philosophy-grid::-webkit-scrollbar {
	display: none;
}

.feature-card {
	padding: 2rem;
	flex: 0 0 calc(33.333% - 1.33rem);
	scroll-snap-align: start;
	min-width: 280px;
}

.feature-card h3 {
	margin-bottom: 1rem;
}

.feature-icon {
	width: 60px;
	height: 60px;
	background: var(--primary);
	color: white;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
	margin: 0 auto 1.5rem;
	transition: transform 0.5s ease;
}

.feature-card:hover .feature-icon {
	transform: scale(1.1) rotate(5deg);
}

/* Products */
.products-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	align-items: center;
}

.product-features {
	display: flex;
	gap: 2rem;
	margin-top: 3rem;
	border-top: 1px solid var(--border);
	padding-top: 2rem;
}

.p-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	font-size: 0.9rem;
	font-weight: 500;
}

.p-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border);
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--primary);
	font-size: 1.2rem;
}

.products-visual {
	position: relative;
}

.products-img-wrap {
	border-radius: 20px;
	overflow: hidden;
	height: 600px;
	position: relative;
}

.products-img-wrap img {
	width: 100%;
	height: 120%;
	object-fit: cover;
}

.products-handwritten {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-8deg);
	z-index: 2;
	color: white;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
	text-align: center;
	pointer-events: none;
}

.drawn-arrow-2 {
	position: absolute;
	bottom: -20px;
	right: -20px;
}

/* News */
.news-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 0.5rem;
}

.news-header-left {
	max-width: 600px;
}
.news-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}
.news-nav-buttons {
    display: flex;
    gap: 10px;
}
.news-tabs-wrap {
    margin-bottom: 30px;
}


.slider-btn {
	padding: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	justify-content: center;
	transition:
		opacity 0.3s ease,
		transform 0.3s ease,
		background-color 0.3s ease,
		color 0.3s ease;
}
.slider-btn:disabled {
	opacity: 0 !important;
	pointer-events: none;
}

.news-slider-wrap {
	width: 100%;
}

.news-grid {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	gap: 2rem;
	padding-bottom: 2rem;
	padding-left: calc(max(0px, (100vw - 1400px) / 2) + 5vw);
	padding-right: calc(max(0px, (100vw - 1400px) / 2) + 5vw);
	scroll-padding-left: calc(max(0px, (100vw - 1400px) / 2) + 5vw);
	scroll-padding-right: calc(max(0px, (100vw - 1400px) / 2) + 5vw);
	-ms-overflow-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}

.news-grid::-webkit-scrollbar {
	display: none;
}

.news-card {
	text-decoration: none;
	color: inherit;
	display: block;
	flex: 0 0 350px;
	scroll-snap-align: start;
	min-width: 300px;
	user-select: none; /* Prevents text selection while dragging */
	-webkit-user-drag: none; /* Prevents native link dragging */
}

.news-img-wrap {
	border-radius: 15px;
	overflow: hidden;
	height: 250px;
	margin-bottom: 1.5rem;
}

.news-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
	-webkit-user-drag: none; /* Prevents native image dragging ghost */
	pointer-events: none; /* Let the card handle clicks */
}

.news-card:hover .news-img-wrap img {
	transform: scale(1.05);
}

.news-date {
	font-size: 0.85rem;
	color: var(--accent);
	font-weight: 600;
	text-transform: uppercase;
	display: block;
	margin-bottom: 0.5rem;
}

.news-title {
	font-size: 1.4rem;
	margin-bottom: 0.5rem;
	transition: color 0.3s;
}

.news-card:hover .news-title {
	color: var(--accent);
}

/* News Archive Widget */
.news-archive-widget {
	width: 100%;
}

.news-categories-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 2.5rem;
	justify-content: center;
}

.news-categories-filter .btn {
	padding: 0.6rem 1.5rem;
	font-size: 0.95rem;
}

.news-archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.news-archive-grid .news-card {
	flex: none;
	min-width: unset;
	scroll-snap-align: none;
}

.news-pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	align-items: center;
}

.news-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border);
	color: var(--text-dark);
	text-decoration: none;
	font-weight: 500;
	transition: var(--transition-fast);
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
	background-color: var(--primary);
	border-color: var(--primary);
	color: white;
}

/* Single News Article Widget */
.single-news-article {
	max-width: 900px;
	margin: 0 auto;
}

.single-news-header {
	text-align: center;
	margin-bottom: 2rem;
}

.single-news-title {
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-family: var(--font-heading);
	color: var(--primary);
	margin-top: 1rem;
	line-height: 1.2;
}

.single-news-image-wrap {
	width: 100%;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 3rem;
	max-height: 600px;
}

.single-news-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.single-news-content {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--text-dark);
}

.single-news-content p {
	margin-bottom: 1.5rem;
}

.single-news-content h2,
.single-news-content h3 {
	font-family: var(--font-heading);
	color: var(--primary);
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

/* About Page (Full) Widget */
.about-page-wrapper {
	width: 100%;
}

.ap-hero-title {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-family: var(--font-heading);
	color: var(--primary);
	margin-bottom: 1.5rem;
	line-height: 1.1;
}

.ap-hero-desc {
	max-width: 750px;
	margin: 0 auto;
	font-size: 1.25rem;
	line-height: 1.7;
	color: var(--text-dark);
}

.ap-hero-img-wrap {
	border-radius: 30px;
	overflow: hidden;
	height: 50vh;
	min-height: 400px;
	width: 100%;
	position: relative;
}

.ap-hero-img-wrap img {
	width: 100%;
	height: 120%;
	object-fit: cover;
}

.ap-mission-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.ap-heading {
	color: var(--primary);
	font-family: var(--font-heading);
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 1.5rem;
	line-height: 1.2;
}

.ap-heading-sm {
	color: var(--primary);
	font-family: var(--font-heading);
	font-size: 1.8rem;
	margin-bottom: 1rem;
}

.ap-desc {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--text-dark);
	margin-bottom: 2rem;
}

.ap-quote {
	color: var(--accent);
	font-size: 1.8rem;
}

.ap-vision-content {
	background-color: var(--bg-main);
	padding: 4rem 3rem;
	border-radius: 30px;
	position: relative;
	overflow: hidden;
}

.ap-mission-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 30px;
}

.ap-values-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 3rem;
}

.ap-value-card {
	background: var(--bg-white);
	padding: 3rem 2.5rem;
	border-radius: 24px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.ap-value-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
}

.ap-value-icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--bg-main);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 2rem;
	color: var(--primary);
	font-size: 2rem;
	transition: background 0.4s, color 0.4s;
}

.ap-value-card:hover .ap-value-icon {
	background: var(--primary);
	color: var(--bg-main);
}

/* Team Slider */
.ap-team-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 3rem;
}

.ap-team-slider-wrap {
	width: 100%;
	overflow: hidden;
}

.ap-team-grid {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	gap: 2rem;
	padding-bottom: 2rem;
	padding-left: calc(max(0px, (100vw - 1400px) / 2) + 5vw);
	padding-right: calc(max(0px, (100vw - 1400px) / 2) + 5vw);
	scroll-padding-left: calc(max(0px, (100vw - 1400px) / 2) + 5vw);
	scroll-padding-right: calc(max(0px, (100vw - 1400px) / 2) + 5vw);
	-ms-overflow-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}

.ap-team-grid::-webkit-scrollbar {
	display: none;
}

.ap-team-card {
	flex: 0 0 320px;
	scroll-snap-align: start;
	min-width: 300px;
	user-select: none;
}

.ap-team-img-wrap {
	border-radius: 20px;
	overflow: hidden;
	height: 400px;
	position: relative;
	margin-bottom: 1.5rem;
}

.ap-team-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
	-webkit-user-drag: none;
}

.ap-team-card:hover .ap-team-img-wrap img {
	transform: scale(1.05);
}

.ap-team-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
	color: white;
	padding: 2rem 1.5rem 1.5rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.85rem;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.3s, transform 0.3s;
}

.ap-team-card:hover .ap-team-overlay {
	opacity: 1;
	transform: translateY(0);
}

.ap-team-info h3 {
	font-family: var(--font-heading);
	color: var(--primary);
	font-size: 1.5rem;
	margin-bottom: 0.3rem;
}

.ap-team-info p {
	color: var(--text-light);
	margin: 0;
}

@media (max-width: 991px) {
	.ap-mission-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
	.ap-vision-content {
		padding: 3rem 2rem;
	}
	.ap-team-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.5rem;
	}
}

/* Investor Banner */
.investor-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: white;
	border-top: 1px solid var(--border);
	padding: 15px 0;
	z-index: 99;
	transform: translateY(100%);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.investor-banner.show {
	transform: translateY(0);
}

.banner-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.banner-left {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

.text-green {
	color: var(--primary);
}

.banner-center {
	font-size: 0.95rem;
}

.banner-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.banner-close {
	background: none;
	border: none;
	font-size: 1.2rem;
	color: var(--text-light);
	cursor: pointer;
	transition: color 0.3s;
}

.banner-close:hover {
	color: var(--text-dark);
}

@media (max-width: 1024px) {
    .banner-center { display: none; }
}
@media (max-width: 768px) {
    .investor-banner { padding: 20px 0; }
    .banner-inner {
        flex-direction: column !important;
        gap: 15px;
        position: relative;
    }
    .banner-left, .banner-right {
        width: 100%;
        justify-content: center;
    }
    .banner-close {
        position: absolute;
        top: -10px;
        right: 0;
        padding: 5px;
        font-size: 1.5rem;
    }
}


h3.animate-text.in-view {
	margin-bottom: 1.5rem;
}

/* Animations (Awwwards Style) */
/* === Scroll Animations (only active when JS has loaded) === */
/* Without JS, all elements are visible by default */

.js .animate-fade-up {
	opacity: 0;
	transform: translateY(40px);
	transition:
		opacity var(--transition),
		transform var(--transition);
}

.js .animate-fade-up.in-view {
	opacity: 1;
	transform: translateY(0);
}

.js .animate-text {
	opacity: 0;
	transform: translateY(25px);
	transition:
		opacity var(--transition),
		transform var(--transition);
}

.js .animate-text.in-view {
	opacity: 1;
	transform: translateY(0);
}

.js .reveal-wrap {
	position: relative;
	overflow: hidden;
}

.js .reveal-wrap::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--bg-main);
	transform-origin: top;
	transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
	z-index: 1;
}

.js .bg-white .reveal-wrap::after {
	background: var(--bg-white);
}

.js .reveal-wrap.in-view::after {
	transform: scaleY(0);
}

.js .animate-stagger {
	opacity: 0;
	transform: translateY(40px);
}

.js .animate-stagger.in-view {
	opacity: 1;
	transform: translateY(0);
	transition:
		opacity var(--transition),
		transform var(--transition);
}

.js .animate-scale {
	opacity: 0;
	transform: scale(0.8);
	transition:
		opacity var(--transition),
		transform var(--transition);
}

.js .animate-scale.in-view {
	opacity: 1;
	transform: scale(1);
}

/* === Responsive Navbar & Hamburger === */
.nav-actions {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.lang-switcher {
	margin-left: auto;
	margin-right: 1rem;
}

.menu-btn {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 101;
	position: relative;
	width: 24px;
	height: 24px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--text-dark);
	transition:
		transform 0.3s ease,
		opacity 0.3s ease,
		background-color 0.3s ease;
	position: absolute;
}

.hamburger {
	top: 50%;
	transform: translateY(-50%);
}

.hamburger::before {
	content: "";
	top: -8px;
}

.hamburger::after {
	content: "";
	bottom: -8px;
}

/* Menu open state */
body.menu-open .hamburger {
	background-color: transparent;
}
body.menu-open .hamburger::before {
	transform: translateY(8px) rotate(45deg);
}
body.menu-open .hamburger::after {
	transform: translateY(-8px) rotate(-45deg);
}

body.menu-open {
	overflow: hidden;
}

@media (max-width: 1024px) {
    .menu-btn { display: flex; }
    .logo, .lang-switcher, .nav-actions {
        position: relative;
        z-index: 105;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: var(--bg-main);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 100;
        margin: 0;
        padding-top: 60px;
    }
    body.menu-open .nav-links { display: flex; }
    .nav-link { font-size: 1.4rem; }
}


/* === Media Queries for responsiveness === */

/* TABLET ("The Forgotten Breakpoint") - Max 1024px */
@media (max-width: 1024px) {
	/* Disable Custom Cursor */
	body {
		cursor: auto;
	}
	.cursor-dot,
	.cursor-outline {
		display: none !important;
	}
	a,
	button,
	.magnetic {
		cursor: pointer !important;
	}

	/* Header / Nav */
	.menu-btn {
		display: block;
	}

	.nav-links {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		margin: 0; /* Reset desktop margins */
		height: 100vh;
		background-color: var(--bg-main);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
		z-index: 99;
		gap: 2.5rem;
	}

	body.menu-open .nav-links {
		right: 0;
	}

	.nav-link {
		font-size: 1.5rem;
	}

	/* Layout Grids */
	.about-grid,
	.products-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.about-visual,
	.products-visual {
		height: 400px; /* shorter on tablet */
	}
	.products-img-wrap {
		height: 100%;
	}

	.feature-card,
	.news-card {
		flex: 0 0 calc(50% - 1rem);
	}

	.banner-inner {
		flex-direction: column !important;
		gap: 15px;
		text-align: center;
	}
}

/* Philosophy Dots Styles */
.philosophy-slider-wrap {
	position: relative;
	width: 100%;
}

.philosophy-dots {
	display: none;
	justify-content: center;
	gap: 8px;
	margin-top: 2rem;
}

.philosophy-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #cbd5e1;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.philosophy-dot.active {
	background-color: var(--primary);
}

/* TABLET - Max 991px */
@media (max-width: 991px) {
	.philosophy-dots {
		display: flex;
	}
	.philosophy-grid .feature-card {
		flex: 0 0 calc(50% - 1rem);
		scroll-snap-align: start;
	}
}

/* MOBILE - Max 768px */
@media (max-width: 768px) {
	.philosophy-grid .feature-card {
		flex: 0 0 100%;
		min-width: unset;
		scroll-snap-align: center;
	}

	.news-card {
		flex: 0 0 calc(85% - 1rem);
	}

	/* Hero adjustments for mobile */
	.hero-overlay {
		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.8) 0%,
			rgba(0, 0, 0, 0.4) 50%,
			rgba(0, 0, 0, 0.05) 100%
		);
	}

	.hero-title {
		font-size: 2.2rem;
	}

	.hero-desc {
		font-size: 1rem;
		margin-bottom: 1.5rem;
	}

	.hero-content {
		width: 90%;
		bottom: 15%; /* increased to prevent overlapping with fixed investor banner */
	}

	.hero-play {
		top: 15%;
		right: 5%;
		bottom: auto;
		transform: none;
	}

	.hero-handwritten {
		top: 25%;
		right: 5%;
		bottom: auto;
		font-size: 1.2rem;
	}
}

/* Fix scroll offset for sticky navbar */
section {
	scroll-margin-top: 0px;
}

/* --- About Us Single Page New Styles --- */
.ap-new-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.ap-new-section { padding: 88px 0; }
.ap-new-alt { background: var(--bg-main); }
.ap-new-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.ap-new-eyebrow:before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.ap-new-center .ap-new-eyebrow { justify-content: center; }
.ap-new-center { text-align: center; }
.ap-new-section h2 { font-size: clamp(30px, 4.5vw, 46px); color: var(--primary); font-family: var(--font-heading); margin-bottom: 0.5em; line-height: 1.2; }
.ap-new-script { font-family: 'Caveat', cursive; font-size: 26px; color: var(--accent); }
.ap-new-btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--primary); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; margin: 8px 10px 0 0; }
.ap-new-btn.o { background: transparent; border: 1.5px solid currentColor; color: var(--primary); }
.ap-new-grid { display: grid; gap: 48px; grid-template-columns: 1fr 1fr; align-items: center; }
.ap-new-ph { border-radius: 20px; background: var(--primary); min-height: 420px; display: flex; align-items: flex-end; padding: 24px; color: #fff; position: relative; overflow: hidden; }
.ap-new-ph svg, .ap-new-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ap-new-ph:after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(15,31,22,.8)); z-index: 2; }
.ap-new-ph .ap-new-script { position: relative; z-index: 3; color: #fff; font-size: 30px; line-height: 1.2; }
.ap-new-quote { font-family: 'Caveat', cursive; font-size: 26px; color: var(--accent); border-left: 2px solid var(--accent); padding-left: 16px; margin: 24px 0 0; }
.ap-new-cards { display: grid; gap: 32px; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.ap-new-card { text-align: center; padding: 0 8px; }
.ap-new-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: var(--bg-white); display: grid; place-items: center; margin: 0 auto 16px; font-size: 24px; }
.ap-new-card h3 { font-size: 24px; color: var(--primary); font-family: var(--font-heading); margin-bottom: 0.5em; }
.ap-new-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 40px; }
.ap-new-stat { flex: 0 0 calc(25% - 18px); max-width: calc(25% - 18px); background: var(--bg-white); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; }
.ap-new-stat b { display: block; font-family: var(--font-heading); font-size: 34px; color: var(--primary); }
.ap-new-tl { border-left: 2px solid var(--border); margin: 40px 0 0 8px; padding-left: 32px; }
.ap-new-tl > div { position: relative; padding-bottom: 32px; }
.ap-new-tl > div:before { content: ""; position: absolute; left: -41px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 3px solid var(--bg-white); }
.ap-new-tl b { color: var(--primary); font-family: var(--font-heading); font-size: 20px; }
.ap-new-cta { background: var(--primary); color: #fdfcf8; border-radius: 28px; padding: 64px 32px; }
.ap-new-cta h2 { color: #fdfcf8; }
.ap-new-cta .ap-new-btn { background: var(--bg-main); color: var(--primary); }
.ap-new-cta .ap-new-btn.o { background: transparent; color: #fdfcf8; border-color: rgba(253, 252, 248, 0.5); }
@media(max-width:800px) {
    .ap-new-grid, .ap-new-cards, .ap-new-stats { grid-template-columns: 1fr; }
    .ap-new-stats { grid-template-columns: 1fr 1fr; }
    .ap-new-section { padding: 64px 0; }
}

/* --- Products Single Page Styles --- */
.pp-section {
    background: var(--bg-main);
}
.pp-header {
    max-width: 600px;
    margin-bottom: 3rem;
}
.pp-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.pp-eyebrow .line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}
.pp-title-main {
    font-family: var(--font-heading);
    font-size: clamp(30px, 4.5vw, 46px);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 0.5em;
}
.pp-desc-main {
    font-size: 1.1rem;
    color: var(--text-dark);
}
.pp-slider-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}
.pp-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none; /* Firefox */
    scroll-snap-type: x mandatory;
    cursor: grab;
    
    /* Use scroll-padding so snapping respects the gap */
    scroll-padding-left: max(40px, 50vw - 660px);
}
.pp-slider:active {
    cursor: grabbing;
}
.pp-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.pp-card {
    background: transparent;
    display: flex;
    flex-direction: column;
    width: 380px; /* Fixed width to ensure consistent sizing and overflow */
    max-width: 85vw; /* Ensure it fits on mobile */
    flex: 0 0 auto;
    scroll-snap-align: start;
    user-select: none;
}
.pp-card:first-child {
    margin-left: max(40px, 50vw - 660px);
}
.pp-card:last-child {
    margin-right: max(40px, 50vw - 660px);
}
@media (max-width: 1024px) {
    .pp-slider {
        scroll-padding-left: 40px;
    }
    .pp-card:first-child {
        margin-left: 40px;
    }
    .pp-card:last-child {
        margin-right: 40px;
    }
}
@media (max-width: 768px) {
    .pp-slider {
        scroll-padding-left: 24px;
        gap: 20px;
    }
    .pp-card:first-child {
        margin-left: 24px;
    }
    .pp-card:last-child {
        margin-right: 24px;
    }
    .pp-card {
        min-width: 280px;
    }
}
.pp-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #e8dfc6; /* placeholder */
}
.pp-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.pp-card:hover .pp-img-wrap img {
    transform: scale(1.05);
}
.pp-img-placeholder {
    width: 100%;
    height: 100%;
    background: #e8dfc6;
}
.pp-cat {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.pp-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.pp-desc {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.pp-price-wrap {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 5px;
}
.pp-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}
.pp-unit {
    font-size: 0.9rem;
    color: var(--text-light);
}
.pp-btn {
    align-self: flex-start;
    padding: 12px 28px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #2a4b3a;
    color: #ffffff !important;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.pp-btn:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

/* --- Floating WhatsApp Button --- */
.rf-floating-wa {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 65px;
    height: 65px;
    z-index: 9999;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.rf-floating-wa img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rf-floating-wa:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

@media (max-width: 1024px) {
    .rf-floating-wa {
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .rf-floating-wa {
        bottom: 24px;
        right: 24px;
        width: 55px;
        height: 55px;
    }
}

/* --- Farm Tour Single Page --- */
.ft-wrapper {
    background-color: var(--bg-white);
    padding-bottom: 80px;
}
.ft-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 80px;
}
.ft-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 62, 44, 0.4);
}
.ft-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 20px;
}
.ft-hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.ft-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.1;
}

/* Intro Section */
.ft-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}
.ft-intro-img {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}
.ft-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ft-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-main);
}
.ft-intro-text-box {
    background-color: var(--bg-main);
    padding: 60px 50px;
    border-radius: 12px;
}
.ft-intro-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 24px;
}
.ft-intro-desc {
    color: var(--text-dark);
    margin-bottom: 30px;
}
.ft-btn {
    padding: 14px 32px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background-color: var(--accent);
    color: #fff !important;
    border-radius: 4px;
}
.ft-btn:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

/* Gallery */

/* --- Video Section --- */
.ft-video-sec {
    margin: 80px auto;
}
.ft-video-wrapper {
    max-width: 400px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    background: #000;
    aspect-ratio: 9/16;
}
.ft-video-wrapper video, .ft-video-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ft-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}
.ft-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.ft-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ft-gallery-item:hover img {
    transform: scale(1.05);
}

/* Tabs */
.ft-info-box {
    background-color: var(--bg-main);
    border-radius: 12px;
    padding: 60px 40px;
    margin-bottom: 80px;
}
.ft-tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    border-bottom: 1px solid rgba(26,62,44,0.2);
    margin-bottom: 40px;
    padding-bottom: 20px;
}
.ft-tab-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--text-light);
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s ease;
}
.ft-tab-btn.active, .ft-tab-btn:hover {
    color: var(--primary);
}
.ft-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -21px; /* Align with border */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}
.ft-tab-pane {
    display: none;
    animation: fadein 0.5s ease;
}
.ft-tab-pane.active {
    display: block;
}

/* Form */
.ft-form-box {
    background-color: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.ft-form-title {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
}
.ft-form-group {
    margin-bottom: 30px;
    width: 100%;
}
.ft-form-group input, .ft-form-group select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text-dark);
    background: transparent;
    outline: none;
    border-radius: 0;
}
.ft-form-group input:focus, .ft-form-group select:focus {
    border-bottom-color: var(--primary);
}
.ft-form-info-block {
    display: flex;
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    gap: 20px;
    border: 1px solid var(--border);
}
.ft-fib-left {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-light);
    width: 100px;
    flex-shrink: 0;
}
.ft-fib-right {
    font-size: 0.9rem;
    color: var(--text-dark);
}
.ft-fib-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ft-fib-right li {
    margin-bottom: 5px;
}
.ft-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: flex-end;
}
.ft-btn-group {
    margin-bottom: 30px; /* Align button with inputs */
}
.w-100 {
    width: 100%;
}
.justify-center {
    justify-content: center;
}

@keyframes fadein {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 991px) {
    .ft-intro-grid {
        grid-template-columns: 1fr;
    }
    
/* --- Video Section --- */
.ft-video-sec {
    margin: 80px auto;
}
.ft-video-wrapper {
    max-width: 400px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    background: #000;
    aspect-ratio: 9/16;
}
.ft-video-wrapper video, .ft-video-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ft-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ft-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
@media (max-width: 767px) {
    .ft-intro-text-box, .ft-info-box, .ft-form-box {
        padding: 30px 20px;
    }
    .ft-hero {
        height: 50vh;
        min-height: 400px;
    }
    .ft-tabs-nav {
        gap: 15px;
    }
    .ft-tab-btn {
        font-size: 0.8rem;
    }
    .ft-form-info-block {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- Investment Page --- */
.inv-wrapper {
    background-color: var(--bg-white);
}
.inv-section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    color: var(--primary);
    margin-bottom: 40px;
}

/* 1. Hero */
.inv-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.inv-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 62, 44, 0.6);
}
.inv-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 20px;
    max-width: 800px;
}
.inv-hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.inv-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.1;
    margin-bottom: 20px;
}
.inv-hero-subtitle {
    font-size: 1.2rem;
    color: var(--bg-main);
}


/* 2.5 Projection Graph */
.inv-projection {
    background-color: var(--bg-white);
}
.inv-proj-header {
    margin-bottom: 40px;
}
.inv-proj-subtitle {
    color: var(--text-dark);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
.inv-proj-container {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid var(--border);
}
.inv-proj-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
}
.inv-proj-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.inv-proj-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
}
.inv-proj-input-group label {
    font-weight: 600;
    color: var(--text-dark);
}
.inv-proj-input-group input {
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    width: 200px;
}
.inv-proj-input-group input:focus {
    border-color: var(--primary);
}
.inv-proj-chart-wrap {
    position: relative;
    height: 400px;
    width: 100%;
}
.inv-proj-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px dashed var(--border);
}
.inv-proj-sum-card {
    text-align: center;
    padding: 20px;
    background: var(--bg-main);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.inv-proj-sum-card span {
    font-size: 0.9rem;
    color: var(--text-light);
}
.inv-proj-sum-card strong {
    font-size: 1.25rem;
    color: var(--primary);
}
.inv-proj-sum-card.highlight {
    background: var(--primary);
}
.inv-proj-sum-card.highlight span,
.inv-proj-sum-card.highlight strong {
    color: #fff;
}

/* 2. Why Invest */
.inv-why {
    background-color: var(--bg-main);
}
.inv-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.inv-why-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}
.inv-why-card:hover {
    transform: translateY(-5px);
}
.inv-why-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.inv-why-card-title {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.inv-why-desc {
    color: var(--text-dark);
}

/* 3. Use of Funds */
.inv-funds-layout {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.inv-fund-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.inv-fund-header {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}
.inv-fund-pct {
    color: var(--primary);
    font-weight: 700;
}
.inv-bar-row {
    height: 30px;
    background: var(--border);
    border-radius: 15px;
    overflow: hidden;
}
.inv-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 15px;
    transition: width 1s ease-in-out;
}

/* 4. Packages */
.inv-packages {
    background-color: var(--bg-main);
}
.inv-pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.inv-pkg-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.inv-pkg-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}
.inv-pkg-highlight {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(26,62,44,0.1);
}
.inv-pkg-highlight:hover {
    transform: scale(1.05) translateY(-5px);
}
.inv-pkg-name {
    font-size: 1.5rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.inv-pkg-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    color: var(--primary);
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}
.inv-pkg-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}
.inv-pkg-features li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.inv-pkg-features strong {
    color: var(--primary);
    text-align: right;
}

/* 5. Calculator */
.inv-calc-box {
    background: #fff;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border);
}
.inv-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}
.inv-calc-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.inv-calc-group.mt-group {
    margin-top: 25px;
}
.inv-calc-input input, .inv-calc-input select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1.1rem;
    background: var(--bg-white);
    outline: none;
}
.inv-calc-input input:focus, .inv-calc-input select:focus {
    border-color: var(--primary);
}
.inv-calc-result {
    background: var(--bg-main);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}
.inv-res-item {
    display: flex;
    flex-direction: column;
}
.inv-res-item span {
    font-size: 0.9rem;
    color: var(--text-light);
}
.inv-res-item strong {
    font-size: 1.5rem;
    color: var(--primary);
}
.inv-res-final {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px dashed var(--border);
}
.inv-res-final strong {
    font-size: 2rem;
    color: var(--accent);
}

/* 6. Transparency Accordion */
.inv-trans {
    background: var(--bg-main);
}
.inv-acc-list {
    max-width: 800px;
    margin: 0 auto;
}
.inv-acc-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}
.inv-acc-btn {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}
.inv-acc-btn:hover {
    background: rgba(0,0,0,0.02);
}
.inv-acc-btn i {
    transition: transform 0.3s ease;
}
.inv-acc-btn.active i {
    transform: rotate(180deg);
}
.inv-acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.inv-acc-inner {
    padding: 0 25px 25px 25px;
    color: var(--text-dark);
}

/* 7. Form */
.inv-form-box {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
.inv-form-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 1.5rem;
}
.inv-form-group {
    margin-bottom: 20px;
}
.inv-form-group input, .inv-form-group select, .inv-form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    background: var(--bg-white);
    transition: border-color 0.3s ease;
}
.inv-form-group textarea {
    resize: vertical;
}
.inv-form-group input:focus, .inv-form-group select:focus, .inv-form-group textarea:focus {
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .inv-why-grid, .inv-pkg-grid, .inv-calc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .inv-pkg-highlight {
        transform: none;
    }
    .inv-pkg-highlight:hover {
        transform: translateY(-5px);
    }
}
@media (max-width: 768px) {
    .inv-hero {
        height: 60vh;
        min-height: 450px;
        padding-top: 80px;
    }
    .inv-pkg-card {
        padding: 30px 20px;
    }
    .inv-why-card {
        padding: 30px 20px;
    }
    .inv-section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .inv-calc-box, .inv-form-box {
        padding: 30px 20px;
    }
}


/* --- News Archive Redesign (Clean 1-3 Layout) --- */
.news-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.news-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 62, 44, 0.7);
}
.news-hero-content {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    max-width: 800px;
}
.news-hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.news-hero-title {
    font-size: clamp(40px, 5vw, 64px);
    color: var(--bg-white);
    margin-bottom: 15px;
}
.news-hero-subtitle {
    font-size: 1.1rem;
    color: #e0e5e2;
}

.news-categories-filter.flex-start {
    justify-content: flex-start;
    margin-bottom: 30px;
}
.news-archive-widget .section-padding {
    padding-top: 50px;
}

/* Base Grid (3 cols) */
.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}
.news-archive-grid .news-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-archive-grid .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.news-archive-grid .news-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    height: auto !important;
}
.news-archive-grid .news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-archive-grid .news-card:hover .news-img-wrap img {
    transform: scale(1.05);
}

.news-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
}
.news-cat-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(165, 142, 101, 0.1);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 15px;
    align-self: flex-start;
}
.news-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-excerpt {
    margin-bottom: 20px;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-light);
}
.news-meta .news-date {
    margin-bottom: 0;
    color: var(--text-light);
}

/* 1-3 Layout (Featured Grid) */
.news-archive-grid.is-featured-grid .news-card:first-child {
    grid-column: 1 / -1; 
    flex-direction: row !important;
    align-items: stretch;
    gap: 0;
}
.news-archive-grid.is-featured-grid .news-card:first-child .news-img-wrap {
    flex: 1;
    height: 100%;
    margin-bottom: 0;
}
.news-archive-grid.is-featured-grid .news-card:first-child .news-content {
    flex: 1;
    padding: 40px;
    justify-content: center;
}
.news-archive-grid.is-featured-grid .news-card:first-child .news-title {
    font-size: 2.2rem;
    -webkit-line-clamp: 3;
}
.news-archive-grid.is-featured-grid .news-card:first-child .news-excerpt {
    -webkit-line-clamp: 4;
}

/* --- Component Grid Responsive Fixes --- */

@media (max-width: 1024px) {
    /* .ap-new-stats responsive fix (Late injection) */
    .ap-new-stat {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }

    /* Investment Calc Responsive Fixes */
    .inv-proj-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    .inv-proj-tabs {
        width: 100%;
        margin-bottom: 10px;
    }
    .inv-proj-input-group {
        width: 100%;
    }
    .inv-proj-input-group input {
        flex: 1;
    }
    .inv-proj-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    .inv-proj-chart-wrap {
        height: 350px;
    }
    .inv-calc-grid {
        grid-template-columns: 1fr !important;
    }

    .about-grid, .products-grid, .ap-mission-grid, .ap-values-grid, .ap-team-grid, .ap-new-grid, .ap-new-cards, .ap-new-stats, .ft-intro-grid, .ft-gallery-grid, .inv-why-grid, .inv-pkg-grid, .inv-calc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-categories-filter.flex-start {
        margin-top: 30px;
    }
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .news-header-right {
        align-items: flex-start;
        gap: 15px;
    }

    .news-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    /* Video Section Responsive Fix */
    .ft-video-sec {
        margin: 50px auto;
    }
    .ft-video-wrapper {
        border-radius: 16px;
    }

    /* .ap-new-stats responsive fix (Late injection) */
    .ap-new-stat {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Investment Calc Responsive Fixes */
    .inv-proj-container {
        padding: 20px;
    }
    .inv-proj-tab {
        flex: 1;
        text-align: center;
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    .inv-proj-summary {
        grid-template-columns: 1fr;
    }
    .inv-proj-chart-wrap {
        height: 260px;
    }
    .inv-calc-box, .inv-form-box {
        padding: 30px 20px;
    }

    .about-grid, .products-grid, .ap-mission-grid, .ap-values-grid, .ap-team-grid, .ap-new-grid, .ap-new-cards, .ap-new-stats, .ft-intro-grid, .ft-gallery-grid, .ft-form-row, .inv-why-grid, .inv-pkg-grid, .inv-calc-grid, .news-archive-grid {
        grid-template-columns: 1fr;
    }
    .hero-title, .inv-hero-title, .ap-new-section h2, .ap-hero-title {
        font-size: clamp(32px, 8vw, 42px);
    }
    .hero-content, .inv-hero-content {
        padding: 0 24px;
        width: 100%;
    }
    
    .news-archive-grid.is-featured-grid .news-card:first-child {
        flex-direction: column !important;
    }
    .news-archive-grid.is-featured-grid .news-card:first-child .news-img-wrap {
        flex: none;
    }
    .news-archive-grid.is-featured-grid .news-card:first-child .news-content {
        padding: 20px;
    }
    .news-archive-grid.is-featured-grid .news-card:first-child .news-title {
        font-size: 1.8rem;
    }
.news-hero {
        padding-top: 80px;
    }
    .news-hero-title {
        font-size: 32px;
    }

}
