/* Project: Dashboard newsandik
    File: style-dashboard.css
*/

:root {
     --primary-brown: #4d2316;
     --header-bg: #c99a71;
     --body-bg: #fdf6e3;
    --transition-smooth: all 0.3s ease;
}

@font-face {
    font-family: 'FontModern';
    src: url('../font/Montserrat-Regular.otf') format('opentype');
    font-weight: 400;
	font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FontModern';
    src: url('../font/Montserrat-Bold.otf') format('opentype');
    font-weight: 700;
	font-style: normal;
    font-display: swap;
}
body {
	font-family: 'FontModern', sans-serif; 
	background: linear-gradient(to bottom, var(--body-bg), #ffffff);
	min-height: 100vh;
	color: var(--primary-brown);
        }
 .navbar-custom {
	background-color: var(--header-bg);
	padding: 10px 0;
}

.school-logo {
	width: 50px;
	height: auto;
	margin-right: 15px;
}

.school-name h1 {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0;
	color: var(--primary-brown);
}

.school-name p {
	font-size: 0.8rem;
	margin: 0;
	color: var(--primary-brown);
}
.offcanvas {
background-color: #c99a71; 
color: #4d2316;
}

.offcanvas-header {
border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nav-link-custom {
font-weight: 700;
color: #4d2316 !important;
padding: 15px 0;
}

.navbar-custom {
background-color: #c99a71;
padding: 10px 0;
}
 .main-title {
	font-size: 5rem;
	font-weight: 800;
	font-style: italic;
	color: var(--primary-brown);
	margin-bottom: 0;
	line-height: 1;
}

.sub-title {
	font-size: 1.5rem;
	color: var(--primary-brown);
	font-weight: 400;
}

.btn-custom {
	background-color: var(--primary-brown);
	color: white;
	border-radius: 15px;
	padding: 15px 30px;
	width: 100%;
	text-align: left;
	transition: transform 0.2s;
	border: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}


.btn-text small {
	display: block;
	font-size: 0.8rem;
	opacity: 0.8;
}

footer {
	background-color: var(--primary-brown);
	color: white;
	padding: 30px 0;
	margin-top: 50px;
}

.contact-info i {
	margin-right: 10px;
	color: #c99a71;
}
.carousel-item {
	height: 350px; 
}
.carousel-item img {
	object-fit: cover;
	height: 100%;
	width: 100%;
}
.hero-carousel {
	border-bottom: 8px solid #a62a2a;
}
.carousel-indicators [data-bs-target] {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #000;
}
.section-title {
	font-weight: 700;
	color: var(--primary-brown);
	text-transform: uppercase;
	margin-bottom: 15px;
}

.search-box {
	max-width: 350px;
	position: relative;
	margin-bottom: 25px;
}

.search-box .form-control {
	border-radius: 20px;
	padding-left: 40px;
	border: 1px solid var(--primary-brown);
	background-color: #fff;
}

.search-box .bi-search {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #333;
}

.list-container {
	max-width: 800px;
}

.list-item {
	padding: 12px 5px;
	border-bottom: 1px solid #999;
	text-decoration: none;
	color: var(--primary-brown);
	display: block;
	text-transform: uppercase;
	font-weight: 400;
	transition: all 0.2s ease;
}

.list-item:hover {
	background-color: rgba(77, 35, 22, 0.05);
	padding-left: 10px;
}

.page-content {
	padding: 60px 0;
}
.custom-faq .accordion-item {
	border: none;
	border-left: 3px solid #4d2316; 
	border-right: 3px solid #4d2316; 
	background-color: #ffffff;
}

.custom-faq .accordion-button {
	background-color: #ffffff;
	color: #4d2316;
	box-shadow: none;
	padding-top: 20px;
	padding-bottom: 20px;
}

.custom-faq .accordion-button:not(.collapsed) {
	background-color: #ffffff;
	color: #4d2316;
	box-shadow: none;
}
.custom-faq .accordion-button::after {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234d2316'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
	background-size: 1.5rem;
	width: 1.5rem;
	height: 1.5rem;
}

.custom-faq .accordion-body {
	color: #666;
	font-size: 0.95rem;
	line-height: 1.6;
}
 .custom-input {
        background-color: #4d2316 !important;
        border: none;
        color: #fff !important;
        border-radius: 8px;
        padding: 12px 20px;
        font-weight: 400;
    }

    .custom-input::placeholder {
        color: rgba(255, 255, 255, 0.6);
        text-align: left;
    }

    .captcha-box {
        background: repeating-linear-gradient(
            45deg,
            #d9d9d9,
            #d9d9d9 10px,
            #cfcfcf 10px,
            #cfcfcf 20px
        );
        height: 100px; /* Ukuran diperbesar sesuai diskusi sebelumnya */
        border-radius: 12px;
        border: 2px solid #4d2316;
        overflow: hidden;
    }

    .btn-action {
        padding: 8px 30px;
        border-radius: 10px;
        font-weight: 600;
        border: none;
        color: #fff !important;
        text-decoration: none;
        display: inline-block;
        
        /* Menghilangkan semua efek transisi dan animasi */
        transition: none !important; 
        transform: none !important;
    }
    .btn-action:hover, 
    .btn-action:active, 
    .btn-action:focus {
        opacity: 1 !important;
        color: #fff !important;
        transform: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .btn-kembali {
        background-color: #4d2316 !important;
    }

    .btn-cari {
        background-color: #361910 !important; 
    }

    .btn-check:focus + .btn, .btn:focus {
        box-shadow: none !important;
    }
    @media (max-width: 768px) {
        .main-title {
            font-size: 3.5rem !important;
            text-align: center;
        }
        .sub-title {
            text-align: center;
            margin-bottom: 30px;
        }
        .text-end {
            text-align: center !important;
        }
        .btn-action {
            width: 100%;
            margin-bottom: 10px;
            text-align: center;
        }
    }