/* Guest Layout Styles - Color Palette and Fonts */

/* Google Fonts Import */
@font-face {
  font-family: "Scandia";
  src: url("../fonts/Scandia.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Questrial";
  src: url("../fonts/Questrial-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat Semibold";
  src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat Medium";
  src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat Regular";
  src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Light";
  src: url("../fonts/Roboto-Light.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Google Fonts Import */
/* @import url('https://fonts.googleapis.com/css2?family=Questrial&family=Roboto:wght@300;400;500;600;700&display=swap'); */

/* Color Palette */
:root {
  --main-color: #186d85;
  /* Main */
  --secondary-color: #088eaf;
  /* Secondary */
  --tertiary-color: #0099cc;
  /* Tertiary */
  --main-dark-color: #333333;
  /* Main Dark */
  --main-light-color: #ffffff;
  /* Main Light */
  --subtle-separator-color: #e0e0e0;
  /* Subtle Separator */
  --white-color: #ffffff;
  --black-color: #000000;
}

/* Font Definitions */
:root {
  --primary-font: "Questrial", sans-serif;
  --secondary-font: "Roboto Light", sans-serif;
  --menu-header-font: "Montserrat Semibold", sans-serif;
  --footer-head-font: "Montserrat Medium", sans-serif;
  --footer-text-font: "Montserrat Regular", sans-serif;
  --monospace-font: "Courier New", monospace;
}

/* Base Styles */
html {
  box-sizing: border-box;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.homepage-main-content {
  width: 100%;
  max-width: 100vw;
}

body {
  /* background-image: url('../../storage/BG.png');
  background-repeat: repeat;
  background-size: cover; */
  background-position: center;
  /* padding-top: 120px; Increased padding for more top margin */
  font-family: var(--primary-font);
  color: var(--main-dark-color);
  /* display: flex;
  flex-direction: column; */
}

/* Typography Scale - All using Questrial with appropriate weights */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--menu-header-font);
  font-size: 40px;
  color: var(--main-light-color);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 400 !important;
}

h3 {
  font-size: 1.75rem;
  font-weight: 500;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

h5 {
  font-size: 1.25rem;
  font-weight: 400;
}

h6 {
  font-size: 1rem;
  font-weight: 400;
}

/* Bubble Nav Styling - Transparent with Blur (WhatsApp Style) */

/* === BASE NAV (berlaku untuk semua ukuran) === */
.bubble-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 95%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 10px 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin: 40px auto;
  z-index: 3;
  border-radius: 50px;
  transition: all 0.3s ease;
  height: auto;
  /* penting: jangan fixed height */
  display: flex;
  align-items: stretch;
}

/* ——— Laptop / Desktop Kecil (1025px — 1200px) ——— */
@media (max-width: 1200px) {
  .bubble-nav {
    max-width: 100%;
    width: 95%;
    padding: 10px 20px;
  }
}

/* ——— Mobile Landscape / Tablet Kecil (481px — 768px) ——— */
@media (max-width: 768px) {
  .bubble-nav {
    border-radius: 0 !important;
    width: auto !important;
    max-width: none !important;
    padding: 10px 16px;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0;
    transform: none !important;
    overflow: visible;
    min-height: 56px;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
  }
}

/* ——— Mobile Portrait (320px — 480px) ——— */
@media (max-width: 480px) {
  .bubble-nav {
    padding: 10px 12px;
    min-height: 56px;
  }

  .topnav-logo img {
    height: 32px;
  }
}

/* Scroll effect */
.bubble-nav.scrolled {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Main nav content container */
.topnav-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  height: auto;
}

.topnav-logo img {
  height: 50px;
  width: auto;
  display: flex;
  align-items: center;
}

.topnav-search {
  flex: 0 1 auto;
  max-width: 200px;
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  height: 100%;
  vertical-align: middle;
}

.search-form {
  position: relative;
  width: 100%;
  display: inline-flex;
  align-items: center;
  height: 36px;
  vertical-align: middle;
  margin: 0;
  line-height: 1;
}

.search-input {
  width: 100%;
  height: 36px;
  padding: 6px 40px 6px 14px;
  border: 1px solid var(--subtle-separator-color);
  border-radius: 25px;
  font-family: var(--secondary-font);
  outline: none;
  transition: all 0.3s ease;
  font-size: 14px;
  line-height: 1;
  vertical-align: middle;
  margin: 0;
}

.search-input:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 2px rgba(24, 109, 133, 0.1);
}

.search-input::placeholder {
  color: #999;
  font-weight: 300;
}

.search-submit-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--main-color);
  padding: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.search-submit-btn:hover {
  transform: translateY(-50%) scale(1.05);
}

.search-submit-btn svg {
  width: 16px;
  height: 16px;
}

.topnav-menu {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  line-height: 1;
  margin: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--black-color);
  font-family: var(--secondary-font);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.02rem;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 36px;
  line-height: 1;
  vertical-align: middle;
  margin: 0;
}

.login-btn {
  background-color: var(--main-color);
  color: white;
  padding: 8px 20px !important;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--main-dark-color);
  background-color: rgba(0, 152, 202, 0.1);
}

/* Active state for current page */
.nav-link.active {
  color: var(--tertiary-color);
}

/* Mobile language toggle - hidden by default on desktop */
.mobile-language-toggle {
  display: none;
}

/* Mobile auth section - hidden by default on desktop */
.mobile-auth-section {
  display: none;
}

.topnav-language .language-btn {
  border-radius: 20px;
  border: 1.5px solid var(--subtle-separator-color);
  color: var(--main-dark-color);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  height: 36px;
  font-size: 14px;
  line-height: 1;
  vertical-align: middle;
  margin: 0;
}

.topnav-language .language-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.topnav-language .language-btn:hover::before {
  left: 100%;
}

.topnav-language .language-btn:hover {
  background: linear-gradient(135deg, var(--main-color) 0%, #0056b3 100%);
  border-color: var(--main-color);
  color: var(--main-light-color);
}

.topnav-language .language-btn:active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.topnav-language img {
  width: 30px;
  height: 20px;
  border-radius: 3px;
  object-fit: fill;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.flag-rect {
  aspect-ratio: 3/2;
}

.language-text {
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

/* Search Toggle Button — always hidden, search is a visible field on mobile */
.search-toggle-btn {
  display: none !important;
}

/* Mobile Search inside hamburger menu — hidden (search is now in navbar bar) */
.mobile-search-section {
  display: none !important;
}

/* ===== MOBILE INLINE NAVBAR SEARCH ===== */
/* Hidden on desktop, visible on mobile as an inline field */
.mobile-navbar-search {
  display: none;
}

@media (max-width: 768px) {
  /* Show inline search bar on mobile — compact, next to hamburger */
  .mobile-navbar-search {
    display: flex;
    flex: 0 0 auto;
    order: 9;
    margin-left: auto;
    margin-right: 8px;
  }

  /* Hide desktop search box */
  .topnav-search {
    display: none !important;
  }

  .mobile-navbar-search-form {
    width: auto;
  }

  .mobile-navbar-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 150px;
    background: #f4f6f8;
    border: 1.5px solid #dde3ea;
    border-radius: 24px;
    padding: 0 34px 0 12px;
    height: 36px;
    box-sizing: border-box;
    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .mobile-navbar-search-wrap:focus-within {
    border-color: var(--main-color);
    box-shadow: 0 0 0 2px rgba(24, 109, 133, 0.12);
    background: #fff;
    width: 180px;
  }

  .mobile-navbar-search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-color);
    pointer-events: none;
    flex-shrink: 0;
  }

  .mobile-navbar-search-input {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-family: var(--secondary-font);
    font-size: 13px;
    color: #333;
    padding: 0;
  }

  .mobile-navbar-search-input::placeholder {
    color: #aaa;
    font-size: 13px;
  }
}

.mobile-search-form {
  width: 100%;
}

.mobile-search-input-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.mobile-search-input {
  width: 100%;
  height: 46px;
  padding: 10px 52px 10px 18px;
  border: 1.5px solid #d0d7de;
  border-radius: 24px;
  font-family: var(--secondary-font);
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  box-sizing: border-box;
  color: #333;
  background: #ffffff;
}

.mobile-search-input:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 2px rgba(24, 109, 133, 0.1);
}

.mobile-search-input::placeholder {
  color: #aaa;
}

.mobile-search-submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--main-color);
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.mobile-search-submit:hover {
  background-color: var(--main-dark-color);
}

.navbar-brand {
  font-family: var(--primary-font);
  font-weight: 700;
  color: var(--main-color);
}

.navbar-nav .nav-link {
  color: var(--main-dark-color);
  font-family: var(--secondary-font);
}

.navbar-nav .nav-link:hover {
  color: var(--main-color);
}

/* Form Elements */
.form-control {
  border-color: var(--subtle-separator-color);
  font-family: var(--primary-font);
}

.form-control:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 0.2rem rgba(24, 109, 133, 0.25);
}

.btn-primary {
  background-color: var(--main-color);
  border-color: var(--main-color);
  font-family: var(--primary-font);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* Homepage Specific Styles */
.homepage-hero {
  text-align: center;
  padding: 2rem 0;
  margin-left: 0;
}

.homepage-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 0.5rem;
  text-align: center;
  width: 100%;
}

.hero-full-section {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.homepage-image-container {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  overflow: hidden;
}

.homepage-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #033b49, #088eaf);
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
}

.homepage-image {
  width: 100%;
  max-width: 100%;
  height: 100vh;
  display: block;
  position: relative;
  z-index: 0;
  object-fit: cover;
}

.homepage-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: var(--primary-font);
  font-size: 3rem;
  font-weight: lighter;
  text-align: center;
  z-index: 2;
  max-width: 90%;
}

.vision-mission-section {
  background: transparent;
  padding: 2rem clamp(1rem, 8vw, 12rem);
  border-radius: 12px;
  margin: 1.5rem 0;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .vision-mission-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile Responsive - Full Screen */
@media (max-width: 768px) {
  .homepage-main-content {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 30px;
  }

  /* Hero section — full screen, no offset needed (navbar is fixed) */
  .hero-full-section {
    width: 100%;
    height: 100vh;
    flex: 0 0 100vh;
    margin-left: 0;
    margin-right: 0;
  }

  .homepage-image-container {
    width: 100%;
    height: 100vh;
  }

  .homepage-hero {
    padding: 1.5rem 0;
    margin-bottom: 1rem;
  }

  .homepage-hero h1 {
    font-size: 2rem;
    padding: 0 10px;
  }

  .homepage-image {
    width: 100%;
    height: 100vh;
    min-height: 300px;
    border-radius: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    object-fit: cover;
  }

  .vision-mission-section {
    padding: 1rem 0;
    margin: 1rem 0;
  }

  .vision-mission-grid {
    gap: 1rem;
  }

  .vision-card,
  .mission-card {
    padding: 1.5rem;
    border-radius: 12px;
    margin: 0;
    background: #ffffff;
  }

  .vision-card h2,
  .mission-card h2 {
    color: var(--main-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .vision-card p,
  .mission-card ul {
    font-family: var(--secondary-font);
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .navigation-cards {
    margin: 1.5rem 0;
  }

  .card-grid {
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-card {
    min-height: 150px;
    padding: 1.5rem;
    border-radius: 12px;
  }

  .nav-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .nav-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .homepage-main-content {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
  }

  .hero-full-section {
    width: 100%;
    height: 100dvh;
    flex: 0 0 100dvh;
    margin-left: 0;
    margin-right: 0;
  }

  .homepage-image-container {
    width: 100%;
    height: 100dvh;
  }

  .homepage-hero h1 {
    font-size: 1.75rem;
  }

  .homepage-image-container {
    width: 100%;
    height: 100dvh;
  }

  .homepage-image {
    width: 100%;
    height: 100dvh;
    min-height: 260px;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    object-fit: cover;
  }

  .vision-card,
  .mission-card {
    padding: 1.25rem;
    background: #ffffff;
  }

  .nav-card {
    min-height: 130px;
    padding: 1.25rem;
  }
}

.vision-card,
.mission-card {
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
  color: var(--white-color);
  background: #ffffff;
  /* Solid white background to hide the pattern from homepage-main-content */
}

.mission-card {
  color: var(--main-color);
  background: #ffffff;
  /* Solid white background to hide the pattern from homepage-main-content */
}

.vision-card h2,
.mission-card h2 {
  color: var(--main-color);
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.vision-card p,
.mission-card ul {
  color: var(--main-dark-color);
  line-height: 1.6;
}

.mission-card ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.mission-card li {
  margin-bottom: 0.5rem;
}

.navigation-cards {
  margin: 2rem 0;
  padding: 0 2rem;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 0 auto 2rem;
  max-width: 1200px;
}

.nav-card {
  width: 360px;
  height: 480px;
  background: #e0eff5;
  padding: 0;
  border-radius: 16px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.nav-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* Desktop: 3 cards per row max, so 2 cards on second row stay centered */
@media (min-width: 992px) {
  .card-grid {
    max-width: 1170px;
    /* 3 cards × 360px + 2 gaps × 30px = 1140px + padding */
  }
}

/* Tablet: 2 cards per row */
@media (max-width: 991px) and (min-width: 768px) {
  .card-grid {
    max-width: 780px;
    /* 2 cards × 360px + 1 gap × 30px */
    gap: 30px;
  }

  .navigation-cards {
    padding: 0 1rem;
  }
}

/* Mobile: 1 card per row, reduce card size */
@media (max-width: 767px) {
  .navigation-cards {
    margin: 1.5rem 0;
    padding: 0 1rem;
  }

  .card-grid {
    gap: 20px;
  }

  .nav-card {
    width: 100%;
    max-width: 360px;
    height: auto;
    min-height: 420px;
  }

  .nav-card-image {
    width: calc(100% - 40px);
    height: auto;
    aspect-ratio: 1;
    max-width: 320px;
    max-height: 320px;
  }

  .nav-card-content {
    padding: 15px 20px 25px 20px;
  }

  .nav-card h3 {
    font-size: 20px;
  }

  .nav-card p {
    font-size: 13px;
  }
}

.nav-card-image {
  width: auto;
  height: auto;
  margin: 20px 20px 0 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  position: relative;
  flex-shrink: 0;
  border-radius: 12px;
}

.nav-card-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.3s ease;
}

.nav-card:hover .nav-card-image img {
  transform: scale(1.05);
}

.nav-card-content {
  padding: 20px 25px 30px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  background: transparent;
}

.nav-card h3 {
  color: #186d85;
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--primary-font);
}

.nav-card p {
  color: #333;
  margin: 0;
  line-height: 1.5;
  font-size: 14px;
  font-family: var(--secondary-font);
  text-transform: none;
}

.menu-hero {
  width: 100%;
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 120px 350px 0px 350px;
  color: white;
  position: relative;
  margin-bottom: 100px;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
  top: 0;
  /* Hero section should not show the background pattern */
  background-color: transparent;
  box-sizing: border-box;
  margin-top: 0;
  padding-top: 130px;
}

.menu-hero .content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  text-align: left;
}

.menu-hero h1 {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  color: white;
  width: 100%;
  text-align: left;
  font-family: var(--menu-header-font);
}

.menu-hero p {
  font-size: 1rem;
  font-weight: 400;
  position: relative;
  z-index: 2;
  color: white;
  max-width: 100%;
  margin: 0;
  text-align: left;
  font-family: var(--secondary-font);
  line-height: 1.5;
}

/* Category styling */
.category-section {
  margin-bottom: 60px;
  padding-bottom: 0;
  clear: both;
  /* Transparent background to show the pattern from homepage-main-content */
  background: transparent;
}

.category-title {
  font-family: var(--primary-font);
  color: #186d85;
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 10px;
}

.category-description {
  color: #333;
  font-family: var(--secondary-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 15px;
  max-width: 90%;
}

/* Color line styling */
.color-line {
  display: flex;
  margin: 5px 0 20px;
  height: 3px;
  width: 80px;
}

.color-segment {
  height: 100%;
}

.color-segment.teal {
  background-color: #0097a7;
  width: 40%;
}

.color-segment.gray {
  background-color: #9e9e9e;
  width: 20%;
}

.color-segment.dark-gray {
  background-color: #424242;
  width: 20%;
}

.color-segment.light-gray {
  background-color: #e0e0e0;
  width: 20%;
}

/* Mockup cards */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.menu-item {
  background-color: #ffffff;
  /* padding: 25px; */
  border-radius: 0;
  margin-bottom: 30px;
  width: 100%;
}

/* Logo card specific */
.nav-card[href*="logo"] {
  border-left: none;
}

/* Typography card specific */
.nav-card[href*="tipografi"] {
  border-left: none;
}

/* Document card specific */
.nav-card[href*="dokumen"] {
  border-left: none;
}

/* Visual components card specific */
.nav-card[href*="komponen-visual"] {
  border-left: none;
}

/* Mockup card specific */
.nav-card[href*="mockup"] {
  border-left: none;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  h5 {
    font-size: 1.125rem;
  }

  h6 {
    font-size: 1rem;
  }
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  line-height: 1;
  margin: 0;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--main-dark-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ====================================================
   RESPONSIVE TOPNAV — Standar Breakpoints
   ==================================================== */

/* ——— Laptop / Desktop Kecil (1025px — 1200px) ———
   Sedikit squeeze, search tetap tampil */
@media (max-width: 1200px) {
  .topnav-menu .nav-link {
    font-size: 14px;
    padding: 6px 10px;
  }

  .topnav-search {
    max-width: 160px;
    min-width: 120px;
  }

  .topnav-content {
    gap: 0.75rem;
  }

  .topnav-language .language-text {
    display: none;
  }

  .topnav-language img {
    width: 24px;
    height: 16px;
  }
}

/* ——— Tablet / iPad (769px — 1024px) ———
   Navbar tetap full, squeeze lebih agresif */
@media (max-width: 1024px) {
  .bubble-nav {
    width: 98%;
    max-width: 100%;
  }

  .topnav-menu .nav-link {
    font-size: 13px;
    padding: 6px 6px;
    letter-spacing: 0;
  }

  .topnav-search {
    max-width: 130px;
    min-width: 100px;
  }

  .topnav-content {
    gap: 0.4rem;
  }

  .topnav-logo img {
    height: 38px;
  }

  .login-btn {
    padding: 6px 12px !important;
    font-size: 13px;
  }

  .topnav-language .language-btn {
    padding: 5px 8px;
  }
}

/* ——— Mobile Landscape / Tablet Kecil (481px — 768px) ———
   Hamburger menu aktif, nav items jadi dropdown */
@media (max-width: 768px) {
  /* Show hamburger */
  .mobile-menu-toggle {
    display: flex;
    order: 10;
    flex-shrink: 0;
    margin-left: 0;
  }

  /* Always hide desktop search & search toggle on mobile */
  .search-toggle-btn {
    display: none !important;
  }

  .topnav-search {
    display: none !important;
  }

  .login-btn,
  .topnav-language {
    display: none;
  }

  /* Nav menu: full-width dropdown panel */
  .topnav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease;
  }

  .topnav-menu.active {
    display: flex;
    max-height: calc(100dvh - 60px);
    min-height: 320px;
    opacity: 1;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Nav links inside dropdown */
  .topnav-menu .nav-link {
    width: 100%;
    padding: 14px 24px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    height: auto;
    white-space: normal;
    transition: background-color 0.2s ease;
  }

  .topnav-menu .nav-link:hover,
  .topnav-menu .nav-link.active {
    background-color: rgba(0, 152, 202, 0.08);
    color: var(--main-color);
  }

  .topnav-menu .nav-link.active {
    font-weight: 600;
    border-left: 3px solid var(--main-color);
  }

  /* Mobile auth section */
  .mobile-auth-section {
    display: block;
    border-top: 1px solid #eee;
    padding: 12px 24px;
    margin-top: 4px;
  }

  .mobile-auth-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--main-color);
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    transition: background-color 0.2s ease;
    font-family: var(--secondary-font);
  }

  .mobile-auth-btn:hover {
    background: var(--main-dark-color);
  }

  .mobile-auth-form {
    width: 100%;
  }

  /* Mobile language toggle */
  .mobile-language-toggle {
    display: block;
    padding: 12px 24px;
  }

  .mobile-language-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #f5f7fa;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    font-size: 15px;
    font-family: var(--secondary-font);
    color: #333;
    transition: all 0.2s ease;
  }

  .mobile-language-btn:hover {
    background: #edf2f7;
    border-color: #ccc;
  }

  .mobile-language-btn img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: fill;
  }

  /* Topnav content layout */
  .topnav-content {
    position: relative;
    justify-content: space-between;
    gap: 0;
    width: 100%;
  }

  .topnav-logo {
    flex-shrink: 0;
  }

  .topnav-logo img {
    height: 38px;
  }
}

/* ——— Mobile Portrait (320px — 480px) ———
   Padding lebih ketat, tap target tetap 44px+ */
@media (max-width: 480px) {
  .topnav-menu .nav-link {
    padding: 14px 20px;
    font-size: 15px;
  }

  .topnav-menu.active {
    max-height: calc(100dvh - 70px);
    min-height: 280px;
    padding: 12px 0 20px 0;
  }

  .mobile-auth-section {
    padding: 14px 20px;
  }

  .mobile-language-toggle {
    padding: 14px 20px;
    margin-bottom: 8px;
  }
}

.social-link {
  color: white;
}

.social-link:hover {
  color: #e0f2fe;
}

/* ========== SEARCH PAGE STYLES ========== */

/* Search Results Styles */
.search-results-container {
  max-width: 1200px;
  margin: 150px auto 90px;
  padding: 0 20px;
}

.search-header {
  margin-bottom: 40px;
}

.search-title {
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.search-query {
  font-size: 24px;
  color: #666;
  font-weight: 400;
}

.search-count {
  font-size: 16px;
  color: #999;
  margin-top: 10px;
}

.result-item {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.result-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-left-color: #088eaf;
  transform: translateX(4px);
}

.result-type {
  display: inline-block;
  background: #088eaf;
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 600;
}

.result-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.result-date {
  font-size: 14px;
  color: #999;
}

.result-title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.result-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.3;
}

.result-title a,
.result-subtitle a,
.result-description a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.result-item:hover .result-title a {
  color: #088eaf;
}

.result-description {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
}

.no-results-icon {
  font-size: 64px;
  color: #ddd;
  margin-bottom: 20px;
}

.no-results-title {
  font-size: 24px;
  font-weight: 600;
  color: #666;
  margin-bottom: 10px;
}

.no-results-text {
  font-size: 16px;
  color: #999;
  margin-bottom: 20px;
}

.back-btn {
  display: inline-block;
  background: #088eaf;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.back-btn:hover {
  background: #0056b3;
}

/* Highlight Animation */
@keyframes highlight-pulse {
  0% {
    background-color: #fff;
    box-shadow: 0 0 0 0 rgba(8, 142, 175, 0.4);
  }

  50% {
    background-color: #e3f4f7;
    box-shadow: 0 0 20px 10px rgba(8, 142, 175, 0.3);
  }

  100% {
    background-color: #fff;
    box-shadow: 0 0 0 0 rgba(8, 142, 175, 0);
  }
}

.highlight-target {
  animation: highlight-pulse 2s ease-in-out;
  scroll-margin-top: 100px;
}

/* Search Page Responsive */
@media (max-width: 768px) {
  .search-results-container {
    margin-top: 64px;
  }

  .search-title {
    font-size: 24px;
  }

  .search-query {
    font-size: 18px;
  }

  .result-item {
    padding: 16px;
  }

  .result-title {
    font-size: 18px;
  }

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

/* ========== CONTENT DETAIL PAGE STYLES ========== */

.detail-container {
  max-width: 900px;
  margin: 110px auto 50px;
  padding: 0 20px;
  padding-top: 30px;
}

.detail-image {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: fill;
  border-radius: 12px;
  margin-bottom: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.detail-content {
  background: white;
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.detail-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.detail-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #006d6d;
  margin: 0;
  line-height: 1.3;
}

.detail-description {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.detail-description p {
  margin-bottom: 15px;
}

.detail-description h2,
.detail-description h3,
.detail-description h4 {
  margin-top: 25px;
  margin-bottom: 15px;
  color: #006d6d;
}

.detail-description ul,
.detail-description ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

.detail-description li {
  margin-bottom: 8px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #088eaf;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-family: var(--primary-font);
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 152, 202, 0.3);
}

.back-button:hover {
  background-color: #007ba3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 152, 202, 0.4);
  color: white;
}

.back-button svg {
  width: 16px;
  height: 16px;
}

/* Content Detail Page Responsive */
@media (max-width: 768px) {
  .detail-container {
    margin: 64px auto 30px;
  }

  .detail-image {
    max-height: 300px;
  }

  .detail-content {
    padding: 30px 20px;
  }

  .detail-header h1 {
    font-size: 24px;
  }

  .detail-description {
    font-size: 15px;
  }
}

/* ========== GUEST PAGE SPECIFIC STYLES (Consolidated from blade files) ========== */

/* Grid Layout */
.one-column-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.two-column-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  row-gap: 15px;
}

.three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 30px;
}

.four-column-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 25px;
  row-gap: 25px;
  width: 100%;
  box-sizing: border-box;
}

/* Card Styles */
.card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: visible;
  height: auto;
  min-height: 180px;
}

.one-column-grid .card {
  width: 100%;
}

.two-column-grid .card {
  width: 100%;
}

.card img {
  width: 100%;
  height: auto;
  max-height: 160px;
  margin-right: 20px;
  object-fit: fill;
  flex-shrink: 0;
  padding: 10px;
  border-radius: 5px;
}

.card:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.card-content {
  flex-grow: 1;
  flex-basis: 0;
  min-width: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin: 0;
  color: #006d6d;
  font-size: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.card-content p {
  margin: 5px 0 0;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  width: 100%;
}

.card-description {
  margin: 5px 0 0;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  width: 100%;
  display: block;
  text-align: justify;
}

/* Informational Card Styles */
.informational-card,
.informational-card-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 0;
  margin-right: 0;
  margin-left: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  gap: 50px;
}

.informational-card img {
  order: 1;
}

.informational-card .informational-content {
  order: 2;
}

.informational-card .description-text {
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.6;
  margin-bottom: 0;
}

.informational-card .description-text.no-clamp {
  display: block !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
}

.informational-card-vertical {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  gap: 10px;
}

.informational-card-vertical img {
  width: 100%;
  max-width: 280px;
  height: 200px;
  margin: 0 0 0 0;
  object-fit: fill;
  transition: all 0.3s ease;
  cursor: zoom-in;
}

.informational-card-vertical .informational-content {
  text-align: center;
  width: 100%;
}

.informational-card-vertical .informational-content h3 {
  text-align: center;
}

.informational-card-vertical .informational-content p {
  text-align: center;
}

.informational-card-vertical .view-detail-btn {
  display: inline-block;
  margin-top: 15px;
}

.informational-card-vertical img:hover {
  transform: scale(1.05) translateY(-5px);
}

.informational-card img {
  width: auto;
  height: 30vh;
  margin-bottom: 0;
  object-fit: fill;
  transition: all 0.3s ease;
  cursor: zoom-in;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.informational-card .informational-content {
  text-align: left;
  width: 100%;
  flex: 1;
}

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

.informational-card-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 0;
  margin-right: 0;
  margin-left: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  gap: 50px;
  flex-direction: row-reverse !important;
}

.informational-card-right img {
  width: auto;
  height: 30vh;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  object-fit: fill;
  transition: all 0.3s ease;
  cursor: zoom-in;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  order: 0 !important;
}

.informational-card-right img:hover {
  transform: scale(1.05);
}

.informational-card-right .informational-content {
  text-align: left;
  width: 100%;
  flex: 1;
  order: 0 !important;
}

.informational-card-right .description-text {
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.6;
  margin-bottom: 0;
}

.informational-card-right .description-text.no-clamp {
  display: block !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
}

.informational-card-left img {
  width: auto;
  height: 30vh;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 0;
  object-fit: fill;
  transition: all 0.3s ease;
  cursor: zoom-in;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  order: 1;
}

.informational-card-left img:hover {
  transform: scale(1.05);
}

.informational-card-left .informational-content {
  text-align: left;
  width: 100%;
  flex: 1;
  order: 2;
}

.informational-content h3 {
  margin: 0 0 10px 0;
  color: #006d6d;
  font-size: 22px;
}

.informational-content p {
  margin: 5px 0 0;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.informational-content p.no-clamp {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
}

.view-detail-btn {
  display: inline-block;
  margin-top: auto;
  padding: 10px 24px;
  background-color: #0098ca;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 152, 202, 0.3);
  align-self: flex-start;
}

.view-detail-btn:hover {
  background-color: #007ba3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 152, 202, 0.4);
  color: white;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

#imageModal {
  color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1050;
  cursor: zoom-out;
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  position: relative;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
}

.modal-header {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.modal-header h3 {
  margin: 0;
  color: #006d6d;
  font-size: 22px;
}

.modal-body {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.image-modal-content {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.image-modal-body {
  padding: 10px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

#modalImage {
  background-color: #fff;
  max-width: 80vw;
  max-height: 80vh;
  object-fit: fill;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 20px;
  cursor: default;
}

.image-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  z-index: 100;
}

/* Guideline Card Styles */
.guideline-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  padding: 20px 15px;
  border: 1px solid #e0e0e0;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
  height: 100%;
  width: 100%;
  max-width: 100%;
  transition: all 0.3s ease;
  margin: 0;
  box-sizing: border-box;
}

.four-column-grid .guideline-card {
  max-width: 100%;
  min-height: auto;
  margin-bottom: 0;
}

.guideline-card img {
  width: auto;
  max-width: 100%;
  height: 14vh;
  margin-bottom: 15px;
  object-fit: fill;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: zoom-in;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.guideline-card img:hover {
  transform: scale(1.1);
}

.guideline-content {
  width: 100%;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 5px;
}

.guideline-content h3 {
  font-size: 18px;
  color: #000;
  margin: 0 0 12px 0;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.guideline-content p,
.guideline-content div,
.guideline-content span {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  overflow: hidden;
  font-family: var(--secondary-font);
  text-overflow: ellipsis;
}

/* Ensure all child elements within guideline-content description use consistent styling */
.guideline-content p *,
.guideline-content div *,
.guideline-content span * {
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

/* Download Card Styles */
.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  height: auto;
  transition: all 0.3s ease;
  margin: 0;
  position: relative;
  width: 100%;
}

.download-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.download-card .image-container {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  display: block;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 8px;
}

.download-card .image-container.bg-light {
  background-color: #ffffff;
}

.download-card .image-container.bg-dark {
  background-color: #000000;
}

.one-column-grid .download-card .image-container {
  padding-bottom: 56.25%;
}

.two-column-grid .download-card .image-container {
  padding-bottom: 33.33%;
}

.three-column-grid .download-card .image-container {
  padding-bottom: 66.67%;
}

.four-column-grid .download-card .image-container {
  padding-bottom: 66.67%;
}

.download-card .image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  transition: all 0.3s ease;
  cursor: zoom-in;
  z-index: 1;
}

.download-card:hover .image-container img {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.download-card .card-description {
  width: 100%;
  padding: 10px 0;
  margin: 10px 0;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.download-card .card-description p {
  margin: 0;
}

/* Download Buttons */
.download-buttons {
  display: flex;
  width: 100%;
  gap: 10px;
  margin-top: auto;
  position: relative;
}

.download-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background-color: transparent;
  color: #333;
  text-decoration: none;
  flex: 1;
  transition: all 0.3s ease;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.download-buttons a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.download-buttons a:hover {
  border-color: #c0c0c0;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.download-buttons a:hover::before {
  opacity: 1;
}

.download-buttons a:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.download-buttons a svg,
.download-buttons a i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.download-buttons a:hover svg,
.download-buttons a:hover i {
  transform: scale(1.1);
}

/* Download Dropdown Styles */
.download-dropdown {
  position: relative;
  width: 100%;
}

.download-dropdown-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0px 40px !important;
  background: #088eaf !important;
  color: white !important;
  text-decoration: none;
  width: 100%;
  transition: all 0.3s ease;
  border-radius: 50px !important;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--primary-font);
  cursor: pointer;
  border: none !important;
  position: relative;
  overflow: visible;
  box-shadow: 0 4px 15px rgba(8, 142, 175, 0.3);
  min-height: 50px !important;
}

.download-dropdown-button:hover {
  background: #077a99 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 142, 175, 0.4);
  color: white !important;
}

.download-dropdown-button:active {
  transform: translateY(0);
}

/* Disabled button styling for "No files available" */
.download-dropdown-button:disabled,
.download-dropdown-button[disabled] {
  background: #9e9e9e !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.download-dropdown-button:disabled:hover,
.download-dropdown-button[disabled]:hover {
  background: #9e9e9e !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Ensure download dropdown logo also uses the same disabled style */
.download-dropdown-logo .download-dropdown-button:disabled,
.download-dropdown-logo .download-dropdown-button[disabled] {
  background: #9e9e9e !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.download-dropdown-logo .download-dropdown-button:disabled:hover,
.download-dropdown-logo .download-dropdown-button[disabled]:hover {
  background: #9e9e9e !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Keep active download buttons in #088EAF color */
.download-dropdown-button:not(:disabled):not([disabled]) {
  background: #088eaf !important;
}

.download-dropdown-button:not(:disabled):not([disabled]):hover {
  background: #077a99 !important;
}

.download-dropdown-button .dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-left: auto;
  transition: all 0.3s ease;
}

.download-dropdown-button .dropdown-icon svg {
  margin: 0;
  transition: transform 0.3s ease;
}

.download-dropdown.active .download-dropdown-button .dropdown-icon svg {
  transform: rotate(180deg);
}

.download-dropdown.active .download-dropdown-button .dropdown-icon {
  background: rgba(255, 255, 255, 0.3);
}

.download-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  margin-top: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  padding: 16px;
  overflow-y: auto;
  overflow-x: hidden;
}

.download-dropdown.active .download-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.download-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.download-dropdown-menu::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 10px;
}

.download-dropdown-menu::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 10px;
}

.download-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #b0b0b0;
}

.download-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #088eaf;
  border-radius: 50px;
  margin-bottom: 8px;
  height: 40px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.download-dropdown-item:last-of-type {
  margin-bottom: 0;
}

.download-dropdown-item:hover {
  background: #0a7a96;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(8, 142, 175, 0.3);
}

.download-dropdown-item .file-type {
  font-weight: 600;
  font-size: 14px;
  color: white;
  text-transform: uppercase;
  margin-bottom: 0;
}

.download-dropdown-item .file-details {
  display: none;
}

.download-dropdown-item .file-name {
  display: none;
}

.download-dropdown-item .file-size {
  display: none;
}

.download-all-zip {
  background: #088eaf !important;
  color: white !important;
  font-family: var(--primary-font) !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  border: none !important;
  margin-bottom: 8px !important;
  border-radius: 50px !important;
  padding: 10px 20px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-transform: uppercase !important;
}

.download-all-zip:hover {
  background: #0a7a96 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(8, 142, 175, 0.3) !important;
  color: #000 !important;
}

.download-all-zip .file-type {
  color: white !important;
  font-size: 16px !important;
  display: flex;
  align-items: center;
  margin-bottom: 0 !important;
}

.download-all-zip .file-size {
  display: none !important;
}

/* Download Cards Satu & Dua */
.dwnldsatu-card {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start;
  gap: 40px;
}

.dwnldsatu-card .left-section {
  flex: 0 1 340px;
  max-width: 340px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-right: 0;
}

.dwnldsatu-card .left-section h3 {
  margin: 0;
  color: #186d85;
  font-family: var(--primary-font);
  font-size: 40px;
  font-weight: 500;
}

.dwnldsatu-card .left-section p {
  margin: 0;
  color: #333;
  font-family: var(--secondary-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.dwnldsatu-card .right-section {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  box-sizing: border-box;
  min-height: 400px;
}

.dwnldsatu-card .right-section .image-container {
  width: auto;
  flex: 1;
  min-height: 30vh;
  position: relative;
  display: block;
  border-radius: 8px;
}

.dwnldsatu-card .right-section .image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  cursor: zoom-in;
}

.dwnldsatu-card .right-section .image-container img {
  transition: all 0.3s ease;
}

.dwnldsatu-card .right-section img:hover {
  transform: scale(1.05);
}

.dwnldsatu-card .right-section h3 {
  font-size: 24px;
  color: #000;
  margin: 20px 0;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  flex-shrink: 0;
}

.dwnldsatu-card .content-description {
  padding: 0px;
  text-align: center;
  color: #a3a3a3;
  font-size: 14px;
  line-height: 1.5;
  background: #fff;
  flex-grow: 1;
  min-height: 20px;
}

.dwnldsatu-card .content-description p {
  margin: 0;
  text-align: inherit;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  background: inherit;
}

.dwnldsatu-card .download-buttons {
  width: 100%;
  margin-top: auto;
}

/* Untuk card kedua dan seterusnya, tambahkan margin-left agar sejajar dengan card pertama */
.dwnldsatu-card:not(:first-child) .right-section {
  margin-left: 380px;
  /* 340px (left-section width) + 40px (gap) */
}

.dwnlddua-card {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 40px;
}

.dwnlddua-card .left-section {
  flex: 0 1 340px;
  max-width: 340px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-right: 0;
}

.dwnlddua-card .left-section h3 {
  margin: 0;
  color: #186d85;
  font-family: var(--primary-font);
  font-size: 40px;
  font-weight: 500;
}

.dwnlddua-card .left-section p {
  margin: 0;
  color: #333;
  font-family: var(--secondary-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.dwnlddua-card .right-section {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  direction: ltr;
  width: 100%;
}

.dwnlddua-card .right-section .card-item {
  width: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: visible !important;
  box-sizing: border-box;
  direction: ltr;
  padding: 20px;
}

/* Reverse grid order to fill from right to left */
.dwnlddua-card .right-section {
  direction: rtl;
}

.dwnlddua-card .right-section .card-item {
  direction: ltr;
}

.dwnlddua-card .right-section .card-item .image-container {
  width: auto;
  height: auto;
  padding-bottom: 100%;
  margin: 0;
  position: relative;
  display: block;
  border-radius: 8px;
  flex-shrink: 0;
}

.dwnlddua-card .right-section .card-item .image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 8px;
  height: 100%;
  object-fit: fill;
  cursor: zoom-in;
}

.dwnlddua-card .right-section .card-item .image-container img {
  transition: all 0.3s ease;
}

.dwnlddua-card .right-section .card-item img:hover {
  transform: scale(1.05);
}

.dwnlddua-card .right-section .card-item h3 {
  font-size: 24px;
  color: #000;
  margin: 20px 0;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  flex-shrink: 0;
}

.dwnlddua-card .right-section .card-item .content-description {
  padding: 0;
  margin-bottom: 20px;
  text-align: center;
  color: #a3a3a3;
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dwnlddua-card .right-section .card-item .content-description p {
  margin: 0;
}

.dwnlddua-card .right-section .card-item .download-buttons {
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  margin-top: auto;
}

/* Dropdown Items */
.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 8px;
}

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

.dropdown-item:hover {
  background: #e9ecef;
  transform: translateX(4px);
}

.dropdown-item .item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.dropdown-item .item-label {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.dropdown-item .item-meta {
  font-size: 12px;
  color: #6c757d;
}

.dropdown-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #088eaf;
}

.dropdown-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
  margin: 8px 0;
}

/* Dropdown Items with Photopea */
.dropdown-item-with-photopea {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px;
  border-bottom: none;
  gap: 8px;
  margin-bottom: 8px;
}

.dropdown-item-with-photopea:last-child {
  margin-bottom: 0;
}

.dropdown-item-with-photopea:hover {
  background-color: transparent;
}

.dropdown-item-with-photopea .download-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  background: #088eaf;
  border-radius: 50px;
  padding: 10px 20px;
  transition: all 0.3s ease;
  min-width: 0;
  height: 40px;
  font-family: var(--primary-font);
  font-weight: 400;
  font-size: 16px;
}

.dropdown-item-with-photopea .download-link:hover {
  background: #0a7a96;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(8, 142, 175, 0.3);
}

.dropdown-item-with-photopea .download-link:hover .item-label {
  color: #000;
}

.dropdown-item-with-photopea .download-link:hover .item-label {
  color: #000;
}

.dropdown-item-with-photopea .item-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.dropdown-item-with-photopea .item-label {
  font-family: var(--primary-font);
  font-weight: 400;
  font-size: 16px;
  color: white;
  text-transform: uppercase;
}

.dropdown-item-with-photopea .item-meta {
  display: none;
}

.dropdown-item-with-photopea .download-icon {
  display: none;
}

.dropdown-item-with-photopea .photopea-btn {
  flex-shrink: 0;
  width: 120px;
  padding: 10px 20px;
  background: white !important;
  color: #088eaf;
  border: 1.5px solid #e0e0e0;
  border-radius: 50px;
  font-family: var(--primary-font);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 40px;
}

.dropdown-item-with-photopea .photopea-btn:hover {
  background: #f5f5f5 !important;
  border-color: #088eaf;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(8, 142, 175, 0.2);
}

/* Download Logo Styles */
.download-logo-outer-wrapper {
  padding: 0 200px;
  margin-bottom: 80px;
  /* No background here so the pattern from homepage-main-content shows through */
}

.download-logo-section {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px 100px 120px 100px;
  max-width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  /* Solid white background to hide the pattern inside the bordered sections */
}

.download-logo-header {
  margin-bottom: 40px;
  margin-top: 0;
}

.download-logo-header h2 {
  font-family: var(--primary-font);
  font-size: 40px;
  color: #186d85;
  margin-bottom: 20px;
}

.download-logo-header p {
  font-family: var(--secondary-font);
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
}

.download-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 100%;
  justify-content: center;
}

.download-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e0e0e0;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
  transition: all 0.3s ease;
  width: 100%;
  min-height: 280px;
  box-sizing: border-box;
}

/* .download-logo-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
} */



.download-logo-card img {
  width: auto;
  height: 13vh;
  object-fit: fill;
  transition: all 0.3s ease;
  cursor: zoom-in;
  margin-bottom: 20px;
}

.download-logo-card img:hover {
  transform: scale(1.05);
}

.download-logo-card h3 {
  font-size: 24px;
  color: #000;
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.4;
  flex-shrink: 0;
}

.download-logo-card .content-description {
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.6;
  flex-grow: 1;
  min-height: 20px;
}

.download-dropdown-logo {
  position: relative;
  width: 100%;
  margin-top: auto;
}

.download-dropdown-logo .download-dropdown-button {
  padding: 0px 30px !important;
  min-height: 44px !important;
  font-size: 14px;
  gap: 8px;
}

.download-dropdown-logo .download-dropdown-button .dropdown-icon {
  width: 28px;
  height: 28px;
}

.download-dropdown-logo .dropdown-menu-logo {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  margin-top: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  padding: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 400px;
}

.download-dropdown-logo.active .dropdown-menu-logo {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.download-dropdown-logo .dropdown-menu-logo::-webkit-scrollbar {
  width: 6px;
}

.download-dropdown-logo .dropdown-menu-logo::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 10px;
}

.download-dropdown-logo .dropdown-menu-logo::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 10px;
}

.download-dropdown-logo .dropdown-menu-logo::-webkit-scrollbar-thumb:hover {
  background: #b0b0b0;
}

/* Category Section with Border */
.category-outer-wrapper {
  padding: 0 120px;
  margin-bottom: 80px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  /* No background here so the pattern from homepage-main-content shows through */
}

.category-section-bordered {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px 70px 40px 70px;
  background: #ffffff;
  box-sizing: border-box;
  overflow: hidden;
  /* Solid white background to hide the pattern inside the bordered sections */
}

/* Carousel Grid */
.carousel-grid {
  display: block !important;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Carousel Card Styles */
.carousel-card-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  position: relative;
  transition: all 0.3s ease;
}

.carousel-card-container:hover {
  box-shadow: none;
  transform: none;
}

.carousel-card img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: fill;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: zoom-in;
  position: relative;
  z-index: 1;
}

.carousel-card:hover img {
  transform: scale(1.1);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.swiper {
  width: 100%;
  max-width: 100%;
  height: 500px;
  position: relative;
}

.swiper-slide {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  overflow: hidden;
  transition: all 0.4s ease;
  width: 100% !important;
  height: 500px;
  position: relative;
}

.swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
  display: none;
}

.swiper-slide:hover::before {
  opacity: 0;
}

.swiper-slide::after {
  content: none;
  display: none;
}

.swiper-slide:hover::after {
  opacity: 0;
  display: none;
}

.swiper-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: fill;
  padding: 0;
  margin: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: zoom-in;
  position: relative;
  z-index: 1;
}

.swiper-slide:hover img {
  transform: scale(1.02);
  z-index: 10;
}

.carousel-content {
  padding: 20px 30px;
  text-align: center;
  background-color: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.carousel-content p {
  margin: 0 0 15px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Carousel Navigation */
.carousel-swiper .swiper-button-next,
.carousel-swiper .swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  background-color: rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-swiper .swiper-button-next {
  right: 20px;
}

.carousel-swiper .swiper-button-prev {
  left: 20px;
}

.carousel-swiper .swiper-button-next:hover,
.carousel-swiper .swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.carousel-swiper .swiper-button-next:after,
.carousel-swiper .swiper-button-prev:after {
  font-size: 22px;
  font-weight: bold;
}

/* Carousel Pagination */
.carousel-swiper .swiper-pagination {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  z-index: 10;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 5px;
}

.swiper-pagination-bullet-active {
  background: #006d6d;
  transform: scale(1.2);
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

@media (max-width: 1200px) {
  .four-column-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Reduce outer wrapper and bordered section padding on smaller desktops */
  .category-outer-wrapper {
    padding: 0 80px !important;
  }

  .category-section-bordered {
    padding: 40px 60px !important;
  }

  /* Reduce hero side padding on smaller desktops */
  .menu-hero {
    padding: 130px 120px 40px 120px !important;
  }

  /* Informational cards: allow image to shrink on smaller desktops */
  .informational-card img,
  .informational-card-left img,
  .informational-card-right img {
    flex-shrink: 1 !important;
    max-width: 45% !important;
    height: auto !important;
    max-height: 280px !important;
    object-fit: cover !important;
  }
}

@media (max-width: 992px) {
  .three-column-grid,
  .four-column-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .three-column-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .four-column-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .category-outer-wrapper {
    padding: 0 40px !important;
  }

  .category-section-bordered {
    padding: 40px 40px !important;
  }

  .category-section {
    padding: 0 30px;
    margin-bottom: 60px !important;
  }

  .category-title {
    font-size: 40px;
  }

  /* Reduce hero side padding on tablets */
  .menu-hero {
    padding: 110px 60px 40px 60px !important;
  }

  .informational-card,
  .informational-card-vertical {
    padding: 25px;
  }

  .guideline-card {
    padding: 25px;
  }

  /* Stack informational cards at tablet */
  .informational-card,
  .informational-card-left,
  .informational-card-right,
  .informational-card-vertical {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .informational-card img,
  .informational-card-left img,
  .informational-card-right img {
    width: 100% !important;
    max-width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    flex-shrink: 1 !important;
    order: 1 !important;
  }

  .informational-card .informational-content,
  .informational-card-left .informational-content,
  .informational-card-right .informational-content {
    width: 100% !important;
    text-align: center !important;
    order: 2 !important;
  }

  .informational-card .informational-content h3,
  .informational-card-left .informational-content h3,
  .informational-card-right .informational-content h3 {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .category-outer-wrapper {
    padding: 0 20px !important;
  }

  .dwnldsatu-card:not(:first-child) .right-section {
    margin-left: 0 !important;
  }

  .category-section-bordered {
    padding: 40px 20px !important;
    border: 1px solid #e0e0e0;
  }

  .download-logo-outer-wrapper {
    padding: 0 20px !important;
  }

  .download-logo-section {
    padding: 40px 20px !important;
    border: 1px solid #e0e0e0;
  }

  .download-logo-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .download-logo-card {
    padding: 20 !important;
    width: 100% !important;
    min-height: 280px;
  }

  .download-logo-card img {
    height: 120px !important;
  }

  .one-column-grid,
  .two-column-grid,
  .three-column-grid,
  .four-column-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    row-gap: 25px !important;
  }

  .category-section {
    padding: 0 20px;
    margin-bottom: 50px !important;
  }

  .category-title {
    font-size: 24px !important;
    margin-bottom: 20px !important;
    text-align: center;
  }

  .category-description {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
    text-align: center !important;
  }

  .menu-hero {
    padding: 60px 20px 40px 20px !important;
    min-height: 250px !important;
    margin-top: 0 !important;
  }

  .menu-hero .content h1 {
    font-size: 36px !important;
    margin-bottom: 15px !important;
  }

  .menu-hero .content p {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .informational-card,
  .informational-card-vertical,
  .informational-card-right,
  .informational-card-left {
    flex-direction: column !important;
    text-align: center !important;
    padding: 20px !important;
    margin: 0 0 0 0 !important;
    gap: 15px !important;
    border-radius: 12px !important;
  }

  .informational-card img,
  .informational-card-vertical img,
  .informational-card-right img,
  .informational-card-left img {
    width: 100% !important;
    max-width: 100% !important;
    height: 200px !important;
    margin: 0 0 0 0 !important;
    object-fit: fill !important;
    border-radius: 8px !important;
    order: 1 !important;
  }

  .informational-card .informational-content,
  .informational-card-vertical .informational-content,
  .informational-card-right .informational-content,
  .informational-card-left .informational-content {
    text-align: center !important;
    width: 100% !important;
    order: 2 !important;
    max-height: none !important;
  }

  .informational-card-right .description-wrapper,
  .informational-card-left .description-wrapper {
    max-height: none !important;
    overflow: visible !important;
  }

  .informational-card-right .description-wrapper p,
  .informational-card-left .description-wrapper p {
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
  }

  .informational-card .informational-content h3,
  .informational-card-vertical .informational-content h3,
  .informational-card-right .informational-content h3,
  .informational-card-left .informational-content h3 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }

  .informational-card .informational-content p,
  .informational-card-vertical .informational-content p,
  .informational-card-right .informational-content p,
  .informational-card-left .informational-content p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: center !important;
    margin-bottom: 15px !important;
  }

  .view-detail-btn {
    display: inline-block !important;
    margin-top: 10px !important;
    padding: 10px 25px !important;
    font-size: 14px !important;
  }

  .download-card {
    padding: 15px !important;
    border-radius: 12px !important;
  }

  .download-card .image-container {
    border-radius: 8px !important;
    margin-bottom: 15px !important;
  }

  .download-card .card-content h3 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }

  .download-card .card-content p,
  .download-card .card-description {
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    margin-bottom: 12px !important;
  }

  .download-card .download-btn {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    text-align: center !important;
    margin-top: 12px !important;
  }

  .one-column-grid .download-card .image-container,
  .two-column-grid .download-card .image-container,
  .three-column-grid .download-card .image-container,
  .four-column-grid .download-card .image-container {
    padding-bottom: 75% !important;
  }

  .dwnldsatu-card {
    flex-direction: column !important;
    padding: 0 !important;
    gap: 20px !important;
    align-items: stretch !important;
  }

  .dwnldsatu-card .left-section {
    flex: 0 0 auto !important;
    max-width: 100% !important;
    padding: 20px 20px 0 20px !important;
    margin-bottom: 10px !important;
  }

  .dwnldsatu-card .left-section h3 {
    font-size: 28px !important;
    margin-bottom: 10px !important;
  }

  .dwnldsatu-card .left-section p {
    font-size: 14px !important;
  }

  .dwnldsatu-card .right-section {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-height: auto !important;
    margin: 0 20px 20px 20px !important;
    padding: 15px !important;
  }

  .dwnldsatu-card .right-section .image-container {
    padding-bottom: 75% !important;
    min-height: 200px !important;
    height: 0 !important;
    position: relative !important;
  }

  .dwnldsatu-card .content-description {
    padding: 0 !important;
    font-size: 18px !important;
    margin-top: 15px !important;
  }

  .dwnldsatu-card .download-buttons {
    margin-top: 15px !important;
  }

  .dwnlddua-card {
    flex-direction: column !important;
    padding: 0 !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
    align-items: stretch !important;
  }

  .dwnlddua-card .left-section {
    flex: 0 0 auto !important;
    max-width: 100% !important;
    padding: 20px 20px 0 20px !important;
  }

  .dwnlddua-card .left-section h3 {
    font-size: 28px !important;
  }

  .dwnlddua-card .left-section p {
    font-size: 14px !important;
  }

  .dwnlddua-card .right-section {
    display: grid !important;
    flex: 0 0 auto !important;
    grid-template-columns: 1fr !important;
    margin-left: 0 !important;
    width: 100% !important;
    direction: ltr !important;
    gap: 15px !important;
    padding: 0 20px 20px 20px !important;
  }

  .dwnlddua-card .right-section .card-item {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding: 15px !important;
  }

  .dwnlddua-card .right-section .card-item:last-child {
    margin-bottom: 0 !important;
  }

  .dwnlddua-card .right-section .card-item .image-container {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 75% !important;
    margin: 0 !important;
    border-radius: 8px !important;
  }

  .dwnlddua-card .right-section .card-item .content-description {
    padding: 0 !important;
    font-size: 18px !important;
    margin-top: 15px !important;
  }

  .dwnlddua-card .right-section .card-item .download-buttons {
    padding: 0 !important;
    margin-top: 15px !important;
  }

  .guideline-card {
    padding: 20px !important;
    border-radius: 12px !important;
    text-align: center !important;
  }

  .guideline-card .image-container {
    height: 180px !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
  }

  .guideline-card .image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    border-radius: 8px !important;
  }

  .guideline-card h3 {
    font-size: 16px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }

  .guideline-card p,
  .guideline-card div,
  .guideline-card span {
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    margin-bottom: 12px !important;
  }

  .guideline-card .view-btn,
  .guideline-card .download-btn {
    width: 100% !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    margin: 5px 0 !important;
  }

  .carousel-card {
    padding: 15px !important;
    border-radius: 12px !important;
  }

  .carousel-card .carousel-image {
    height: 200px !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
  }

  .carousel-card .carousel-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    border-radius: 8px !important;
  }

  .carousel-card h3 {
    font-size: 40px !important;
    margin-bottom: 8px !important;
    text-align: center !important;
  }

  .carousel-card p {
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  button,
  .btn,
  a.btn {
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .menu-item {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }

  * {
    -webkit-overflow-scrolling: touch !important;
  }

  body {
    font-size: 14px !important;
  }

  h1 {
    font-size: 28px !important;
  }

  h2 {
    font-size: 24px !important;
  }

  h3 {
    font-size: 20px !important;
  }

  h4 {
    font-size: 18px !important;
  }
}

@media (max-width: 480px) {
  .category-section {
    padding: 0 15px;
  }

  .category-title {
    font-size: 22px !important;
  }

  .menu-hero {
    padding: 50px 15px 30px 15px !important;
    min-height: 200px !important;
    margin-top: 0 !important;
  }

  .menu-hero .content h1 {
    font-size: 32px !important;
  }

  .menu-hero .content p {
    font-size: 15px !important;
  }

  .informational-card,
  .informational-card-vertical {
    padding: 15px !important;
  }

  .download-card,
  .guideline-card,
  .carousel-card {
    padding: 15px !important;
  }

  .dwnldsatu-card {
    padding: 15px !important;
  }

  .dwnldsatu-card .left-section {
    margin-bottom: 15px !important;
  }

  .dwnldsatu-card .left-section h3 {
    font-size: 24px !important;
  }

  .dwnldsatu-card .right-section {
    padding: 15px !important;
  }

  .dwnlddua-card {
    padding: 15px !important;
  }

  .dwnlddua-card .left-section {
    margin-bottom: 15px !important;
  }

  .dwnlddua-card .left-section h3 {
    font-size: 24px !important;
  }

  .dwnlddua-card .right-section .card-item {
    margin-bottom: 15px !important;
  }

  .download-logo-outer-wrapper {
    padding: 0 15px !important;
  }

  .download-logo-section {
    padding: 30px 15px !important;
  }

  .download-logo-header h2 {
    font-size: 24px !important;
  }

  .download-logo-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .download-logo-card {
    padding: 10px !important;
    min-height: auto !important;
  }

  .download-logo-card img {
    height: 100px !important;
  }

  .download-logo-card h3 {
    font-size: 18px !important;
  }
}

/* ===== FOOTER STYLES ===== */
.footer-address-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-icon {
  flex-shrink: 0;
  padding-top: 4px;
  font-size: 16px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-contact-item i {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.footer-social-icons {
  display: flex;
  gap: 8px;
  font-size: 36px;
}

.footer-social-icons .social-link {
  color: white;
  transition: opacity 0.3s ease;
}

.footer-social-icons .social-link:hover {
  opacity: 0.7;
}

/* ===== FOOTER MOBILE (≤767px) ===== */
@media (max-width: 767px) {
  footer.w-full {
    padding: 40px 20px !important;
  }

  .footer-section {
    text-align: left;
    margin-bottom: 30px;
  }

  .footer-section:last-child {
    margin-bottom: 0;
  }

  .footer-address-row {
    justify-content: flex-start;
  }

  .footer-contact-list {
    align-items: flex-start;
  }

  .footer-contact-item {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-contact-item a,
  .footer-contact-item span {
    word-break: break-word;
    text-align: left;
  }

  .footer-social-icons {
    justify-content: flex-start;
  }
}
