/* 기본 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a4d7a;
  --secondary-color: #2c6fa3;
  --accent-color: #4a90c2;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 헤더 및 네비게이션 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 3px solid var(--primary-color);
}

.nav {
  padding: 1.2rem 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  padding: 0.5rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(26, 77, 122, 0.05) 0%,
    rgba(44, 111, 163, 0.05) 100%
  );
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.logo:hover {
  background: linear-gradient(
    135deg,
    rgba(26, 77, 122, 0.1) 0%,
    rgba(44, 111, 163, 0.1) 100%
  );
  transform: translateX(5px);
}

.logo h1 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.logo-subtitle {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(26, 77, 122, 0.2);
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-menu > li > a:hover {
  color: var(--primary-color);
  background: rgba(26, 77, 122, 0.1);
  transform: translateY(-2px);
}

.nav-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-menu > li > a:hover::after {
  width: 80%;
}

/* Dropdown styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: var(--accent-color);
  color: var(--bg-white);
}

.dropdown-toggle::after {
  content: " ▼";
  font-size: 0.7rem;
  margin-left: 0.3rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: var(--transition);
}

/* 히어로 섹션 */
.hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    #e3f2fd 0%,
    #bbdefb 30%,
    #90caf9 60%,
    #64b5f6 100%
  );
  color: #1a237e;
  text-align: center;
  margin-top: 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.3)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
}

.hero-content-wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
  animation: fadeInUp 1s ease;
}

.hero-left,
.hero-right {
  padding: 3rem;
  color: #0d1b4a;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.hero-left {
  background: linear-gradient(
    135deg,
    rgba(227, 242, 253, 0.95) 0%,
    rgba(187, 222, 251, 0.95) 100%
  );
  background-image: url("images/hero_card_left.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  border-radius: 15px;
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(227, 242, 253, 0.75) 0%,
    rgba(187, 222, 251, 0.75) 100%
  );
  z-index: 0;
}

.hero-left > * {
  position: relative;
  z-index: 1;
}

.hero-right {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(240, 248, 255, 0.95) 100%
  );
  background-image: url("images/hero_card_right.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  border-radius: 15px;
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.75) 0%,
    rgba(240, 248, 255, 0.75) 100%
  );
  z-index: 0;
}

.hero-right > * {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0d1b4a;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
}

.hero-services {
  font-size: 1.2rem;
  color: #1a237e;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

.hero-mission {
  font-size: 1rem;
  color: #283593;
  text-align: center;
  line-height: 1.8;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.office-info-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.office-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0d1b4a;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
}

.office-manager {
  font-size: 1.2rem;
  color: #1a237e;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

.office-details {
  text-align: left;
  padding: 1.5rem 0;
}

.office-details p {
  margin-bottom: 0.8rem;
  color: #283593;
  font-size: 1rem;
  font-weight: 500;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

.office-address,
.office-location {
  font-weight: 500;
}

.office-tel,
.office-fax,
.office-email {
  color: white;
  font-weight: 600;
}

.office-email a {
  color: #283593;
  text-decoration: underline;
  font-weight: 600;
  transition: var(--transition);
}

.office-email a:hover {
  color: #1a4d7a;
  text-decoration: underline;
}

/* 버튼 */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: "Noto Sans KR", sans-serif;
}

.btn-primary {
  background: var(--bg-white);
  color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* 섹션 공통 스타일 */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
}

/* 소개 섹션 */
.about {
  background: var(--bg-white);
  position: relative;
  background-image: url("images/about_bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: 0;
}

.about .container {
  position: relative;
  z-index: 1;
}

.office-intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 2.5rem;
  background: var(--bg-light);
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
}

.intro-text {
  font-size: 1.1rem;
  line-height: 2;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.intro-text:last-child {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--primary-color);
}

.wbs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.wbs-item {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 15px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.wbs-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.wbs-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.wbs-item h3 {
  font-size: 1.1rem;
  color: #1a4d7a;
  margin-bottom: 0.8rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.wbs-sub {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wbs-sub li {
  padding: 0.3rem 0;
  color: #2c3e50;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-left: 1rem;
  position: relative;
  font-size: 0.9rem;
  font-weight: 400;
}

.wbs-sub li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.wbs-sub li:last-child {
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease, opacity 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-content {
  padding: 2rem;
  text-align: center;
}

.service-content h3 {
  font-size: 1.5rem;
  color: #1a4d7a;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.service-content p {
  color: #2c3e50;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-weight: 400;
}

.service-content strong {
  color: #1a4d7a;
  font-weight: 700;
}

.service-detail-btn {
  margin-top: 1.5rem;
  display: inline-block;
  text-align: center;
  width: 100%;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.service-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-service {
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  background: var(--primary-color);
  color: white;
  border: none;
  display: inline-block;
}

.btn-service:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* 주요 업무 섹션 */
.services {
  background: var(--bg-white);
  position: relative;
  background-image: url("images/services_bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* 오시는 길 섹션 */
.location {
  background: var(--bg-white);
  position: relative;
  background-image: url("images/location_bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.location::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 0;
}

.location .container {
  position: relative;
  z-index: 1;
}

.location-content {
  max-width: 1000px;
  margin: 0 auto;
}

/* 문의하기 섹션 */
.contact {
  background: var(--bg-white);
  position: relative;
  background-image: url("images/contact_bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.location-section {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.location-section h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.location-info {
  text-align: center;
}

.location-address {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a4d7a;
  margin-bottom: 0.5rem;
}

.location-detail {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.location-map {
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-forms-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-form-section h3,
.my-inquiries-section h3 {
  color: #1a4d7a;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.inquiries-list {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 10px;
  max-height: 500px;
  overflow-y: auto;
}

.inquiry-item {
  background: var(--bg-white);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.inquiry-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.inquiry-item-date {
  font-size: 0.85rem;
  color: var(--text-light);
}

.inquiry-item-content {
  color: #2c3e50;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.inquiry-item-status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-completed {
  background: #d4edda;
  color: #155724;
}

.no-inquiries {
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 15px;
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-item h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #2c3e50;
  font-weight: 400;
}

.contact-form {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #1a4d7a;
  font-weight: 600;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 1rem;
  color: #2c3e50;
  transition: var(--transition);
  background: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #95a5a6;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
}

/* 푸터 */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* 애니메이션 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background: var(--bg-white);
    width: 100%;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .about-content,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .btn {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }
}

/* 스크롤 애니메이션 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 개인정보수집이용동의 */
.privacy-agreement {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.privacy-agreement input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.privacy-agreement label {
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
}

.privacy-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 500;
}

.privacy-link:hover {
  color: var(--secondary-color);
}

/* 관리자 모드 버튼 */
.admin-toggle-btn {
  padding: 0.5rem 1rem;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.admin-toggle-btn:hover {
  background: var(--secondary-color);
}

.admin-link {
  color: var(--accent-color) !important;
  font-weight: 600 !important;
}

/* 모달 */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--bg-white);
  margin: auto;
  padding: 0;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}

.modal-small {
  max-width: 400px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid var(--bg-light);
}

.modal-header h2 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-dark);
}

.modal-body {
  padding: 2rem;
  max-height: 60vh;
  overflow-y: auto;
}

.modal-body h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.modal-body p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.privacy-note {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--bg-light);
  border-left: 4px solid var(--accent-color);
  font-size: 0.9rem;
  color: var(--text-light);
}

.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 2px solid var(--bg-light);
  text-align: right;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 관리자 섹션 */
.admin-section {
  background: var(--bg-light);
  padding: 5rem 0;
  min-height: 80vh;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-header h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
}

.btn-secondary {
  background: var(--text-light);
  color: white;
}

.btn-secondary:hover {
  background: var(--text-dark);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card h3 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.admin-table-container {
  background: var(--bg-white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table thead {
  background: var(--primary-color);
  color: white;
}

.admin-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--bg-light);
}

.admin-table tbody tr:hover {
  background: var(--bg-light);
}

.admin-table .no-data {
  text-align: center;
  color: var(--text-light);
  padding: 3rem;
}

.status-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-completed {
  background: #d4edda;
  color: #155724;
}

.btn-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 5px;
}

.btn-danger {
  background: #dc3545;
  color: white;
  border: none;
  cursor: pointer;
}

.btn-danger:hover {
  background: #c82333;
}

.btn-success {
  background: #28a745;
  color: white;
  border: none;
  cursor: pointer;
}

.btn-success:hover {
  background: #218838;
}

@media (max-width: 768px) {
  .admin-table-container {
    overflow-x: scroll;
  }

  .admin-table {
    font-size: 0.8rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.5rem;
  }

  .admin-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .modal-content {
    width: 95%;
    margin: 1rem;
  }
}

/* 인증 버튼 */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(26, 77, 122, 0.2);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 77, 122, 0.4);
}

.user-info {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 0.5rem;
}

@media (max-width: 768px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-left,
  .hero-right {
    padding: 2rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-services {
    font-size: 1rem;
  }

  .hero-mission {
    font-size: 0.9rem;
  }

  .office-title {
    font-size: 1.5rem;
  }

  .wbs-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-forms-container {
    grid-template-columns: 1fr;
  }

  .auth-buttons {
    flex-wrap: wrap;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .location-map iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .wbs-container {
    grid-template-columns: 1fr;
  }
}
