/* 
 * Main Theme Styles for Chau Pham
 */

:root {
	/* Colors */
	--primary-color: #0A2F1D; /* Deep Forest Green */
	--secondary-color: #165A36; /* Dark Green */
	--accent-color: #D4AF37; /* Premium Gold */
	--accent-hover: #B5952F;
	--text-main: #1A3026; /* Dark Green Text */
	--text-light: #557A66; /* Muted Green Text */
	--bg-main: #dcf2e5; /* Mint Green - User requested */
	--bg-light: #FFFFFF; /* White for cards */
	--bg-dark: #061F12; /* Very Dark Green */
	--white: #FFFFFF;
	--border-color: #B5E3CB; /* Soft Mint Border */

	/* Typography */
	--font-body: 'Inter', sans-serif;
	--font-heading: 'Playfair Display', serif;

	/* Layout */
	--container-width: 1200px;
	--section-padding: 80px 0;
	--border-radius: 8px;
	--transition: all 0.3s ease;
}

/* Reset & Basics */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-body);
	color: var(--text-main);
	line-height: 1.6;
	background-color: var(--bg-main);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--primary-color);
	font-weight: 700;
	margin-bottom: 1rem;
	line-height: 1.2;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--accent-color);
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Utilities */
.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

.section-padding {
	padding: var(--section-padding);
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-gold { color: var(--accent-color) !important; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.align-center { align-items: center; }

/* Grid System */
.grid {
	display: grid;
	gap: 30px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Buttons */
.btn {
	display: inline-block;
	padding: 12px 28px;
	font-family: var(--font-body);
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
	text-align: center;
	transition: var(--transition);
	border: 2px solid transparent;
}

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

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

.btn-gold {
	background-color: var(--accent-color);
	color: var(--white);
}
.btn-gold:hover {
	background-color: var(--accent-hover);
}

.btn-large {
	padding: 16px 40px;
	font-size: 1.1rem;
}

.btn-block {
	display: block;
	width: 100%;
}

/* --- Header --- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	transition: var(--transition);
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.site-header.scrolled {
	padding: 5px 0;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 15px 20px;
	transition: var(--transition);
}

.site-logo-img {
	max-height: 50px;
	width: auto;
	display: block;
}

.header-marquee {
	flex: 1;
	margin: 0 30px;
	overflow: hidden;
	white-space: nowrap;
	position: relative;
	color: var(--primary-color);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 1px;
}

.marquee-text {
	display: inline-block;
	animation: scroll-marquee 20s linear infinite;
}

@keyframes scroll-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}


.main-navigation ul {
	display: flex;
	gap: 30px;
}
.main-navigation a {
	color: var(--primary-color);
	font-weight: bold;
	font-size: 1rem;
	position: relative;
}
.main-navigation a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -5px;
	left: 0;
	background-color: var(--accent-color);
	transition: var(--transition);
}
.main-navigation a:hover::after {
	width: 100%;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
}
.hamburger {
	display: block;
	width: 25px;
	height: 3px;
	background: var(--primary-color);
	position: relative;
}
.hamburger::before, .hamburger::after {
	content: '';
	position: absolute;
	width: 25px;
	height: 3px;
	background: var(--primary-color);
	left: 0;
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* --- Hero Section (Swiper) --- */
.hero-section {
	position: relative;
	height: 100vh;
	min-height: 600px;
	background-color: var(--bg-dark);
	padding-top: 0; /* Removing offset as Swiper handles height */
}
.swiper-slide {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	padding-top: 80px; /* Offset header inside slide */
}
.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}
.hero-bg::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(10, 47, 29, 0.9) 0%, rgba(10, 47, 29, 0.4) 100%);
}
.hero-subtitle {
	color: var(--white);
	font-weight: 600;
	letter-spacing: 2px;
	font-size: clamp(1rem, 3vw, 1.8rem);
	margin-bottom: 10px;
	text-transform: uppercase;
}
.hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	transform: scale(0.7);
	opacity: 0;
	transition: transform 1s ease-out, opacity 1s ease-out;
}
.swiper-slide-active .hero-content {
	transform: scale(1);
	opacity: 1;
	transition-delay: 0.3s;
}
/* Swiper Customizations */
.swiper-button-next, .swiper-button-prev {
	color: var(--accent-color);
}
.swiper-pagination-bullet {
	background: var(--white);
	opacity: 0.5;
}
.swiper-pagination-bullet-active {
	background: var(--accent-color);
	opacity: 1;
}
.hero-title {
	font-size: clamp(1.5rem, 6vw, 3.2rem);
	white-space: nowrap;
	color: var(--white);
	margin-bottom: 20px;
}
.hero-title .highlight {
	color: var(--accent-color);
}
.hero-desc {
	color: #E2E8F0;
	font-size: 1.2rem;
	margin-bottom: 40px;
	max-width: 600px;
}

/* --- Section Headers --- */
.section-title {
	font-size: 3.2rem;
	margin-bottom: 15px;
	color: var(--primary-color);
	text-align: inherit;
}
.section-header {
	margin-bottom: 50px;
}
.section-subtitle {
	color: var(--text-light);
	font-size: 1.1rem;
	max-width: 700px;
	margin: 0 auto;
}

/* --- Features Grid --- */
.feature-card {
	background: var(--white);
	padding: 40px 30px;
	border-radius: var(--border-radius);
	box-shadow: 0 10px 30px rgba(0,0,0,0.03);
	transition: var(--transition);
	border: 1px solid var(--border-color);
}
.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.08);
	border-color: var(--accent-color);
}
.feature-card .icon-wrap {
	width: 50px;
	height: 50px;
	background: rgba(212, 175, 55, 0.1);
	color: var(--accent-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 20px;
}
.feature-card h3 {
	font-size: 1.3rem;
	margin-bottom: 15px;
}

/* --- Services Details --- */
.tag {
	display: inline-block;
	padding: 5px 12px;
	background: rgba(15, 23, 42, 0.05);
	color: var(--primary-color);
	font-size: 0.85rem;
	font-weight: 600;
	border-radius: 20px;
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.tag-gold {
	background: rgba(212, 175, 55, 0.1);
	color: var(--accent-color);
}
.service-content .title {
	font-size: 2.5rem;
	margin-bottom: 20px;
}
.service-content .title small {
	font-size: 1.6rem;
	color: var(--accent-color);
	display: block;
	font-family: var(--font-body);
	margin-top: 5px;
}
.service-content p {
	color: var(--text-light);
	margin-bottom: 25px;
	font-size: 1.1rem;
}

.img-placeholder {
	width: 100%;
	height: 500px;
	background-color: transparent;
	border-radius: var(--border-radius);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	filter: drop-shadow(0 10px 20px rgba(10, 47, 29, 0.08));
}

.benefits-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 30px;
}
.benefit-item .icon {
	font-size: 2rem;
	margin-bottom: 10px;
	display: block;
}
.benefit-item h4 {
	font-family: var(--font-body);
	font-size: 1rem;
	margin-bottom: 5px;
}
.benefit-item p {
	font-size: 0.9rem;
	margin-bottom: 0;
}

.check-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 15px;
	color: var(--text-main);
	font-weight: 500;
}
.check-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--accent-color);
	font-weight: bold;
	font-size: 1.2rem;
}

.feature-list li {
	margin-bottom: 15px;
}
.feature-list strong {
	color: var(--accent-color);
}
.bg-dark .service-content h2, .bg-dark .service-content h4, .bg-dark .check-list li, .bg-dark .custom-icons-list li {
	color: var(--white);
}

/* --- Process Section --- */
.process-step {
	text-align: center;
	position: relative;
}
.step-num {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	background: var(--white);
	border: 2px solid var(--accent-color);
	color: var(--primary-color);
	font-size: 1.5rem;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: var(--transition);
}
.process-step:hover .step-num {
	background: var(--accent-color);
	color: var(--white);
}

/* --- Core Values --- */
.core-values-section {
	background-color: transparent;
}
.core-values-content {
	padding-right: 30px;
}
.values-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.value-item {
	display: flex;
	align-items: flex-start;
	background: var(--bg-light);
	padding: 20px 25px;
	border-radius: var(--border-radius);
	border-left: 4px solid var(--accent-color);
	transition: var(--transition);
}
.value-item:hover {
	transform: translateX(10px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.icon-check {
	width: 30px;
	height: 30px;
	background-color: var(--accent-color);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 14px;
	margin-right: 20px;
	flex-shrink: 0;
	margin-top: 2px;
}
.value-text h4 {
	margin-bottom: 5px;
	font-size: 1.15rem;
}
.value-text p {
	margin-bottom: 0;
	color: var(--text-light);
	font-size: 0.95rem;
}

.core-values-image {
	position: relative;
	height: 100%;
	min-height: 500px;
}
.core-values-image .img-wrapper {
	position: relative;
	height: 100%;
}
.core-values-image .img-placeholder {
	height: 100%;
	min-height: 500px;
	background-size: cover;
	background-position: center;
	border-radius: var(--border-radius);
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.experience-badge {
	position: absolute;
	bottom: 30px;
	left: -30px;
	background-color: var(--primary-color);
	color: var(--white);
	padding: 25px;
	border-radius: var(--border-radius);
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	display: flex;
	align-items: center;
	gap: 15px;
	border-bottom: 4px solid var(--accent-color);
}
.experience-badge .number {
	font-size: 3rem;
	font-weight: 700;
	font-family: var(--font-heading);
	line-height: 1;
	color: var(--accent-color);
}
.experience-badge .text {
	font-size: 1rem;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 1.2;
}

/* --- Team Section --- */
.team-member {
	background: var(--secondary-color);
	border-radius: var(--border-radius);
	overflow: hidden;
}
.team-img {
	height: 300px;
	background-size: cover;
	background-position: center;
	position: relative;
}
.team-hover {
	position: absolute;
	top:0; left:0; width:100%; height:100%;
	background: rgba(212, 175, 55, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-weight: bold;
	letter-spacing: 5px;
	opacity: 0;
	transition: var(--transition);
}
.team-member:hover .team-hover { opacity: 1; }
.team-info {
	padding: 25px;
	text-align: center;
}
.team-info h3 {
	color: var(--white);
	margin-bottom: 5px;
	font-size: 1.3rem;
}
.team-info .position {
	color: var(--accent-color);
	font-size: 0.9rem;
	display: block;
	margin-bottom: 10px;
}
.team-info .phone {
	color: #cbd5e1;
	margin-bottom: 15px;
}
.team-info .quote {
	font-style: italic;
	font-size: 0.9rem;
	color: #94a3b8;
}

/* --- Blog Section --- */
.blog-card {
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	overflow: hidden;
	transition: var(--transition);
}
.blog-card:hover {
	box-shadow: 0 10px 20px rgba(0,0,0,0.05);
	border-color: var(--accent-color);
}
.blog-img {
	height: 200px;
	background-size: cover;
	background-position: center;
}
.blog-content {
	padding: 25px;
}
.blog-content h3 {
	font-size: 1.1rem;
	margin-bottom: 0;
}
.blog-content h3 a {
	color: var(--primary-color);
}
.blog-content h3 a:hover {
	color: var(--accent-color);
}

/* --- Footer --- */
.site-footer {
	background-color: var(--primary-color);
	color: var(--white);
	padding-top: 80px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.5fr;
	gap: 30px;
	padding-bottom: 50px;
}
.footer-title {
	color: var(--white);
	font-size: 1.2rem;
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 10px;
}
.footer-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 2px;
	background: var(--accent-color);
}
.footer-description {
	color: #B5E3CB;
	font-size: 0.95rem;
}
.footer-widget ul li {
	margin-bottom: 12px;
}
.footer-widget ul a {
	color: #B5E3CB;
}
.footer-widget ul a:hover {
	color: var(--accent-color);
	padding-left: 5px;
}
.contact-info li {
	color: #B5E3CB;
}
.contact-info strong {
	color: var(--white);
}
.site-info {
	background-color: var(--bg-dark);
	padding: 25px 0;
	text-align: center;
	color: var(--border-color);
	font-size: 0.95rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {

	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	:root {
		--section-padding: 40px 0;
	}
	
	.menu-primary-container {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: var(--white);
		padding: 20px;
		box-shadow: 0 10px 20px rgba(0,0,0,0.1);
	}
	.menu-primary-container.active {
		display: block;
	}
	.main-navigation ul {
		flex-direction: column;
		gap: 15px;
	}
	.menu-toggle { display: block; }
	.header-cta, .header-marquee { display: none; }
	

	.hero-section { min-height: 400px; padding-top: 100px; }
	
	.section-title { font-size: 1.8rem; }
	.service-content .title { font-size: 1.8rem; }
	
	.grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
	
	.service-row.reverse-layout .grid-2 {
		display: flex;
		flex-direction: column-reverse;
	}
	.core-values-section .grid-2 {
		display: flex;
		flex-direction: column-reverse;
	}
	.core-values-content { padding-right: 0; margin-top: 30px; }
	
	.benefits-grid { grid-template-columns: 1fr; }
	
	.img-placeholder { height: 250px; min-height: 250px; }
	.core-values-image .img-placeholder { min-height: 250px; height: 250px; }
	
	.experience-badge {
		position: relative;
		bottom: 0;
		left: 0;
		width: 100%;
		border-radius: 0 0 var(--border-radius) var(--border-radius);
		justify-content: center;
		padding: 15px;
	}
	.experience-badge .number { font-size: 2.2rem; }
	.experience-badge .text { font-size: 0.9rem; }
}

/* ==========================================================================
   HUB ARTICLE STYLES
   ========================================================================== */

.hub-article-page {
	background-color: var(--mint-bg);
}

/* Hub Hero */
.hub-hero {
	position: relative;
	padding: 120px 20px 80px;
	color: var(--white);
	text-align: center;
	overflow: hidden;
}
.hub-hero-bg {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-size: cover;
	background-position: center;
	z-index: 1;
}
.hub-hero-bg::after {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(10, 47, 29, 0.85); /* Deep Forest Green overlay */
}
.hub-hero-content {
	position: relative;
	z-index: 2;
	max-width: 900px;
	margin: 0 auto;
}
.hub-subtitle {
	font-size: clamp(1rem, 2.5vw, 1.8rem);
	font-weight: 700;
	color: var(--white);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 20px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hub-title {
	font-size: clamp(1.4rem, 4vw, 2.8rem);
	margin: 10px 0 20px;
	line-height: 1.4;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hub-title .highlight {
	color: var(--accent-color);
	text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}
.hub-expert {
	font-size: clamp(0.7rem, 1.5vw, 1.1rem);
	color: #E2E8F0;
	background: rgba(10, 47, 29, 0.7);
	display: inline-block;
	padding: 10px 20px;
	border-radius: 30px;
	border: 1px solid rgba(255,255,255,0.2);
	max-width: 100%;
	line-height: 1.5;
}

/* Hub Content Body */
.hub-article {
	background: var(--white);
	border-radius: 12px;
	padding: 40px 60px;
	margin-top: -40px;
	position: relative;
	z-index: 3;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	line-height: 1.8;
	color: var(--text-color);
	font-size: 1.1rem;
}
.hub-article p {
	margin-bottom: 20px;
}

/* Headings */
.hub-h2 {
	font-size: 2rem;
	color: var(--primary-color);
	margin: 50px 0 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid var(--mint-bg);
	display: flex;
	align-items: center;
}
.hub-h2 .num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--accent-color);
	color: var(--white);
	border-radius: 50%;
	font-size: 1.4rem;
	margin-right: 15px;
	flex-shrink: 0;
}
.hub-h3 {
	font-size: 1.4rem;
	color: var(--primary-color);
	margin-bottom: 15px;
	font-weight: 700;
}

/* Images */
.hub-img-wrapper {
	display: block;
	text-align: center;
	padding: 0;
	background: transparent;
	margin: 0 auto;
}
.hub-image {
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 450px;
	object-fit: contain;
	border-radius: 12px;
	display: inline-block;
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
	transition: transform 0.5s ease;
}
.hub-img-wrapper:hover .hub-image {
	transform: scale(1.03);
}

/* Highlights & Boxes */
.highlight-box {
	background: var(--mint-bg);
	padding: 30px;
	border-left: 4px solid var(--primary-color);
	border-radius: 0 8px 8px 0;
	margin-bottom: 30px;
}
.highlight-box .intro-title {
	color: var(--primary-color);
	font-size: 1.3rem;
	margin-bottom: 15px;
}
.quote-box, .recommendation, .expert-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 20px 25px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-style: italic;
}
.recommendation {
	background: #fdfaf0; /* Light gold tint */
	border-color: var(--accent-color);
	font-style: normal;
}
.expert-box {
	display: flex;
	gap: 15px;
	background: var(--primary-color);
	color: var(--white);
	border: none;
}
.expert-box .icon {
	font-size: 2rem;
}

/* Tables */
.hub-table-wrapper {
	overflow-x: auto;
	margin-bottom: 30px;
}
.hub-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	border: 1px solid #e2e8f0;
}
.hub-table th, .hub-table td {
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid #e2e8f0;
}
.hub-table th {
	background: var(--primary-color);
	color: var(--white);
	font-weight: 600;
}
.hub-table tr:hover {
	background-color: var(--mint-bg);
}

/* Lists */
.check-list, .feature-list {
	list-style: none;
	padding: 0;
}
.check-list li, .feature-list li {
	position: relative;
	padding-left: 25px;
	margin-bottom: 10px;
}
.check-list li::before {
	content: '?';
	position: absolute;
	left: 0;
	color: var(--accent-color);
	font-weight: bold;
}

/* Cards & Timelines */
.tech-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 25px;
	border-radius: 8px;
	transition: box-shadow 0.3s;
}
.tech-card:hover {
	box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.process-timeline {
	position: relative;
	padding-left: 30px;
}
.process-timeline::before {
	content: '';
	position: absolute;
	left: 10px; top: 10px; bottom: 10px;
	width: 2px;
	background: var(--mint-bg);
}
.timeline-item {
	position: relative;
	margin-bottom: 25px;
}
.timeline-item::before {
	content: '';
	position: absolute;
	left: -26px; top: 5px;
	width: 14px; height: 14px;
	background: var(--primary-color);
	border-radius: 50%;
	border: 3px solid var(--white);
}
.timeline-item.highlight-item {
	color: var(--accent-color);
}
.timeline-item.highlight-item::before {
	background: var(--accent-color);
}

/* FAQ */
.faq-list .faq-item {
	border-bottom: 1px solid #e2e8f0;
	padding: 20px 0;
}
.faq-list .faq-item:last-child {
	border-bottom: none;
}
.faq-item strong {
	display: block;
	font-size: 1.2rem;
	color: var(--primary-color);
	margin-bottom: 10px;
}

/* CTA Box */
.hub-cta-box {
	background: var(--primary-color);
	color: var(--white);
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 15px 30px rgba(10,47,29,0.2);
}
.contact-info-large p {
	font-size: 1.2rem;
	margin-bottom: 10px;
}

/* Animations */
.fade-in-up {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
	.hub-article { padding: 30px 15px; margin-top: -20px; }
	.hub-h2 { font-size: 1.5rem; margin: 30px 0 15px; }
	.hub-h2 .num { width: 30px; height: 30px; font-size: 1.1rem; margin-right: 10px; }
	.hub-h3 { font-size: 1.2rem; }
	
	/* Allow wrapping on small screens to prevent overflow and ensure readability */
	.hub-subtitle, .hub-title, .hub-expert { white-space: normal; line-height: 1.4; }
	.hub-title { font-size: 1.8rem; }
	.hub-expert { padding: 8px 15px; line-height: 1.5; border-radius: 15px; }
	
	/* Spacing for stacked grid items */
	.grid-2 .hub-img-wrapper { margin-top: 20px; margin-bottom: 20px; }
	
	/* Boxes & Cards */
	.highlight-box, .quote-box, .recommendation, .expert-box { padding: 15px; margin-bottom: 15px; }
	.tech-card { padding: 15px; }
	.hub-cta-box { padding: 25px 15px; }
	.contact-info-large p { font-size: 1rem; }
	
	/* Timeline */
	.process-timeline { padding-left: 20px; }
	.process-timeline::before { left: 5px; }
	.timeline-item::before { left: -21px; width: 12px; height: 12px; top: 4px; border-width: 2px; }
}

/* ==========================================================================
   DROPDOWN MENU STYLES
   ========================================================================== */

/* Shared Styles */
.main-navigation .menu-item.has-dropdown .arrow {
	display: inline-block;
	transition: transform 0.3s ease;
	margin-left: 4px;
	font-size: 0.8rem;
}

/* Desktop Dropdown Styles */
@media (min-width: 769px) {
	.main-navigation .menu-item {
		position: relative;
	}
	
	.main-navigation .dropdown-menu {
		position: absolute;
		top: 100%;
		left: 50%;
		transform: translateX(-50%);
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		border: 1px solid rgba(181, 227, 203, 0.5); /* Soft mint border */
		border-radius: 8px;
		box-shadow: 0 10px 30px rgba(10, 47, 29, 0.08);
		padding: 12px 0;
		min-width: 240px;
		display: none; /* Bulletproof display toggle */
		flex-direction: column;
		gap: 0 !important; /* Reset parent layout gap */
		z-index: 999;
	}
	
	/* Bridge pseudo-element to prevent hover-loss flickering */
	.main-navigation .dropdown-menu::before {
		content: '';
		position: absolute;
		top: -20px;
		left: 0;
		width: 100%;
		height: 20px;
		background: transparent;
	}
	
	/* Hover toggle arrow */
	.main-navigation .menu-item.has-dropdown:hover .arrow {
		transform: rotate(180deg);
		color: var(--accent-color);
	}
	
	/* Show dropdown on hover with animation */
	.main-navigation .menu-item.has-dropdown:hover .dropdown-menu {
		display: flex;
		animation: dropdownFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	}
	
	.main-navigation .dropdown-menu li {
		width: 100%;
		display: block;
	}
	
	.main-navigation .dropdown-menu a {
		display: block;
		padding: 10px 24px;
		color: var(--primary-color);
		font-weight: 500;
		font-size: 0.95rem;
		transition: all 0.25s ease;
		white-space: nowrap;
	}
	
	/* Override default header link underline */
	.main-navigation .dropdown-menu a::after {
		display: none !important;
	}
	
	/* Hover item effects */
	.main-navigation .dropdown-menu a:hover {
		color: var(--accent-color);
		background-color: rgba(220, 242, 229, 0.4); /* Smooth mint tint background */
		padding-left: 30px; /* Slight slide right micro-animation */
	}
}

@keyframes dropdownFadeIn {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

/* Mobile Dropdown Styles (Accordion) */
@media (max-width: 768px) {
	.main-navigation .dropdown-menu {
		display: none;
		flex-direction: column;
		gap: 0 !important;
		padding-left: 15px;
		margin-top: 10px;
		border-left: 2px solid var(--border-color);
		background: transparent;
		box-shadow: none;
		width: 100%;
	}
	
	.main-navigation .menu-item.has-dropdown.active .dropdown-menu {
		display: flex;
	}
	
	.main-navigation .dropdown-menu li {
		width: 100%;
	}
	
	.main-navigation .dropdown-menu a {
		display: block;
		padding: 8px 0 8px 10px;
		font-size: 0.95rem;
		color: var(--primary-color);
	}
	
	.main-navigation .dropdown-menu a::after {
		display: none !important;
	}
	
	.main-navigation .dropdown-menu a:hover {
		color: var(--accent-color);
		background: none;
		padding-left: 15px;
	}
	
	.main-navigation .menu-item.has-dropdown.active .arrow {
		transform: rotate(180deg);
		color: var(--accent-color);
	}
}

/* ==========================================================================
   POST TEMPLATES STYLES (DEFAULT, PROMOTION, FEATURED)
   ========================================================================== */

/* 1. Default Post Template Styling */
.post-default-page {
	background-color: var(--bg-main);
}
.default-article-card {
	background: var(--bg-light);
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	box-shadow: 0 10px 30px rgba(10, 47, 29, 0.03);
	max-width: 860px;
	margin: 0 auto;
	padding: 50px 60px;
}
.default-article-card .entry-header {
	margin-bottom: 35px;
}
.default-article-card .post-meta-divider {
	margin: 0 8px;
	color: var(--text-light);
}
.default-article-card .post-category-tag a {
	background: rgba(10, 47, 29, 0.08);
	color: var(--primary-color);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
}
.default-article-card .post-category-tag a:hover {
	background: var(--accent-color);
	color: var(--white);
}
.default-article-card .post-date-tag {
	font-size: 0.95rem;
	color: var(--text-light);
}
.default-article-card .entry-title {
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	color: var(--primary-color);
	margin-top: 15px;
	line-height: 1.3;
}
.default-article-card .post-author-meta {
	font-size: 0.95rem;
	color: var(--text-light);
	margin-top: 10px;
}
.post-featured-image-wrap {
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 40px;
	box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.post-main-thumbnail {
	width: 100%;
	height: auto;
	display: block;
}
.entry-content {
	line-height: 1.8;
	font-size: 1.1rem;
	color: var(--text-main);
}
.entry-content p {
	margin-bottom: 25px;
}
.entry-content h2 {
	font-size: 1.8rem;
	color: var(--primary-color);
	margin: 40px 0 20px;
}
.entry-content h3 {
	font-size: 1.4rem;
	color: var(--primary-color);
	margin: 30px 0 15px;
}
.entry-content blockquote {
	background: rgba(220, 242, 229, 0.4);
	border-left: 4px solid var(--accent-color);
	padding: 20px 30px;
	font-style: italic;
	margin: 30px 0;
	border-radius: 0 8px 8px 0;
}
.post-tags-list {
	margin-top: 40px;
	padding-top: 25px;
	border-top: 1px solid var(--border-color);
}
.post-tags-list a {
	display: inline-block;
	background: #f1f5f9;
	color: #64748b;
	padding: 5px 12px;
	border-radius: 4px;
	font-size: 0.9rem;
	margin-right: 8px;
	margin-bottom: 8px;
}
.post-tags-list a:hover {
	background: var(--accent-color);
	color: var(--white);
}
.post-navigation-links {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 50px;
	padding-top: 30px;
	border-top: 2px dashed var(--border-color);
}
.post-navigation-links a {
	font-weight: 600;
	color: var(--primary-color);
}
.post-navigation-links a:hover {
	color: var(--accent-color);
}

/* 2. Promotion Post Template Styling */
.promo-sticky-banner {
	background: var(--bg-dark);
	border-bottom: 3px solid var(--accent-color);
	padding: 12px 20px;
	position: sticky;
	top: 80px; /* Right beneath the main header */
	z-index: 99;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.banner-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--white);
	gap: 15px;
}
.badge-fire {
	background: #ef4444; /* Alert red */
	color: var(--white);
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	letter-spacing: 1px;
}
.banner-text {
	flex: 1;
	margin-bottom: 0 !important;
	font-size: 0.95rem;
}
.animate-pulse {
	animation: pulseAnimation 2s infinite;
}
@keyframes pulseAnimation {
	0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
	70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
	100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
.post-promotion-page {
	background-color: #fefcf6; /* Very subtle gold tint page background */
}
.promotion-article-card {
	background: var(--white);
	border: 2px solid var(--accent-color);
	border-radius: 12px;
	box-shadow: 0 15px 40px rgba(212, 175, 55, 0.05);
	max-width: 860px;
	margin: 0 auto;
	padding: 50px 60px;
	position: relative;
}
.badge-hot-tag {
	background: #ef4444;
	color: var(--white);
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 4px;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.promo-subtitle {
	font-size: 1.2rem;
	color: var(--text-light);
	margin-top: 15px;
	font-style: italic;
}
.promo-floating-badge {
	position: absolute;
	top: -15px;
	right: -15px;
	background: #ef4444;
	color: var(--white);
	font-weight: 800;
	font-size: 1.2rem;
	padding: 15px;
	border-radius: 50%;
	border: 3px solid var(--white);
	box-shadow: 0 5px 15px rgba(0,0,0,0.15);
	transform: rotate(10deg);
}
.promo-cta-box {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
	color: var(--white);
	border-radius: 10px;
	padding: 40px;
	margin: 50px 0 30px;
	box-shadow: 0 10px 30px rgba(10, 47, 29, 0.15);
	border-bottom: 5px solid var(--accent-color);
}
.promo-cta-box h3 {
	color: var(--accent-color);
	font-size: 1.8rem;
	margin-bottom: 15px;
}
.gift-icon {
	font-size: 3.5rem;
	display: block;
	margin-bottom: 10px;
	animation: shake 1.5s infinite;
}
@keyframes shake {
	0% { transform: rotate(0deg); }
	10% { transform: rotate(-10deg); }
	20% { transform: rotate(12deg); }
	30% { transform: rotate(-10deg); }
	40% { transform: rotate(9deg); }
	50% { transform: rotate(0deg); }
	100% { transform: rotate(0deg); }
}
.promo-cta-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 30px 0 20px;
}
.btn-outline-white {
	background: transparent;
	border: 2px solid var(--white);
	color: var(--white);
}
.btn-outline-white:hover {
	background: var(--white);
	color: var(--primary-color);
}
.promo-urgency {
	color: var(--accent-color);
	font-weight: 600;
	font-size: 0.95rem;
}

/* 3. Featured / Outstanding Post Template Styling */
.featured-hero-header {
	height: 60vh;
	min-height: 400px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	color: var(--white);
	padding: 100px 20px 60px;
}
.featured-hero-content {
	max-width: 900px;
	z-index: 2;
}
.featured-editorial-badge {
	background: rgba(212, 175, 55, 0.15);
	border: 1px solid var(--accent-color);
	color: var(--accent-color);
	font-weight: 700;
	padding: 6px 16px;
	border-radius: 30px;
	font-size: 0.85rem;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.featured-title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-family: var(--font-heading);
	font-weight: 700;
	margin-top: 25px;
	line-height: 1.25;
	text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}
.featured-meta-bar {
	margin-top: 30px;
	font-size: 0.95rem;
	background: rgba(10, 47, 29, 0.6);
	padding: 12px 25px;
	border-radius: 30px;
	display: inline-flex;
	gap: 15px;
	align-items: center;
	backdrop-filter: blur(5px);
}
.featured-meta-bar .meta-divider {
	opacity: 0.5;
}
.featured-article-card {
	background: var(--white);
	border-radius: 12px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
	max-width: 900px;
	margin: -80px auto 0; /* CINEMATIC OVERLAP */
	padding: 60px 80px;
	position: relative;
	z-index: 5;
	border: 1px solid rgba(181, 227, 203, 0.3);
}
.editorial-content {
	font-size: 1.15rem;
	line-height: 1.85;
}
/* Magazine Drop Cap for Featured Post */
.post-featured-page .entry-content > p:first-of-type::first-letter {
	font-family: var(--font-heading);
	font-size: 4.5rem;
	float: left;
	line-height: 0.85;
	padding-right: 15px;
	padding-top: 5px;
	color: var(--accent-color);
	font-weight: 700;
	text-shadow: 1px 1px 0 rgba(10, 47, 29, 0.1);
}
.featured-showcase-box {
	background: var(--bg-main);
	border: 1px dashed var(--accent-color);
	padding: 40px;
	border-radius: 8px;
	margin: 50px 0;
	text-align: center;
}
.featured-showcase-box h3 {
	font-size: 1.4rem;
	color: var(--primary-color);
	letter-spacing: 1px;
	margin-bottom: 15px;
}
.featured-showcase-box p {
	color: var(--text-light);
	font-size: 1.05rem;
	margin-bottom: 25px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
	.default-article-card, .promotion-article-card, .featured-article-card {
		padding: 30px 20px;
		margin-top: 0;
	}
	.featured-article-card {
		margin-top: 0;
	}
	.featured-hero-header {
		height: auto;
		padding: 120px 20px 40px;
	}
	.featured-meta-bar {
		flex-direction: column;
		gap: 8px;
		width: 100%;
		border-radius: 15px;
	}
	.featured-meta-bar .meta-divider {
		display: none;
	}
	.promo-sticky-banner {
		top: 60px;
	}
	.banner-flex {
		flex-direction: column;
		text-align: center;
	}
	.promo-cta-buttons {
		flex-direction: column;
		gap: 12px;
	}
}

/* 4. Default Fallback Page Styling */
.default-page-template {
	background-color: var(--bg-main);
}
.default-page-card {
	background: var(--bg-light);
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	box-shadow: 0 10px 30px rgba(10, 47, 29, 0.03);
	max-width: 900px;
	margin: 0 auto;
	padding: 50px 60px;
}
.default-page-card .entry-header {
	margin-bottom: 35px;
}
.default-page-card .entry-title {
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	color: var(--primary-color);
	margin-top: 15px;
	line-height: 1.3;
}

@media (max-width: 768px) {
	.default-page-card {
		padding: 30px 20px;
	}
}

/* 5. Custom Icons List Styling */
.custom-icons-list {
	list-style: none;
	padding: 0;
	margin: 20px 0;
}
.custom-icons-list li {
	position: relative;
	padding-left: 35px;
	margin-bottom: 15px;
	font-weight: 500;
	color: var(--text-main);
	line-height: 1.6;
}
.custom-icons-list .icon {
	position: absolute;
	left: 0;
	top: 3px; /* Align perfectly with text baseline at 1.6 line-height */
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.custom-icons-list .svg-icon {
	color: var(--accent-color);
	width: 20px;
	height: 20px;
	display: block;
}

/* Back to Top Button */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 45px;
	height: 45px;
	background: var(--accent-color);
	color: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.3s ease;
	z-index: 999;
}
.back-to-top.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.back-to-top:hover {
	background: #b5952f;
	transform: translateY(-5px);
	box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}
@media (max-width: 768px) {
	.back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}
