@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700&display=swap');

:root {
	--primary: #518c51;
	--bs-primary-rgb: 81, 140, 81;
	--secondary: #d9eadc;
	--dark: #2a3c34;
	--light: #fff;
	--accent: #06a551;
	--accent-light: #ecffef;
	--text: #333;
	--border: #dddddd;
	--disabled: #d3d3d3;
}

body {
	font-family: 'Raleway', sans-serif;
	overflow-x: hidden;
	margin: 0;
}

a {
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
	font-weight: bold;
}

.bg-dark {
	background-color: var(--dark) !important;
}

.bg-primary-subtle {
	background-color: var(--accent-light) !important;
	color: var(--primary);
}

.text-primary {
	color: var(--primary) !important;
}

.text-accent {
	color: var(--accent);
}

.btn {
	border-radius: 10rem !important;
	font-weight: bold;
}

.btn-md {
	padding: 0.75rem 1.5rem;
}

.btn-primary {
	background-color: var(--primary) !important;
	border: none;
}

.btn-tertiary {
	background-color: var(--light);
	color: var(--primary);
}

.btn-link {
	color: var(--primary) !important;
	text-decoration: none;
}

.progress-bar {
	background-color: var(--primary) !important;
}

.nav-pills .nav-link {
	border-radius: 10rem !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
	background-color: var(--light) !important;
	color: var(--primary) !important;
}

.nav-pills .nav-link {
	color: var(--light) !important;
	border: 1px solid var(--light) !important;
}

.card-img {
	height: 200px;
	object-fit: cover;
}

@media (min-width: 1024px) {
	.credibility-number {
		font-size: 2rem;
	}

	.hero-content-description {
		font-size: 1.25rem;
	}

	.py-section {
		padding-top: 8rem;
		padding-bottom: 8rem;
	}

	.section-2 {
		background-image: url('asset/bg-ellipse.svg');
		background-position: center left;
		background-repeat: no-repeat;
	}

	.activity {
		max-height: 660px;
	}

	.donation {
		padding-top: 150px;
	}
}

@media (max-width: 1024px) {
	.credibility-number {
		font-size: 1.5rem;
	}

	.py-section {
		padding-top: 64px;
		padding-bottom: 64px;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 14px;
	}

	.hero-content-description {
		font-size: 1rem;
	}

	.py-section {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}

	.card-img {
		height: 150px;
	}

	.nav-link {
		padding: 0.5rem 0.75rem !important;
	}

	.btn-md {
		padding: 0.5rem 1rem;
	}

	.d-md-none {
		margin-bottom: 2rem;
	}
}

@media (max-width: 480px) {
	body {
		font-size: 12px;
	}


	.hero-content-description {
		font-size: 0.875rem;
	}

	.py-section {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	.card-img {
		height: 120px;
	}

	.nav-link {
		padding: 0.5rem 0.5rem !important;
	}

	.btn-md {
		padding: 0.5rem 0.75rem;
	}

	.d-md-none {
		margin-bottom: 2rem;
	}
}

.layanan {
	background-image: url('asset/bg-overlay.png');
	background-size: cover;
	background-repeat: no-repeat;
}

#navbarNav {
	justify-content: flex-end;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
	color: var(--primary);
	font-weight: 600;
}

.nav-link {
	padding: 0.5rem 1em !important;
}

.hero img {
	width: 100%;
	margin-top: 2rem;
	border-radius: 10px;
}

@media (max-width: 768px) {
	.hero img {
		width: 100%;
		margin-top: 0;
		border-radius: 0;
	}
}
