body {
  font-family: "Pretendard", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7fafd;
  color: #2c3e50;
  line-height: 1.6;
}

section {
  background: #cdeef9;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin: 100px auto;
  max-width: 900px;
}

.hero {
  background-color: #90cbfb;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

h1 {
  margin-bottom: 10px;
  font-size: 40px;
}

h2 {
  border-bottom: 2px solid #1e2a38;
  padding-bottom: 5px;
}

ul {
  line-height: 1.8;
}

.hero {
  position: relative;
  height: 100vh;
   background: 
    linear-gradient(
      rgba(44, 62, 80, 0.6),
      rgba(44, 62, 80, 0.6)
    ),
    url("images/profile.png");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content {
  z-index: 2;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 20px;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-between;
  padding: 15px 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

section {
  max-width: 900px;
  margin: 100px auto;
  padding: 0 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

section {
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  box-sizing: border-box;

  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  padding: 40px;
  width: 80%;
  max-width: 700px;
  border-radius: 15px;
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s ease;
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.btn::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: #cdeef9;
  transition: 0.4s;
  z-index: -1;
}

.btn:hover::after {
  left: 0;
}

.btn:hover {
  color: #cdeef9;
}

:root {
  --main-blue: #4c89ff;
  --soft-blue: #e8f1ff;
  --dark-text: #2c3e50;
}

.keywords span {
  background: var(--main-blue);
}

.card-section {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.card-section.show {
  opacity: 1;
  transform: translateY(0);
}

.card-section:nth-child(2){ transition-delay: 0.1s; }
.card-section:nth-child(3){ transition-delay: 0.2s; }
.card-section:nth-child(4){ transition-delay: 0.3s; }

.detail-btn {
  padding: 12px 26px;
  margin-top: 20px;

  background: #111;
  color: #fff;

  border: none;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;

  cursor: pointer;
  transition: all 0.3s ease;
}

.detail-btn:active {
  transform: scale(0.96);
}

.detail-btn:hover {
  background: #333;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}