:root {
  --primary-color: #ff4444;
  --primary-light: #ff6666;
  --primary-dark: #c92534;
  --accent-color: #ff8c42;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --link-color: #18379c;

  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;

  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;

  --border-color: var(--gray-500);
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-500);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Pretendard", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: white;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

:lang(ko) {
  word-break: keep-all;
}

.scroll-BG {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url(../../assets/img/BG2.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition: opacity 1.2s ease-in-out;
}

.fittedImage {
  display: flex;
  flex: 1;
  width: 100%;
  padding: 20px 0;
  align-self: center;
}

/* Container & Wrapper*/

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.container1300 {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding-left: 10px;
}

.container1400 {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

.container1000 {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

.div_flex1 {
  flex: 1;
}

.wrapper {
  width: 100%;
}

.wrapper-transparent {
  width: 100%;
  padding: 100px 0;
  animation: fadeInUp 0.5s ease 0.1s forwards;
  transform: translateY(10px);
  opacity: 0;
}

.wrapper-fadein {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    white 100px,
    rgb(255, 255, 255) 100%
  );
  padding: 7rem 0 3rem 0;
}

.wrapper-white {
  width: 100%;
  padding: 100px 0;
  background-color: white;
}

.wrapper-gray {
  width: 100%;
  background-color: var(--gray-50);
}

.centered {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.title-container {
  display: flex;
  max-width: 1200px;
  justify-content: center;
  margin: 10em auto 7em;
  position: relative;
}

.box-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.box-title2 {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: auto;
  padding: 10rem 1rem;
  gap: 20px;
}

.title {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
}

.title2 {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  padding: 0 30px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: 5em;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled .nav-links > li > a {
  font-weight: 500;
  display: block;
  transition: color 0.3s;
  color: black;
}

header.scrolled .nav-links > li > a:hover {
  color: var(--text-secondary);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  width: 100%;
  height: 5em;
  margin: 0 auto;
  padding: 0 60px;
}

.nav-links {
  margin-right: 40px;
  display: flex;
  gap: 3rem;
}

.nav-links li {
  position: relative;
}

.logo img {
  display: flex;
  background-color: transparent;
  margin: auto 0 auto 10px;
  height: 40px;
}

.logo-transition {
  margin: auto;
}

.nav-cta {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  border: none;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* Megamenu Section */
.megamenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0px;
  background-color: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  min-width: fit-content;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  animation: none;
  z-index: 1001;
  border-radius: 2px;
}

.megamenu-parent {
  position: relative;
  padding: 5px 0;
}

.megamenu-parent a {
  color: white;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s ease;
  position: relative;
  padding: 0 10px;
}

.megamenu-parent a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.megamenu-parent:hover > a::after {
  transform: scaleX(1);
}

.megamenu-parent:hover .megamenu {
  display: block;
  opacity: 1;
  visibility: visible;
  animation: fadeIn 0.3s ease;
  /* padding: 16px 40px 16px 10px; */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.megamenu-inner {
  display: flex;
  width: max-content;
  gap: 40px;
}

/* .mega-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
} */
.mega-column {
  display: flex;
  flex-direction: column;
}

/* .mega-column a {
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  color: black;
  width: fit-content;
} */
.mega-column a {
  border-radius: 2px;
  width: 100%;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  color: black;
  width: 100%;
  /* padding: 10%; */
  padding: 10px 15px;
  display: flex;
  /* justify-content: center; */
}

/* .mega-column a:hover {
  color: var(--text-secondary);  
} */

.mega-column a:hover {
  background-color: #ff4444;
  color: white;
}

.Text-overlay {
  position: relative;
  width: 100%;
  max-width: 1400px;
  padding: 0 min(200px, 10%);
}

.Text-overlay h2 {
  width: 90%;
  margin: 0;
  padding: 0;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 1);
}

.navbar-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  animation: fadeIn 0.4s ease forwards;
}

.button-group-container {
  /* 오버레이 메뉴 위치 */
  width: 60%;
}

.button-group {
  display: flex;
  gap: 15px;
  align-items: stretch;
  justify-content: flex-end;
}

/* Mobile Navigation Fix */
@media (max-width: 768px) {
  .navbar-overlay .button-group-container .button-group {
    justify-content: center;
    gap: 0;
  }

  .button-group-container {
    width: 100%;
  }

  .entry-image img {
    display: none;
  }

  .button-group a {
    max-width: 117px;
  }
}

/* Button styling */
.button-group a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.555);
  padding: 24px 24px;
  font-size: 1.1rem;
  font-weight: 500;
  min-width: 100px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.navbar-overlay .button-group a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.navbar-overlay .button-group a.active {
  color: #ffffff;
  transform: translateY(-2px);
  border-top: 3px solid var(--primary-dark);
}

/* ---------------Pagination------------------ */
.pagination {
  display: flex;
  justify-self: center;
  justify-content: center;
  width: auto;
  align-items: center;
  gap: 1rem;
  padding: 4rem 0 0 0;
  border-radius: 20px;
}

.pagination button,
.pagination-nav,
.pagination-label {
  width: 3.5rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--primary-color);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.pagination-nav {
  font-size: 1.2rem;
  font-weight: 600;
  outline: none;
}

.pagination button:hover,
.pagination-nav:hover,
.pagination-label:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.05);
  transition: background-color 0.5s ease, transform 0.25s ease;
}

.pagination button.active {
  width: 6.5rem;
  background: var(--primary-color);
  box-shadow: 0 3px 10px rgba(233, 30, 99, 0.3);
  color: white;
}

.pagination button.pagination-nav:disabled,
.pagination-nav:disabled {
  display: none;
  cursor: default;
}

.pagination-label {
  transition: width 0.5s ease, background 0.5s ease, color 0.5s ease;
}

.pagination-page:checked + .pagination-label {
  width: 6.5rem;
  background: var(--primary-color);
  box-shadow: 0 3px 10px rgba(233, 30, 99, 0.3);
  color: white;
}

.pagination-pages {
  display: flex;
  gap: 1rem;
}

.pagination-page {
  display: none;
}

.pagination-label.disabled:hover {
  background-color: white;
  color: var(--primary-color);
  cursor: default;
  transform: scale(1.05);
  transition: transform 0.25s ease;
}

/* Hero Section */
.hero-main {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../img/Robot-Homepage.svg);
  background-size: cover;
  background-position: 53%;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: zoomOut 4s ease-in-out forwards;
  z-index: -1;
}

@keyframes zoomOut {
  0% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.hero-main .container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.hero-content {
  display: flex;
  position: static;
  max-width: 600px;
  z-index: 2;
  gap: 4rem;
  align-items: flex-start;
  flex: 0;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
  letter-spacing: -0.025em;
}

.hero-text .highlight {
  color: var(--primary-color);
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn-main {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  border: none;
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  color: var(--text-primary);
  padding: 0.875rem 1.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  background: white;
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-5px);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border-radius: 14px;
  z-index: -1;
  opacity: 0.1;
}

.hero-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.hero-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Main About Section */
.main-about {
  display: flex;
  padding: 8rem 0;
  background: white;
  align-items: center;
  min-height: 800px;
}

.main-about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.main-about-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.main-about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.main-about-image {
  position: relative;
  height: 400px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(224, 49, 5, 0.13) 0%,
    var(--gray-400) 100%
  );
  background-image: url(../img/proxmox-logo-stacked-color.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.main-about-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    35deg,
    transparent 30%,
    rgba(255, 94, 0, 0.08) 50%,
    transparent 70%
  );
  border-radius: 24px;
}

/* Services Section */
.services-section {
  padding: 8rem 0;
  background: var(--gray-100);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.italianno-font {
  font-family: "Italianno", cursive;
}

.cormorant-italic {
  font-family: "Cormorant Garamond", serif;
  font-style: normal;
}

.section-tag {
  display: inline-block;
  background: transparent;
  color: rgb(0, 0, 0);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.1rem;
  font-family: "Italianno", "Cormorant Garamond", cursive;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  max-width: 500px;
  width: 100%;
  justify-self: center;
  background: white;
  border-radius: 24px;
  padding: 3rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 1px 10px 10px rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 3rem;
}

.service-features li {
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 1.5rem 0;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 600;
}

.service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s ease;
}

.service-link:hover {
  color: var(--primary-dark);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.stats {
  padding: 3rem 0;
  background: linear-gradient(
    90deg,
    white -0.5%,
    #f58220 20%,
    #c92534 40%,
    #c92534 60%,
    #f58220 80%,
    white 100.5%
  );
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.stats2 {
  display: flex;
  justify-self: center;
  width: 100%;
  background-color: white;
  padding: 1.4rem 2rem;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.stats-grid {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 100%;
  max-width: 2000px;
  justify-self: center;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 0 0 15%;
  max-width: 170px;
}

.stat-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.about {
  padding: 8rem 0;
  background: white;
}

.why-content {
  display: grid;
  padding-left: 100px;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: black;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.why-text p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  position: relative;
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 25%,
    rgba(255, 255, 255, 0.699) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-item:hover {
  transform: translateY(-2px);
}

.feature-item:hover::before {
  animation: shine 1.3s ease forwards;
  opacity: 1;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

.feature-item h4 {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin: 0;
}

.why-image img {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  font-size: 4rem;
  position: relative;
  overflow: visible;
}

.social-links {
  display: flex;
  gap: 2rem;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(0, 0, 0);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.social-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: opacity 1.2s cubic-bezier(0.3, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.social-link:hover img {
  opacity: 0;
}

.social-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: circle(35% at 50% 50%);
  opacity: 0;
  transition: clip-path 0.6s cubic-bezier(0.7, 0, 0.3, 1),
    opacity 0.3s ease 0.05s;
  z-index: 2;
}

.social-link.facebook::after {
  background-image: url("../../assets/img/btn_facebook_hover.svg");
}

.social-link.instagram::after {
  background-image: url("../../assets/img/btn_Insta_hover.svg");
  background-color: var(--gray-100);
}

.social-link.naver::after {
  background-image: url("../../assets/img/btn_blog_hover.svg");
}

.social-link.youtube::after {
  background-image: url("../../assets/img/btn_youtube_hover.svg");
  background-color: var(--gray-100);
}

.social-link:hover::after {
  clip-path: circle(100% at 50% 50%);
  opacity: 1;
}

.copyright {
  display: flex;
}

.copyright p {
  font-size: 1rem;
  color: rgba(0, 0, 0, 1);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

@media (max-width: 1440px) {
  .stats-grid {
    justify-content: space-around;
  }
}

@media (max-width: 1024px) {
  /* ---------------공통--------------- */
  html {
    font-size: 14px;
  }

  .main-about {
    min-height: fit-content;
  }
}

@media (max-width: 768px) {
  /* -----------------공용---------------- */
  html {
    font-size: 12px;
  }

  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.8rem;
  }

  .nav-links {
    display: none;
  }

  /* --------------메인페이지------------- */

  .hero-main .container {
    justify-content: center;
    padding: 0 30px;
  }

  .hero-content {
    display: flex;
    text-align: start;
    align-items: center;
    gap: 2rem;
    max-width: 100%;
  }

  .why-content {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .main-about-image {
    height: 300px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .why-stats {
    grid-template-columns: 1fr;
  }

  .container1400 {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  /* ----------------공용------------------ */
  /* .button-group a {
        min-width: 120px;
        cursor: pointer;
        text-align: center;
        transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    } */

  html {
    font-size: 10px;
  }

  .box-title2 {
    padding: 10rem 0 8rem 0;
  }

  .wrapper-fadein {
    padding: 3rem 0;
  }

  .container1300 {
    padding: 0 15px;
  }
  /* -------------------메인페이지------------------- */
  .hero-text h1 {
    text-align: start;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.025em;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.7;
  }

  .hero-text p {
    font-size: 1.3rem;
  }

  .why-content {
    padding: 18px;
  }

  .main-about-content {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .main-about-image {
    height: 200px;
  }

  .stats {
    padding: 3rem 0;
  }

  .stats2 {
    padding: 2.5rem 2rem;
  }

  /* ------------페이지네이션-------------- */
  .pagination-nav {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
  }

  .pagination button.active {
    width: 5.5rem;
  }

  .pagination-page:checked + .pagination-label {
    width: 4.5rem;
    background: var(--primary-color);
    box-shadow: 0 3px 10px rgba(233, 30, 99, 0.3);
    color: white;
    transition: width 0.5s ease, background 0.5s ease, color 0.5s ease;
  }
}
