@import url("all.min.css");

/* BANNER */
.about-us-banner {
    width: 100%;
    height: 80vh; /* full tinggi layar */
    overflow: hidden;
}

.about-us-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* auto crop */
    object-position: center; /* fokus tengah */
    display: block;
    /* filter: brightness(60%); */
}

/* TEXT HERO */
.about-us-container-hero {
	margin-top: 60px;
	padding-left: 5vw;
	padding-right: 5vw;
	font-size: 21px;
}

/* TEXT ALL MENU */
.about-us-container-all-menu {
    text-align: center;
    margin-top: 80px;
    padding-bottom: 60px;
	padding-left: 5vw;
	padding-right: 5vw;
}

.about-us-container-all-menu a {
    display: block;
    text-decoration: none;
    color: #000;
    font-size: 32px;
    position: relative;
}

/* garis */
.about-us-container-all-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: 0.3s ease;
	color: #d12b2b;
}

/* hover → jadi 500px */
.about-us-container-all-menu a:hover {
    color: #d12b2b;
}

.about-us-container-all-menu a:hover::after {
    width: 700px;
}

/* MAIN */
.about-us-section {
	margin-top: 30px;
	padding: 120px 0;
	background: #f4f4f4;
}

.about-us-container {
	width: 1200px;
	margin: auto;
	display: flex;
	align-items: flex-start;
}

/* SIDEBAR */
.about-us-sidebar {
	width: 260px;
	position: sticky;
	top: 120px;
}

.about-us-sidebar ul {
	list-style: none;
	text-align: center;
}

.about-us-sidebar li {
	padding: 12px 0;
	border-top: 1px solid #aaa;
	font-size: 13px;
}

.about-us-sidebar li:first-child{border-top: 2px solid #000;}
.about-us-sidebar li:last-child{border-bottom: 2px solid #000;}

.about-us-sidebar a {
	text-decoration: none;
	color: #555;
}

.about-us-sidebar a.active,
.about-us-sidebar a:hover {
	color: #c0392b;
	font-weight: 600;
}

/* CONTENT */
.about-us-content {
	flex: 1;
	margin-left: 60px;
}

/* SECTION */
.about-us-content-section {
	margin-bottom: 120px;
	scroll-margin-top: 140px;
}

/* HEADER */
.about-us-header {
	text-align: center;
	margin-bottom: 40px;
}

.about-us-title {
	font-family: 'ESMOD Neue Reguler', sans-serif;
	font-size: 48px;
	color: #c0392b;
}

.about-us-lecturers-title {
	font-family: 'ESMOD Reguler Font', sans-serif;
	font-size: 24px;
	color: #c0392b;
}

.about-us-subtitle {
	font-family: 'ESMOD Reguler Font', sans-serif;
	font-size: 20px;
	margin-top: 5px;
}

/* BODY */
.about-us-body {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 40px;
}

.about-us-image img {
	width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.about-us-paragraph {
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 20px;
}

.about-us-paragraph-image img {
    display: block;
    margin: 0 auto;
    width: 400px;
    max-width: 100%;
}

.about-us-margin {
	margin-top: 40px;
}

/* ===== GALLERY ===== */
.about-us-gallery {
	margin-top: 20px;
	border-top: 2px dashed #000;
	border-bottom: 2px dashed #000;
	padding: 20px 0;
	display: flex;
	gap: 15px;
	overflow-x: auto;
	overflow: visible;
}

.about-us-thumb {
	position: relative;
	z-index: 1;
}

.about-us-thumb img {
	height: 80px;
	cursor: pointer;
}

/* TOOLTIP */
.about-us-tooltip {
	position: absolute;
	bottom: 120%;
	left: 50%;
	transform: translateX(-50%);
	background: #000;
	color: #fff;
	font-size: 12px;
	padding: 5px 8px;
	opacity: 0;
	transition: .3s;
	white-space: nowrap;
	z-index: 2;
}

.about-us-thumb:hover .about-us-tooltip{opacity: 1}

/* ===== LIGHTBOX ===== */
.about-us-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.7);
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	z-index: 4;
}

.about-us-lightbox img {
	max-width: 90%;
	max-height: 80%;
}

/* CAPTION */
.about-us-caption {
	color: #fff;
	margin-top: 15px;
	margin-left: 20px;
	margin-right: 20px;
	text-align: center;
}

/* CLOSE */
.about-us-close {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 30px;
	color: #fff;
	cursor: pointer;
}

/* ARROW */
.about-us-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 40px;
	color: #fff;
	cursor: pointer;
	padding: 20px;
}

.about-us-arrow.left{left: 10px}
.about-us-arrow.right{right: 10px}

/* ===== OUR SCHOOL (ONLY NEW PART) ===== */
.about-us-team {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: 40px;
	text-align: center;
	margin-top: 40px;
}

.about-us-team img {
	width: 160px;
	height: 160px;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 15px;
}

.about-us-team .about-us-name {
	font-family: 'ESMOD Reguler Font', sans-serif;
	color: #c0392b;
	font-size: 16px;
	margin-bottom: 5px;
}

.about-us-team .about-us-role {
	font-size: 13px;
	color: #333;
}

html{scroll-behavior:smooth}

/* MOBILE RESPONSIVE */
/* 4K */
@media(max-width: 2560px) {
	
}

/* Laptop L */
@media(max-width: 1440px) {
	
}

/* Laptopku */
@media (max-width: 1366px) {
	.about-us-banner {
		width: 100%;
		height: 90vh; /* full tinggi layar */
		overflow: hidden;
	}
}

/* Laptop */
@media(max-width: 1024px) {
	
}

/* Tablet */
@media (max-width: 768px) {
	/* MAIN */
	.about-us-section {
		margin-top: 60px;
		margin-right: 50px;
		padding: 30px 0;
	}
	
	.about-us-container {
		width: 100%;
		padding: 0 20px;
		flex-direction: column;
	}
	
	.about-us-content {
		width: 100%;
		margin-left: 0;
	}
	
	.about-us-body {
		grid-template-columns: 1fr;
	}
	
	.about-us-team {
		grid-template-columns: repeat(2,1fr);
	}
	
	.about-us-team img {
		width: 100%;
		height: auto;
	}
	
	/* ===== SIDEBAR MOBILE ===== */
	.about-us-sidebar {
		position: fixed;
		right: 5px;
		top: 50%;
		transform: translateY(-50%);
		width: auto;
		z-index: 3;
		opacity: 0;
		pointer-events: none;
		transition: all .4s ease;
		will-change: transform;
	}
	
	.about-us-container,
	.about-us-section,
	body {
		transform: none !important;
	}
	
	body {
		overflow-x: hidden;
	}
	
	.about-us-sidebar ul {
		background: transparent;
		border-radius: 30px;
		box-shadow: 0 5px 20px rgba(0,0,0,0.2);
		padding: 10px 0;
	}
	
	.about-us-sidebar li {
		border: none;
		padding: 5px;
	}
	
	.about-us-sidebar li:first-child{border-top: 0px;}
	.about-us-sidebar li:last-child{border-bottom: 0px;}
	
	.about-us-sidebar a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 30px;
		height: 30px;
		background: #c0392b;
		color: #fff;
		border-radius: 50%;
		font-size: 18px;
	}
	
	.about-us-sidebar a span {
		display: none;
	}
	
	.about-us-sidebar a.active {
		background: #000;
	}
	
	.about-us-sidebar.show {
		opacity: 1;
		pointer-events: auto;
	}
	
	/* ICON (pakai before) */
	.about-us-sidebar li:nth-child(1) a::before {
		content: "\21BA";
		font-family: "Font Awesome 6 Free";
	}
	.about-us-sidebar li:nth-child(2) a::before {
		content: "\f1ad"; /* fa-building */
		font-family: "Font Awesome 6 Free";
	}
	.about-us-sidebar li:nth-child(3) a::before {
		content: "🧬";
		font-family: "Font Awesome 6 Free";
	}
	.about-us-sidebar li:nth-child(4) a::before {
		content: "\2728";
		font-family: "Font Awesome 6 Free";
	}
	.about-us-sidebar li:nth-child(5) a::before {
		content: "\23F3";
		font-family: "Font Awesome 6 Free";
	}
	.about-us-sidebar li:nth-child(6) a::before {
		content: "\1F393";
		font-family: "Font Awesome 6 Free";
	}
	
	/* SECTION */
	.about-us-content-section {
		margin-bottom: 60px;
		scroll-margin-top: 140px;
	}
	
	/* ===== GALLERY ===== */
	.about-us-gallery {
		flex-wrap: wrap;
		justify-content: center;
		overflow: hidden;
	}

	.about-us-thumb {
		position: relative;
	}

	.about-us-thumb img {
		height: 80px;
		cursor: pointer;
	}
	
	.about-us-title {
		font-size: 32px;
	}
}

/* Mobile L */
@media(max-width: 425px) {
	.about-us-container-hero {
		font-size: 18px;
	}
}

/* Mobile M */
@media(max-width: 375px) {
	
}

/* Mobile S */
@media(max-width: 320px) {
	.about-us-container-hero {
		font-size: 14px;
	}
}