/**
 * SMKN 1 KONOHA - Main CSS (cleaned)
 *
 * Hasil sortir dari main.css lama berdasarkan halaman PHP pengunjung
 * yang ada di project: index, profil, sejarah, visi_misi, jurusan,
 * detail_jurusan, galery, eskul, berita, detail_berita, kontak, cek_pesan.
 *
 * CSS template yang tidak ditemukan penggunaannya di halaman tersebut
 * dihapus. Bootstrap, Bootstrap Icons, AOS, GLightbox, dan Swiper tetap
 * menjadi tanggung jawab file vendor masing-masing.
 */

/**
* Template Name: Mentor
* Template URL: https://bootstrapmade.com/mentor-free-education-bootstrap-theme/
* Updated: Jul 07 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Open Sans",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #f3f2f2; /* Background color for the entire website, including individual sections */
  --default-color: #726c6c; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #37423b; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #00ccff; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
/* Warna Menu Navigasi - Variabel warna berikut digunakan secara khusus untuk menu navigasi. Variabel-variabel ini terpisah dari warna global untuk memberikan lebih banyak opsi kustomisasi */
:root {
  --nav-color: #f5eded;  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #f7f7f7; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #818080; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #272828; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0043fa; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #ec2727; /* BACKGROUND COLOR FOOTER */
  --surface-color: #0bf82a;
}


.dark-background {
  --background-color: #060606;
  --default-color: #f8f6f6;
  --heading-color: #faf7f7;
  --surface-color: #252525;
  --contrast-color: #000000;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}


a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
/* Pulsating Play Button
------------------------------*/
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: #0b4f6c;
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-weight: 700;
  font-size: 30px;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------


.footer {
    background: #0b4f6c;
    color: #fff;
}

.footer .sitename,
.footer h4,
.footer h5,
.footer p,
.footer span,
.footer strong,
.footer .credits,
.footer .copyright {
    color: #fff !important;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #fff !important;
    text-decoration: none;
    transition: .3s;
}

.footer ul li a:hover {
    color: #2ec5ff !important;
    padding-left: 5px;
}

.footer .social-links a {
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s;
}

.footer .social-links a:hover {
    background: #124b66;
    border-color: #1db9ff;
    color: #fff;
}

.footer hr{
    border-color: rgba(255,255,255,.25);
}


/*--------------------------------------------------------------


# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------


# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 900px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--nav-font);
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 80vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 60%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}

.hero .btn-get-started {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: 0.4s;
  margin-top: 30px;
  border: 2px solid var(--default-color);
  color: var(--default-color);
}

.hero .btn-get-started:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 10px 24px 12px 24px;
  border-radius: 50px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

/*--------------------------------------------------------------
# Counts Section
--------------------------------------------------------------*/
.counts {
  padding: 25px 0;
}

.counts .stats-item {
  padding: 30px;
  width: 100%;
}

.counts .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--accent-color);
  font-weight: 700;
}

.counts .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
}

/*--------------------------------------------------------------



/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
/*.starter-section {
  /* Add your styles here */



/*------------------------------------------------------------------------------------------------
                                  CSS TAMBAHAN DARI HAFID
--------------------------------------------------------------------------------------------------*/

/*--------------------------------------------------------------
# CARD / GALERI / EKSTRAKURIKULER
--------------------------------------------------------------*/
.card {
    border-radius: 18px;
    overflow: hidden;
    transition: .3s;
}

.card-img-top {
    height: 230px;
    object-fit: cover;
    transition: .3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.15) !important;
}

.card:hover .card-img-top,
.card:hover img {
    transform: scale(1.05);
}

.card-body {
    text-align: center;
}

.badge {
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13px;
}

.card a:hover {
    color: #198754 !important;
}

/* ===========================================
   HALAMAN BERITA
=========================================== */

.pagination .page-link{
    border-radius:10px;
    margin:0 5px;
}

.btn-outline-primary:hover{
    color:#fff;
}

/* ================= BERITA ================= */

.berita-hero {
    min-height: 250px;
    display: flex;
    align-items: center;
    color: white;
}


.search-box {
    background: white;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,.08);
}


.berita-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.berita-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}


.berita-card h5 {
    line-height: 1.4;
}


.berita-card p {
    font-size: 14px;
    line-height: 1.7;
}


@media (max-width: 768px) {

    .berita-hero {
        min-height: 220px;
    }

    .berita-hero h1 {
        font-size: 32px;
    }

    .berita-hero p {
        font-size: 14px;
    }

}
 /* ================= btn kategori BERITA  ================= */
.btn-kategori{
    border:2px solid #0d6efd;
    color:#0d6efd;
    background:#fff;
    border-radius:50px;
    padding:8px 25px;
    transition:.3s;
}

.btn-kategori:hover{
    background:#0d6efd;
    color:#fff;
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(13,110,253,.3);
}

/* Tombol yang sedang aktif */
.btn-kategori.active{
    background:#0d6efd;
    color:#fff;
    box-shadow:0 8px 20px rgba(13,110,253,.3);
}
/* ================= DETAIL BERITA ================= */
/* Detail berita sudah memiliki style khusus pada elemen gambarnya.
   Aturan global .card img/.card-body/.btn dari template lama dihapus
   agar tidak mempengaruhi card galeri, eskul, dan berita. */

/* =======================
   HALAMAN JURUSAN
======================= */

.jurusan-item{
    text-decoration: none;
}

.jurusan-box{
    background: #f7f5f5;
    border-radius: 30px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    transition: .3s;
}

.jurusan-box:hover{
    background: #0dcaf0;
    transform: translateY(-6px);
    box-shadow: 0 12px 20px rgba(0,0,0,.15);
}

.jurusan-box img{
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.jurusan-box span{
    font-size: 26px;
    font-weight: bold;
    color: #333;
}

.jurusan-box:hover span{
    color: rgb(252, 248, 248);
}

@media(max-width:768px){

    .jurusan-box{
        height:100px;
        border-radius:25px;
    }

    .jurusan-box img{
        width:60px;
        height:60px;
    }

    .jurusan-box span{
        font-size:22px;
    }

}

.jurusan-info {
    text-align: center;
    padding: 5px 10px;
}

.jurusan-singkatan {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.jurusan-nama {
    margin: 0;
    font-size: 14px;
    color: #000000;
    line-height: 1.4;
}
.jurusan-box p {
    color: #000000 !important;
    margin-top: 5px;
    font-size: 15px;
}

/* ==============================
   FOOTER SEKOLAH
   ============================== */

#footer.footer {
    background-color: #0b4f6c !important;
    color: #ffffff !important;
}

#footer.footer .sitename,
#footer.footer h4,
#footer.footer h5,
#footer.footer p,
#footer.footer span,
#footer.footer strong,
#footer.footer li,
#footer.footer a {
    color: #ffffff !important;
}

#footer.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer.footer .footer-links a {
    color: #ffffff !important;
}

#footer.footer .footer-links a:hover {
    color: #00ccff !important;
}

#footer.footer hr {
    border-color: rgba(255, 255, 255, 0.25);
}

#footer.footer .copyright {
    background-color: transparent !important;
    color: #ffffff !important;
}

/* =========================
   FOOTER SOCIAL ICON
========================= */
.footer .social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  font-size: 18px;
  line-height: 1;
  border-radius: 50%;
  transition: 0.3s;
}

.footer .social-links a i {
  margin: 0;
  padding: 0;
}