/**
* Template Name: Bootslander
* Template URL: https://bootstrapmade.com/bootslander-free-bootstrap-landing-page-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  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: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #040677; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1acc8d; /* 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 */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #1acc8d; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #1acc8d; /* 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: #f4f5fe;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #08005e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #0c0091;
  --contrast-color: #ffffff;
}

/* 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: var(--accent-color);
  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
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

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

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

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

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

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #10058c;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@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>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

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

  .navmenu a,
  .navmenu a:focus {
    color: color-mix(in srgb, var(--nav-color), transparent 20%);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

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

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 25px;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-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;
  }
}

/* Mobile Navigation */
@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;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--background-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# 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: 40px;
  height: 40px;
  border-radius: 4px;
  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;
}

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 160px 0 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 88%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  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 div {
  color: var(--heading-color);
  margin: 0;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 75vh;
  position: relative;
  padding: 120px 0 100px 0;
  display: flex;
  align-items: center;
}

.hero .hero-bg {
  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 10%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

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

.hero h1 {
  margin: 0 0 20px 0;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  color: color-mix(in srgb, var(--heading-color), transparent 15%);
}

.hero h1 span {
  color: var(--heading-color);
  border-bottom: 4px solid var(--accent-color);
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  margin: 5px 0 30px 0;
  font-size: 19px;
  line-height: 1.7;
  font-weight: 400;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 50px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--default-color);
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

.hero .hero-waves {
  display: block;
  width: 100%;
  height: 60px;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 3;
}

.hero .wave1 use {
  animation: move-forever1 10s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
  opacity: 0.6;
}

.hero .wave2 use {
  animation: move-forever2 8s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
  opacity: 0.4;
}

.hero .wave3 use {
  animation: move-forever3 6s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
}

@keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }

  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes move-forever3 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding-top: 100px;
}

.about .content h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  padding: 10px 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
  border-radius: 7px;
  display: inline-block;
}

.about .content h2 {
  font-weight: 700;
}

.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: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  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;
}

.about .icon-box {
  background-color: var(--surface-color);
  padding: 30px 30px;
  box-shadow: 0px 10px 35px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease-out 0s;
  height: 100%;
}

.about .icon-box i {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 26px;
  line-height: 0;
  transition: all 0.4s ease-out 0s;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.about .icon-box h3 {
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 700;
}

.about .icon-box p {
  margin-bottom: 0;
}

.about .icon-box:hover i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.about .icon-boxes .col-md-6:nth-child(2) .icon-box,
.about .icon-boxes .col-md-6:nth-child(4) .icon-box {
  margin-top: -40px;
}

@media (max-width: 768px) {

  .about .icon-boxes .col-md-6:nth-child(2) .icon-box,
  .about .icon-boxes .col-md-6:nth-child(4) .icon-box {
    margin-top: 0;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-item {
  background-color: var(--surface-color);
  display: flex;
  align-items: center;
  padding: 20px;
  transition: 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
}

.features .features-item i {
  font-size: 32px;
  padding-right: 10px;
  line-height: 0;
}

.features .features-item h3 {
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 16px;
}

.features .features-item h3 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.features .features-item:hover {
  border-color: var(--accent-color);
}

.features .features-item:hover h3 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  background-color: var(--surface-color);
  color: var(--accent-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  border: 2px solid var(--background-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background-color: var(--surface-color);
  margin-top: -27px;
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 36px;
  display: block;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Details Section
--------------------------------------------------------------*/
.details .features-item {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.details .features-item+.features-item {
  margin-top: 100px;
}

@media (max-width: 640px) {
  .details .features-item+.features-item {
    margin-top: 40px;
  }
}

.details .features-item h3 {
  font-weight: 700;
  font-size: 26px;
}

.details .features-item ul {
  list-style: none;
  padding: 0;
}

.details .features-item ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}

.details .features-item ul li:last-child {
  padding-bottom: 0;
}

.details .features-item ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.details .features-item p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

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

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

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

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
}

.team .member .pic {
  overflow: hidden;
  margin-bottom: 50px;
}

.team .member .member-info {
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  padding: 20px 15px;
  overflow: hidden;
  transition: 0.5s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  bottom: 0;
  left: 0;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.team .member .social a:hover {
  color: var(--accent-color);
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
  padding: 40px 40px;
  height: 100%;
  border-radius: 15px;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  color: var(--accent-color);
  font-size: 48px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
  font-weight: 500;
}

.pricing .description {
  font-size: 14px;
}

.pricing .cta-btn {
  border: 1px solid var(--default-color);
  color: var(--default-color);
  display: block;
  text-align: center;
  padding: 10px 35px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
  margin-top: 20px;
  margin-bottom: 6px;
}

.pricing .cta-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul li:last-child {
  padding-bottom: 0;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .featured {
  position: relative;
}

.pricing .featured .popular {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 4px 15px 6px 15px;
  margin: 0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}

.pricing .featured .cta-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container {
  margin-top: 15px;
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 22px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

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

/*--------------------------------------------------------------
# Jurusan Section
--------------------------------------------------------------*/

.jurusan-section .jurusan-card {
  height: 100%;
  padding: 35px 30px;
  background: var(--surface-color);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.jurusan-section .jurusan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.jurusan-section .jurusan-card .icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 50%;
}

.jurusan-section .jurusan-card .icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.jurusan-section .jurusan-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
  font-weight: 700;
  color: var(--heading-color);
}

.jurusan-section .jurusan-card h6 {
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 600;
}

.jurusan-section .jurusan-card p {
  margin-bottom: 0;
  line-height: 1.7;
  color: var(--default-color);
}

/* Mobile */
@media (max-width: 768px) {

  .jurusan-section .jurusan-card {
    padding: 30px 25px;
  }

  .jurusan-section .jurusan-card h3 {
    font-size: 19px;
  }

}

/*--------------------------------------------------------------
# Ekstrakurikuler Section
--------------------------------------------------------------*/

.ekskul-section .ekskul-card {
  height: 100%;
  padding: 35px 30px;
  background: var(--surface-color);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.ekskul-section .ekskul-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.ekskul-section .ekskul-card .icon {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 50%;
}

.ekskul-section .ekskul-card .icon img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}

.ekskul-section .ekskul-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
  font-weight: 700;
  color: var(--heading-color);
}

.ekskul-section .ekskul-card h6 {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
}

.ekskul-section .ekskul-card p {
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--default-color);
}

.ekskul-section .ekskul-card p:last-child {
  margin-bottom: 0;
}

/* Mobile */
@media (max-width: 768px) {

  .ekskul-section .ekskul-card {
    padding: 30px 25px;
  }

  .ekskul-section .ekskul-card h3 {
    font-size: 19px;
  }

}

/*--------------------------------------------------------------
# Guru Section
--------------------------------------------------------------*/

.guru-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.guru-section .guru-card {
  position: relative;
  height: auto;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.guru-section .guru-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}


/* Foto Guru */

.guru-section .guru-card .pic {
  width: 100%;
  height: 280px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
}

.guru-section .guru-card .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.guru-section .guru-card:hover .pic img {
  transform: scale(1.04);
}


/* Nama + Mapel */

.guru-section .guru-card .member-info {
  position: static;
  width: 100%;
  min-height: 100px;

  padding: 18px 15px;

  background: #fff;
  box-shadow: none;

  text-align: center;

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

  overflow: visible;
}


/* Nama Guru */

.guru-section .guru-card .member-info h4 {
  margin: 0 0 6px;
  padding: 0;

  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;

  color: var(--heading-color);
}


/* Garis bawaan template di bawah nama DIHILANGKAN */

.guru-section .guru-card .member-info h4::after {
  display: none;
}


/* Mata Pelajaran */

.guru-section .guru-card .member-info .guru-mapel {
  display: block;

  margin: 0;
  padding: 0;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;

  color: var(--default-color);

  background: transparent;
  border: none;

  opacity: 1;
  visibility: visible;
}


/* Mobile */

@media (max-width: 768px) {

  .guru-section .guru-card .pic {
    height: 300px;
  }

  .guru-section .guru-card .member-info {
    min-height: 90px;
    padding: 15px 10px;
  }

}

/*--------------------------------------------------------------
# Berita Section
--------------------------------------------------------------*/

.berita-section .berita-card {
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease;
}

.berita-section .berita-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12) !important;
}

.berita-section .berita-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.berita-section .berita-card .card-body {
  padding: 22px;
}

.berita-section .berita-card .card-body small {
  font-size: 13px;
}

.berita-section .berita-card h5 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.berita-section .berita-card p {
  margin-bottom: 0;
  line-height: 1.7;
  color: var(--default-color);
}

.berita-section .berita-card .card-footer {
  padding: 0 22px 22px;
  background: var(--surface-color) !important;
}

.berita-section .berita-card .btn {
  border-radius: 6px;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.berita-section .berita-card .btn:hover {
  transform: translateX(3px);
}

/* Mobile */
@media (max-width: 768px) {

  .berita-section .berita-img {
    height: 200px;
  }

  .berita-section .berita-card h5 {
    font-size: 18px;
  }

}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/

.faq-section {
  padding: 80px 0;
}

.faq-section > .container-fluid {
  max-width: 1400px;
}


/* Judul FAQ */

.faq-section .content h3 {
  font-size: 34px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 15px;
}

.faq-section .content h3 strong {
  font-weight: 700;
}

.faq-section .content p {
  margin-top: 15px;
  margin-bottom: 30px;
  line-height: 1.7;
}


/* Kartu FAQ */

.faq-section .faq-card {
  border-radius: 12px;
  transition: all 0.3s ease;
}

.faq-section .faq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}


/* FAQ aktif */

.faq-section .faq-card.faq-active {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}


/* Icon pertanyaan */

.faq-section .faq-card .faq-icon {
  transition: 0.3s ease;
}


/* Icon toggle */

.faq-section .faq-card .faq-toggle {
  transition: transform 0.3s ease;
}


/* Foto FAQ */

.faq-section img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}


/*--------------------------------------------------------------
# FAQ Responsive
--------------------------------------------------------------*/

@media (max-width: 991px) {

  .faq-section {
    padding: 60px 0;
  }

  .faq-section img {
    height: 300px;
    margin-bottom: 30px;
  }

  .faq-section .content h3 {
    font-size: 28px;
  }

}


@media (max-width: 576px) {

  .faq-section {
    padding: 50px 0;
  }

  .faq-section img {
    height: 250px;
    border-radius: 12px;
  }

  .faq-section .content h3 {
    font-size: 25px;
  }

}

/*--------------------------------------------------------------
# Contact Section - Custom
--------------------------------------------------------------*/

.contact {
  padding-bottom: 70px;
}

.contact .info-item {
  padding: 25px;
  background: var(--surface-color);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.contact .info-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

.contact .info-item i {
  width: 52px;
  height: 52px;
  flex-shrink: 0;

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

  border-radius: 50%;

  background: color-mix(
    in srgb,
    var(--accent-color),
    transparent 90%
  );

  color: var(--accent-color);

  font-size: 22px;

  margin-right: 15px;

  transition: all 0.3s ease;
}

.contact .info-item:hover i {
  transform: scale(1.08);
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact .info-item p {
  margin: 0;
  line-height: 1.6;
}


/* Form Kontak */

.contact form {
  padding: 30px;

  background: var(--surface-color);

  border-radius: 15px;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.contact form .form-control {
  padding: 13px 15px;

  border-radius: 8px;

  border: 1px solid
    color-mix(
      in srgb,
      var(--default-color),
      transparent 80%
    );

  transition: all 0.3s ease;
}

.contact form .form-control:hover {
  border-color: color-mix(
    in srgb,
    var(--accent-color),
    transparent 50%
  );
}

.contact form .form-control:focus {
  border-color: var(--accent-color);

  box-shadow:
    0 0 0 3px
    color-mix(
      in srgb,
      var(--accent-color),
      transparent 85%
    );
}

.contact form textarea {
  resize: vertical;
  min-height: 150px;
}


/* Tombol Kirim */

.contact form .btn {
  padding: 11px 28px;

  border-radius: 8px;

  font-weight: 600;

  transition: all 0.3s ease;
}

.contact form .btn:hover {
  transform: translateY(-2px);
}


/* Mobile */

@media (max-width: 768px) {

  .contact {
    padding-bottom: 50px;
  }

  .contact form {
    padding: 22px;
  }

  .contact .info-item {
    padding: 20px;
  }

}

/*--------------------------------------------------------------
# Custom Footer
--------------------------------------------------------------*/

.footer {
  padding-top: 65px;
  padding-bottom: 0;
}

.footer .footer-top {
  padding-bottom: 40px;
}


/* Nama Sekolah */

.footer .footer-about .logo {
  margin-bottom: 20px;
}

.footer .footer-about .sitename {
  font-size: 24px;
  font-weight: 700;
}


/* Kontak */

.footer .footer-contact p {
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer .footer-contact strong {
  margin-right: 5px;
}


/* Judul Kolom */

.footer .footer-links h4,
.footer .footer-newsletter h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
}


/* Link */

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

.footer .footer-links ul li {
  padding: 6px 0;
}

.footer .footer-links ul li a {
  transition: all 0.3s ease;
}

.footer .footer-links ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}


/* Tentang Website */

.footer .footer-newsletter p {
  line-height: 1.7;
  margin-bottom: 0;
}


/* Copyright */

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 20px;
  border-top: 1px solid
    color-mix(
      in srgb,
      var(--default-color),
      transparent 85%
    );
}

.footer .copyright p {
  margin-bottom: 0;
}


/*--------------------------------------------------------------
# Footer Responsive
--------------------------------------------------------------*/

@media (max-width: 768px) {

  .footer {
    padding-top: 50px;
  }

  .footer .footer-about,
  .footer .footer-links,
  .footer .footer-newsletter {
    margin-bottom: 25px;
  }

  .footer .copyright {
    margin-top: 10px !important;
  }

}

/*--------------------------------------------------------------
# Detail Berita
--------------------------------------------------------------*/

.detail-berita-section {
  padding: 80px 0;
}

.detail-berita-section .col-lg-9 {
  background: var(--surface-color);
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.detail-berita-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 25px;
}

.detail-berita-title {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 12px;
}

.detail-berita-content {
  font-size: 17px;
  line-height: 1.9;
  text-align: justify;
  color: var(--default-color);
}

.detail-berita-section .btn {
  border-radius: 8px;
  padding: 10px 20px;
  transition: 0.3s;
}

.detail-berita-section .btn:hover {
  transform: translateX(-3px);
}

/* Mobile */
@media (max-width: 768px) {

  .detail-berita-section {
    padding: 50px 0;
  }

  .detail-berita-section .col-lg-9 {
    padding: 20px;
  }

  .detail-berita-title {
    font-size: 25px;
  }

  .detail-berita-content {
    font-size: 16px;
    line-height: 1.8;
  }

}

/* =====================================================
   LOGIN ADMIN - NAVBAR
===================================================== */

.navmenu .admin-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px !important;
  margin-left: 8px;
  border-radius: 50px;
  background: var(--accent-color);
  color: var(--contrast-color) !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.navmenu .admin-login i {
  font-size: 16px;
  line-height: 1;
}

.navmenu .admin-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  color: var(--contrast-color) !important;
}

/* Desktop */
@media (min-width: 1200px) {
  .navmenu .admin-login {
    margin-left: 10px;
  }
}

/* Mobile */
@media (max-width: 1199px) {
  .navmenu .admin-login {
    display: inline-flex;
    width: fit-content;
    margin: 10px 0;
    padding: 10px 18px !important;
  }
}

.hero-gallery {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 430px;
    margin: auto;
}

.hero-photo {
    position: absolute;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.hero-photo-main {
    width: 82%;
    height: 360px;
    right: 0;
    top: 20px;
}

.hero-photo-small {
    width: 48%;
    height: 220px;
    left: 0;
    bottom: 0;
    border: 6px solid #fff;
}

/* =========================================================
   BEAUTY UI - NAVBAR SMKN 1 KERTAJATI
   ========================================================= */

/* Navbar utama */
.header {
    padding: 14px 0;
    transition: all 0.35s ease;
}

/* Logo + nama sekolah */
.header .logo {
    gap: 8px;
}

.header .logo img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    margin-right: 4px;
}

.header .logo h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* Jarak menu */
@media (min-width: 1200px) {

    .navmenu > ul > li {
        padding: 12px 9px;
    }

    .navmenu > ul > li > a {
        font-size: 15px;
        font-weight: 500;
        transition: all 0.25s ease;
    }

}

/* Hover menu */
@media (min-width: 1200px) {

    .navmenu > ul > li > a:hover {
        transform: translateY(-1px);
    }

}

/* Dropdown */
@media (min-width: 1200px) {

    .navmenu .dropdown ul {
        border-radius: 12px;
        padding: 10px 0;
        min-width: 190px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navmenu .dropdown ul li {
        padding: 0 8px;
    }

    .navmenu .dropdown ul a {
        padding: 10px 14px;
        border-radius: 8px;
        font-size: 14px;
        transition: all 0.25s ease;
    }

    .navmenu .dropdown ul a:hover {
        background: rgba(26, 204, 141, 0.08);
    }

}

/* Login Admin */
.navmenu .admin-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 9px 16px !important;
    margin-left: 12px;

    border-radius: 10px;

    background: #198754;
    color: #ffffff !important;

    font-size: 14px;
    font-weight: 600;

    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.20);

    transition: all 0.25s ease;
}

.navmenu .admin-login i {
    font-size: 15px;
}

.navmenu .admin-login:hover {
    background: #157347;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.28);
}

/* Navbar ketika scroll */
.scrolled .header {
    padding: 10px 0;
}

/* Logo ketika scroll */
.scrolled .header .logo img {
    max-height: 40px;
}

.scrolled .header .logo h1 {
    font-size: 22px;
}

/* Mobile */
@media (max-width: 1199px) {

    .header {
        padding: 12px 0;
    }

    .header .logo img {
        max-height: 40px;
    }

    .header .logo h1 {
        font-size: 20px;
    }

    .navmenu .admin-login {
        width: fit-content;
        margin: 12px 0;
        padding: 10px 18px !important;
        border-radius: 10px;
    }

}

/* =========================================================
   BEAUTY UI - HERO SECTION
   SMKN 1 KERTAJATI
   ========================================================= */

/* Hero utama */
.hero {
    position: relative;
    overflow: hidden;
}

/* Area gambar hero */
.hero .hero-img {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container dua foto */
.hero-gallery {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 470px;
    margin: 0 auto;
}

/* Semua foto hero */
.hero-photo {
    position: absolute;
    display: block;

    object-fit: cover;

    border: 6px solid rgba(255, 255, 255, 0.95);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.28);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

/* Foto utama - mekanik */
.hero-photo-main {
    width: 350px;
    height: 430px;

    left: 20px;
    top: 20px;

    border-radius: 24px;

    transform: rotate(-3deg);

    z-index: 2;
}

/* Foto kecil - komputer */
.hero-photo-small {
    width: 235px;
    height: 185px;

    right: 0;
    bottom: 25px;

    border-radius: 20px;

    transform: rotate(4deg);

    z-index: 3;
}

/* Efek ketika mouse diarahkan */
.hero-photo-main:hover {
    transform: rotate(0deg) scale(1.02);

    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.35);
}

.hero-photo-small:hover {
    transform: rotate(0deg) scale(1.04);

    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   HERO TEXT
   ========================================================= */

.hero h1 {
    max-width: 700px;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.15;

    font-weight: 700;

    letter-spacing: -1px;

    margin-bottom: 20px;
}

.hero h1 span {
    display: block;

    margin-top: 6px;

    font-weight: 800;
}

.hero p {
    max-width: 650px;

    font-size: 17px;

    line-height: 1.8;

    opacity: 0.92;

    margin-bottom: 30px;
}


/* =========================================================
   LOGO HERO
   ========================================================= */

.hero .mb-3 img {
    width: 82px !important;
    height: 82px !important;

    padding: 7px;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.25);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.18);

    transition: transform 0.3s ease;
}

.hero .mb-3 img:hover {
    transform: translateY(-3px) scale(1.03);
}


/* =========================================================
   BUTTON HERO
   ========================================================= */

.hero .btn-get-started {
    display: inline-flex;

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

    min-width: 150px;

    padding: 13px 25px;

    border-radius: 10px;

    font-size: 15px;
    font-weight: 600;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.hero .btn-get-started:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .hero {
        text-align: center;
    }

    .hero .hero-img {
        order: 1 !important;

        min-height: 420px;

        margin-top: 20px;
        margin-bottom: 20px;
    }

    .hero .col-lg-6 {
        order: 2 !important;
    }

    .hero-gallery {
        max-width: 440px;
        height: 400px;
    }

    .hero-photo-main {
        width: 300px;
        height: 350px;

        left: 20px;
        top: 15px;
    }

    .hero-photo-small {
        width: 200px;
        height: 155px;

        right: 0;
        bottom: 15px;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -0.5px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;

        font-size: 16px;
    }

    .hero .d-flex {
        justify-content: center;
    }
}


/* =========================================================
   HP KECIL
   ========================================================= */

@media (max-width: 575px) {

    .hero .hero-img {
        min-height: 330px;
    }

    .hero-gallery {
        width: 100%;
        height: 315px;
    }

    .hero-photo-main {
        width: 230px;
        height: 280px;

        left: 8px;
        top: 10px;

        border-width: 4px;
        border-radius: 18px;
    }

    .hero-photo-small {
        width: 155px;
        height: 120px;

        right: 4px;
        bottom: 8px;

        border-width: 4px;
        border-radius: 15px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero .mb-3 img {
        width: 70px !important;
        height: 70px !important;
    }

    .hero .btn-get-started {
        width: 100%;
        max-width: 180px;
    }
}

/* =========================================================
   BEAUTY UI - PROFIL / ABOUT SECTION
   ========================================================= */

.about {
    position: relative;
}

/* Kolom informasi sekolah */
.about .content {
    position: relative;
    padding: 35px;
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.07);

    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Logo profil */
.about .content > div.mb-4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 135px;
    height: 135px;

    padding: 12px;

    margin-bottom: 25px !important;

    border-radius: 22px;

    background: #f7f9fb;

    border: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.06);
}

.about .content > div.mb-4 img {
    width: 110px !important;
    height: 110px !important;
}

/* Label Profil Sekolah */
.about .content h3 {
    font-size: 15px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: #198754;

    margin-bottom: 10px;
}

/* Nama sekolah */
.about .content h2 {
    font-size: 30px;

    line-height: 1.25;

    font-weight: 750;

    margin-bottom: 25px;
}

/* Informasi kepala sekolah & alamat */
.about .content p {
    font-size: 15px;

    line-height: 1.75;

    color: #555;

    margin-bottom: 18px;
}

.about .content p strong {
    color: #222;
}


/* =========================================================
   ICON BOX
   ========================================================= */

.about .icon-box {
    height: 100%;

    padding: 30px;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.055);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Hover card */
.about .icon-box:hover {
    transform: translateY(-6px);

    border-color: rgba(25, 135, 84, 0.18);

    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.10);
}


/* Icon */
.about .icon-box > i {
    display: inline-flex;

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

    width: 52px;
    height: 52px;

    margin-bottom: 18px;

    border-radius: 14px;

    background: rgba(25, 135, 84, 0.10);

    color: #198754;

    font-size: 25px;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.about .icon-box:hover > i {
    transform: scale(1.08);

    background: #198754;

    color: #ffffff;
}


/* Judul Visi / Misi / Keunggulan */
.about .icon-box h3 {
    font-size: 20px;

    font-weight: 700;

    margin-bottom: 13px;

    color: #222;
}


/* Isi */
.about .icon-box p {
    font-size: 15px;

    line-height: 1.8;

    color: #666;

    margin-bottom: 0;
}


/* =========================================================
   KEUNGGULAN
   ========================================================= */

.about .col-12 .icon-box {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbfa 100%
        );
}

/* Garis aksen */
.about .col-12 .icon-box::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 5px;
    height: 100%;

    background: #198754;

    border-radius: 20px 0 0 20px;
}


/* =========================================================
   TOMBOL HUBUNGI KAMI
   ========================================================= */

.about .read-more {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 8px;

    padding: 11px 18px;

    border-radius: 10px;

    background: #198754;

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.about .read-more:hover {
    background: #157347;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(25, 135, 84, 0.20);
}

.about .read-more i {
    transition: transform 0.3s ease;
}

.about .read-more:hover i {
    transform: translateX(4px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .about .content {
        padding: 30px;
    }

    .about .content h2 {
        font-size: 27px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .about .content {
        padding: 25px;

        text-align: center;

        border-radius: 18px;
    }

    .about .content > div.mb-4 {
        width: 115px;
        height: 115px;
    }

    .about .content > div.mb-4 img {
        width: 90px !important;
        height: 90px !important;
    }

    .about .content h2 {
        font-size: 24px;
    }

    .about .content p {
        font-size: 14px;
    }

    .about .read-more {
        margin-top: 5px;
    }

    .about .icon-box {
        padding: 25px;

        border-radius: 17px;

        text-align: left;
    }

    .about .icon-box h3 {
        font-size: 19px;
    }

    .about .icon-box p {
        font-size: 14px;
    }

}

/* =========================================================
   BEAUTY UI - PROGRAM KEAHLIAN / JURUSAN
   ========================================================= */

.jurusan-section {
    position: relative;
}

/* Card jurusan */
.jurusan-section .jurusan-card {
    position: relative;

    height: 100%;

    padding: 32px 28px;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.055);

    text-align: center;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Garis aksen atas */
.jurusan-section .jurusan-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: #198754;

    transform: scaleX(0);

    transform-origin: center;

    transition: transform 0.3s ease;
}

/* Hover card */
.jurusan-section .jurusan-card:hover {
    transform: translateY(-8px);

    border-color: rgba(25, 135, 84, 0.15);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.11);
}

.jurusan-section .jurusan-card:hover::before {
    transform: scaleX(1);
}


/* =========================================================
   LOGO JURUSAN
   ========================================================= */

.jurusan-section .jurusan-card .icon {
    display: flex;

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

    width: 100px;
    height: 100px;

    margin: 0 auto 22px;

    border-radius: 20px;

    background: #f7faf9;

    border: 1px solid rgba(25, 135, 84, 0.08);

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.jurusan-section .jurusan-card .icon img {
    width: 70px;
    height: 70px;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.jurusan-section .jurusan-card:hover .icon {
    background: rgba(25, 135, 84, 0.08);

    transform: translateY(-3px);
}

.jurusan-section .jurusan-card:hover .icon img {
    transform: scale(1.08);
}


/* =========================================================
   NAMA JURUSAN
   ========================================================= */

.jurusan-section .jurusan-card h3 {
    margin-bottom: 9px;

    font-size: 20px;

    line-height: 1.35;

    font-weight: 700;

    color: #222;
}


/* Singkatan */
.jurusan-section .jurusan-card h6 {
    display: inline-block;

    padding: 5px 12px;

    margin-bottom: 16px !important;

    border-radius: 20px;

    background: rgba(25, 135, 84, 0.09);

    color: #198754 !important;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.5px;
}


/* Deskripsi */
.jurusan-section .jurusan-card p {
    margin: 0;

    color: #666;

    font-size: 14px;

    line-height: 1.75;

    display: -webkit-box;

    -webkit-line-clamp: 4;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .jurusan-section .jurusan-card {
        padding: 28px 22px;

        border-radius: 17px;
    }

    .jurusan-section .jurusan-card .icon {
        width: 90px;
        height: 90px;

        margin-bottom: 18px;
    }

    .jurusan-section .jurusan-card .icon img {
        width: 62px;
        height: 62px;
    }

    .jurusan-section .jurusan-card h3 {
        font-size: 19px;
    }

    .jurusan-section .jurusan-card p {
        font-size: 14px;
    }

}

/* =========================================================
   BEAUTY UI - STATS / STATISTIK SEKOLAH
   ========================================================= */

.stats {
    position: relative;
    padding: 70px 0;
}

.stats .container {
    position: relative;
    z-index: 2;
}

/* Kolom statistik */
.stats .col-lg-3 {
    position: relative;
}

/* Icon */
.stats > .container > .row > div > i {
    display: flex;

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

    width: 68px;
    height: 68px;

    margin-bottom: 18px;

    border-radius: 18px;

    background: #ffffff;

    color: #198754;

    font-size: 30px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

/* Card angka */
.stats .stats-item {
    text-align: center;

    width: 100%;
}

/* Angka */
.stats .stats-item span {
    display: block;

    font-size: 42px;

    line-height: 1;

    font-weight: 800;

    color: #222;

    margin-bottom: 10px;
}

/* Label */
.stats .stats-item p {
    margin: 0;

    font-size: 15px;

    font-weight: 600;

    color: #666;

    letter-spacing: 0.2px;
}

/* Hover */
.stats .col-lg-3:hover > i {
    transform: translateY(-6px);

    background: #198754;

    color: #ffffff;

    box-shadow:
        0 14px 32px rgba(25, 135, 84, 0.22);
}

.stats .col-lg-3:hover .stats-item span {
    color: #198754;
}


/* =========================================================
   PEMBATAS ANTAR STATISTIK
   ========================================================= */

@media (min-width: 992px) {

    .stats .col-lg-3:not(:last-child)::after {
        content: "";

        position: absolute;

        right: 0;

        top: 50%;

        transform: translateY(-50%);

        width: 1px;

        height: 70px;

        background: rgba(0, 0, 0, 0.08);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .stats {
        padding: 55px 0;
    }

    .stats .col-lg-3 {
        margin-bottom: 30px;
    }

    .stats .col-lg-3:last-child {
        margin-bottom: 0;
    }

    .stats .stats-item span {
        font-size: 36px;
    }

}

@media (max-width: 575px) {

    .stats .stats-item span {
        font-size: 34px;
    }

    .stats > .container > .row > div > i {
        width: 60px;
        height: 60px;

        font-size: 26px;
    }

}

/* =========================================================
   BEAUTY UI - EKSTRAKURIKULER
   ========================================================= */

.ekskul-section {
    padding: 80px 0;
}

.ekskul-section .section-title {
    margin-bottom: 45px;
}

/* Card */
.ekskul-card {
    position: relative;

    height: 100%;

    padding: 35px 28px;

    text-align: center;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.06);

    border-radius: 20px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

/* Garis aksen atas */
.ekskul-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: #198754;

    transform: scaleX(0);

    transform-origin: center;

    transition: transform 0.35s ease;
}

/* Hover card */
.ekskul-card:hover {
    transform: translateY(-8px);

    border-color: rgba(25, 135, 84, 0.15);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.10);
}

.ekskul-card:hover::before {
    transform: scaleX(1);
}


/* =========================================================
   GAMBAR EKSKUL
   ========================================================= */

.ekskul-card .icon {
    display: flex;

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

    width: 105px;
    height: 105px;

    margin: 0 auto 22px;

    border-radius: 50%;

    background: #f1f8f5;

    border: 5px solid #ffffff;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.ekskul-card .icon img {
    width: 90px;
    height: 90px;

    border-radius: 50%;

    object-fit: cover;
}

.ekskul-card:hover .icon {
    transform: scale(1.06);

    box-shadow:
        0 12px 30px rgba(25, 135, 84, 0.18);
}


/* =========================================================
   JUDUL
   ========================================================= */

.ekskul-card h3 {
    margin-bottom: 8px;

    font-size: 21px;

    font-weight: 700;

    color: #222;
}

.ekskul-card h6 {
    margin-bottom: 20px;

    font-size: 14px;

    font-weight: 600;

    color: #198754 !important;
}


/* =========================================================
   INFORMASI
   ========================================================= */

.ekskul-card p {
    margin-bottom: 10px;

    color: #666;

    font-size: 14px;

    line-height: 1.7;
}

.ekskul-card p strong {
    color: #333;

    font-weight: 600;
}


/* Deskripsi terakhir */
.ekskul-card p:last-child {
    margin-top: 18px;

    padding-top: 18px;

    border-top: 1px solid rgba(0, 0, 0, 0.07);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .ekskul-section {
        padding: 60px 0;
    }

    .ekskul-card {
        padding: 30px 22px;
    }

    .ekskul-card .icon {
        width: 95px;
        height: 95px;
    }

    .ekskul-card .icon img {
        width: 80px;
        height: 80px;
    }

}

/* =========================================================
   BEAUTY UI - GALERI SEKOLAH
   ========================================================= */

.gallery {
    padding: 80px 0;
}

.gallery .section-title {
    margin-bottom: 45px;
}

/* Grid galeri */
.gallery .row {
    row-gap: 24px;
}

/* Card / item galeri */
.gallery-item {
    position: relative;
    overflow: hidden;

    height: 260px;

    border-radius: 16px;

    background: #f5f5f5;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* Link */
.gallery-item a {
    display: block;

    width: 100%;
    height: 100%;

    position: relative;

    overflow: hidden;
}

/* Gambar */
.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

/* Overlay */
.gallery-item a::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.05) 60%,
        transparent
    );

    opacity: 0;

    transition: opacity 0.35s ease;
}

/* Icon zoom */
.gallery-item a::before {
    content: "\f52a";

    font-family: "bootstrap-icons";

    position: absolute;

    z-index: 2;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -40%) scale(0.7);

    width: 48px;
    height: 48px;

    display: flex;

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

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: #198754;

    font-size: 21px;

    opacity: 0;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

/* Hover */
.gallery-item:hover {
    transform: translateY(-6px);

    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.13);
}

.gallery-item:hover img {
    transform: scale(1.08);

    filter: brightness(0.85);
}

.gallery-item:hover a::after {
    opacity: 1;
}

.gallery-item:hover a::before {
    opacity: 1;

    transform: translate(-50%, -50%) scale(1);
}


/* =========================================================
   GALERI DI HALAMAN INDEX
   ========================================================= */

#gallery .container > .row {
    margin-left: -12px;
    margin-right: -12px;
}

#gallery .col-lg-3,
#gallery .col-md-4 {
    padding-left: 12px;
    padding-right: 12px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .gallery-item {
        height: 230px;
    }

}

@media (max-width: 575px) {

    .gallery {
        padding: 60px 0;
    }

    .gallery-item {
        height: 220px;

        border-radius: 14px;
    }

}


/* =====================================================
   GALLERY DESIGN B — BENTO
   ===================================================== */

.gallery-bento {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 8px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-bento-item {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
    border-radius: 8px;
}

.gallery-bento-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-bento-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-bento-item:hover img {
    transform: scale(1.05);
}


/* FOTO 1 — BESAR */

.gallery-item-1 {
    grid-column: 1;
    grid-row: 1 / 3;
}


/* FOTO 2 */

.gallery-item-2 {
    grid-column: 2;
    grid-row: 1;
}


/* FOTO 3 */

.gallery-item-3 {
    grid-column: 3;
    grid-row: 1;
}


/* FOTO 4 */

.gallery-item-4 {
    grid-column: 2;
    grid-row: 2;
}


/* FOTO 5 */

.gallery-item-5 {
    grid-column: 3;
    grid-row: 2;
}


/* FOTO 6 */

.gallery-item-6 {
    display: none;
}


/* =====================================================
   OVERLAY
   ===================================================== */

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0)
    );

    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-bento-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: #fff;
}

.gallery-label {
    display: inline-block;

    padding: 5px 10px;

    border-radius: 20px;

    background: rgba(255,255,255,0.2);

    color: #fff;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1px;
}

.gallery-caption h3 {
    margin: 6px 0;

    color: #fff;

    font-size: 19px;
    font-weight: 700;
}

.gallery-date {
    color: rgba(255,255,255,0.9);

    font-size: 12px;
}


/* =====================================================
   BUTTON
   ===================================================== */

.gallery-button-wrapper {
    text-align: center;
    margin-top: 30px;
}

.gallery-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 22px;

    border-radius: 8px;

    background: #20c997;
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: 0.3s;
}

.gallery-more-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 991px) {

    .gallery-bento {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 250px 180px 180px;
    }

    .gallery-item-1 {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .gallery-item-2 {
        grid-column: 2;
        grid-row: 1;
    }

    .gallery-item-3 {
        grid-column: 2;
        grid-row: 2;
    }

    .gallery-item-4 {
        grid-column: 1;
        grid-row: 3;
    }

    .gallery-item-5 {
        grid-column: 2;
        grid-row: 3;
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 576px) {

    .gallery-bento {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 230px);
        gap: 8px;
    }

    .gallery-bento-item {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .gallery-item-6 {
        display: none;
    }

    .gallery-overlay {
        opacity: 1;
    }

}

/* =====================================================
   FIX GLIGHTBOX GALERI SEKOLAH
   ===================================================== */

.glightbox-container .gslide-image img {
    width: auto !important;
    height: auto !important;
    max-width: 90vw !important;
    max-height: 80vh !important;
    object-fit: contain !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.glightbox-container .gslide-image {
    background: transparent !important;
}

.glightbox-container .gslide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.glightbox-container .gslide-title {
    color: #fff !important;
}

/* =========================================
   HERO SLIDER BERANDA
========================================= */

.hero-gallery {
    position: relative;
    width: 100%;
    height: 390px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 4px solid white;
    display: block;
}

/* =========================
   GURU - NAMA & MAPEL
========================= */

.guru-card .member-info {
    text-align: center;
    padding: 15px 10px;
}

.guru-card .member-info h4 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
}

.guru-card .member-info span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin: 0;
}