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

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Barlow', sans-serif;
	color: #105676;
	line-height: 1.6;
	background-color: #f9f9f9;
}

a {
	color: #105676;
	text-decoration: none;
}

a:hover, a:focus {
	text-decoration: underline;
	color: #d8ff00;
}

.inline-link{
	text-decoration: underline;
}

.inline-link:hover{
	text-decoration: underline;
	color: #105676;
	text-decoration-thickness: 3px;
}

/* ---- Header ---- */
header {
	background-color: #105676;
	color: #fff;
	text-align: center;
	padding: 1.5rem 1rem;
}

header h1 {
	font-size: 2rem;
}

/* ---- Hero Section (Cover + Welcome) ---- */
.hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	max-width: 1100px;
	margin: 3rem auto;
	padding: 0 2rem;
	gap: 3rem;
}

.hero-cover {
	flex: 1 1 300px;
	max-width: 400px;
}

.hero-cover img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-text {
	flex: 1 1 400px;
}

.hero-text h2 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: #105676;
}

.hero-text p {
	font-size: 1.05rem;
	margin-bottom: 1.5rem;
}

/* ---- Chapter Links (inside hero-text) ---- */
.chapter-links {
	list-style: none;
	padding: 0;
}

.chapter-links li {
	margin-bottom: 0.75rem;
}

.chapter-links a {
	display: inline-block;
	padding: 0.6rem 1.2rem;
	background-color: #105676;
	color: #fff;
	border-radius: 10px;
	font-weight: 500;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.chapter-links a:hover,
.chapter-links a:focus {
	background-color: #0d4560;
	text-decoration: none;
	color: #d8ff00;
}

/* ---- Divider ---- */
.divider {
	max-width: 1100px;
	margin: 2rem auto;
	border: none;
	border-top: 2px solid #ddd;
}

/* ---- Chapter Sections ---- */
.chapter-section {
	max-width: 1100px;
	margin: 3rem auto;
	padding: 2rem;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	scroll-margin-top: 2rem;
}

.chapter-section h3 {
	font-size: 1.5rem;
	color: #105676;
	margin-bottom: 0.75rem;
}

.chapter-section p {
	margin-bottom: 1rem;
	font-size: 1rem;
}

.download-btn {
	display: inline-block;
	padding: 0.6rem 1.4rem;
	background-color: #d8ff00;
	color: #105676;
	font-weight: 500;
	border-radius: 10px;
	transition: background-color 0.3s ease;
}

.download-btn:hover,
.download-btn:focus {
	background-color: #0d4560;
	text-decoration: none;
}

/* ---- Back-to-top link ---- */
.back-to-top {
	display: inline-block;
	margin-top: 1rem;
	font-size: 0.9rem;
}

/* ---- Footer ---- */
footer {
	text-align: center;
	padding: 2rem 1rem;
	background-color: #105676;
	color: #fff;
	margin-top: 4rem;
	font-size: 0.9rem;
}

/* ---- Responsive ---- */
@media (max-width: 700px) {
	.hero {
		flex-direction: column;
		text-align: center;
	}

	.hero-cover {
		max-width: 260px;
		margin: 0 auto;
	}
}

.hero-text h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 4rem;
    font-weight: 600;
    font-style: normal;
    margin-bottom: 0.1rem;
    line-height: 1.1;
}

.hero-text h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.8rem;
    font-weight: 200;
    font-style: normal;
    margin-bottom: 0.2rem;
}

.hero-text h3 {
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.project {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #f4f7f9;
    border-radius: 8px;
    border-left: 4px solid #105676;
}

.project h4 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #105676;
    margin-bottom: 0.5rem;
}

.project p {
    margin-bottom: 1rem;
    font-size: 1rem;
}