/*
 * KoMaP Main Page Redesign - CSS Design System
 * Modern design system using CSS custom properties
 */

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */

:root {
  /* Primary Colors */
  --navy: #15294d;
  --navy2: #1d3866;
  --blue: #2e6fd6;
  --blue2: #5b9bd5;
  --blue-soft: #e8f0fc;

  /* Neutral Colors */
  --bg: #eef2f8;
  --card: #ffffff;
  --line: #e1e7f0;
  --line2: #eef2f8;

  /* Semantic Colors */
  --text: #1a2233;
  --muted: #6b7790;
  --success: #1f9d6b;
  --warn: #e08a2b;
  --danger: #d2473f;

  /* Visual Effects */
  --shadow: 0 1px 3px rgba(20, 41, 77, 0.06), 0 6px 20px rgba(20, 41, 77, 0.06);
  --radius: 14px;
}

/* ============================================
   Global Typography & Base Styles
   ============================================ */

body {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text);
}

/* ============================================
   Typography Scale
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', -apple-system, sans-serif;
  color: var(--text);
}

/* ============================================
   Utility Classes
   ============================================ */

.text-muted {
  color: var(--muted);
}

.text-success {
  color: var(--success);
}

.text-warn {
  color: var(--warn);
}

.text-danger {
  color: var(--danger);
}

/* ============================================
   Card Components Base
   ============================================ */

.card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: all 0.18s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(20, 41, 77, 0.1), 0 12px 40px rgba(20, 41, 77, 0.1);
}

/* ============================================
   Button Base Styles
   ============================================ */

.btn {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', -apple-system, sans-serif;
  border-radius: 12px;
  transition: all 0.15s ease;
}

.btn-primary {
  background-color: var(--blue);
  color: var(--card);
  border: none;
}

.btn-primary:hover {
  background-color: var(--navy);
}

.btn-secondary {
  background-color: var(--card);
  color: var(--blue);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--navy);
}

/* ============================================
   Tag/Chip Components
   ============================================ */

.tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue);
  background-color: var(--blue-soft);
  border-radius: 6px;
  transition: all 0.15s ease;
}

/* ============================================
   Link Styles
   ============================================ */

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--navy);
}

/* ============================================
   Spacing Utilities
   ============================================ */

.section-spacing {
  margin-bottom: 50px;
}

/* ============================================
   Responsive Container
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

@media (min-width: 980px) {
  .container {
    padding: 0 60px;
  }
}

/* ============================================
   Grid System Base
   ============================================ */

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Responsive Grid Adjustments */
@media (max-width: 767px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   Animation Utilities
   ============================================ */

.transition-fast {
  transition: all 0.15s ease;
}

.transition-normal {
  transition: all 0.18s ease;
}

.hover-lift {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hover-lift:hover {
  transform: translateY(-3px);
}

/* ============================================
   Border Radius Utilities
   ============================================ */

.rounded-sm {
  border-radius: 12px;
}

.rounded {
  border-radius: var(--radius);
}

.rounded-lg {
  border-radius: 18px;
}

/* ============================================
   Shadow Utilities
   ============================================ */

.shadow {
  box-shadow: var(--shadow);
}

.shadow-hover {
  transition: box-shadow 0.18s ease;
}

.shadow-hover:hover {
  box-shadow: 0 4px 12px rgba(20, 41, 77, 0.1), 0 12px 40px rgba(20, 41, 77, 0.1);
}

/* ============================================
   Background Utilities
   ============================================ */

.bg-card {
  background-color: var(--card);
}

.bg-light {
  background-color: var(--bg);
}

.bg-blue-soft {
  background-color: var(--blue-soft);
}

/* ============================================
   Border Utilities
   ============================================ */

.border {
  border: 1px solid var(--line);
}

.border-blue {
  border: 1px solid var(--blue);
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
  /* Gradient Background - Updated to match design spec */
  background: linear-gradient(120deg, #15294d, #2e6fd6);
  
  /* Radial Gradient Overlay in Top-Right Corner */
  position: relative;
  overflow: hidden;
  
  /* Border Radius - Updated to 18px as specified */
  border-radius: 18px;
  
  /* Responsive Padding - Mobile First */
  padding: 40px;
  
  /* Spacing - Ensure proper spacing below sticky header */
  margin-top: 24px;
  margin-bottom: 50px;
}

/* Radial Gradient Overlay Effect */
.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

/* Hero Content Container */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

/* Hero Eyebrow Label */
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* Hero Title */
.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 18px 0;
}

/* Hero Description */
.hero-description {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0 0 34px 0;
  max-width: 700px;
}

/* Hero Statistics Grid */
.hero-stats {
  display: grid;
  gap: 24px;
  
  /* Mobile: 2x2 Grid */
  grid-template-columns: repeat(2, 1fr);
}

/* Stat Item */
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Stat Value */
.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

/* Stat Label */
.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1;
}

/* Tablet Breakpoint - 768px */
@media (min-width: 768px) {
  .hero-section {
    padding: 60px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-description {
    font-size: 17px;
  }
  
  /* Tablet: Keep 2x2 Grid or switch to 4x1 */
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
  }
  
  .stat-value {
    font-size: 32px;
  }
  
  .stat-label {
    font-size: 15px;
  }
}

/* Desktop Breakpoint - 980px */
@media (min-width: 980px) {
  .hero-section {
    padding: 80px;
  }
  
  .hero-title {
    font-size: 40px;
    margin-bottom: 20px;
  }
  
  .hero-description {
    font-size: 18px;
    margin-bottom: 40px;
  }
  
  /* Desktop: 4x1 Grid */
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .stat-value {
    font-size: 36px;
  }
  
  .stat-label {
    font-size: 16px;
  }
}

/* ============================================
   Link Section - Quick Navigation
   ============================================ */

.link_section {
  margin-bottom: 50px;
}

.link_section .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.link_section ul {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  
  /* Mobile: Single column */
  grid-template-columns: 1fr;
}

.link_section li {
  margin: 0;
  padding: 0;
}

.link_section a {
  display: block;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 24px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.18s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient effect on hover */
.link_section a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(46, 111, 214, 0.03) 50%, transparent 100%);
  transition: left 0.4s ease;
}

.link_section a:hover::before {
  left: 100%;
}

.link_section a:hover {
  border-color: var(--blue2);
  color: var(--blue);
  box-shadow: 0 4px 12px rgba(20, 41, 77, 0.1), 0 12px 40px rgba(20, 41, 77, 0.1);
  transform: translateY(-3px);
}

.link_section a:active {
  transform: translateY(-1px);
}

/* Tablet Breakpoint - 768px */
@media (min-width: 768px) {
  .link_section .wrap {
    padding: 0 40px;
  }
  
  .link_section ul {
    /* Tablet: 2 columns */
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .link_section a {
    font-size: 17px;
    padding: 26px 30px;
  }
}

/* Desktop Breakpoint - 980px */
@media (min-width: 980px) {
  .link_section .wrap {
    padding: 0 60px;
  }
  
  .link_section ul {
    /* Desktop: 4 columns for the 4 service links */
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
  
  .link_section a {
    font-size: 17px;
    padding: 28px 32px;
  }
}

/* Large Desktop - 1200px and above */
@media (min-width: 1200px) {
  .link_section ul {
    gap: 24px;
  }
  
  .link_section a {
    font-size: 18px;
  }
}

/* ============================================
   Material Field Cards Section
   ============================================ */

.material-fields-section {
  margin-bottom: 50px;
}

.material-fields-section .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Material Fields Grid Container */
.material-fields {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  
  /* Mobile: 2-column grid */
  grid-template-columns: repeat(2, 1fr);
}

/* Material Card Component */
.material-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 24px 18px;
  box-shadow: var(--shadow);
  transition: all 0.18s ease;
  position: relative;
  
  /* Left colored border - default */
  border-left: 4px solid var(--blue);
}

/* Material Card - Chemistry (화학) */
.material-card[data-field="chemistry"] {
  border-left-color: #2e6fd6;
}

/* Material Card - Metal (금속) */
.material-card[data-field="metal"] {
  border-left-color: #6b7790;
}

/* Material Card - Fiber (섬유) */
.material-card[data-field="fiber"] {
  border-left-color: #0d9488;
}

/* Material Card - Ceramic (세라믹) */
.material-card[data-field="ceramic"] {
  border-left-color: #e08a2b;
}

/* Material Card Hover Effect */
.material-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(20, 41, 77, 0.1), 0 12px 40px rgba(20, 41, 77, 0.1);
}

/* Material Icon */
.material-icon {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 14px;
}

/* Material Name (Field Title) */
.material-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 0 0 10px 0;
}

/* Material Description */
.material-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Tablet Breakpoint - 768px */
@media (min-width: 768px) {
  .material-fields-section .wrap {
    padding: 0 40px;
  }
  
  /* Desktop: 4-column grid */
  .material-fields {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .material-card {
    padding: 28px 20px;
  }
  
  .material-icon {
    font-size: 46px;
    margin-bottom: 16px;
  }
  
  .material-name {
    font-size: 19px;
    margin-bottom: 12px;
  }
  
  .material-desc {
    font-size: 14px;
  }
}

/* Desktop Breakpoint - 980px */
@media (min-width: 980px) {
  .material-fields-section .wrap {
    padding: 0 60px;
  }
  
  .material-fields {
    gap: 22px;
  }
  
  .material-card {
    padding: 30px 22px;
  }
  
  .material-icon {
    font-size: 48px;
  }
  
  .material-name {
    font-size: 20px;
  }
  
  .material-desc {
    font-size: 15px;
  }
}

/* Large Desktop - 1200px and above */
@media (min-width: 1200px) {
  .material-fields {
    gap: 24px;
  }
  
  .material-card {
    padding: 34px 24px;
  }
}

/* ============================================
   AI Services Card Grid Section
   ============================================ */

.ai-services-section {
  margin-bottom: 50px;
}

.ai-services-section .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Title Area */
.sec_tit_area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.sec_tit {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.sec_tit.small {
  font-size: 22px;
}

.more_link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

.more_link:hover {
  color: var(--navy);
}

/* AI Services Grid Container */
.ai-services-grid {
  display: grid;
  gap: 20px;
  
  /* Mobile: Single column */
  grid-template-columns: 1fr;
}

/* AI Service Card Component */
.ai-service-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 28px 24px 60px 24px; /* Extra bottom padding for absolute positioned link */
  box-shadow: var(--shadow);
  transition: all 0.15s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* AI Service Card Hover Effect */
.ai-service-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue2);
  box-shadow: 0 4px 12px rgba(20, 41, 77, 0.1), 0 12px 40px rgba(20, 41, 77, 0.1);
}

/* Service Icon Container */
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Service Title */
.service-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}

/* Service Description */
.service-description {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  min-height: 38px; /* Ensures consistent card heights */
}

/* Service Tags Container */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto; /* Push tags to bottom of flex container */
}

/* Service Link */
.service-link {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

.service-link:hover {
  color: var(--navy);
}

/* Tablet Breakpoint - 768px */
@media (min-width: 768px) {
  .ai-services-section .wrap {
    padding: 0 40px;
  }
  
  /* Desktop: 2-column grid */
  .ai-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  
  .sec_tit {
    font-size: 28px;
  }
  
  .sec_tit.small {
    font-size: 24px;
  }
  
  .more_link {
    font-size: 15px;
  }
  
  .ai-service-card {
    padding: 30px 26px 64px 26px;
  }
  
  .service-title {
    font-size: 17px;
  }
  
  .service-description {
    font-size: 14px;
  }
}

/* Desktop Breakpoint - 980px */
@media (min-width: 980px) {
  .ai-services-section .wrap {
    padding: 0 60px;
  }
  
  .ai-services-grid {
    gap: 24px;
  }
  
  .sec_tit {
    font-size: 30px;
  }
  
  .ai-service-card {
    padding: 32px 28px 66px 28px;
  }
  
  .service-title {
    font-size: 18px;
  }
  
  .service-description {
    font-size: 15px;
  }
}

/* ============================================
   Service Levels Section
   ============================================ */

.service-levels-section {
  margin-bottom: 50px;
}

.service-levels-section .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Service Levels Grid Container */
.service-levels {
  display: grid;
  gap: 18px;
  
  /* Mobile: Single column */
  grid-template-columns: 1fr;
}

/* Level Card Component */
.level-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Level Tag */
.level-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue);
  background-color: var(--blue-soft);
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* Level Title */
.level-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}

/* Level Description */
.level-description {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Tablet Breakpoint - 560px */
@media (min-width: 560px) {
  .service-levels {
    /* Tablet: 2-column grid */
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Tablet Breakpoint - 768px */
@media (min-width: 768px) {
  .service-levels-section .wrap {
    padding: 0 40px;
  }
  
  /* Desktop: 3-column grid */
  .service-levels {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .level-card {
    padding: 30px 26px;
  }
  
  .level-title {
    font-size: 21px;
  }
  
  .level-description {
    font-size: 14px;
  }
}

/* Desktop Breakpoint - 980px */
@media (min-width: 980px) {
  .service-levels-section .wrap {
    padding: 0 60px;
  }
  
  .service-levels {
    gap: 22px;
  }
  
  .level-card {
    padding: 32px 28px;
  }
  
  .level-title {
    font-size: 22px;
  }
  
  .level-description {
    font-size: 15px;
  }
}

/* Large Desktop - 1200px and above */
@media (min-width: 1200px) {
  .service-levels {
    gap: 24px;
  }
  
  .level-card {
    padding: 34px 30px;
  }
}

/* ============================================
   Partnership Section
   ============================================ */

.partnership_section {
  margin-bottom: 50px;
}

.partnership_section .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.partnership_section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.partnership_section li {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all 0.18s ease;
}

.partnership_section li:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(20, 41, 77, 0.1), 0 12px 40px rgba(20, 41, 77, 0.1);
}

.partnership_section b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}

.partnership_section picture {
  display: inline-block;
  margin: 8px 16px 8px 0;
}

.partnership_section img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .partnership_section .wrap {
    padding: 0 40px;
  }
  
  .partnership_section ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (min-width: 980px) {
  .partnership_section .wrap {
    padding: 0 60px;
  }
  
  .partnership_section ul {
    gap: 24px;
  }
}

/* ============================================
   Service Section (Notice, Inquiry, Application)
   ============================================ */

.service_section {
  margin-bottom: 50px;
}

.service_section .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

/* Notice Area */
.notice_area {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.border_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.border_list li {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.border_list li:first-child {
  border-top: none;
  padding-top: 0;
}

.border_list a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.border_list a:hover {
  color: var(--blue);
}

.border_list .number {
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.border_list .number.notice {
  background-color: var(--blue-soft);
  color: var(--blue);
}

.border_list .tit {
  flex: 1;
  min-width: 0;
}

.border_list .tit p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.border_list .date {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Service Cards (Inquiry, Application) */
.service {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow);
  transition: all 0.18s ease;
  overflow: hidden;
}

.service:hover {
  transform: translateY(-3px);
  border-color: var(--blue2);
  box-shadow: 0 4px 12px rgba(20, 41, 77, 0.1), 0 12px 40px rgba(20, 41, 77, 0.1);
}

.service a {
  display: block;
  padding: 28px 24px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  transition: color 0.15s ease;
}

.service a:hover {
  color: var(--blue);
}

@media (min-width: 768px) {
  .service_section .wrap {
    padding: 0 40px;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 22px;
  }
  
  .border_list .tit p {
    font-size: 15px;
  }
  
  .service a {
    font-size: 17px;
  }
}

@media (min-width: 980px) {
  .service_section .wrap {
    padding: 0 60px;
    gap: 24px;
  }
}
