/* 
 * VisionWay Resources Hub CSS
 * Premium, SaaS-inspired styling with glassmorphism, responsive grids, and clean typography.
 */

:root {
	--rh-primary: var(--navy);
	--rh-secondary: var(--red);
	--rh-accent: var(--gold);
	--rh-bg-light: var(--bg-soft);
	--rh-text-main: var(--text-dark);
	--rh-text-muted: var(--text-light);
	--rh-white: var(--bg);
	--rh-border: var(--line);
	--rh-radius: var(--radius);
	--rh-shadow: var(--shadow-md);
	--rh-shadow-hover: var(--shadow-sm);
	--rh-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.resources-hub-page {
	color: var(--rh-text-main);
	background-color: var(--rh-white);
	line-height: 1.6;
}

.rh-section-header {
	text-align: center;
	margin-bottom: 3rem;
}

.rh-section-header h2 {
	font-size: 2.5rem;
	color: var(--rh-primary);
	margin-bottom: 1rem;
	font-weight: 700;
}

.rh-section-header p {
	font-size: 1.125rem;
	color: var(--rh-text-muted);
	max-width: 600px;
	margin: 0 auto;
}

/* Hero Section */
.rh-hero {
	position: relative;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
	padding: 100px 20px 80px;
	color: var(--rh-white);
	text-align: center;
	overflow: hidden;
}

.rh-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 800px;
	margin: 0 auto;
}

.rh-kicker {
	display: inline-block;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.2);
	padding: 5px 15px;
	border-radius: 50px;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	backdrop-filter: blur(10px);
}

.rh-hero h1 {
	font-size: 3.5rem;
	font-weight: 800;
	margin-bottom: 1.5rem;
	line-height: 1.2;
	color: var(--rh-white);
}

.rh-hero p {
	font-size: 1.25rem;
	opacity: 0.9;
	margin-bottom: 2.5rem;
}

/* Search Bar */
.rh-search-container {
	max-width: 700px;
	margin: 0 auto;
}

.rh-search-form {
	display: flex;
	background: var(--rh-white);
	padding: 8px;
	border-radius: 50px;
	box-shadow: var(--rh-shadow);
	position: relative;
}

.rh-search-form i {
	position: absolute;
	left: 25px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--rh-text-muted);
	font-size: 1.2rem;
}

.rh-search-form input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 15px 15px 15px 50px;
	font-size: 1.1rem;
	outline: none;
	color: var(--rh-text-main);
	border-radius: 50px;
}

.rh-search-btn {
	background: var(--rh-secondary);
	color: var(--rh-white);
	border: none;
	padding: 12px 30px;
	border-radius: 40px;
	font-weight: 600;
	font-size: 1.05rem;
	cursor: pointer;
	transition: var(--rh-transition);
}

.rh-search-btn:hover {
	background: #e06c10;
	transform: translateY(-2px);
}

.rh-popular-pills {
	margin-top: 1.5rem;
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 0.9rem;
}

.rh-popular-pills span {
	opacity: 0.8;
	line-height: 30px;
}

.rh-popular-pills a {
	color: var(--rh-white);
	text-decoration: none;
	background: rgba(255,255,255,0.15);
	padding: 5px 15px;
	border-radius: 20px;
	transition: var(--rh-transition);
	backdrop-filter: blur(5px);
}

.rh-popular-pills a:hover {
	background: rgba(255,255,255,0.3);
}

/* Categories Grid */
.rh-categories {
	padding: 80px 20px;
	background: var(--rh-bg-light);
}

.rh-categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
}

.rh-category-card {
	background: var(--rh-white);
	border-radius: var(--rh-radius);
	padding: 40px 30px;
	box-shadow: var(--rh-shadow);
	transition: var(--rh-transition);
	border: 1px solid var(--rh-border);
	position: relative;
	overflow: hidden;
}

.rh-category-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--rh-shadow-hover);
	border-color: rgba(13, 59, 102, 0.1);
}

.rh-cat-icon {
	width: 60px;
	height: 60px;
	background: rgba(13, 59, 102, 0.05);
	color: var(--rh-primary);
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
	margin-bottom: 20px;
	transition: var(--rh-transition);
}

.rh-category-card:hover .rh-cat-icon {
	background: var(--rh-primary);
	color: var(--rh-white);
}

.rh-category-card h3 {
	font-size: 1.5rem;
	color: var(--rh-primary);
	margin-bottom: 1.5rem;
	font-weight: 700;
}

.rh-cat-links {
	list-style: none;
	padding: 0;
	margin: 0 0 25px 0;
}

.rh-cat-links li {
	margin-bottom: 12px;
}

.rh-cat-links a {
	color: var(--rh-text-muted);
	text-decoration: none;
	transition: var(--rh-transition);
	display: flex;
	align-items: center;
	font-weight: 500;
}

.rh-cat-links a::before {
	content: '\f105';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	margin-right: 10px;
	font-size: 0.8rem;
	color: var(--rh-secondary);
	opacity: 0;
	transform: translateX(-10px);
	transition: var(--rh-transition);
}

.rh-cat-links a:hover {
	color: var(--rh-primary);
}

.rh-cat-links a:hover::before {
	opacity: 1;
	transform: translateX(0);
}

.rh-cat-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--rh-primary);
	font-weight: 700;
	text-decoration: none;
	transition: var(--rh-transition);
}

.rh-cat-cta:hover {
	color: var(--rh-secondary);
	gap: 12px;
}

/* Interactive Tools */
.rh-interactive-tools {
	padding: 80px 20px;
}

.rh-tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 30px;
}

.rh-tool-card {
	border-radius: var(--rh-radius);
	padding: 50px 40px;
	color: var(--rh-white);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.rh-tool-card.gradient-1 {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.rh-tool-card.gradient-2 {
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
}

.rh-tool-content {
	position: relative;
	z-index: 2;
	max-width: 70%;
}

.rh-tool-card h3 {
	font-size: 2rem;
	color: var(--rh-white);
	margin-bottom: 1rem;
}

.rh-tool-card p {
	font-size: 1.1rem;
	opacity: 0.9;
	margin-bottom: 2rem;
}

.rh-btn-light {
	background: var(--rh-white);
	color: var(--rh-primary);
	border: none;
	padding: 12px 25px;
	border-radius: 30px;
	font-weight: 700;
	cursor: pointer;
	transition: var(--rh-transition);
}

.rh-btn-light:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.rh-tool-bg-icon {
	position: absolute;
	right: -20px;
	bottom: -20px;
	font-size: 150px;
	opacity: 0.1;
	z-index: 1;
	transform: rotate(-15deg);
}

/* Country Comparison */
.rh-country-comparison {
	padding: 80px 20px;
	background: var(--rh-bg-light);
}

.rh-comparison-wrapper {
	background: var(--rh-white);
	border-radius: var(--rh-radius);
	padding: 40px;
	box-shadow: var(--rh-shadow);
}

.rh-compare-controls {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-bottom: 40px;
}

.rh-select {
	padding: 15px 25px;
	font-size: 1.1rem;
	border: 2px solid var(--rh-border);
	border-radius: 10px;
	outline: none;
	background: var(--rh-white);
	color: var(--rh-text-main);
	font-weight: 600;
	cursor: pointer;
	min-width: 200px;
}

.rh-vs {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--rh-text-muted);
	background: var(--rh-bg-light);
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.rh-compare-table {
	width: 100%;
	border-collapse: collapse;
}

.rh-compare-table th, .rh-compare-table td {
	padding: 20px;
	text-align: left;
	border-bottom: 1px solid var(--rh-border);
}

.rh-compare-table th {
	font-size: 1.2rem;
	color: var(--rh-primary);
	font-weight: 700;
	background: rgba(13, 59, 102, 0.03);
}

.rh-compare-table th:first-child {
	border-top-left-radius: 10px;
}

.rh-compare-table th:last-child {
	border-top-right-radius: 10px;
}

.rh-compare-table td {
	font-size: 1.05rem;
}

.rh-compare-table td:first-child {
	font-weight: 600;
	color: var(--rh-text-main);
	width: 30%;
}

/* Success Stories */
.rh-success-stories {
	padding: 80px 20px;
}

.rh-stories-carousel {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.rh-story-card {
	background: var(--rh-white);
	border: 1px solid var(--rh-border);
	border-radius: var(--rh-radius);
	padding: 30px;
	box-shadow: var(--rh-shadow);
	text-align: center;
	transition: var(--rh-transition);
}

.rh-story-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--rh-shadow-hover);
}

.rh-story-img {
	width: 80px;
	height: 80px;
	background: var(--rh-bg-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 2rem;
	color: var(--rh-primary);
}

.rh-story-content h4 {
	font-size: 1.25rem;
	color: var(--rh-primary);
	margin-bottom: 5px;
}

.rh-destination {
	color: var(--rh-secondary);
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 15px;
}

.rh-story-content p:not(.rh-destination) {
	font-style: italic;
	color: var(--rh-text-muted);
}

/* Lead Gen */
.rh-lead-gen {
	padding: 80px 20px;
	background: var(--navy);
	color: var(--rh-white);
}

.rh-lead-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.rh-lead-info h2 {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	color: var(--rh-white);
}

.rh-lead-info p {
	font-size: 1.1rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

.rh-lead-list {
	list-style: none;
	padding: 0;
}

.rh-lead-list li {
	font-size: 1.1rem;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.rh-lead-list i {
	color: var(--rh-accent);
}

.rh-lead-form-container {
	background: var(--rh-white);
	border-radius: var(--rh-radius);
	padding: 40px;
	color: var(--rh-text-main);
}

.rh-lead-form h3 {
	font-size: 1.5rem;
	color: var(--rh-primary);
	margin-bottom: 20px;
	text-align: center;
}

.rh-form-group {
	margin-bottom: 15px;
}

.rh-form-group input, .rh-form-group select {
	width: 100%;
	padding: 15px;
	border: 1px solid var(--rh-border);
	border-radius: 8px;
	font-size: 1rem;
	outline: none;
	transition: var(--rh-transition);
}

.rh-form-group input:focus, .rh-form-group select:focus {
	border-color: var(--rh-primary);
}

.rh-btn-primary {
	width: 100%;
	background: var(--rh-secondary);
	color: var(--rh-white);
	border: none;
	padding: 15px;
	border-radius: 8px;
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	transition: var(--rh-transition);
}

.rh-btn-primary:hover {
	background: #e06c10;
}

/* FAQs */
.rh-faqs {
	padding: 80px 20px;
	background: var(--rh-bg-light);
}

.rh-faq-list {
	max-width: 800px;
	margin: 0 auto;
}

.rh-faq-item {
	background: var(--rh-white);
	border-radius: 10px;
	margin-bottom: 15px;
	box-shadow: var(--rh-shadow);
	overflow: hidden;
}

.rh-faq-question {
	padding: 20px 25px;
	margin: 0;
	font-size: 1.1rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
	color: var(--rh-primary);
}

.rh-faq-answer {
	padding: 0 25px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}

.rh-faq-item.active .rh-faq-answer {
	padding: 0 25px 20px;
	max-height: 500px;
}

.rh-faq-item.active .rh-faq-question i {
	transform: rotate(180deg);
}

/* Sticky CTA */
.rh-sticky-cta {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: var(--rh-white);
	padding: 15px;
	box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
	display: flex;
	justify-content: center;
	gap: 15px;
	z-index: 100;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.rh-sticky-cta.visible {
	transform: translateY(0);
}

.rh-cta-btn {
	padding: 12px 25px;
	border-radius: 50px;
	font-weight: 700;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: var(--rh-transition);
}

.rh-cta-whatsapp {
	background: #25D366;
	color: white;
}

.rh-cta-call {
	background: var(--rh-primary);
	color: white;
}

.rh-cta-primary {
	background: var(--rh-secondary);
	color: white;
}

.rh-cta-btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.1);
}

/* Modals */
.rh-modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	backdrop-filter: blur(5px);
}

.rh-modal-content {
	background-color: var(--rh-white);
	margin: 15% auto;
	padding: 40px;
	border-radius: var(--rh-radius);
	max-width: 500px;
	text-align: center;
	position: relative;
}

.rh-close-modal {
	position: absolute;
	right: 20px;
	top: 15px;
	font-size: 28px;
	font-weight: bold;
	color: var(--rh-text-muted);
	cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
	.rh-lead-grid, .rh-comparison-wrapper {
		grid-template-columns: 1fr;
	}
	.rh-hero h1 {
		font-size: 2.8rem;
	}
}

@media (max-width: 768px) {
	.rh-search-form {
		flex-direction: column;
		border-radius: 20px;
		background: transparent;
		box-shadow: none;
		gap: 10px;
	}
	.rh-search-form input {
		background: var(--rh-white);
		border-radius: 50px;
	}
	.rh-compare-controls {
		flex-direction: column;
	}
	.rh-vs {
		margin: 10px 0;
	}
	.rh-sticky-cta {
		flex-direction: column;
	}
}
