/**
* Template Name: SnapFolio
* Template URL: https://bootstrapmade.com/snapfolio-bootstrap-portfolio-template/
* Updated: Jul 21 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/* Fonts */
:root {
  --default-font: "IBM Plex Sans Thai", sans-serif;
  --heading-font: "IBM Plex Sans Thai", sans-serif;
  --nav-font: "IBM Plex Sans Thai", sans-serif;
  /* --heading-font: "Ubuntu", sans-serif;
  --nav-font: "Nunito", sans-serif; */
}

/* Global Colors */
:root {
  --background-color: #1f1f1f;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ececec;
  --surface-color: #232323;
  --contrast-color: #310606;
}

/* Nav Menu Colors */
:root {
  --nav-color: #ececec96;
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #393939;
  --nav-dropdown-background-color: #393939;
  --nav-dropdown-color: #ffffff;
  --nav-dropdown-hover-color: #ececec;
}

/* Color Presets */

.light-background {
  --background-color: #2c2c2c;
  --surface-color: #323232;
  border-radius: 20px;
  margin: 15px;
}

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  display: none !important;
}

.header .header-toggle {
  display: none !important;
}

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

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

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

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

/*--------------------------------------------------------------
# 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;
  overflow: clip;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero .background-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero .background-elements .bg-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    color-mix(in srgb, var(--accent-color), transparent 90%),
    color-mix(in srgb, var(--accent-color), transparent 95%)
  );
  animation: float 6s ease-in-out infinite;
  filter: blur(15px);
  opacity: 0.5;
}

.hero .background-elements .bg-circle.circle-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.hero .background-elements .bg-circle.circle-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
  animation-delay: 2s;
}

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

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

.hero .hero-text h1 {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.hero .hero-text h1 .accent-text {
  color: var(--accent-color);
  position: relative;
}

.hero .hero-text h1 .accent-text::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    color-mix(in srgb, var(--accent-color), transparent 50%)
  );
}

.hero .hero-text h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 30px;
}

.hero .hero-text .lead {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--default-color);
}

.hero .hero-text .lead span {
  color: var(--accent-color);
  font-weight: 600;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 2px;
}

.hero .hero-text .description {
  font-size: 16px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 40px;
}

.hero .hero-text .counter {
  display: inline-block;
  margin: 1px 2px 1px 2px;
  padding: 2px 7px 0 7px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .hero-visual {
  display: flex;
  justify-content: right;
  align-items: right;
  height: 100%;
}

.hero .hero-visual .profile-container {
  position: relative;
  display: inline-block;
  width: 400px;
  height: 400px;
}

.hero .hero-visual .profile-container .profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

.hero .hero-visual .profile-container .profile-filename {
  position: absolute;
  text-align: center;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  background-color: color-mix(
    in srgb,
    var(--background-color),
    transparent 85%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  padding: 4px 13px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 500;
  z-index: 10;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

@media (max-width: 992px) {
  .hero .hero-visual {
    justify-content: center;
    align-items: center;
  }

  .hero .hero-text {
    text-align: center;
    margin-bottom: 50px;
  }

  .hero .hero-text h1 {
    font-size: 56px;
  }

  .hero .hero-text h2 {
    font-size: 28px;
  }

  .hero .hero-text .lead {
    font-size: 20px;
  }

  .hero .hero-text .description {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero .hero-visual .profile-container {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .hero .hero-visual {
    justify-content: center;
    align-items: center;
  }

  .hero .hero-text h1 {
    font-size: 42px;
  }

  .hero .hero-text h2 {
    font-size: 24px;
  }

  .hero .hero-text .lead {
    font-size: 18px;
  }

  .hero .hero-text .description {
    font-size: 14px;
    margin: 0 15px 40px 15px;
  }

  .hero .hero-actions {
    justify-content: center;
  }

  .hero .hero-actions .btn {
    padding: 12px 25px;
    font-size: 14px;
  }

  .hero .hero-visual .profile-container {
    width: 300px;
    height: 300px;
  }

  .hero .background-elements .bg-circle.circle-1 {
    width: 200px;
    height: 200px;
  }

  .hero .background-elements .bg-circle.circle-2 {
    width: 150px;
    height: 150px;
  }

  .hero .background-elements .bg-circle.circle-3 {
    width: 100px;
    height: 100px;
  }
}
