/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*
* Customized for SMK Negeri 4 Bogor: horizontal topbar layout, split hero,
* stats strip, and Program Keahlian Unggulan section (per Figma design).
*/

/*--------------------------------------------------------------
# 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: #272829; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #050d18; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #149ddd; /* 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: #a8a9b4;  /* 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: #040b14; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #040b14; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #a8a9b4; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffffff; /* 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: #f4fafd;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #040b14;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #151f2b;
  --contrast-color: #ffffff;
}

/* Custom tokens used by the new topbar / hero / stats / program-keahlian sections.
   These derive from the global variables above so a brand color change still
   cascades through the whole site. */
:root {
  --sm-blue-dark: color-mix(in srgb, var(--accent-color), black 18%);
  --sm-ink-soft: color-mix(in srgb, var(--default-color), transparent 35%);
  --sm-bg: #f5f6f8;
  --sm-card-border: color-mix(in srgb, var(--default-color), transparent 90%);
}

/* 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);
  padding-top: 76px; /* space for the fixed topbar */
}

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 (horizontal topbar)
--------------------------------------------------------------*/
.topbar-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 997;
  background: var(--surface-color);
  box-shadow: 0 2px 12px rgba(5, 13, 24, 0.06);
  height: 76px;
}

.topbar-inner {
  height: 76px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.topbar-logo {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
}

.topbar-brand .sitename {
  font-family: var(--nav-font);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2px;
  color: var(--heading-color);
}

.topbar-search {
  flex: 1 1 auto;
  max-width: 300px;
  position: relative;
  display: flex;
  align-items: center;
}

.topbar-search i {
  position: absolute;
  left: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 55%);
  font-size: 14px;
}

.topbar-search input {
  width: 100%;
  border: 1px solid var(--sm-card-border);
  background: var(--sm-bg);
  border-radius: 20px;
  padding: 8px 14px 8px 34px;
  font-family: var(--default-font);
  font-size: 14px;
  color: var(--default-color);
  outline: none;
}

.topbar-search input:focus {
  border-color: var(--accent-color);
}

.topbar-toggle {
  display: none;
  margin-left: auto;
  font-size: 24px;
  color: var(--heading-color);
  cursor: pointer;
}

/*--------------------------------------------------------------
# Navigation Menu (horizontal topbar nav)
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}

.topbar-nav {
  margin-left: auto;
}

.topbar-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topbar-nav a {
  font-family: var(--nav-font);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--sm-ink-soft);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.topbar-nav a:hover,
.topbar-nav a.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.topbar-login {
  flex-shrink: 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.topbar-login:hover {
  background: var(--sm-blue-dark);
  color: var(--contrast-color);
}

@media (max-width: 991px) {
  .topbar-search { display: none; }
  .topbar-nav { display: none; }
  .topbar-toggle { display: block; }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

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

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# 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 Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

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

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

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

.page-title .breadcrumbs 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;
  overflow: clip;
}

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section (full-bleed photo + white gradient overlay)
--------------------------------------------------------------*/
.hero-cover {
  position: relative;
  min-height: 620px;
  padding: 90px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-cover-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.96) 32%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0.25) 68%,
    rgba(255, 255, 255, 0) 85%
  );
}

.hero-cover-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-cover-content .hero-split-text {
  max-width: 560px;
}

.hero-cover-card--top {
  top: 18%;
  right: 6%;
}

.hero-cover-card--bottom {
  bottom: 16%;
  right: 6%;
}

@media (max-width: 991px) {
  .hero-cover {
    min-height: auto;
    padding: 64px 0 320px;
  }
  .hero-cover-overlay {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.96) 45%,
      rgba(255, 255, 255, 0.55) 70%,
      rgba(255, 255, 255, 0.1) 100%
    );
  }
  .hero-cover-content .hero-split-text {
    max-width: none;
  }
  .hero-cover-card--top,
  .hero-cover-card--bottom {
    position: absolute;
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
  }
  .hero-cover-card--top { top: auto; bottom: 170px; }
  .hero-cover-card--bottom { bottom: 20px; }
}

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

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

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

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  color: var(--heading-color);
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
  color: var(--default-color);
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

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

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

/*--------------------------------------------------------------
# Hero Section (split layout, per Figma) - kept for reference, currently unused
--------------------------------------------------------------*/
.hero-split {
  padding: 72px 0 56px;
  background: var(--background-color);
}

.hero-split-row {
  display: grid;
  grid-template-columns: 0.92fr 1.18fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--nav-font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.hero-split-text h1 {
  font-family: var(--heading-font);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 18px;
}

.hero-split-text p {
  font-family: var(--default-font);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--sm-ink-soft);
  max-width: 46ch;
  margin-bottom: 28px;
}

.hero-split-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.btn-primary-pill {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-primary-pill:hover {
  background: var(--sm-blue-dark);
  color: var(--contrast-color);
}

.btn-text-link {
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--heading-color);
  text-decoration: none;
  border-bottom: 2px solid var(--heading-color);
  padding-bottom: 2px;
}

.btn-text-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.hero-split-media {
  position: relative;
}

.hero-split-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.hero-float-card {
  position: absolute;
  z-index: 4;
  width: 250px;
  background: var(--surface-color);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 12px 30px rgba(5, 13, 24, 0.14);
}

.hero-float-label {
  display: block;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.hero-float-card strong {
  display: block;
  font-family: var(--nav-font);
  font-size: 14.5px;
  color: var(--heading-color);
  margin-bottom: 6px;
  line-height: 1.35;
}

.hero-float-card p {
  font-family: var(--default-font);
  font-size: 12.5px;
  color: var(--sm-ink-soft);
  line-height: 1.5;
  margin-bottom: 8px;
}

.hero-float-card a {
  font-family: var(--nav-font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
}

/*--------------------------------------------------------------
# Stats Section (strip, per Figma)
--------------------------------------------------------------*/
.stats-strip {
  background: var(--sm-bg);
  border-top: 1px solid var(--sm-card-border);
  border-bottom: 1px solid var(--sm-card-border);
  padding: 36px 0;
}

.stats-strip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  border-right: 1px solid var(--sm-card-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number,
.stat-plus {
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-color);
}

.stat-label {
  display: block;
  font-family: var(--default-font);
  font-size: 13.5px;
  color: var(--sm-ink-soft);
  margin-top: 4px;
}

@media (max-width: 767px) {
  .stats-strip-row { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat-item:nth-child(2) { border-right: none; }
}

/*--------------------------------------------------------------
# Program Keahlian Section (new, per Figma)
--------------------------------------------------------------*/
.program-keahlian {
  padding: 64px 0;
  background: var(--background-color);
}

.program-keahlian.section .section-title {
  padding-bottom: 40px;
  text-align: center;
}

.program-keahlian .section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.program-keahlian .section-title p {
  font-family: var(--default-font);
  color: var(--sm-ink-soft);
  max-width: 60ch;
  margin: 0 auto;
}

.program-card {
  height: 100%;
  background: var(--surface-color);
  border: 1px solid var(--sm-card-border);
  border-radius: 14px;
  padding: 26px 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.program-card:hover {
  box-shadow: 0 14px 30px rgba(5, 13, 24, 0.08);
  transform: translateY(-3px);
}

.program-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.program-card h3 {
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.program-card p {
  font-family: var(--default-font);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--sm-ink-soft);
  margin-bottom: 14px;
}

.program-card a {
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
}

.program-card a:hover {
  color: var(--sm-blue-dark);
}

/*--------------------------------------------------------------
# Galeri Sekolah Preview Section (new, per Figma)
--------------------------------------------------------------*/
.galeri-preview .section-title {
  text-align: center;
  padding-bottom: 32px;
}

.galeri-preview .section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.galeri-preview .section-title p {
  font-family: var(--default-font);
  color: var(--sm-ink-soft);
  max-width: 60ch;
  margin: 0 auto;
}

.gallery-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.gallery-pills li {
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--sm-ink-soft);
  background: var(--sm-bg);
  border: 1px solid var(--sm-card-border);
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.2s ease;
}

.gallery-pills li:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.gallery-pills li.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.gallery-preview-img {
  border-radius: 14px;
  overflow: hidden;
  height: 220px;
}

.gallery-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-preview-img:hover img {
  transform: scale(1.06);
}

.btn-outline-pill {
  display: inline-block;
  margin-top: 36px;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 14px;
  color: var(--heading-color);
  border: 1px solid var(--sm-card-border);
  padding: 10px 26px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn-outline-pill:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Berita Terbaru Section (new, per Figma)
--------------------------------------------------------------*/
.berita .section-title {
  text-align: center;
  padding-bottom: 32px;
}

.berita .section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.berita .section-title p {
  font-family: var(--default-font);
  color: var(--sm-ink-soft);
  max-width: 60ch;
  margin: 0 auto;
}

.berita-card {
  position: relative;
  height: 100%;
  background: var(--surface-color);
  border: 1px solid var(--sm-card-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.berita-card:hover {
  box-shadow: 0 14px 30px rgba(5, 13, 24, 0.08);
  transform: translateY(-3px);
}

.berita-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.berita-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
}

.berita-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.berita-tag {
  font-family: var(--nav-font);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.berita-tag--prestasi {
  color: #d97706;
}

.berita-card h3 {
  font-family: var(--heading-font);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.35;
  margin-bottom: 8px;
}

.berita-card p {
  font-family: var(--default-font);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--sm-ink-soft);
  margin-bottom: 12px;
  flex: 1;
}

.berita-card > .berita-card-body > a {
  font-family: var(--nav-font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
}

.berita-card > .berita-card-body > a:hover {
  color: var(--sm-blue-dark);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

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

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
}

.services .service-item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--accent-color);
  margin-right: 20px;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 24px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .title a:hover {
  color: var(--accent-color);
}

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

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

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

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-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 15px 15px 15px;
  padding: 20px;
  background-color: var(--surface-color);
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid var(--surface-color);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

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

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

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

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  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 {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.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: var(--surface-color);
  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%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

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

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

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

/*--------------------------------------------------------------
# Contact Section (restyled to match the new theme)
--------------------------------------------------------------*/
.contact-title {
  text-align: center;
}

.contact-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.contact-title p {
  font-family: var(--default-font);
  color: var(--sm-ink-soft);
  max-width: 60ch;
  margin: 0 auto;
}

.contact .info-wrap {
  background-color: var(--surface-color);
  border: 1px solid var(--sm-card-border);
  border-radius: 14px;
  box-shadow: none;
  padding: 26px;
  overflow: hidden;
}

.contact .info-item {
  margin-bottom: 26px;
}

.contact .info-item i {
  font-size: 18px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.2s ease;
  margin-right: 14px;
}

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

.contact .info-item h3 {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 4px;
}

.contact .info-item p {
  font-family: var(--default-font);
  font-size: 13.5px;
  color: var(--sm-ink-soft);
  line-height: 1.55;
}

.contact .info-wrap iframe {
  border-radius: 12px;
  margin-top: 4px;
}

.contact .php-email-form {
  background-color: var(--surface-color);
  border: 1px solid var(--sm-card-border);
  border-radius: 14px;
  box-shadow: none;
  padding: 26px;
}

.contact .php-email-form label {
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-color);
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-family: var(--default-font);
  border-radius: 8px;
  border-color: var(--sm-card-border);
}

.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);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 88%);
}

.contact .php-email-form button[type=submit] {
  font-family: var(--nav-font);
  font-weight: 600;
  border-radius: 8px;
  padding: 11px 30px;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--sm-blue-dark);
}

/*--------------------------------------------------------------
# Login Page (Admin)
--------------------------------------------------------------*/
.login-page {
  font-family: var(--default-font);
  background: linear-gradient(135deg, var(--sm-bg) 0%, #eef3fb 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-wrap {
  width: 100%;
  max-width: 420px;
}

.login-card {
  background: var(--surface-color);
  border: 1px solid var(--sm-card-border);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(5, 13, 24, 0.1);
  padding: 36px 32px;
}

.login-brand {
  text-align: center;
  margin-bottom: 26px;
}

.login-brand img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 14px;
}

.login-brand h1 {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.35;
  margin-bottom: 6px;
}

.login-brand p {
  font-family: var(--default-font);
  font-size: 13.5px;
  color: var(--sm-ink-soft);
}

.login-alert {
  background: color-mix(in srgb, #df1529, transparent 90%);
  border: 1px solid color-mix(in srgb, #df1529, transparent 70%);
  color: #b3121f;
  font-family: var(--default-font);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
}

.login-field {
  margin-bottom: 18px;
}

.login-field label {
  display: block;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.login-input {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input i:first-child {
  position: absolute;
  left: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 55%);
  font-size: 15px;
}

.login-input input {
  width: 100%;
  border: 1px solid var(--sm-card-border);
  background: var(--sm-bg);
  border-radius: 8px;
  padding: 10px 40px;
  font-family: var(--default-font);
  font-size: 14px;
  color: var(--default-color);
  outline: none;
  transition: border-color 0.2s ease;
}

.login-input input:focus {
  border-color: var(--accent-color);
  background: var(--surface-color);
}

.login-toggle-password {
  position: absolute;
  right: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 55%);
  font-size: 15px;
  cursor: pointer;
}

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--default-font);
  font-size: 13px;
  color: var(--sm-ink-soft);
  cursor: pointer;
}

.login-remember input {
  accent-color: var(--accent-color);
}

.login-forgot {
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
}

.login-forgot:hover {
  color: var(--sm-blue-dark);
}

.login-submit {
  width: 100%;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.login-submit:hover {
  background: var(--sm-blue-dark);
}

.login-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--sm-ink-soft);
  text-decoration: none;
}

.login-back:hover {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Merchandise Section (public, homepage)
--------------------------------------------------------------*/
.merchandise .section-title {
  text-align: center;
  padding-bottom: 32px;
}

.merchandise .section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.merchandise .section-title p {
  font-family: var(--default-font);
  color: var(--sm-ink-soft);
  max-width: 60ch;
  margin: 0 auto;
}

.merch-card {
  height: 100%;
  background: var(--surface-color);
  border: 1px solid var(--sm-card-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.merch-card:hover {
  box-shadow: 0 14px 30px rgba(5, 13, 24, 0.08);
  transform: translateY(-3px);
}

.merch-thumb {
  height: 180px;
}

.merch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merch-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.merch-body h3 {
  font-family: var(--heading-font);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.merch-price {
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 14px;
}

.merch-order-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #25d366;
  color: #fff;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 0;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.merch-order-btn:hover {
  background: #1eab54;
  color: #fff;
}

.merch-empty {
  text-align: center;
  color: var(--sm-ink-soft);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Pengumuman Terbaru list (di dalam section Berita Terbaru)
--------------------------------------------------------------*/
.pengumuman-list-wrap {
  max-width: 900px;
  margin: 0 auto 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pengumuman-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface-color);
  border: 1px solid var(--sm-card-border);
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pengumuman-item:hover {
  box-shadow: 0 10px 24px rgba(5, 13, 24, 0.08);
  transform: translateY(-2px);
}

.pengumuman-item-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pengumuman-item-left i {
  font-size: 18px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pengumuman-item-left h4 {
  font-family: var(--heading-font);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 4px;
}

.pengumuman-item-left p {
  font-family: var(--default-font);
  font-size: 12.5px;
  color: var(--sm-ink-soft);
  margin: 0;
  line-height: 1.5;
}

.pengumuman-date {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  color: var(--sm-ink-soft);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .pengumuman-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*--------------------------------------------------------------
# Popup Modal Berita Terbaru (klik item pengumuman -> detail)
--------------------------------------------------------------*/
.pengumuman-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pengumuman-modal-overlay.show {
  display: flex;
}

.pengumuman-modal-card {
  background: var(--surface-color);
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: pengumumanPop 0.2s ease-out;
}

@keyframes pengumumanPop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.pengumuman-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--sm-ink-soft);
  cursor: pointer;
}

.pengumuman-modal-close:hover {
  color: var(--heading-color);
}

.pengumuman-modal-date {
  display: inline-block;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.pengumuman-modal-title {
  font-family: var(--heading-font);
  font-weight: 700;
  margin-bottom: 14px;
}

.pengumuman-modal-content {
  font-family: var(--default-font);
  color: var(--sm-ink-soft);
  white-space: pre-line;
  line-height: 1.7;
  margin: 0;
}

/*--------------------------------------------------------------
# Lupa Password popup (login page)
--------------------------------------------------------------*/
.lupa-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 13, 24, 0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lupa-overlay.show {
  display: flex;
}

.lupa-card {
  position: relative;
  background: var(--surface-color);
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(5, 13, 24, 0.25);
}

.lupa-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--sm-ink-soft);
  cursor: pointer;
}

.lupa-close:hover {
  color: var(--heading-color);
}

.lupa-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.lupa-card h3 {
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.lupa-card p {
  font-family: var(--default-font);
  font-size: 13.5px;
  color: var(--sm-ink-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}

.lupa-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #25d366;
  color: #fff;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 0;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.lupa-contact-btn:hover {
  background: #1eab54;
  color: #fff;
}

.lupa-alt-contact {
  margin: 14px 0 0 !important;
  font-size: 12.5px !important;
}

/*--------------------------------------------------------------
# Sosmed Cards (section Kontak, publik)
# Tambahkan ke akhir public/assets/css/main.css
--------------------------------------------------------------*/
.sosmed-wrap h4 {
  font-family: var(--heading-font);
  font-size: 19px;
  font-weight: 700;
  color: var(--heading-color);
}

.sosmed-wrap > p {
  font-family: var(--default-font);
  font-size: 13.5px;
  color: var(--sm-ink-soft);
}

.sosmed-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-color);
  border: 1px solid var(--sm-card-border);
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.sosmed-card:hover {
  box-shadow: 0 10px 24px rgba(5, 13, 24, 0.08);
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.sosmed-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.sosmed-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sosmed-text strong {
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--heading-color);
}

.sosmed-text small {
  font-family: var(--default-font);
  font-size: 12px;
  color: var(--sm-ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sosmed-arrow {
  font-size: 15px;
  color: var(--sm-ink-soft);
  flex-shrink: 0;
}

.sosmed-card:hover .sosmed-arrow {
  color: var(--accent-color);
}

/* Hanya aktif di HP. Desktop tidak terpengaruh. */
@media (max-width: 575.98px) {
  .header .container-fluid,
  .header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header .logo img {
    max-height: 30px;
    margin-right: 6px;
  }

  .header .logo .sitename,
  .header .logo span {
    font-size: 15px;
  }

  .header .btn-getstarted {
    padding: 6px 14px;
    font-size: 13px;
    margin: 0 0 0 8px;
  }

  .header .mobile-nav-toggle {
    margin-right: 4px;
    font-size: 26px;
  }
}

/* ===== HP & tablet saja (di bawah 992px). Desktop tidak terpengaruh ===== */
@media (max-width: 991.98px) {

  .topbar-inner {
    position: relative;
  }

  /* menu tersembunyi, muncul saat hamburger diklik */
  .topbar-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 8px 20px 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 999;
  }

  .topbar-header.header-show .topbar-nav {
    display: block !important;
  }

  .topbar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .topbar-nav li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eef1f5;
  }
}

/* ===== HP kecil saja (di bawah 576px): perbaiki Login yang terpotong ===== */
@media (max-width: 575.98px) {

  .topbar-inner {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .topbar-brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .topbar-logo {
    max-height: 30px;
    width: auto;
  }

  .topbar-brand .sitename {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .topbar-toggle {
    font-size: 26px;
    flex-shrink: 0;
  }

  .topbar-login {
    padding: 6px 14px;
    font-size: 13px;
    flex-shrink: 0;
  }
}

/* HP & tablet saja. Desktop tidak terpengaruh */
@media (max-width: 991.98px) {

  .hero-float-card {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px 0 0 !important;
  }

  .hero-float-card + .hero-float-card {
    margin-top: 12px !important;
  }
}

.glightbox-container .gslide-image img {
  max-height: 70vh !important;
  max-width: 90vw !important;
  width: auto !important;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .hero-float-card {
    display: none !important;
  }
}
