main.main-page {
  background-color: #ffffff;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-section {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  padding: 0;
  width: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(255, 255, 255, 1) 36%,
    rgba(244, 251, 255, 0.4) 100%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 100px;
}

.hero-text {
  max-width: 560px;
}

.hero-badge {
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
  color: #004ea2;
  background: #ffffff;
  border: 1px solid #d6e3f3;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin: 0 0 28px;
  word-break: keep-all;
}

.hero-title .text-primary {
  color: #004ea2 !important;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

.main-section {
  padding: 60px 0 80px;
  background: #ffffff;
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 2fr);
  gap: 24px;
  align-items: start;
}

.main-col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: #ffffff;
  border: 1px solid #e6ecf3;
  border-radius: 16px;
  padding: 32px 32px 28px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.info-card.schedule-card {
  padding: 0;
}

.schedule-card-header {
  padding: 32px 32px 16px;
}

.schedule-card-body {
  padding: 32px 0 0;
}

.schedule-card-footer {
  padding: 16px 32px 28px;
  border-top: 1px solid #e6ecf3;
}

.info-card-header {
  text-align: center;
  margin-bottom: 22px;
}

.info-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #2f80ed;
  margin-bottom: 6px;
}

.info-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

.info-title::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #4d80b1 0%, #b5cfe2 100%);
}

.office-select-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.office-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.office-chip:hover {
  border-color: #b6c6df;
  color: #1e293b;
  background: #f4f7fb;
}

.office-chip.active,
.office-chip.category-office.active {
  background: #eef3fb;
  border-color: #c8d6ec;
  color: #1e293b;
}

.office-select-mobile {
  margin-bottom: 14px;
}

.office-select-mobile .office-chip {
  width: 100%;
  margin-bottom: 6px;
}

.schedule-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #eaf4ff;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0;
}

.schedule-alert i {
  color: #2f80ed;
  font-size: 16px;
  margin-top: 2px;
}

.schedule-alert p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #2f6cba;
}

.schedule-alert p + p {
  margin-top: 2px;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.cal-nav {
  width: 34px;
  height: 30px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  background: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.15s ease;
}

.cal-nav:hover {
  border-color: #004ea2;
  color: #004ea2;
  text-decoration: none;
}

.cal-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.calendar-legend {
  display: flex;
  gap: 18px;
  margin: 0;
  padding-top: 14px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
}

.legend-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-closed { background: #cbd5e1; }
.dot-done   { background: #34d399; }
.dot-open   { background: #60a5fa; }

#calendar .fc {
  font-size: 13px;
}

#calendar .fc-theme-standard .fc-scrollgrid,
#calendar .fc-theme-standard th,
#calendar .fc-theme-standard td {
  border: none;
}

#calendar .fc,
#calendar .fc-scrollgrid {
  border: none !important;
}

#calendar .fc-scrollgrid > tbody > tr > td,
#calendar .fc-scrollgrid > thead > tr > th {
  border-right: none !important;
}

#calendar .fc-col-header-cell {
  padding: 0 !important;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  background: transparent;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #e6ecf3 !important;
}

#calendar .fc-col-header-cell-cushion {
  padding: 0 !important;
}

#calendar .fc-daygrid-body tr td {
  border-top: 1px solid #eef2f7 !important;
}

#calendar .fc-daygrid-body tr:first-child td {
  border-top: none !important;
}

#calendar .fc-daygrid-day {
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
}
#calendar .fc-daygrid-day-frame {
  min-height: 120px;
}
@media (max-width: 991.98px) {
  #calendar .fc-daygrid-day-frame {
    min-height: 88px;
  }
}
@media (max-width: 575.98px) {
  #calendar .fc-daygrid-day-frame {
    min-height: 64px;
  }
}

#calendar .fc-daygrid-body,
#calendar .fc-daygrid-body-unbalanced,
#calendar .fc-daygrid-body-natural,
#calendar .fc-daygrid-body.fc-daygrid-body-unbalanced.fc-daygrid-body-natural,
#calendar .fc-scrollgrid-section,
#calendar .fc-scrollgrid-section-body,
#calendar .fc-scrollgrid-section-body td {
  border-bottom: none !important;
}

#calendar .fc-daygrid-body tr:last-child td {
  border-bottom: none !important;
}

#calendar .fc-daygrid-event-harness {
  margin: 0 !important;
}

#calendar .fc-daygrid-event {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
}

#calendar .fc-daygrid-event .fc-daygrid-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center;
  background: #f3f5f8;
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  overflow: visible;
  min-width: 0;
  text-align: center;
}

#calendar .fc-daygrid-event .fc-daygrid-item:hover {
  background: #e8ecf2;
}

#calendar .fc-daygrid-event .fc-daygrid-time {
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  padding: 0 !important;
  gap: 2px;
  min-width: 0;
  width: 100%;
  overflow: visible;
}

#calendar .fc-daygrid-event .fc-daygrid-time b,
#calendar .fc-daygrid-event .fc-daygrid-time small {
  max-width: 100%;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  text-align: center;
}

#calendar .fc-daygrid-event .fc-daygrid-time b {
  font-size: clamp(9px, 1vw, 12px) !important;
  font-weight: 700;
  color: #1e293b !important;
  line-height: 1.1;
}

#calendar .fc-daygrid-event .fc-daygrid-time small {
  font-size: clamp(8px, 0.9vw, 11px) !important;
  font-weight: 600;
  background: #ffffff;
  border-radius: 999px;
  padding: 1px 6px;
  line-height: 1.2;
}

#calendar .fc-daygrid-event .fc-daygrid-time small.ONLINE {
  color: #2f80ed;
}

#calendar .fc-daygrid-event .fc-daygrid-time small.OFFLINE {
  color: #d946a6;
}

#calendar .fc-daygrid-event .fc-daygrid-item > span {
  flex: 0 0 auto !important;
  font-size: clamp(10px, 1.05vw, 13px) !important;
  font-weight: 700;
  background: none !important;
  text-align: center !important;
  padding: 0 !important;
  white-space: nowrap;
  width: 100%;
  overflow: visible;
  text-overflow: clip;
}

#calendar .fc-daygrid-event .fc-daygrid-item {
  margin: 2px 2px 4px !important;
}

#calendar .fc-daygrid-event .fc-daygrid-expired {
  color: #94a3b8 !important;
}

#calendar .fc-daygrid-event .fc-daygrid-enabled {
  color: #2f80ed !important;
}

#calendar .fc-daygrid-event .fc-daygrid-disabled {
  color: #ef4444 !important;
}

#calendar .fc-col-header-cell:first-child,
#calendar .fc-daygrid-day:first-child .fc-daygrid-day-number {
  color: #ef4444;
}

#calendar .fc-col-header-cell:last-child,
#calendar .fc-daygrid-day:last-child .fc-daygrid-day-number {
  color: #2f80ed;
}

#calendar .fc-daygrid-day-frame {
  min-height: 64px;
  padding: 0 !important;
}

#calendar .fc-scrollgrid-sync-inner {
  padding: 0 !important;
}

#calendar .fc-daygrid-day-top {
  justify-content: center !important;
}

#calendar .fc-daygrid-day-number {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  padding: 0 4px !important;
  text-align: center;
}

#calendar .fc-day-other .fc-daygrid-day-number {
  color: #cbd5e1;
}

#calendar .fc-day-today {
  background: transparent !important;
}

#calendar .fc-day-today .fc-daygrid-day-number {
  color: #004ea2;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-item .feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eaf2fc;
  color: #2f80ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.feature-item .feature-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.feature-item .feature-text p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.quick-service-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 8px 0 2px;
  position: relative;
  padding-left: 14px;
}

.quick-service-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: #004ea2;
  border-radius: 2px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  border-radius: 16px;
  padding: 28px 32px 32px;
  min-height: 132px;
  text-decoration: none;
  background: linear-gradient(135deg, #f4f9ff 0%, #e3edfa 100%);
  color: #0f3a72;
  border: 1px solid rgba(0, 78, 162, 0.12);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s cubic-bezier(.2,.7,.3,1),
              box-shadow 0.3s ease,
              border-color 0.3s ease,
              color 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 78, 162, 0.18), rgba(0, 78, 162, 0) 70%);
  z-index: -1;
  transition: transform 0.5s ease, background 0.4s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1769c8 0%, #004ea2 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.service-card:hover,
.service-card:focus {
  text-decoration: none;
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(0, 78, 162, 0.28);
}

.service-card:hover::after,
.service-card:focus::after {
  opacity: 1;
}

.service-card:hover::before,
.service-card:focus::before {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0) 70%);
  transform: scale(1.15);
}

.service-card:hover .service-arrow,
.service-card:focus .service-arrow {
  background: #ffffff;
  color: #004ea2;
  transform: translateY(-50%) translateX(4px);
}

.service-card .service-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #4a78b5;
  transition: color 0.25s ease;
}

.service-card:hover .service-eyebrow,
.service-card:focus .service-eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.service-card .service-name {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
  padding-right: 56px;
}

.service-card .service-arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 78, 162, 0.1);
  color: #004ea2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s ease;
}


.notice-section {
  background: #fbfcfe;
  padding: 80px 0 100px;
}

.notice-board {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.notice-board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid #004ea2;
  padding-left: 14px;
  margin-bottom: 20px;
}

.notice-board-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-board-header h3 i {
  color: #004ea2;
}

.notice-more {
  font-size: 17px;
  color: #64748b;
  text-decoration: none;
}

.notice-more:hover {
  color: #004ea2;
  text-decoration: none;
}

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

.notice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid #eef2f7;
  gap: 16px;
}

.notice-row:last-child {
  border-bottom: none;
}

.notice-title {
  flex: 1;
  font-size: 17px;
  color: #1e293b;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  min-width: 0;
}

.notice-title > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.notice-title:hover {
  color: #004ea2;
  text-decoration: none;
}

.notice-date {
  font-size: 17px;
  color: #94a3b8;
  flex-shrink: 0;
}

.notice-empty {
  text-align: center;
  padding: 40px 0;
  color: #94a3b8;
  margin: 0;
}

@media (max-width: 1199px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 40px;
  }
  .hero-container {
    padding-bottom: 60px;
  }
}

@media (max-width: 767px) {
  .hero-text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .hero-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .hero-title {
    font-size: 30px;
  }
  .info-card {
    padding: 24px 18px 22px;
  }
  .main-section {
    padding: 40px 0 50px;
  }
}

.main-page + #page-footer,
.main-page #page-footer {
  margin-top: 0;
}

.main-page .content-body {
  padding-bottom: 0;
}


