.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* Optional stagger */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

#everything{
	width: 100vw;
	background-color: #400606;
}

#container_all{
	width: 100vw;
	padding-top: 200px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-bottom: 150px;
}

.case_title{
	font-family: "Archivo", sans-serif;
	font-weight: 700;
	font-size: 50px;
	line-height: 55px;
	letter-spacing: 0em;
	color: #FFFBE9;
	width: 70%;
	max-width: 1440px;
}

.details_cont_parent{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #FFFBE9;
	padding-top: 30px;
	padding-bottom: 30px;
	margin-top: 120px;
}

.details_cont{
	width: 70%;
	max-width: 1440px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
}

.details_left_cont, .details_right_cont{
	width: 45%;
	display: flex;
	align-items: left;
	align-self: flex-start;
	flex-direction: column;
}

.details_right_cont{
	margin-left: 10%;
}

.case_categories{
	font-family: "Raleway", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	color: #002A4A;
	text-align: left;
	width: 100%;
}

.project_img{
	margin-top: 130px;
	width: 70%;
	height: auto;
	max-width: 1440px;
}

.comp{
	font-weight: 400;
	text-align: left;
	padding-top: 10px;
}

.arrangement_container_parent{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.arrangement_process_container_parent{
	width: 100%;
}

.arrangement_process_container{
	width: 70%;
	max-width: 1440px;
	display: flex;
	flex-direction: column;
}

.arrangement_container{
	width: 70%;
	max-width: 1440px;
}

.timeline_arrangement_container{
	width: 100%;
}

h2{
	font-weight: 700;
	font-style: italic;
	font-family: "Playfair Display", serif;
	font-size: 32px;
	line-height: 42px;
	letter-spacing: 0em;
	color: #FFFBE9;
	hyphens: none;  
	width: 100%;
	padding-top: 150px;
	max-width: 1440px;
	padding-bottom: 10px;
	border-bottom: 2px solid #A3C5F3;
}

h3{
	font-weight: 500;
	color: #FFFBE9;
	padding-top: 50px;
}

.para_text, ul, li{
	font-family: "Raleway", sans-serif;
	font-weight: 200;
	font-size: 21px;
	line-height: 31px;
	color: #ffffff;
	letter-spacing: 1px;
}

ul, li{
	padding-left: 20px;
}

.para_text_bold{
	font-weight: 700;
	color: #FFFBE9;
}

.timeline-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.timeline {
    position: sticky;
    top: 140px; /* match navbar height */
    align-self: start;
    width: 15%;
    margin-top: 60px;
    display: block;
}

/* timeline item */
.timeline-item {
    position: relative;
    margin-bottom: 24px;
    padding-left: 24px;
    opacity: 0.4;
    cursor: pointer;
    transition: 0.3s;
    font-family: "Raleway", sans-serif;
	font-weight: 200;
	font-style: italic;
	font-size: 16px;
	line-height: 23px;
	color: #FFFBE9;
}

/* PERFECTLY CENTERED DOT */
.timeline-item::before {
    content: "";
    position: absolute;
    left: -2px; /* 👈 aligns center of dot to line */
    top: 6px;
    width: 12px;
    height: 12px;
    background: #FFFBE9;
    border-radius: 50%;
}

.timeline-item:hover{
	transform: scale(1.02);
}

/* active */
.timeline-item.active {
    opacity: 1;
    font-weight: bold;
}

.timeline-item.active::before {
    background: #FFFBE9;
    transform: scale(1.3);
}

/* spacing */
.timeline-content .arrangement_container_parent {
    margin-bottom: 40px;
}

.timeline-content{
	width: 45%;
	margin-left: 10%;
}

/* base */
.image-group {
    display: flex;
    flex-wrap: wrap;
}

/* SINGLE IMAGE */
.image-group.single-img figure {
    width: 100%;
}

.image-group.single-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* MULTIPLE IMAGES (2 columns) */
.image-group.multi-img figure {
    width: 49%;
}

.image-group.multi-img figure:nth-child(odd) {
    margin-right: 2%;
}

.image-group.multi-img img {
    width: 100%;
    height: auto;
    display: block;
}

.images-figure{
	margin-top: 20px;
}

figcaption{
	font-family: "Raleway", sans-serif;
	font-weight: 200;
	font-style: italic;
	font-size: 16px;
	line-height: 23px;
	color: #ffffff;
	letter-spacing: 1px;
	padding-top: 10px;
}

/* fix navbar overlap */
html {
    scroll-padding-top: 140px;
}

.buttons_container{
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	width: 70%;
	margin-top: 50px;
	max-width: 1440px;
}

.visit_button_container{
	width: 70%;
	max-width: 1440px;
}

.italic_button{
	font-family: "Playfair Display", serif;
	font-weight: 200;
	font-style: italic;
	font-size: 26px;
	color: #FFFFFF;
}

.visit_site{
	background-image: url('../images/visit.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	margin-top: 20px;
	padding-top: 35px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 25px;
    text-align: center;
    width: 130px;
    height: 45px;
	transition: transform 0.3s ease-out;
	display: inline-block;
}

.visit_site:hover{
	transform: scale(1.2);
	background-image: url('../images/visit_hover.svg');
	background-size: contain;
}

.visit_site:active{
	transform: scale(1);
	background-image: url('../images/visit_hover.svg');
	background-size: contain;
}
.disclaimer_container{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 70%;
	max-width: 1440px;
    height: 30px;
}

.disc{
	display: inline-block;
	font-family: "Raleway", sans-serif;
	font-weight: 500;
	font-size: 20px;
	line-height: 29px;
	font-style: italic;
	letter-spacing: 0.05em;
	color: #FFFFFF;
	padding-left: 24px;
}

@media only screen and (max-width: 1300px) {
	.visit_button_container{
		width: 80%;
	}
	.arrangement_process_container{
		width: 80%;
	}
	.arrangement_container{
		width: 80%;
	}
	.case_title{
		width: 80%;
	}
	.details_cont{
		width: 80%;
	}
	.project_img{
		width: 80%;
	}
	.para_text{
		font-size: 20px;
		line-height: 30px;
	}
	.timeline{
		width: 20%;
	}
	.timeline-content{
		width: 50%;
		margin-left: 10%;
	}
	.case_categories{
		font-size: 19px;
		line-height: 29px;
	}

}


@media (max-width: 1100px) {
	.visit_button_container{
		width: 100%;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding-bottom: 30px;
	}
	.visit_button_container_inside{
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.disc{
		text-align: center;
		width: 100%;
		padding-left: 0;
	}
}

@media (max-width: 800px) {
    .image-group.multi-img figure,
    .image-group.single-img figure {
        width: 100%;
        margin-right: 0;
    }

	.image-group.multi-img figure:nth-child(odd){
		margin-right: 0;
	}

	.hyphenate {
	    hyphens: manual;   /* IMPORTANT */
	    overflow-wrap: normal;
	    word-break: normal;
	}
}

@media only screen and (max-width: 570px) {
	.timeline{
		display: none;
	}
	.timeline-content{
		width: 80%;
		margin-left: 0;
	}

}


@media only screen and (max-width: 500px) {
	.case_title{
		font-size: 35px;
		line-height: 40px;
	}
	.para_text{
		font-size: 18px;
		line-height: 27px;
	}
	.case_categories{
		font-size: 17px;
		line-height: 27px;
	}
}

@media only screen and (max-width: 410px) {
	.para_text{
		font-size: 17px;
		line-height: 24px;
	}
	.case_categories{
		font-size: 17px;
		line-height: 27px;
	}
}