/* Reset and Base Styles */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Roboto", sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #fbfafb;
	min-height: 100vh;
}

a {
	text-decoration: none;
	color: inherit;
}

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

button {
	border: none;
	background: none;
	cursor: pointer;
	font-family: inherit;
}

.container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Header & Navigation */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background-color: #3c4043;
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 16px;
	height: 56px;
	max-width: 1200px;
	margin: 0 auto;
}

.logo {
	font-size: 18px;
	font-weight: 500;
	color: #fff;
	letter-spacing: 0.5px;
}

.nav-links {
	display: flex;
	gap: 8px;
}

.nav-link {
	color: #e8eaed;
	font-size: 14px;
	font-weight: 400;
	padding: 8px 16px;
	border-radius: 4px;
	transition: background-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
	background-color: rgba(255, 255, 255, 0.1);
}

.search-btn {
	color: #e8eaed;
	padding: 8px;
	border-radius: 50%;
	transition: background-color 0.2s;
}

.search-btn:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn {
	display: none;
	color: #e8eaed;
	padding: 8px;
}

/* Mobile Menu */
.mobile-menu {
	display: none;
	position: fixed;
	top: 56px;
	left: 0;
	right: 0;
	background-color: #3c4043;
	padding: 16px;
	z-index: 999;
	flex-direction: column;
	gap: 8px;
}

.mobile-menu.active {
	display: flex;
}

.mobile-nav-link {
	color: #e8eaed;
	font-size: 14px;
	padding: 12px 16px;
	border-radius: 4px;
}

.mobile-nav-link:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 56px;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, #1a2a40 0%, #2c3e50 50%, #3d5a73 100%);
	z-index: 0;
}

.hero-pattern {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.5;
}

.hero-bg::before {
	content: "ALL FINTECH CO.,LTD";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 72px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.08);
	white-space: nowrap;
	letter-spacing: 8px;
	z-index: 1;
}

.hero-bg::after {
	content: "บริษัท ออล ฟินเทค จำกัด";
	position: absolute;
	top: 65%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 28px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.06);
	white-space: nowrap;
	letter-spacing: 4px;
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 80px 24px;
}

.hero-title {
	font-family: "Lora", serif;
	font-size: 72px;
	font-weight: 400;
	color: #fff;
	margin-bottom: 16px;
	letter-spacing: 2px;
}

.hero-subtitle {
	font-size: 24px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.9);
	letter-spacing: 1px;
}

/* Section Divider */
.section-divider {
	width: 100%;
	height: 2px;
	background-color: #924a6d;
	margin-bottom: 48px;
}

/* Features Section */
.features {
	padding: 60px 0 40px;
	background-color: #fff;
}

.section-title {
	font-family: "Lora", serif;
	font-size: 36px;
	font-weight: 400;
	color: #924a6d;
	text-align: center;
	margin-bottom: 48px;
	line-height: 1.3;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-bottom: 32px;
}

.feature-card {
	text-align: center;
}

.feature-image {
	width: 100%;
	aspect-ratio: 4/3;
	overflow: hidden;
	border-radius: 4px;
	margin-bottom: 16px;
}

.feature-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
	transform: scale(1.05);
}

.feature-title {
	font-family: "Lora", serif;
	font-size: 22px;
	font-weight: 400;
	color: #924a6d;
}

/* About Section */
.about {
	padding: 40px 0 60px;
	background-color: #fff;
}

.about-text {
	font-family: "Lora", serif;
	font-size: 20px;
	font-weight: 400;
	color: #924a6d;
	line-height: 1.6;
	margin-bottom: 24px;
}

.about-text.highlight {
	font-weight: 500;
	margin-top: 32px;
	margin-bottom: 0;
}

/* Contact Section */
.contact {
	padding: 60px 0;
	background-color: #f8f8f8;
	text-align: center;
}

.contact-title {
	font-family: "Lora", serif;
	font-size: 32px;
	font-weight: 400;
	color: #924a6d;
	margin-bottom: 16px;
}

.contact-text {
	font-size: 16px;
	color: #666;
	margin-bottom: 24px;
}

.contact-btn {
	display: inline-block;
	padding: 12px 32px;
	background-color: #924a6d;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	border-radius: 4px;
	transition:
		background-color 0.2s,
		transform 0.2s;
}

.contact-btn:hover {
	background-color: #7a3d5c;
	transform: translateY(-2px);
}

/* Footer */
.footer {
	padding: 24px 0;
	background-color: #fff;
	border-top: 1px solid #e0e0e0;
}

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

.footer-text {
	font-size: 12px;
	color: #5f6368;
}

.footer-links {
	display: flex;
	align-items: center;
	gap: 16px;
}

.footer-brand {
	font-size: 12px;
	color: #5f6368;
}

.footer-link {
	font-size: 12px;
	color: #5f6368;
	text-decoration: underline;
}

.footer-link:hover {
	color: #1a73e8;
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav-links {
		display: none;
	}

	.search-btn {
		display: none;
	}

	.mobile-menu-btn {
		display: block;
	}

	.hero-title {
		font-size: 48px;
	}

	.hero-subtitle {
		font-size: 18px;
	}

	.hero-bg::before {
		font-size: 36px;
	}

	.hero-bg::after {
		font-size: 14px;
	}

	.section-title {
		font-size: 28px;
	}

	.features-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.feature-image {
		max-width: 300px;
		margin: 0 auto 16px;
	}

	.about-text {
		font-size: 18px;
	}

	.footer-content {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 36px;
	}

	.hero-subtitle {
		font-size: 16px;
	}

	.section-title {
		font-size: 24px;
	}

	.about-text {
		font-size: 16px;
	}
}

/* Fade-in Animation */
.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity 0.6s ease,
		transform 0.6s ease;
}

.fade-in-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ============================================
   SERVICES PAGE STYLES
   ============================================ */

.hero-services {
	min-height: 450px;
}

.hero-bg-services {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		linear-gradient(
			135deg,
			rgba(56, 81, 99, 0.85) 0%,
			rgba(56, 81, 99, 0.7) 100%
		),
		url("./images/photo-1460925895917-afdab827c52f.png") center center / cover
			no-repeat;
	z-index: 0;
}

.hero-title-large {
	font-family: "Lora", serif;
	font-size: 72px;
	font-weight: 400;
	color: #fff;
	letter-spacing: 2px;
}

.application-process {
	padding: 60px 0 80px;
	background-color: #fff;
}

.process-content {
	max-width: 800px;
	margin: 0 auto;
}

.process-subtitle {
	font-family: "Lora", serif;
	font-size: 24px;
	font-style: italic;
	color: #333;
	margin-bottom: 24px;
}

.process-step {
	display: flex;
	gap: 20px;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid #eee;
}

.process-step:last-child {
	border-bottom: none;
}

.step-number {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #924a6d;
	color: #fff;
	font-weight: 600;
	border-radius: 50%;
	font-size: 14px;
}

.step-content {
	flex: 1;
}

.step-content p {
	color: #333;
	line-height: 1.8;
	margin-bottom: 4px;
}

.step-title {
	font-weight: 600;
	color: #924a6d !important;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.hero-about {
	min-height: 400px;
}

.hero-bg-about {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(180deg, #d4a5c9 0%, #f9f2f7 60%, #f9f2f7 100%);
	z-index: 0;
}

.hero-bg-about::after {
	content: "All Fintech Co., Ltd";
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 56px;
	font-weight: 700;
	color: rgba(139, 96, 152, 0.15);
	white-space: nowrap;
	letter-spacing: 4px;
}

.about-content-section {
	padding: 60px 0 80px;
	background-color: #fff;
}

.about-images {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-bottom: 40px;
}

.about-image {
	width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: 4px;
}

.about-description {
	color: #333;
	line-height: 1.8;
}

.about-description > p {
	margin-bottom: 24px;
}

.about-section {
	margin-bottom: 32px;
}

.about-section h3 {
	font-weight: 600;
	color: #333;
	margin-bottom: 12px;
	font-size: 16px;
}

.about-list {
	list-style: disc;
	padding-left: 24px;
}

.about-list li {
	margin-bottom: 12px;
	line-height: 1.6;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.hero-contact {
	min-height: 450px;
}

.hero-bg-contact {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		linear-gradient(
			135deg,
			rgba(51, 50, 60, 0.6) 0%,
			rgba(51, 50, 60, 0.4) 100%
		),
		url("./images/photo-1552664730-d307ca884978.png") center center / cover
			no-repeat;
	z-index: 0;
}

.contact-content-section {
	padding: 60px 0 80px;
	background-color: #fff;
}

.contact-phone {
	font-style: italic;
	color: #333;
	text-align: center;
	font-size: 18px;
	margin-bottom: 48px;
}

.location-title {
	font-family: "Lora", serif;
	font-size: 28px;
	color: #924a6d;
	text-align: center;
	margin-bottom: 16px;
}

.contact-address {
	text-align: center;
	margin-bottom: 40px;
}

.contact-address a {
	color: #924a6d;
	text-decoration: none;
	font-size: 16px;
	line-height: 1.6;
}

.contact-address a:hover {
	text-decoration: underline;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 32px;
}

.contact-image-wrapper {
	border-radius: 4px;
	overflow: hidden;
}

.contact-image {
	width: 100%;
	height: 350px;
	object-fit: cover;
}

.map-wrapper {
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
	display: block;
}

/* Responsive for new pages */
@media (max-width: 768px) {
	.hero-title-large {
		font-size: 48px;
	}

	.process-step {
		flex-direction: column;
		gap: 12px;
	}

	.about-images {
		grid-template-columns: 1fr;
	}

	.about-image {
		height: 200px;
	}

	.hero-bg-about::after {
		font-size: 28px;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.contact-image {
		height: 250px;
	}

	.location-title {
		font-size: 24px;
	}
}

@media (max-width: 480px) {
	.hero-title-large {
		font-size: 36px;
	}

	.hero-bg-about::after {
		font-size: 18px;
	}
}
