:root {
	--primary-color: #1e3a8a;
	--primary-light: #1d4ed8;
	--accent-green: #25d366;
	--accent-red: #dc2626;
	--text-color: #333;
	--text-light: #475569;
	--bg-color: #f8fafc;
	--white: #fff;
	--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--bg-color);
	overflow-x: hidden;
}

/* Header & Navigation */
header {
	position: sticky;
	top: 0;
	background-color: var(--white);
	box-shadow: var(--shadow);
	z-index: 1000;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	max-width: 1200px;
	margin: 0 auto;
}

.logo {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--primary-color);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.logo-icon {
	font-size: 2rem;
}

.hamburger {
	display: block;
	cursor: pointer;
	font-size: 1.8rem;
	color: var(--primary-color);
	transition: transform 0.3s ease;
}

.hamburger:hover {
	transform: scale(1.1);
}

.nav-links {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background-color: var(--white);
	flex-direction: column;
	padding: 1rem;
	box-shadow: var(--shadow-lg);
}

.nav-links.active {
	display: flex;
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.nav-links a {
	text-decoration: none;
	color: var(--text-color);
	padding: 0.75rem 0;
	border-bottom: 1px solid #eee;
	font-weight: 500;
	transition: color 0.3s ease, padding-left 0.3s ease;
}

.nav-links a:hover {
	color: var(--primary-color);
	padding-left: 0.5rem;
}

.nav-links a:last-child {
	border-bottom: none;
}

.cta-button {
	background-color: var(--accent-red);
	color: var(--white) !important;
	padding: 0.75rem 1.5rem;
	text-decoration: none;
	border-radius: 8px;
	font-weight: bold;
	display: inline-block;
	margin-top: 0.5rem;
	text-align: center;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
	background-color: #b91c1c;
	transform: translateY(-2px);
}

/* Hero Section */
.hero {
	position: relative;
	color: var(--white);
	padding: 6rem 1rem 3rem;
	text-align: center;
	overflow: hidden;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	opacity: 0;
	filter: brightness(0.5);
	transform: scale(1);
	transition: opacity 1s ease-in-out, transform 7s linear;
}

.hero-slide.active {
	opacity: 1;
	transform: scale(1.1);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 3;
	max-width: 900px;
	margin: 0 auto;
	animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
	opacity: 0.3;
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 1000px;
	margin: 0 auto;
}

.hero h1 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	line-height: 1.3;
	font-weight: 800;
}

.hero p {
	font-size: 1rem;
	margin-bottom: 2rem;
	line-height: 1.6;
	opacity: 0.95;
}

.hero-buttons {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 400px;
	margin: 0 auto;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.05rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}

.btn-primary {
	background-color: var(--accent-green);
	color: var(--white);
}

.btn-secondary {
	background-color: var(--accent-red);
	color: var(--white);
}

.btn-icon {
	font-size: 1.3rem;
}

.btn-text {
    background: none;
    border: none;
    color: var(--accent-green); /* Warna hijau WA */
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-text:hover {
    text-decoration: underline;
    gap: 0.75rem;
}

/* Why Us Section */
.why-us {
	padding: 3rem 1rem;
	background-color: var(--white);
}

.section-title {
	text-align: center;
	margin-bottom: 2.5rem;
	color: var(--primary-color);
	font-size: 2rem;
	font-weight: 700;
	position: relative;
	padding-bottom: 1rem;
}

.section-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--primary-color),
		var(--primary-light)
	);
	border-radius: 2px;
}

.why-us-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	max-width: 1000px;
	margin: 0 auto;
}

.why-us-item {
	text-align: center;
	padding: 1.5rem 1rem;
	background-color: var(--bg-color);
	border-radius: 12px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-item:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

.why-us-item i {
	font-size: 2.5rem;
	margin-bottom: 0.75rem;
	display: block;
}

.why-us-item p {
	font-weight: 600;
	color: var(--text-color);
	font-size: 0.95rem;
}

/* Services Section */
.services {
	padding: 3rem 1rem;
	background-color: var(--bg-color);
}

.services-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
}

.service-card {
	background-color: var(--white);
	padding: 2rem;
	border-radius: 12px;
	box-shadow: var(--shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-left: 4px solid var(--primary-color);
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

.service-card h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
	font-size: 1.4rem;
	font-weight: 700;
}

.service-card p {
	color: var(--text-light);
	line-height: 1.7;
}

/* Gallery & Video Section */
.gallery-video {
	padding: 3rem 1rem;
	background-color: var(--white);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin-bottom: 2.5rem;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.gallery-grid img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 12px;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
	transform: scale(1.05);
	box-shadow: var(--shadow-lg);
}

/* Modal */
.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.95);
	animation: fadeIn 0.3s ease;
}

.modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-content {
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
	animation: zoomIn 0.3s ease;
	border-radius: 8px;
}

.modal-close {
	position: absolute;
	top: 20px;
	right: 40px;
	color: white;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	transition: color 0.3s ease;
	z-index: 10000;
}

.modal-close:hover {
	color: #ccc;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes zoomIn {
	from {
		transform: scale(0.5);
	}
	to {
		transform: scale(1);
	}
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 12px;
	max-width: 900px;
	margin: 0 auto;
	box-shadow: var(--shadow);
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* Articles Section */
.articles {
	padding: 3rem 1rem;
	background-color: var(--bg-color);
}

.articles-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
}

.article-card {
	background-color: var(--white);
	padding: 2rem;
	border-radius: 12px;
	box-shadow: var(--shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

.article-card h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.4;
}

.article-card p {
	color: var(--text-light);
	margin-bottom: 1rem;
	line-height: 1.7;
}

.article-card a {
	color: var(--accent-green);
	text-decoration: none;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: gap 0.3s ease;
}

.article-card a:hover {
	gap: 0.75rem;
}

/* Article Modal */
.article-modal {
	display: none;
	position: fixed;
	z-index: 9998;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	overflow-y: auto;
	animation: fadeIn 0.3s ease;
}

.article-modal.active {
	display: block;
}

.article-modal-content {
	background-color: var(--white);
	margin: 5% auto;
	padding: 2.5rem;
	max-width: 800px;
	border-radius: 16px;
	position: relative;
	animation: slideUp 0.4s ease;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.article-modal-close {
	position: absolute;
	top: 15px;
	right: 25px;
	font-size: 35px;
	font-weight: bold;
	cursor: pointer;
	color: var(--text-color);
	transition: color 0.3s ease;
}

.article-modal-close:hover {
	color: var(--accent-red);
}

.article-modal h2 {
	color: var(--primary-color);
	margin-bottom: 1.5rem;
	font-size: 1.8rem;
	padding-right: 40px;
	line-height: 1.3;
}

.article-modal p {
	line-height: 1.8;
	margin-bottom: 1.2rem;
	color: var(--text-color);
}

.article-modal strong {
	color: var(--primary-color);
}

/* Footer */
footer {
	background-color: var(--primary-color);
	color: var(--white);
	padding: 3rem 1rem 1.5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto 2rem;
}

.footer-section h3 {
	margin-bottom: 1rem;
	font-size: 1.2rem;
	font-weight: 700;
}

.footer-section ul {
	list-style: none;
}

.footer-section li {
	margin-bottom: 0.5rem;
}

.footer-section a {
	color: var(--white);
	text-decoration: none;
	opacity: 0.9;
	transition: opacity 0.3s ease, padding-left 0.3s ease;
	display: inline-block;
}

.footer-section a:hover {
	opacity: 1;
	padding-left: 5px;
}

.social-icons {
	display: flex;
	gap: 1.5rem;
	margin-top: 1rem;
}

.social-icons a {
	font-size: 2rem;
	transition: transform 0.3s ease;
	display: inline-block;
}

.social-icons a:hover {
	transform: scale(1.2);
}

.instagram-icon {
	color: #e4405f;
}
.tiktok-icon {
	color: #000000;
	background: white;
	border-radius: 8px;
	padding: 4px;
}
.whatsapp-icon {
	color: var(--accent-green);
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	opacity: 0.8;
}

/* Floating Action Button */
.fab {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	background-color: var(--accent-green);
	color: var(--white);
	width: 65px;
	height: 65px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
	animation: pulse 2s infinite;
	z-index: 999;
	transition: transform 0.3s ease;
}

.fab:hover {
	transform: scale(1.1);
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
	}
}

/* Media Queries */
@media (min-width: 768px) {
	.gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.gallery-grid img {
		height: 250px;
	}

	.why-us-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.services-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.articles-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.footer-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.hero-buttons {
		flex-direction: row;
		justify-content: center;
		max-width: 600px;
	}

	.hamburger {
		display: none;
	}

	.nav-links {
		display: flex;
		position: static;
		width: auto;
		background: none;
		box-shadow: none;
		flex-direction: row;
		padding: 0;
		gap: 0.5rem;
	}

	.nav-links a {
		padding: 0.5rem 1rem;
		border: none;
	}

	.nav-links a:hover {
		padding-left: 1rem;
	}

	.cta-button {
		margin-top: 0;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.hero p {
		font-size: 1.1rem;
	}
}

@media (min-width: 1024px) {
	.hero h1 {
		font-size: 3rem;
	}

	.hero p {
		font-size: 1.25rem;
	}

	.section-title {
		font-size: 2.5rem;
	}
}
