/**
* Template Name: Medilab
* Template URL: https://bootstrapmade.com/medilab-free-medical-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Poppins",  sans-serif;
  --nav-font: "Raleway",  sans-serif;
}

: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: #2c4964; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1977cc; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  --ctabta-color: #E67E22; /* add */
  /* --accent-color: #1D2E5C; /* add */
}

/* 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: #2c4964;  /* The default color of the main navmenu links */
  --nav-hover-color: #1977cc; /* 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: #2c4964; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #1977cc; /* 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: #ecf7ff;
  --surface-color: #ffffff;
}

.gray-background {
  --background-color: #f7f7f7;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --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);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

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

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

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

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

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  background-color: var(--accent-color);
  height: 40px;
  padding: 0;
  font-size: 18px;
  transition: all 0.3s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 2px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 16px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

/*
.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}
*/

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

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

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

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

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {

  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    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);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
  opacity: 0; /* 부드럽게 숨기고 싶을 때 추가 */
}


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

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

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

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

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

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

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

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

  .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: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

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

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

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

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

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

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

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

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

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

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

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

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

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

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

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

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

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(255, 255, 255, 0.00);
  }

  .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;
  }
}


/* 기본적으로는 보이게 둡니다 (선택 사항) */
.pc-only {
    display: block; /* 또는 list-item */
}

/* 모바일 화면 규격 (보통 768px 이하)에서 숨김 */
@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }
}


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

.footer .footer-top {
  padding-top: 50px;
}

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

.footer .footer-about .logo img {
  max-height: 25px;
  margin-right: 5px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.footer .copyright p {
  font-size: 12px;
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 9px;
  text-decoration: none;
}

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

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

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

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

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

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  position: relative;
  padding-bottom: 50px;
}

.section-title h2 {
  font-size: 22px;
  font-weight: 500px;
  line-height: 1.4;
  padding-bottom: 30px;
  position: relative;
}

.section-title h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  padding-top: 20px;
  position: relative;
}

.section-title h4 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  position: relative;
}

.section-title p {
  font-size: 16px;
  line-height: 1.4;
  color: #1977cc;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 300px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

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

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 23px;
    font-weight: 500;
    line-height: 1.4;
    padding-bottom: 30px;
    position: relative;
  }

  .section-title h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    padding-top: 30px;
    position: relative;
  }

  .section-title p {
    padding: 0 0 30px 0;
    position: relative;
  }
}

.mobile-only { display: none; }

/* 화면이 좁아질 때만 줄바꿈 실행 */
@media (max-width: 768px) {
  .mobile-only { display: block; }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action .container {
  padding: 50px 15px;
  position: relative;
  z-index: 3;
}

.call-to-action {
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

.call-to-action h3 {
  color: var(--default-color);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  padding-bottom: 20px;
}

.call-to-action p {
  color: var(--default-color);
  font-size: 16px;
  line-height: 1.4;
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  transition: 0.1s;
  margin: 10px;
  background: var(--accent-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background-color: #3b5da3; /* 호버 시 조금 더 어둡게 */
}

.mobile-only { display: none; }
/* 화면이 좁아질 때만 줄바꿈 실행 */
@media (max-width: 768px) {
  .mobile-only { display: block; }
}



/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/

section,
.section_hero {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}


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

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

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

.hero .welcome h2 {
  margin: 0;
  font-size: 60px;
  font-weight: 500;
  line-height: 1.4;
}

.hero .welcome h3 {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 10px;  
}

.hero .welcome p {
  font-size: 24px;
  font-weight: 500px;
  line-height: 1.4;
}

.hero .content {
  margin-top: 40px;
}

.hero .content .why-box {
  color: var(--contrast-color);
  background: var(--accent-color);
  padding: 30px;
  border-radius: 4px;
}

.hero .content .why-box h3 {
  color: var(--contrast-color);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
}

.hero .content .why-box h4 {
  color: var(--contrast-color);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.1;
}

.hero .content .why-box p {
  font-size: 16px;
  line-height: 1.4;
  word-break: keep-all; /* 한글 단어 단위 줄바꿈으로 깔끔하게 */
}

.hero .content .why-box .more-btn {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 80%);
  display: inline-block;
  padding: 6px 30px 8px 30px;
  border-radius: 5px;
  transition: all ease-in-out 0.1s;
}

.hero .content .why-box .more-btn i {
  font-size: 13px;
}

.hero .content .why-box .more-btn:hover {
  background: var(--surface-color);
  color: var(--accent-color);
}

.hero .content .icon-box {
  text-align: center;
  border-radius: 5px;
  background: color-mix(in srgb, var(--surface-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 20px 30px;
  width: 100%;
}

.hero .content .icon-box i {
  font-size: 35px;
  padding: 20px 0 15px 0;
  color: var(--accent-color);
}

.hero .content .icon-box h4 {
  font-size: 20px;
  font-weight: 500;
  margin: 10px 0 20px 0;
  word-break: keep-all; /* 한글 단어 단위 줄바꿈으로 깔끔하게 */
}

.hero .content .icon-box p {
  font-size: 16px;
  line-height: 1.4;
  color: color-mix(in srgb, var(--default-color), transparent 5%);
  word-break: keep-all; /* 한글 단어 단위 줄바꿈으로 깔끔하게 */
}

@media (max-width: 768px) {

.hero .welcome h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.4;
}

.hero .welcome h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 10px;
}

.hero .welcome p {
  font-size: 20px;
  font-weight: 400px;
  line-height: 1.4;
  margin: 0;
}

}

.mobile-only { display: none; }

/* 화면이 좁아질 때만 줄바꿈 실행 */
@media (max-width: 768px) {
  .mobile-only { display: block; }
}

/*--------------------------------------------------------------
# Hero-sub Section
--------------------------------------------------------------*/

/* sub-page 전용 배너 설정 */
.hero.hero-sub {
  /* 이미지 태그가 없으므로 높이를 명확히 지정합니다 */
  height: 350px; 
  min-height: 350px;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  
  /* 패럴랙스 핵심 설정 */
  background-attachment: fixed; /* 배경 고정 */
  background-size: cover;       /* 이미지 가득 채움 */
  background-position: center;  /* 가운데 정렬 */
  background-repeat: no-repeat;
}

/* 글자 가독성을 위해 배경을 어둡게 하는 오버레이 */
.hero.hero-sub::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--background-color), transparent 95%);
  z-index: 1;
}

.hero.hero-sub .container {
  position: relative;
  z-index: 2; /* 오버레이보다 위로 */
  color: #fff; /* 글자 흰색 */
}

.hero.hero-sub .welcome h2 {
  margin: 0;
  font-size: 60px;
  font-weight: 500;
  line-height: 1.4;
  color: #2c4964;
}

.hero.hero-sub .welcome h3 {
  margin: 0;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #2c4964;
}

.hero.hero-sub .welcome p {
  font-size: 24px;
  font-weight: 500px;
  line-height: 1.4;
  color: #4f89c0;
}

.hero.hero-sub .content {
  margin-top: 40px;
}


.hero .hero-sub h5 {
  font-size: 20px;
  line-height: 1.4;
  color: #555555;
  text-decoration: none;
}

.hero .hero-sub a {
  color: #555555;
  text-decoration: none;
}



/* 모바일에서는 패럴랙스 해제 (오류 방지) */
/*
@media (max-width: 1024px) {
  .hero.hero-sub {
    background-attachment: scroll; 
    height: 350px;
  }
}
*/

/* 모바일에서의 높이 조절 */
@media (max-width: 768px) {

.hero.hero-sub .welcome h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.4;
}

.hero.hero-sub .welcome h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 10px;
}

.hero.hero-sub .welcome p {
  font-size: 20px;
  font-weight: 400px;
  line-height: 1.4;
  margin: 0;
}

}

.mobile-only { display: none; }

/* 화면이 좁아질 때만 줄바꿈 실행 */
@media (max-width: 768px) {
  .mobile-only { display: block; }
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about .container {
  padding: 50px 15px;
}

.about .content h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  padding-bottom: 25px;
}

.about .content p {
  font-size: 16px;
  line-height: 1.4;
  word-break: keep-all; /* 한글 단어 단위 줄바꿈으로 깔끔하게 */
}

.about .content ul {
  list-style: none;
  padding-top: 30px;
}

/*
.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 25px;
}
*/

.about .content ul li {
  display: flex;
}

/*
.about .content ul i {
  flex-shrink: 0;
  font-size: 30px;
  color: var(--accent-color);
  margin-right: 15px;
}
*/

.about .content ul i {
  flex-shrink: 0;
  font-size: 30px;
  color: var(--accent-color);
  margin-right: 15px;
}

.about .content ul h5 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 30px;
}

.about .content ul h6 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.about .content ul p {
  font-size: 16px;
  line-height: 1.4;
  padding-bottom: 0px;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

@media (max-width: 768px) {

.about .container {
  padding: 40px 5% 40px 5%;
}

}

/*--------------------------------------------------------------
# info section
*/---------------------------------------------------------------

  .info .section {
    padding: 0;
    margin: 0;
  }

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  padding: 50px 0px;
}

.stats .row {
  display: flex;
  flex-wrap: wrap;
}

.stats i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  width: 110px;
  height: 110px;
  font-size: 33px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  padding: 0 10px; /* 좌우 패딩을 줄여 텍스트 공간 확보 */
  width: 100%;
  text-align: center;
}

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

.stats .stats-item h4 {
  font-size: 18px; /* 5개 배치 시 폰트가 크면 줄바꿈이 심하므로 살짝 조절 */
  white-space: nowrap; /* 제목 줄바꿈 방지 */
  margin-top: 15px;
}

.stats .stats-item p {
  word-break: keep-all; /* 한글 단어 단위 줄바꿈으로 깔끔하게 */
  font-size: 16px;
  line-height: 1.4;
}

.stats {
  position: relative;
}

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

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

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

.stats .subheading {
  text-align: center;
}

.stats .subheading h3 {
  font-weight: 700;
  font-size: 36px;
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  font-size: 45px;
  display: block;
  color: var(--default-color, transparent 10%);
  font-weight: 700;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
  line-height: 1.4;
  word-break: keep-all; /* 한글 단어 단위 줄바꿈으로 깔끔하게 */
  color: color-mix(in srgb, var(--default-color), transparent 5%);
}

.mobile-only { display: none; }

/* 화면이 좁아질 때만 줄바꿈 실행 */
@media (max-width: 768px) {
  .mobile-only { display: block; }
}

/* 5개 아이템일 때 각 아이템의 최대 너비 확보 */
@media (min-width: 768px) {
  .stats .col-lg-2 {
    flex: 0 0 auto;
    width: 20%; /* 100% / 5개 = 20% */
    max-width: 20%;
  }
}

/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments {
  padding: 50px 0px;
}

.departments {
  overflow: hidden;
}

.departments .nav-tabs {
  border: 0;
  padding-bottom: 30px;
}

.departments .nav-link {
  border: 0;
  padding: 5px 0px;
  transition: 0.2s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 5px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  font-weight: 500;
  font-size: 18px;
}

.departments .nav-link:hover {
  color: var(--accent-color);
}

.departments .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: var(--background-color);
}

.departments .tab-pane.active {
  animation: fadeIn 0.3s ease-out;
}

.departments .details h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
}

.departments .details p {
  font-size: 16px;
  line-height: 1.4;
  color: color-mix(in srgb, var(--default-color), transparent 5%);
}

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

@media (max-width: 768px) {
  .departments {
    padding: 50px 0 ;
  }

  .departments .container {
    padding-top: 0;
  }

  .departments .nav-link {
    border: 0;
    padding: 5px;
  }

  .departments .nav-link.active {
    color: var(--accent-color);
    background: var(--contrast-color);
  }
}


/*--------------------------------------------------------------
# special Section
--------------------------------------------------------------*/
.special {
  padding: 50px 0;
}

.special h3 {
  font-size: 20px;
  font-weight: 300px;
  line-height: 1.4;
  padding-top: 20px;
}

.special h4 {
  font-size: 18px;
  font-weight: 200px;
  line-height: 1.4;
}

.special p {
  font-size: 16px;
  line-height: 1.4;
  color: #1977cc;
}

.special img {
  margin-bottom: 30px;
}

-----------------------------------------------------

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3열 배치 */
  gap: 20px;
}

/* 숨겨진 아이템 제어 */
.service-item {
  display: none;
}

.service-item.is-visible {
  display: block;
}

/* 처음 3개만 보이도록 설정 */
.service-item:nth-child(-n+3) {
  display: block;
}

/* 기존 .service-box 스타일 유지 */
.service-box {
  padding: 20px 20px;
  border-radius: 10px;
  height: 100%; 
  transition: all 0.3s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 버튼 내용 중앙 정렬 */
  align-items: center;
}

/* 플러스 버튼 전용 스타일 */
.plus-box {
  cursor: pointer;
  font-size: 50px;
  font-weight: 100;
  color: #1977cc;
  background-color: rgba(25, 119, 204, 0.1);
  /* background: #fff; */ /* 버튼 박스는 깨끗한 흰색 추천 */
  border: 1px dashed #86c6ff; /* 클릭 가능하다는 느낌을 주는 점선 */
  min-height: 100px; /* 서비스 카드들과 비슷한 최소 높이 지정 */
}


.plus-box:hover {
  transform: translateY(-10px);
  background: #fff;
  border-color: #86c6ff;
}

/* 마우스 올렸을 때 들림 효과 */
.service-box:hover {
  transform: translateY(-10px); /* 위로 10px 들림 */
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* 그림자 추가 */
  border: 1px solid #86c6ff;
}


/* 화면이 좁아질 때만 줄바꿈 실행 */
@media (max-width: 768px) {
  .mobile-only { display: block; }

  /* 플러스 버튼 전용 스타일 */
  .plus-box {
    cursor: pointer;
    font-size: 30px;
    font-weight: 100;
    color: #1977cc;
    /* background: #fff; */ /* 버튼 박스는 깨끗한 흰색 추천 */
    background-color: rgba(25, 119, 204, 0.1);
    border: 1px dashed #86c6ff; /* 클릭 가능하다는 느낌을 주는 점선 */
    min-height: 50px; /* 모바일 최소 높이 지정 */
  }

}

/*--------------------------------------------------------------
# freeconsultation Section
--------------------------------------------------------------*/
.freeconsultation {
  padding: 50px 15px;
}

#id_mob_1 {
    background-color: #f8f9fa !important; /* 아주 연한 회색 배경 */
    color: #474747 !important;               /* 글자색을 약간 흐리게 */
    border: 1px solid #e1e1e1 !important;
    cursor: not-allowed;                  /* 마우스를 올리면 금지 표시 */
}

.freeconsultation .form-control,
.freeconsultation .form-select {
    border: 1px solid #e1e1e1 !important; /* 기본 보더 1px로 통일 */
    border-radius: 2px;
    height: 44px;
    font-size: 14px;
    transition: all 0.2s;
    background-color: #fff;
    color: #dadada;
}

/* 플레이스홀더 색상 및 크기 (성명 필드와 동일하게) */
.freeconsultation .form-control::placeholder {
    color: #9c9c9c !important;
    font-size: 16px !important;
    opacity: 1;
}

/* 셀렉트 박스의 첫 번째 옵션을 placeholder처럼 보이게 설정 */
/* (HTML에서 첫 번째 option에 value="0" 혹은 비워두었을 때 적용) */
.freeconsultation .form-select {
    color: #333;
}
.freeconsultation .form-select option[value="0"],
.freeconsultation .form-select option:first-child {
    color: #dadada;
}

/* 포커스(선택) 시 효과: 1px 두께 유지하며 보더 색상만 변경 */
.freeconsultation .form-control:focus,
.freeconsultation .form-select:focus {
    border: 1px solid #1977cc !important;
    box-shadow: none !important;
    outline: 0;
}

/* 텍스트 에리어 placeholder 별도 설정 */
.freeconsultation textarea.form-control {
  height: auto;
}
.freeconsultation textarea.form-control::placeholder {
    color: #dadada !important;
    font-size: 16px !important;
}



/* 개인정보 동의 영역 스타일 */
.agree-text {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 15px; /* 링크와 체크박스 사이 간격 */
    color: #666;
}

/* 약관 링크 스타일 */
.policy-link {
    color: #888;
    text-decoration: underline; /* 링크임을 알 수 있게 밑줄 추가 */
    cursor: pointer;
}

.policy-link:hover {
    color: #1977cc; /* 호버 시 강조색상 */
}

/* 체크박스 그룹 */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.checkbox-group input {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.checkbox-group label {
    cursor: pointer;
    user-select: none; /* 텍스트 선택 방지 */
}


.freeconsultation button[type=submit] {
  font-size: 20px;
  font-weight: 400;
  background: var(--accent-color);
  border: 0;
  padding: 15px 35px;
  color: #fff;
  transition: 0.1s;
  border-radius: 5px;
}

/* 무료 상담 신청하기 버튼 수정 */
.freeconsultation #id_submit {
    font-size: 21px; /* 글자 크기 조정 */
    font-weight: 500;
    background-color: #1977cc;
    border: none;
    padding: 15px 40px;
    color: #fff;
    border-radius: 5px; /* 살짝 둥근 모서리 */
    cursor: pointer;
    transition: background-color 0.1s;
}

.freeconsultation #id_submit:hover {
    background-color: #3b5da3; /* 호버 시 조금 더 어둡게 */
}



/* 1. 기본 상태: 셀렉트 박스의 글자색을 placeholder처럼 연하게 만듭니다. */
.freeconsultation .form-select {
    color: #9c9c9c !important; /* 연한 placeholder 색상 */
    font-size: 16px;
}

/* 2. 값이 선택되었을 때: 실제 상담 항목을 선택하면 글자색을 다시 진하게(#333) 바꿉니다. */
/* (이 부분은 브라우저 특성에 따라 다를 수 있어 아래처럼 처리하는 것이 가장 깔끔합니다) */
.freeconsultation .form-select option {
    color: #333; /* 드롭다운 목록 안의 글자색은 진하게 */
    background-color: #fff;
}

/* 3. 선택(Focus) 시 보더 스타일 (이전과 동일) */
.freeconsultation .form-select:focus {
    border: 1px solid #1977cc !important;
    color: #333; /* 선택 시작하면 글자색 진하게 변경 */
}
/* 1. 섹션 기본 레이아웃 */
.freeconsultation {
    padding: 50px 0;
}

/* 2. 입력창(Input, Select) 공통 기본 스타일 */
.freeconsultation .form-control,
.freeconsultation .form-select {
    border: 1px solid #e1e1e1 !important;
    border-radius: 2px;
    height: 44px;
    font-size: 16px; /* placeholder와 동일하게 16px로 통일 */
    background-color: #fff;
    color: #333; /* 기본 입력 텍스트는 진하게 */
    transition: all 0.2s;
    box-shadow: none !important;
}

/* 3. Placeholder 스타일 (Input, Textarea 전용) */
.freeconsultation .form-control::placeholder {
    color: #9c9c9c !important;
    font-size: 16px !important;
    opacity: 1;
}

/* 4. Select 박스 전용 스타일 (Placeholder 트릭) */
.freeconsultation .form-select {
    color: #9c9c9c !important; /* 처음엔 placeholder 색상처럼 보이게 */
}

.freeconsultation .form-select option {
    color: #333; /* 드롭다운 목록 글자색은 다시 진하게 */
    background-color: #fff;
}

/* 5. Readonly 필드 (010 고정값) 스타일 */
#id_mob_1 {
    background-color: #f8f9fa !important;
    color: #474747 !important;
    cursor: not-allowed;
    border: 1px solid #e1e1e1 !important;
}

/* 6. Focus 상태 (선택 시 보더 및 글자색 변경) */
.freeconsultation .form-control:focus,
.freeconsultation .form-select:focus {
    border: 1px solid #1977cc !important;
    color: #333 !important; /* 선택/입력 시작 시 글자색 진하게 */
    outline: 0;
}

/* 7. 텍스트 에리어(Message) 별도 설정 */
.freeconsultation textarea.form-control {
    height: auto;
    min-height: 150px;
}

/* 8. 개인정보 동의 영역 (링크와 체크박스 분리) */
.agree-text {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
    margin-top: 15px;
}

.policy-link {
    color: #888;
    text-decoration: underline;
    cursor: pointer;
}

.policy-link:hover {
    color: #1977cc;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-group label {
    cursor: pointer;
    user-select: none;
}

/* 9. 무료 상담 신청 버튼 */
.freeconsultation #id_submit {
    display: inline-block;
    font-size: 21px;
    font-weight: 500;
    background-color: #1977cc;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 20px;
}

.freeconsultation #id_submit:hover {
    background-color: #3b5da3;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq {
  padding: 50px 0;
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  border-radius: 5px;
  overflow: hidden;
}

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

.faq .faq-container .faq-item h3 {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  margin: 0 30px 0 0;
  transition: 0.1s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

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

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

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

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

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

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

.faq .faq-container .faq-active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.faq .faq-container .faq-active h3,
.faq .faq-container .faq-active h3:hover {
  color: var(--contrast-color);
}

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

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

-------------------------------------------------------------

/* FAQ 아이템 기본 스타일 */
.faq .faq-container .faq-item {
  background-color: rgba(25, 119, 204, 0.05); /* 기본 배경: #1977cc 5% 오파시티 */
  border: 1px solid rgba(25, 119, 204, 0.1);
  padding: 15px 20px; /* 여백 조정 */
  margin-bottom: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.faq .faq-container .faq-item h3 {
  font-size: 18px;
  font-weight: 400;
  color: #333; /* 가독성을 위한 진한 회색 */
  margin: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* 마우스 오버 시 스타일 변화 */
.faq .faq-container .faq-item:hover {
  background-color: rgba(25, 119, 204, 0.1); /* 호버 시 10%로 약간 진해짐 */
  border-color: rgba(25, 119, 204, 0.3);
}

.faq .faq-container .faq-item:hover h3 {
  color: #1977cc; /* 호버 시 텍스트도 기본 배경색 계열로 변경 */
}

.faq .faq-container .faq-item .faq-content p {
  font-size: 16px;
  line-height: 1.4;
  color: #555;
  margin-top: 10px;
  padding-bottom: 5px;
}

/* 활성화(열림) 상태 스타일 */
.faq .faq-container .faq-active {
  background-color: rgba(25, 119, 204, 0.12) !important; /* 열렸을 때 배경색 */
  border-color: #1977cc !important;
}

.faq .faq-container .faq-active h3 {
color: #1977cc !important;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .container {
  padding: 50px 15px;
}

.testimonials h3 {
  font-weight: 500;
  font-size: 22px;
  padding-bottom: 20px;
}

.testimonials p {
  font-size: 16px;
  line-height: 1.5;
}

/*
.testimonials .testimonial-item i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  width: 12px;
  height: 12px;
  font-size: 40px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
*/

.testimonials .swiper {
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.05);
  background-color: var(--surface-color);
}

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

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 100px;
  position: relative;
  padding: 30px 20px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  margin-right: 10px;
}

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

.testimonials .testimonial-item h4 {
  color: #444444;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
}

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

.testimonials .testimonial-item i {
  font-size: 10px;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #3b5da3;
  font-size: 16px;
  line-height: 0;
}

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

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

.testimonials .testimonial-item p {
  margin: 2px auto 2px auto;
}

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

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
  border: none;
}

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

@media (max-width: 767px) {

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

  .testimonials .testimonial-item {
    margin: 5px;
  }
}

.mobile-only { display: none; }

/* 화면이 좁아질 때만 줄바꿈 실행 */
@media (max-width: 768px) {
  .mobile-only { display: block; }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.mobile-only { display: none; }

/* 화면이 좁아질 때만 줄바꿈 실행 */
@media (max-width: 768px) {
  .mobile-only { display: block; }
}

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

/*--------------------------------------------------------------
# About-sub Section
--------------------------------------------------------------*/
.about-sub {
  padding: 50px 15px;
}

.about-sub .container {
  padding-top: 30px;
}

.about-sub .container-info {
  padding-top: 30px;
}

.about-sub .container-info h4 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  padding-bottom: 20px;
}

.about-sub .container-info p {
  font-size: 16px;
  font-weight: 100;
  line-height: 1.4;
}

.about-sub .container-info i {
  flex-shrink: 0;
  font-size: 30px;
  color: var(--accent-color);
  padding-right: 15px;
}



-----------------------------------
.about-sub .container-info i {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--accent-color);
  padding-right: 15px;
}

.about-sub h5 {
  font-size: 18px;
  position: relative;
  padding-bottom: 13px;
}

.about-sub ul a {
  color: #555555;
  display: inline-block;
  line-height: 0.7;
}

.about-sub ul a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {

.about-sub .container {
  padding: 0 1% 0 1%;
}

}

/*--Process--------------------------------------*/

.process .process-box p {
  font-size: 16px;
  line-height: 1.4;
}

/* 프로세스 전체 컨테이너 */
.process-wrapper {
  display: flex;
  flex-wrap: wrap; /* 화면이 좁으면 밑으로 흐르게 */
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 10px 0 40px 0;
}

/* 개별 박스 (pricing j 기반 수정) */
.process-box {
  background-color: #ffffff;
  color: #333;
  border: 2px solid var(--accent-color); /* 포인트 컬러 유지 */
  width: 200px;
  height: 150px;
  padding: 10px 3px;
  font-size: 16px;
  border-radius: 12px; /* 조금 더 둥글게 해서 세련된 느낌 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: top;
  text-align: center;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05); /* 은은한 그림자 */
  position: relative;
  transition: transform 0.3s ease;
}

.process-box:hover {
  transform: translateY(-5px); /* 마우스 올렸을 때 살짝 들리는 효과 */
}

/* 숫자 아이콘 스타일 */
.step-num {
  background-color: var(--accent-color);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 15px;
}

/* 화살표 스타일 */
.arrow {
  font-size: 24px;
  color: var(--accent-color);
  font-weight: bold;
}

/* 강조 텍스트 (날짜 등) */
.process-box p span {
  font-size: 13px;
  color: #888;
  display: block;
  margin-top: 8px;
}

/* 신청, 인가 강조 색상 */
.process-box.app {
  background-color: #1977cc;
  border-color: #1977cc;
  color: #fff;
}
.process-box.app .step-num {
  background-color: #fff;
  color: #1977cc;
}

/* 면책(마지막 박스) 강조 색상 */
.process-box.final {
  background-color: #ff9800; /* 오렌지 계열 포인트 */
  border-color: #ff9800;
  color: #fff;
}
.process-box.final .step-num {
  background-color: #fff;
  color: #ff9800;
}

/* 반응형 모바일 */
@media (max-width: 768px) {
  .process-wrapper {
    justify-content: center;
  }
  .arrow {
    display: none; /* 모바일에서는 화살표 제거하고 박스만 나열 */
  }
}


/*--------------------------------------------------------------
# review-board Section
--------------------------------------------------------------*/
.review-board .container {
  padding-top: 50px;
}

/* 검색 영역을 우측으로 밀기 */
.search-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 5px;
}

/* 아이콘과 입력창을 감싸는 박스 */
.search-box {
  display: flex;
  align-items: center; /* 수직 중앙 정렬 (핵심) */
  border: 1px solid #c9c9c9;
  border-radius: 4px;
  padding: 0 10px; /* 좌우 여백 */
  width: 250px;
  height: 35px; /* 높이 고정으로 안정감 부여 */
  background-color: #fff;
  transition: border-color 0.1s;
}

/* 돋보기 아이콘 스타일 */
.search-box i {
  color: #888;
  font-size: 14px;
  margin-right: 8px; /* 아이콘과 텍스트 사이 간격 */
  flex-shrink: 0; /* 아이콘 크기 고정 */
}

.board-list {
  border-top: 2px solid #1977cc; /* 상단 포인트 라인 */
  border-bottom: 1px solid #e1e1e1;
}

.list-header, .list-item {
  display: flex;
  align-items: center;
  padding: 13px 10px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  font-size: 16px;
}

.list-header {
  background-color: #fafafa;
  color: #444444;
}

.list-item:hover {
  background-color: #f9f9f9;
}

/* 입력창 스타일 (기본 테두리 제거) */
.search-input {
  border: none !important;
  outline: none !important;
  width: 100%;
  height: 100%;
  font-size: 16px;
  color: #333;
  padding: 0; /* 내부 여백 제거하여 정렬 맞춤 */
}

/* 입력창 선택 시 외곽 박스 색상 변경 */
.search-box:focus-within {
  border: 1px solid #1977cc;
}

/* Placeholder 색상 및 크기 */
.search-input::placeholder {
  color: #d1d1d1;
  font-size: 16px;
}

.review-board-pagination {
  font-size: 15px;
  position: relative;
}

.form-container {
  padding-top: 50px;
}

.form-header {
  margin-bottom: 0px;
}

.form-header h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.form-header p {
  font-size: 16px;
}

/* 컬럼 너비 조정 */
.col-num { width: 10%; }
.col-title { width: 50%; text-align: left; padding-left: 20px; }
.col-author { width: 15%; }
.col-date { width: 15%; color: #888; }
.col-count { width: 10%; color: #888; }

.col-title a {
  text-decoration: none;
  color: #333;
}

/* --- 페이지네이션 디자인 --- */
.review-board-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.page-nav {
  color: #888;
  text-decoration: none;
  font-size: 13px;
  padding: 5px 8px;
  border: 1px solid #eee;
  border-radius: 2px;
}

/* 페이지 번호들이 가로로 정렬되도록 보장 */
.page-numbers {
  display: flex !important; /* 강제 적용 */
  gap: 5px;
  margin: 0 10px;
  align-items: center;
}

.page-num {
  text-decoration: none;
  color: #666; /* 기본 번호 색상 */
  width: 32px;
  height: 32px;
  display: flex !important; /* 번호가 보이도록 설정 */
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 14px;
  transition: 0.2s;
  border: 1px solid transparent; /* 영역 확보를 위해 투명 보더 추가 */
}

/* 활성화된 페이지 (#1977cc 배경에 흰색 글자) */
.page-num.active {
  background-color: #1977cc !important;
  color: #ffffff !important; /* 글자색 흰색 강제 */
  font-weight: bold;
  border: 1px solid #1977cc;
}

.page-num:hover:not(.active) {
  background-color: #f4f4f4;
}

/* --- 인풋 박스 스타일 수정 --- */
.review-board .form-control {
  border: 1px solid #e1e1e1; /* 기본 보더 1px */
  border-radius: 2px;
  padding: 10px 15px;
  transition: all 0.2s;
}

/* --- 입력 폼 스타일 (이미지 양식과 동일화) --- */
.input-field, .textarea-field {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 10px;
  border: 1px solid #e1e1e1;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}

.review-board .form-control:focus {
  border: 1px solid #1977cc !important; /* 선택 시 보더 1px 유지 및 색상 변경 */
  box-shadow: none;
}

/* placeholder 텍스트 설정 */
.review-board .form-control::placeholder {
  color: #d1d1d1; /* 더 옅은 색 */
  font-size: 16px; /* 16px로 변경 */
}

/* 버튼 스타일 (이미지 '무료 상담 신청하기' 버튼 스타일) */
.submit-btn {
  display: block;
  width: 280px;
  margin: 30px auto;
  padding: 15px 0;
  background-color: #1977cc;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #4364ad;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .col-num, .col-date { display: none; }
  .col-title { width: 75%; }
  .col-author { width: 25%; }
  .half-width { width: 100%; }
  .submit-btn { width: 100%; }
}

/*--------------------------------------------------------------
# Floating Action Button (크기 정상화 및 모바일 위치 최적화)
--------------------------------------------------------------*/
/* [공통] 플로팅 컨테이너 기본 스타일 (🔥 PC 기준: 완전히 숨김 처리) */
.floating-container {
  position: fixed;
  right: 10px;
  bottom: 200px; 
  display: none; /* 🔥 기존 flex에서 none으로 변경하여 PC에서 숨김 */
  flex-direction: column-reverse; /* 아래에서 위로 쌓임 */
  gap: 10px;
  z-index: 9999;
  transition: bottom 0.3s ease, transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
}

/*
.floating-container {
  display: flex;   /* ⭕ 기존 none에서 flex로 복구하여 PC 노출 */
/*

/* [공통] 버튼 크기 고정 (★이미지가 거대해지는 것을 완벽 방지) */
.floating-button {
  width: 50px;  
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

/* [공통] 버튼 이미지 꽉 차게 정렬 */
.btn-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 이미지가 잘리지 않고 꽉 차게 */
}

/* 숨김 상태 클래스 */
.floating-container.hide {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}

/* 애니메이션: 펄스 효과 */
.floating-button.main, .floating-button.sub {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}


/* ────────────────────────────────────────────────────────────── */
/* ✨ 모바일 반응형 환경 레이아웃 제어 (768px 이하 자동 스위칭) */
/* ────────────────────────────────────────────────────────────── */

@media screen and (max-width: 768px) {
  
  /* 1. 카톡/전화 플로팅 버튼 컨테이너 (🔥 모바일에서만 노출되도록 활성화) */
  .floating-container {
    display: flex !important; /* 🔥 PC에서 숨긴 컨테이너를 모바일에서만 강제로 표시 */
    right: 12px;
    /* 하단 상담 바(54px) 바로 위에 딱 붙여서 시작하도록 설정 */
    bottom: calc(58px + env(safe-area-inset-bottom)); 
  }
  
  /* 모바일 버튼 크기 유지 */
  .floating-button {
    width: 46px; 
    height: 46px;
  }

  /* 2. 최상단으로 가기 버튼 */
  a#scroll-top,
  .scroll-top,
  .scroll-to-top {
    right: 15px;
    bottom: calc(260px + env(safe-area-inset-bottom)); 
    position: fixed;
    z-index: 9998; 
  }

  /* 3. 모바일 하단 고정 상담 바 - 브라우저 바닥에 빈틈없이 밀착 */
  .mobile-sticky-consult-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 54px;
    background-color: #1a2a40;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000; 
  }

  .sticky-bar-container {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    height: 100%;
  }

  /* 입력창 및 연락처 그룹 반응형 비율 최적화 */
  .sticky-bar-container input[type="text"] {
    width: 18%;
    height: 38px;
    font-size: 13px;
    padding: 0 4px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    box-sizing: border-box;
  }

  .sticky-phone-group {
    display: flex;
    align-items: center;
    width: 40%;
    height: 38px;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0 4px;
    box-sizing: border-box;
  }

  .sticky-phone-group input[type="tel"] {
    width: 100%;
    border: none !important;
    background: transparent;
    text-align: center;
    font-size: 13px;
    padding: 0;
  }
  
  .sticky-phone-group input:focus {
    outline: none !important;
  }

  /* 개인정보 체크박스 + 문구 세로 2줄 정렬 */
  .sticky-agree-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20%;
    gap: 2px;
  }

  .sticky-agree-group input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
  }

  .sticky-policy-link {
    font-size: 8px;
    color: #ffffff;
    white-space: nowrap;
    text-align: center;
  }

  /* 상담신청 버튼 블루 포인트 테마 적용 */
  #id_sticky_submit {
    width: 22%;
    height: 38px;
    background-color: #1977cc;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    box-sizing: border-box;
  }
}


/* ────────────────────────────────────────────────────────────── */
/* ✨ inc_consulting.php 전용: 하단 고정 상담 바 반응형 완벽 최적화 */
/* ────────────────────────────────────────────────────────────── */

/* [공통 스타일] 모바일 & PC 통합 기본 구조 정의 */
.mobile-sticky-consult-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a2a40; 
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.25);
    z-index: 10000;
    box-sizing: border-box;
    padding: 0px 0px;
}

.sticky-bar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 1200px; 
    margin: 0 auto;
}

/* 입력창 및 레이블 공통 */
.sticky-bar-container input[type="text"],
.sticky-phone-group {
    text-align: center;
    border: 0px solid #313131;
    border-radius: 4px;
    background-color: #ffffff;
    color: #333333;
    box-sizing: border-box;
}

/* 성명 입력창 */
.sticky-bar-container input[type="text"] {
    text-align: center;
    padding: 0 10px;
    font-size: 14px;
}

/* 연락처 그룹 컨테이너 */
.sticky-phone-group {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.sticky-prefix {
    font-size: 14px;
    padding-left: 7px;
    color: #777777;
    font-weight: bold;
    user-select: none;
    display: flex;
    align-items: center;
}

.sticky-phone-group input[type="tel"] {
    flex: 1;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 14px;
    color: #888888;
    padding: 0;
    width: 100%;
}

.sticky-phone-group input:focus {
    outline: none !important;
}

/* 개인정보동의 체크박스 영역 */
.sticky-privacy-label {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 8px; 
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.sticky-privacy-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 5px 0 0;
    cursor: pointer;
}

.sticky-policy-link {
    font-size: 12px;
    color: #ffffff;
    white-space: nowrap;
    text-align: center;
  }


/* 상담신청 버튼 */
#id_sticky_submit {
    background-color: #1977cc;
    font-size: 16px;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sticky_submit:hover, #sticky_submit:active {
    background-color: #145fa3;
}


/* 🖥️ 1. PC 및 태블릿 화면 */
@media screen and (min-width: 769px) {
    .mobile-sticky-consult-bar {
        height: 60px; 
    }
    .sticky-bar-container {
        gap: 15px; 
    }
    .sticky-bar-container input[type="text"] {
        width: 160px;
        height: 40px;
    }
    .sticky-phone-group {
        width: 260px;
        height: 40px;
    }
    .sticky-prefix {
        margin-right: 8px;
    }
    #id_sticky_submit {
        width: 150px;
        height: 40px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }
}


/* 📱 2. 모바일 화면 (한정된 공간에서 100% 꽉 차게 반응형 대응) */
@media screen and (max-width: 768px) {
    .mobile-sticky-consult-bar {
        height: 52px; 
        padding: 0 8px;
        bottom: env(safe-area-inset-bottom); 
    }
    .sticky-bar-container {
        gap: 6px; 
    }
    .sticky-bar-container input[type="text"] {
        width: 20%; 
        height: 36px;
        font-size: 13px;
        padding: 0 4px;
    }
    .sticky-phone-group {
        width: 40%;
        height: 36px;
        padding: 0 2px;
    }
    .sticky-prefix {
        font-size: 13px;
    }
    .sticky-phone-group input[type="tel"] {
        font-size: 13px;
    }
    .sticky-privacy-label {
        font-size: 13px; 
    }
    .sticky-privacy-label input[type="checkbox"] {
        width: 14px;
        height: 14px;
        margin-right: 0px;
    }
    #id_sticky_submit {
        width: 22%;
        height: 36px;
        font-size: 14px;
    }

    /* 💥 우측 플로팅 버튼들이 하단 바에 가려지지 않도록 위로 밀어올리기 (🔥 모바일 활성화 추가) */
    .floating-buttons, 
    .floating-zone,
    .floating-container,
    div[class*="floating"],
    div[id*="floating"] { 
        display: flex !important; /* 🔥 PC에서 숨겨진 플로팅 요소들을 모바일에서 완벽 노출 */
        bottom: calc(110px + env(safe-area-inset-bottom)) !important; 
    }

    /* 맨 위로 가기(Top) 버튼 */
    .scroll-top,
    .scroll-to-top,
    .back-to-top,
    a[class*="scroll-top"] {
        bottom: calc(60px + env(safe-area-inset-bottom)) !important;
    }
}
