/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Inter", sans-serif;
  --heading-font: "Comfortaa", sans-serif;
  --nav-font: "Comfortaa", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #151515; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #641e1e; /* 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: #312f2f; /* 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: rgba(
    255,
    255,
    255,
    0.905
  ); /* The default color of the main navmenu links */
  --nav-hover-color: #ffc451; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffc451; /* 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: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #2a2727;
}

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

.section-title .title {
  -webkit-text-stroke: 1px rgba(67, 67, 67, 1);
  font-size: calc(1rem * 2.5);
}

.section-title .subtitle {
  font-size: calc(1rem * 1.25);
  color: var(--accent-color);
}

.section-title-light .title {
  -webkit-text-stroke: 1px white;
  font-size: calc(1rem * 2.5);
  color: white;
}

.section-title-light .subtitle {
  font-size: calc(1rem * 1.25);
  color: white;
}

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

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

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

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

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

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

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

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

.header .logo span {
  color: var(--accent-color);
  font-size: 32px;
}

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

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--default-color);
  background: var(--accent-color);
}

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

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

  .header .navmenu {
    order: 3;
  }
}

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

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(0, 0, 0, 0);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
}

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

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

  .navmenu li {
    position: relative;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

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

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

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: color-mix(in srgb, var(--accent-color), white 90%);
  }

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

  .navmenu .active i,
  .navmenu .active:focus i {
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: white;
  background-color: #641e1e;
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding: 25px 0;
}

.footer .footer-about .logo img {
  max-height: 70px;
}

/*
 * Start
*/
.footer .social-links a {
  --width: 35px;
  &,
  & * {
    box-sizing: border-box;
    transition: 200ms;
  }
  width: var(--width);
  height: var(--width);
  color: #fff;
  font-size: 30px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  margin: 5px 0px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  &:before {
    content: "";
    position: absolute;
    display: block;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(0px);
    transition: 400ms;
    transform: skewX(45deg) translateX(calc(var(--width) + 50%));
  }
  &:hover {
    transform: translateY(-5px);
    &:before {
      transform: skewX(45deg) translateX(calc(var(--width) * -1 - 50%));
    }
  }
  & > * {
    opacity: 0.8;
  }
}

/* .footer .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  background-color: color-mix(in srgb, var(--default-color) 5%, white 1%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 16px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background-color: color-mix(in srgb, var(--default-color) 10%, white 10%);
} */

.footer .copyright {
  padding: 30px 0;
}

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

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

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

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

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

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

.scroll-top i {
  font-size: 24px;
  color: white;
  line-height: 0;
}

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

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

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

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

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 58px;
  }
}

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

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

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

.home h2 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  font-family: var(--nav-font);
}

.home h2 span {
  color: var(--accent-color);
}

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

.home .icon-box {
  padding: 30px 20px;
  transition: ease-in-out 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: var(--accent-color);
}

.home .icon-box h3 {
  font-weight: 700;
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  line-height: 26px;
}

.home .icon-box h3 a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: ease-in-out 0.3s;
}

.home .icon-box:hover {
  border-color: var(--accent-color);
}

.home .icon-box:hover h3 a {
  color: var(--accent-color);
}

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

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

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  overflow: hidden;
}

/*--------------------------------------------------------------
# Our Value Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Our Work Section
--------------------------------------------------------------*/
.our-work {
  padding: 0px;
  margin: 0px;
}
.our-work .container-fluid:first-child {
  background-color: #811404;
  color: white;
  padding: 40px 0px;
  margin-bottom: 40px;
}

.our-work .title h2,
.our-work .title h3 {
  color: white;
}

.our-work .card {
  /* background-color: rgba(139, 37, 22, 0.8); */
  /* position: relative; */
  /* box-shadow: black; */
  border: solid rgb(166, 43, 43) 0.2px;
  color: white;
  height: 380px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  z-index: 1;
  margin: 15px 0px;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
  border-radius: 25px;
  border-top: 1px solid rgba(166, 43, 43, 0.5);
  border-left: 1px solid rgba(170, 4, 4, 0.5);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  overflow: hidden;
}

.our-work .card-body {
  display: flex;
  flex-flow: column;
  height: 100%;
}

.our-work .card .card-img {
  margin: 0px 15px 0 15px;
  border-radius: 1rem;
  overflow: hidden;
  flex: 0 1 auto;
}

.our-work .card-title {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .our-work .card {
    height: 350px;
  }
}

.glossy-button {
  /* Base button styles from Bootstrap */
  /* ... (e.g., padding, border-radius) ... */

  /* Add a subtle gradient for the glossy effect */
  background: linear-gradient(to bottom, red 0%, white 100%);

  /* Add a subtle box-shadow for depth */
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);

  /* Optional: Add a subtle inner shadow for more depth */
  /* inset 0px 1px 0px rgba(255, 255, 255, 0.3) */

  /* Optional: Smooth transitions for hover effects */
  transition: all 0.3s ease;
}

.glossy-button:hover {
  /* Adjust gradient or shadow on hover for interactivity */
  background: linear-gradient(to bottom, red 0%, white 100%);
  box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.3);
}

/*--------------------------------------------------------------
# Partnership Section
--------------------------------------------------------------*/

.partnership .logo-grid img:hover {
  transform: scale(1.1);
  opacity: 100%;
}
.partnership .logo-grid img {
  opacity: 50%;
  max-height: 50px;
  margin: 0 auto;
  display: block;
}

.partnership .logo-grid {
  display: grid;
  gap: 1rem;
  justify-items: center;
}


@media (max-width: 767.98px) {
.partnership .logo-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* kalau sisa 1 (total item 2n+1), letakkan di kolom ke-1 */
.partnership .logo-grid > :last-child:nth-child(2n + 1) {
  grid-column: 1 / span 2;
  justify-self: center;
}

}

@media (min-width: 768px) {
  .partnership .logo-grid {
    grid-template-columns: repeat(5, 1fr);
  }

.partnership .logo-grid img {
  max-height: 65px;
}
}


@media (min-width: 992px) {
  .partnership .logo-grid img {
    max-height: 70px;
  }
}

@media (min-width: 1200px) {
  .partnership .logo-grid img {
    max-height: 80px;
    gap: 1.5rem;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  background-color: #811404;
}

/*--------------------------------------------------------------
# Feature Button Section
--------------------------------------------------------------*/

.feature {
  .feature-content {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
  }

  .feature-content .helper {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 195, 0, 1);
    height: 82%;
    width: 100%;
    z-index: 1;
    user-select: none;
  }

  .feature-content .background-filler {
    position: absolute;
    top: 18%;
    right: 0;
    z-index: 2;
    overflow: hidden;
    user-select: none;
  }

  .cover-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    object-position: right;
    z-index: 3;
    user-select: none;
  }

  .feature-buttons-wrapper {
    display: flex;
    position: absolute;
    top: 18%;
    right: 0%;
    width: 50%;
    height: 82%;
    z-index: 3;
    padding: 30px;
    align-items: center; /* ⬅ untuk vertical center */
    justify-content: center; /* ⬅ optional, kalau mau horizontal center */
  }

  .feature-buttons {
    display: grid;
    width: 100%;
    align-self: center; /* optional */
    justify-items: center; /* center each item horizontally */
  }

  .liquidGlass-wrapper {
    position: relative;
    display: flex;
    font-family: "Comfortaa", sans-serif;
    font-weight: 600;
    overflow: hidden;
    color: black;
    text-align: center;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
    border-radius: 3rem;
  }

  .liquidGlass-effect {
    position: absolute;
    z-index: 0;
    inset: 0;

    backdrop-filter: blur(3px);
    /* filter: url(#glass-distortion); */
    overflow: hidden;
    isolation: isolate;
  }

  .liquidGlass-tint {
    z-index: 1;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    /* background: rgba(255, 255, 255, 0.7); */
  }

  .liquidGlass-shine {
    position: absolute;
    inset: 0;
    z-index: 10;
    overflow: hidden;

    box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.5),
      inset -1px -1px 1px 1px rgba(255, 255, 255, 0.5);
  }

  .liquidGlass-text {
    z-index: 10;
    color: black;
  }

  @media screen and (max-width: 575.98px) {
    .feature-buttons-wrapper {
      align-items: end;
    }

    .feature-content .background-filler {
      width: 0%;
    }

    .feature-content .cover-image {
      width: 100%;
      object-position: center;
    }

    .feature-buttons-wrapper {
      width: 100%;
    }

    .feature-buttons {
      grid-template-columns: repeat(2, 1fr);
      gap: 25px 10px;
    }

    .liquidGlass-wrapper {
      height: 35px;
      width: 140px;
      font-size: 12px;
    }
  }

  @media screen and (min-width: 576px) {
    .feature-content .background-filler {
      width: 0%;
    }

    .feature-content .cover-image {
      width: 90%;
      object-position: right;
    }

    .feature-buttons {
      grid-template-columns: repeat(1, 1fr);
      gap: 1rem;
    }

    .liquidGlass-wrapper {
      height: 40px;
      width: 175px;
    }
  }

  @media screen and (min-width: 768px) {
    .feature-content .background-filler {
      width: 35%;
    }

    .feature-content .cover-image {
      width: 65%;
    }

    .feature-buttons {
      grid-template-columns: repeat(1, 1fr);
      gap: 1.1rem;
    }

    .liquidGlass-wrapper {
      height: 40px;
      width: 175px;
    }
  }
  @media screen and (min-width: 992px) {
    .feature-content .background-filler {
      width: 50%;
    }

    .feature-content .cover-image {
      width: 50%;
    }

    .feature-buttons {
      grid-template-columns: repeat(2, 1fr);
      gap: 3rem 1rem;
    }

    .liquidGlass-wrapper {
      height: 45px;
      width: 180px;
    }
  }
  @media screen and (min-width: 1200px) {
    .feature-content .background-filler {
      width: 50%;
    }

    .feature-content .cover-image {
      width: 50%;
    }

    .feature-buttons {
      grid-template-columns: repeat(2, 1fr);
      gap: 3rem 1rem;
    }

    .liquidGlass-wrapper {
      height: 50px;
      width: 200px;
    }
  }
}
