::-webkit-scrollbar{width: 5px;height: 8px;background-color: transparent;}
::-webkit-scrollbar-thumb {background-color:#aaa;outline: 0px solid slategrey;border-radius: 5px;}
::-webkit-scrollbar-track {background: transparent; -webkit-box-shadow: none;}
::-webkit-scrollbar-thumb:window-inactive {background: transparent;}
:root {	--primary-color: #2563eb;	--primary-light: #eff6ff;	--text-main: #334155;	--text-muted: #64748b;	--bg-light: #f8fafc;
}
body {	font-family: 'Inter', sans-serif;	color: var(--text-main);	background-color: #ffffff;	overflow-x: hidden;	-webkit-font-smoothing: antialiased;
}
/* --- HERO SECTION --- */	.hero-section {	padding: 8rem 0 5rem 0;	background: radial-gradient(circle at 80% 20%, #f0f7ff 0%, #ffffff 100%);	}	.hero-title {	font-weight: 300; /* Font tipis sesuai request */	font-size: 3.25rem;	line-height: 1.2;	color: #0f172a;	margin-bottom: 1.5rem;	}	.hero-title strong { font-weight: 600; color: var(--primary-color); }	.hero-subtitle {	font-weight: 300;	color: var(--text-muted);	font-size: 1.1rem;	line-height: 1.6;	margin-bottom: 2rem;	}
/* --- BUTTONS --- */	.btn-modern-primary {	background-color: var(--primary-color);	color: #ffffff;	font-weight: 400;	padding: 0.75rem 1.75rem;	border-radius: 50px;	border: none;	transition: all 0.2s;	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);	}	.btn-modern-primary:hover {	background-color: #1d4ed8;	transform: translateY(-1px);	color: #ffffff;	}	.btn-modern-outline {	border: 1px solid #cbd5e1;	color: var(--text-main);	font-weight: 400;	padding: 0.75rem 1.75rem;	border-radius: 50px;	background: transparent;	transition: all 0.2s;	}	.btn-modern-outline:hover { background-color: var(--bg-light); border-color: #94a3b8; } .btn-text-link { font-size: 0.875rem; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: gap 0.2s ease; } .btn-text-link:hover { gap: 0.75rem; /* Efek panah bergeser sedikit saat di-hover */ }
main{margin-top:90px;}
#konten{}
#konten .page-section{}
#konten .page-section .container{padding:50px;}
#konten .page-section h1{margin-bottom:25px;}
#konten .page-section .poster{margin-top:25px;}
#konten .page-section .longdesc{margin:50px 0;}
#konten .page-section .longdesc *{font-family:'nuitosans';font-size:1.4rem;}
/* --- NAVIGATION --- */
.navbar { background-color: #ffffff !important; box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03); /* Bayangan tipis dasar */ padding: 0.85rem 0;	position:fixed; top:0;left:0;right:0;	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}
.navbar-brand span { letter-spacing: -0.5px;	text-transform:uppercase;
}
.navbar-brand img{width:50px;}
/* Menu Induk (Parent) */
.navbar-nav .nav-link { font-weight: 400; color: #475569 !important; padding: 0.5rem 1rem !important; transition: color 0.2s ease; font-size: 11pt;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.show .nav-link { color: #a1720a !important; /* Warna biru aksen saat aktif/hover */
}
/* Indikator Panah Kecil pada Parent Group */
.nav-item.dropdown > .nav-link::after { display: inline-block; margin-left: 0.35rem; vertical-align: 0.255em; content: ""; border-top: 0.3em solid; border-right: 0.3em solid transparent; border-bottom: 0; border-left: 0.3em solid transparent; transition: transform 0.2s ease;
}
/* Panah berputar sedikit saat menu terbuka */
.nav-item.dropdown:hover > .nav-link::after { transform: rotate(-180deg);
}
/* Menu Anak (Child Dropdown Box) - Default Desktop Base */
.dropdown-menu { border: 1px solid #e2e8f0; background-color: #ffffff; border-radius: 14px; padding: 0.5rem; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06); min-width: 200px; display: block; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Link di dalam Dropdown (Child Link) */
.dropdown-item { color: #475569 !important; font-size: 11pt; padding: 0.6rem 1rem; border-radius: 8px; transition: all 0.15s ease;
}
.dropdown-item:hover { background-color: #f1f5f9 !important; color: #2563eb !important; padding-left: 1.25rem; /* Efek bergeser masuk sedikit yang manis */
}
/* Efek Hover Dropdown Otomatis di Desktop Layar Besar */
@media (min-width: 992px) { .nav-item.dropdown:hover .dropdown-menu { display: block !important; opacity: 1 !important; visibility: visible !important; transform: translateY(0); }
}
/* --- REVISI JITU: MOBILE TWEAK (Hanya Aktif di < 992px) --- */
@media (max-width: 991.98px) { /* Body lock saat menu aktif */ body.nav-open { /*overflow: hidden;*/ } /* Full Screen Overlay Menu */ .navbar-collapse { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: #ffffff; z-index: 9999; padding: 6rem 2rem 2rem 2rem; overflow-y: auto; display: block !important; transform: translateX(-100%); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); } .navbar-collapse.show { transform: translateX(0); } .navbar-toggler { position: relative; z-index: 10000; border: none !important; } /* --- SOLUSI JITU: SHIFTING KANVAS TREE --- */ .navbar-nav .dropdown-menu { display: block !important; opacity: 1 !important; visibility: visible !important; transform: none !important; /* Diubah menjadi relative agar garis mengunci di sini, bukan di luar */ position: relative !important; background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; /* Menggeser seluruh kotak pohon ke kanan sebanyak 1.5rem agar lolos dari huruf "P" */ margin-left: 1.5rem !important; margin-top: 0.25rem !important; } .nav-item.dropdown { position: relative; margin-bottom: 0.75rem; } .navbar-nav .nav-link { font-size: 1.2rem !important; font-weight: 700 !important; color: #0f172a !important; padding: 0.5rem 0 !important; } .dropdown-item { position: relative; /* Memberi jarak aman teks dari garis horizontal */ padding: 0.6rem 0 0.6rem 1.25rem !important; font-size: 0.95rem !important; color: #64748b !important; } /* Garis Vertikal Pohon (Sekarang Mulai dari X = 1.5rem, Sangat Aman) */ .navbar-nav .dropdown-menu::before { content: ""; position: absolute; left: 0; /* Menempel di batas margin-left yang baru */ top: 0; bottom: 1rem; width: 1.5px; background-color: #cbd5e1; } /* Garis Horizontal Cabang Menu */ .dropdown-item::before { content: ""; position: absolute; left: 0; /* Mulai pas dari posisi garis vertikal */ top: 50%; width: 0.75rem; /* Panjang ranting horizontal */ height: 1.5px; background-color: #cbd5e1; } /* Sembunyikan panah drop segitiga bawaan agar tidak double icon */ .nav-item.dropdown > .nav-link::after { display: none !important; } }
/* --- HEADER BANNER --- */ /* 1. Setel transisi pergeseran slide menjadi 0.8 detik agar pergerakan rangkaian terlihat jelas */ .carousel-item { transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important; } /* 2. Pastikan item yang bersiap masuk tidak disembunyikan dengan efek opacity */ .carousel-fade .carousel-item { opacity: opacity !important; transition-property: transform !important; } /* --- KUSTOMISASI KURSOR & KONTEN --- */ .carousel-drag-active { cursor: grab; } .carousel-drag-active:active { cursor: grabbing; } /* Efek teks melayang muncul dari bawah saat slide bergeser masuk */ .carousel-item .p-md-5 { opacity: 0; transform: translateY(40px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s; } .carousel-item.active .p-md-5 { opacity: 1; transform: translateY(0); } /* Wadah utama background slide */ .carousel-background-zoom { height: 85vh; min-height: 500px; background-position: center; background-size: cover; background-repeat: no-repeat; }
/* --- REVISI KEDUA: STRUKTUR SAMBUTAN PROPORSI KANVAS --- */ .principal-section { background-color: #fff; /* Latar belakang abu-abu ultra-terang agar cerah */ overflow: hidden; } /* Bingkai Foto Kepala Sekolah di Sisi Kiri */ .principal-image-container { position: relative; width:300px; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);	text-align:center; } .principal-img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; /* Memastikan fokus pada wajah */ } /* Kotak Sorot Teks Sambutan (Highlight Box Modern) */ .principal-speech-box {	/* border-radius: 24px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);	*/ height: 100%; display: flex; flex-direction: column; justify-content: space-between; position: relative; } /* Aksen Dekoratif Kutipan */ .principal-speech-box::before { content: "\f10d"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 35px; right: 40px; font-size: 2.5rem; color: rgba(37, 99, 235, 0.06); } .principal-tag { font-size: 2rem; display: inline-block; } .principal-name-text { color: #0f172a;	font-size:14pt;	font-weight:bold; } .principal-quote-text * { font-size: 1.3rem;	font-family:'nuitosans'; color: #475569; } .principal-signature-line { width: 50px; height: 3px; background-color: #2563eb; border-radius: 2px; } /* Penyesuaian Responsif Layar Mobile */ @media (max-width: 991.98px) { .principal-image-container { width: 100%; /* Perkecil tinggi foto di HP agar pas */ margin-bottom: 1.5rem; } .principal-speech-box { padding: 2.5rem 1.75rem; } .principal-name-text { font-size: 1.5rem; }	.principal-quote-text {	margin-top:25px;	margin-bottom:55px;	} }
/* --- NEWS --- */	.news-section { background-color: #ffffff; }	.news-section-header{	/*d-flex align-items-center justify-content-between*/	display: flex!important;	align-items: center!important; justify-content: space-between!important;	}	.headline-card {	border-radius: 20px; /* Lebih membulat agar modern */	overflow: hidden;	height: 100%;	min-height:300px;	position: relative; /* Wajib untuk absolute positioning konten di dalamnya */	border: none; /* Hapus border standar */ } .headline-card:hover { box-shadow: 0 15px 35px rgba(37, 99, 235, 0.08); }	.headline-card h2{	font-size:18pt;line-height:1;	color:#fff;	}	.headline-card label{color:#fff; font-size:10px;margin-bottom:15px;} /* Gambar Headline Penuh */ .headline-img-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 1; /* Di belakang konten */ } .headline-img { width: 100%; height: 100%; object-fit: cover; /* Tambahkan linear gradient overlay langsung di atas gambar agar teks selalu terbaca */ filter: brightness(0.9); transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); } /* EFEK ZOOM HANYA PADA GAMBAR */ .headline-card:hover .headline-img { transform: scale(1.05); } /* KOTAK KONTEN MELAYANG (SEMI-TRANSPARAN) */ .headline-content-badge {	position: absolute; left: 0; right: 0; top:0; z-index: 5; /* Di depan gambar */	} .headline-content-box { position: absolute; bottom: 0; left: 0; right: 0; z-index: 5; /* Di depan gambar */ padding: 2.5rem; /* Spacing luas */ margin:0; /* Glassmorphism Effect: Semi-transparan + Blur */	background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform 0.4s ease, background 0.4s ease;	border:none;	border-bottom-left-radius: 20px;	border-bottom-right-radius: 20px; } /* Sedikit interaksi saat kontainer luar di-hover: box naik sedikit dan warna sedikit pekat */ .headline-card:hover .headline-content-box { /*background: rgba(255, 255, 255, 0.92);*/ } /* List Berita Sebelah Kanan */ .news-row-item { display: flex; align-items: center; padding: 1rem 0; border-bottom: 1px solid #eee; text-decoration: none; color: inherit; transition: all 0.2s ease; } .news-row-item:last-child { border-bottom: none; padding-bottom: 0; } .news-row-item:first-child { padding-top: 0; } .news-row-item:hover { color: #2563eb; } .news-row-img { width: 80px; height: 80px; object-fit: cover; border-radius: 5px; flex-shrink: 0; } .news-row-body { padding-left: 1rem; } .news-meta { font-size: 0.75rem; color: #64748b; font-weight: 400; margin-bottom: 0.25rem; }	@media (max-width: 991.98px) {	.news-section-header{	flex-direction: column;	align-items: flex-start;	gap: 1rem;	}	}	/**/	.news-grid{	display:grid;	/*grid-template-columns:repeat(3,1fr);*/	gap:20px;	}	.card{	height:150px;	background:#ddd;	}	.news-card{	background:#fff;	border-radius:12px;	overflow:hidden;	/* DON'T set:	grid-column:1/-1;	flex:1 0 100%;	width:100vw;	*/	}	.news-card a{text-decoration:none;}	.news-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }	.news-content {	padding:15px; }	.news-category { display: inline-block; font-size: 10px; font-weight: 600; color: #2563eb; text-transform: uppercase; margin-bottom: 8px; }	.news-title { font-size: 1.1rem; line-height: 1.4; margin-bottom: 10px; color: #111827; } .news-desc { font-size: 0.9rem; color: #6b7280; line-height: 1 !important; margin-bottom: 14px; } .news-meta { display: flex; justify-content: space-between; align-items: center; color: #9ca3af; font-size: 0.8rem; }	/* 1 item */	.news-grid:has(> :first-child:last-child) {	grid-template-columns: 1fr;	}	/* 2 items */	.news-grid:has(> :first-child:nth-last-child(2)) {	grid-template-columns: repeat(2, 1fr);	}	/* 3+ items */	.news-grid:has(> :first-child:nth-last-child(n+3)) {	grid-template-columns: repeat(3, 1fr);	}	#related-content{	background-color:#f5f5f5;	padding:40px 0;	}	@media (max-width: 503px){	.news-grid:has(> :first-child:last-child) {	grid-template-columns: 1fr;	}	.news-grid:has(> :first-child:nth-last-child(2)) {	grid-template-columns: 1fr;	}	.news-grid:has(> :first-child:nth-last-child(n+3)) {	grid-template-columns: 1fr;	}	.headline-card{	min-height:500px;	}	}
/* --- FEATURE CARDS --- */	#card-features{	background-color:#cee0f9;	}	.feature-card {	border-radius:15px;	background-color:#f5f5f5;	background-repeat:no-repeat;	background-size:cover; height: 100%; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; justify-content: space-between; } /* Efek hover umum: mengangkat kartu dan mempertegas bayangan */ .feature-card:hover { transform: translateY(-6px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05); }	.feature-card .card-title {	font-weight: 600;	font-size: 1.25rem;	color: #0f172a;	margin: 25px;	letter-spacing: -0.3px;	} .feature-card .card-text {	color: #4e4b41;	line-height: 1.2;	margin: 25px;	font-size:12pt;	font-weight:normal;	}	.feature-card .btn{margin:25px;}	.feature-card.siswa .btn{background-color:grey;color:#fff;}	.feature-card.orangtua .btn{background-color:orange;color:#fff;}	.feature-card.guru .btn{background-color:green;color:#fff;}	.feature-card.alumni .btn{background-color:#222;color:#fff;}
/* --- STYLE SECTION TESTIMONI ALUMNI (DARK MODE STRIP) --- */ .alumni-section { background-color: #b9691c; color: #f8fafc; } .alumni-card { background: rgba(255, 255, 255, 0.03); border: 1px solid #cf7100; border-radius: 14px; /* Sudut sedikit lebih melengkung agar elegan */ padding: 3rem 2rem 2.5rem 2rem; height: 100%; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Mengaktifkan flex vertikal dengan susunan rata tengah */ display: flex; flex-direction: column; align-items: center; text-align: center; } .alumni-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.05); border-color: #a56f40; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); } /* UKURAN FOTO DIUBAH LEBIH BESAR (Dari 70px menjadi 100px) */ .alumni-avatar { width: 250px; height: 250px; object-fit: cover; border-radius: 50%; margin-bottom: 1.5rem; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); transition: transform 0.4s ease; } .alumni-card:hover .alumni-avatar { transform: scale(1.05); /* Efek zoom mikro khusus pada foto saat kartu di-hover */ } .alumni-name { font-weight: 600; font-size: 1.2rem; color: #ffffff; margin-bottom: 0.25rem; } .alumni-job { font-size: 12pt;	font-weight:bold; color: #eeff60; text-transform: uppercase; }	.alumni-year {	display:block; font-size: 10pt; } .alumni-quote { line-height: 1; color: #ddd;	margin-top:25px;	text-align:center;	padding:0 30px; } /* Optimasi Spacing & Layout Responsif di Mobile Browser */ @media (max-width: 991.98px) { .alumni-section { padding-top: 4rem !important; padding-bottom: 4rem !important; } .alumni-card { padding: 2rem 1.5rem; } }
/*sponsor*/	.alumni2000{	}	.sponsor{	background-color:#fff;	padding:50px 0;	}
/* --- INFO STATS SECTION --- */	.stats-section { background-color: #f5f5f5; padding: 5rem 0; }	.stat-number { font-weight: 300; font-size: 2.75rem; color: var(--primary-color); }	.stat-label { font-weight: 400; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-top: 0.5rem; }
/* --- RESPONSIVE SPACING TIMING (MOBILE PERFECTION) --- */
@media (max-width: 991.98px) {	.hero-section { padding: 6.5rem 0 3.5rem 0; text-align: center; }	.hero-title { font-size: 2.25rem; }	.hero-subtitle { font-size: 1rem; }	.hero-btn-group { display: flex; flex-direction: column; gap: 0.75rem; padding: 0 1rem; }	.btn-modern-primary, .btn-modern-outline { width: 100%; padding: 0.7rem 1.5rem; }	.feature-card { padding: 1.75rem; }	.stats-section { padding: 3.5rem 0; }	.stat-block { margin-bottom: 2rem; }	.stat-block:last-child { margin-bottom: 0; }	.headline-img-wrapper { height: 260px; }	.news-row-img { width: 70px; height: 70px; }	.news-row-body { padding-left: 0.75rem; }
}
