@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
.animate-fadeInUp {
	animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
.animate-fadeIn {
	animation: fadeIn 0.6s ease-out forwards;
}

html {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
}
body {
	font-family: 'Inter', 'Noto Sans', Arial, sans-serif;
	font-size: clamp(15px, 0.9375rem + 0.1vw, 16px);
	line-height: 1.55;
	color: #001a35;
	font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.15;
}
h1 { font-weight: 900; line-height: 1.05; }
.prose { font-size: clamp(14px, 0.875rem + 0.1vw, 16px); line-height: 1.65; max-width: none; }

.reveal {
	opacity: 0;
	transition: all 0.8s ease-out;
	transform: translateY(30px);
}
.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

.nav-scrolled {
	background: rgba(0, 33, 71, 0.95) !important;
	backdrop-filter: blur(8px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	padding-top: 0.75rem !important;
	padding-bottom: 0.75rem !important;
}

.hero-gradient {
	background: linear-gradient(135deg, rgba(0, 33, 71, 0.85) 0%, rgba(0, 33, 71, 0.15) 100%);
}

.hero-title-line {
	display: block;
	animation: fadeInUp 0.7s ease-out forwards;
	opacity: 0;
}
.hero-title-line:nth-child(1) { animation-delay: 0.15s; }
.hero-title-line:nth-child(2) { animation-delay: 0.35s; }
.hero-title-line:nth-child(3) { animation-delay: 0.55s; }
.hero-title-accent {
	display: inline-block;
	background: linear-gradient(135deg, #D4AF37, #e8c04a, #D4AF37);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
	0%, 100% { background-position: 0% center; }
	50% { background-position: 100% center; }
}

.hero-section {
	min-height: 92svh;
}

.hero-slide.opacity-100 { opacity: 1; }
.hero-slider {
	position: absolute;
	inset: 0;
}
.hero-slide {
	transition: opacity 1s ease-in-out;
	pointer-events: none;
}
.hero-slide.opacity-100 {
	pointer-events: auto;
}
.hero-dot {
	cursor: pointer;
	background-color: rgba(255,255,255,0.4);
	transition: all 0.3s;
}
.hero-dot-active {
	background-color: rgba(255,255,255,0.85) !important;
	width: 1.5rem !important;
}
.hero-dot-active {
	background-color: rgba(255,255,255,0.85) !important;
	width: 1.5rem !important;
}
@media (min-width: 768px) {
	.hero-section {
		min-height: 100vh;
	}
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #002147; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #D4AF37; }

.scroll-container {
	overflow-y: auto;
	max-height: 40vh;
}
.scroll-container::-webkit-scrollbar { width: 5px; }
.scroll-container::-webkit-scrollbar-thumb { background: #002147; border-radius: 5px; }

.table-custom {
	width: 100%;
	border-collapse: collapse;
}
.table-custom th,
.table-custom td {
	padding: 10px 12px;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
	font-size: 0.85rem;
}
.table-custom th {
	background: #002147;
	color: #D4AF37;
	font-weight: 700;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}
.table-custom tr:hover td {
	background: #f9fafb;
}
.table-custom td {
	border-width: 1px 0;
}

.table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 0 -0.5rem;
	padding: 0 0.5rem;
}
.table-responsive .table-custom {
	min-width: 600px;
}

.form-input {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	font-size: 1rem;
	font-family: 'Inter', 'Noto Sans', Arial, sans-serif;
	color: #001a35;
	transition: border-color 0.2s, box-shadow 0.2s;
	outline: none;
	background: #fff;
}
.form-input:focus {
	border-color: #D4AF37;
	box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.form-input::placeholder {
	color: #9ca3af;
}

.form-textarea {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	font-size: 1rem;
	font-family: 'Inter', 'Noto Sans', Arial, sans-serif;
	color: #001a35;
	transition: border-color 0.2s, box-shadow 0.2s;
	outline: none;
	resize: vertical;
	background: #fff;
}
.form-textarea:focus {
	border-color: #D4AF37;
	box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: #D4AF37;
	color: #002147;
	font-weight: 800;
	padding: 12px 32px;
	border-radius: 14px;
	border: none;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
	background: #b8942a;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: 2px solid rgba(255,255,255,0.2);
	color: #fff;
	font-weight: 700;
	padding: 12px 32px;
	border-radius: 14px;
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
	background: transparent;
}
.btn-outline:hover {
	border-color: #fff;
	background: rgba(255,255,255,0.05);
}

.card-hover {
	transition: all 0.2s;
}
.card-hover:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.modal-img {
	width: 100%;
	height: 192px;
	background-size: cover;
	background-position: top;
}
@media (min-width: 640px) {
	.modal-img {
		height: 256px;
	}
}

.grayscale-img {
	filter: grayscale(1);
	transition: filter 0.7s;
}
.grayscale-img:hover {
	filter: grayscale(0);
}

.full-width {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] > summary i.fa-chevron-down { transform: rotate(180deg); }

.content-body,
.rich-content {
	color: #24364b;
	font-size: 1rem;
	line-height: 1.75;
}
.content-body p,
.rich-content p {
	margin: 0 0 1.1rem;
}
.content-body p:last-child,
.rich-content p:last-child {
	margin-bottom: 0;
}
.content-body h2,
.rich-content h2,
.content-body h3,
.rich-content h3 {
	margin: 2rem 0 1rem;
	line-height: 1.25;
}
.content-body ul,
.content-body ol,
.rich-content ul,
.rich-content ol {
	margin: 1rem 0 1.25rem 1.25rem;
}
.content-body li,
.rich-content li {
	margin-bottom: 0.35rem;
}
.content-body a,
.rich-content a {
	color: #c4820e;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.content-body img,
.rich-content img {
	max-width: 100%;
	height: auto;
	margin: 1.5rem 0;
	border-radius: 14px;
}
@media (max-width: 640px) {
	.content-body,
	.rich-content {
		font-size: .95rem;
		line-height: 1.7;
	}
	.content-body p,
	.rich-content p {
		margin-bottom: .95rem;
	}
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 2px solid #D4AF37;
	outline-offset: 2px;
	border-radius: 4px;
}

.form-input:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown) {
	border-color: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input:valid:not(:placeholder-shown),
.form-textarea:valid:not(:placeholder-shown) {
	border-color: #22c55e;
}

@media (max-width: 1024px) {
	.hero-section h1 {
		font-size: 3.5rem !important;
	}
	.hero-section .text-lg.md\:text-xl {
		font-size: 1.05rem !important;
	}
}

@media (max-width: 768px) {
	.container {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.hero-section h1 {
		font-size: 2.5rem !important;
	}
	.hero-section .text-lg {
		font-size: 0.95rem !important;
	}
	.hero-section .btn-primary,
	.hero-section .btn-outline {
		padding: 12px 24px !important;
		font-size: 0.8rem !important;
	}
	footer .grid {
		gap: 2rem !important;
	}
	footer .text-\[10px\] {
		font-size: 8px !important;
	}
	footer .flex-col.md\:flex-row {
		gap: 1rem !important;
	}
}

@media (max-width: 480px) {
	.hero-section h1 {
		font-size: 1.8rem !important;
	}
	.hero-section .inline-block {
		font-size: 0.6rem !important;
		padding: 4px 12px !important;
	}
	.hero-section .flex-col.sm\:flex-row {
		gap: 0.75rem !important;
	}
	.navbar .h-16 {
		height: 2.5rem !important;
	}
	.navbar .text-xl {
		font-size: 1rem !important;
	}
	.modal-img {
		height: 180px;
	}
	.scroll-container {
		max-height: 35vh;
	}
}

@media (hover: none) and (pointer: coarse) {
	.mobile-link, button, a {
		cursor: default;
		-webkit-tap-highlight-color: transparent;
	}
	details > summary {
		-webkit-tap-highlight-color: transparent;
	}
	details > summary:active {
		opacity: 0.7;
	}
}

@media (prefers-reduced-motion: reduce) {
	.reveal, .animate-fadeInUp, .animate-fadeIn, .hero-title-line {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
	.group-hover\:scale-105, .group-hover\:scale-110 {
		transform: none !important;
	}
}
