

body {
  background-color: #f5f3ec;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  z-index: 100;
}

.nav-link {
  text-decoration: none;
  color: #2c3e9d !important;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.3s;
}

.nav-link:hover {
  background: rgba(44, 62, 157, 0.1);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f5f3ec;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1000;
  border: 1px solid #2c3e9d;
  border-top: none;
  top: 100%;
  left: 0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-item {
  color: #2c3e9d;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background-color: rgba(44, 62, 157, 0.1);
}


section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  position: relative;
  background-color: #f5f3ec;
}

#home {
  text-align: center;
}

.flower {
  position: absolute;
  width: 140px;
  opacity: 0.95;
  z-index: 1;
}

.flower-top-left {
  top: 30px;
  left: 30px;
  transform: rotate(-15deg);
}

.flower-bottom-right {
  bottom: 30px;
  right: 30px;
  transform: rotate(10deg);
}

.blue-glow-circle {
  position: absolute;
  width: 240px;
  height: 240px;
  background: #4a3cff;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.25;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.text-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  margin-top: 20px;
}

.letter-p {
  font-family: 'Ballet', cursive;
  font-size: 200px !important;
  color: #2c3e9d;
  line-height: 1;
}

.rest-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 50px !important;
  color: #2c3e9d;
  line-height: 1;
  margin-top: 0.3rem;
}

.year {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 30px !important;
  color: #2c3e9d;
  margin-top: 0.8rem;
}

#about {
  background-color: #f5f3ec;
}

.swash-title {
  display: inline-block;
  margin-bottom: 30px;
  z-index: 2;
}

.swash-letter {
  font-family: 'Ballet', cursive;
  font-size: 100px !important;
  color: #2c3e9d;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.swash-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #2c3e9d;
  margin-left: 8px;
  vertical-align: middle;
}

.profile-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 30px auto;
  flex-wrap: wrap;
  justify-content: space-between;
}

.profile-photo {
  width: 300px !important;
  height: 300px !important;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 2;
}

.profile-photo,
.profile-container,
.profile-container > *,
.profile-photo::before,
.profile-photo::after {
  border: none !important;
  outline: none !important;
}

.intro-text {
  color: #2c3e9d;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
  text-align: left;
  z-index: 2;
  font-family: 'Poppins', sans-serif;
}

.adobe-icons {
  display: flex;
  gap: 15px;
  margin: 30px 0;
  z-index: 2;
}

.icon-box {
  width: 50px;
  height: 50px;
  background: #2c3e9d;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.icon-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}


.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
  z-index: 2;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #2c3e9d;
  border-bottom: 2px solid #2c3e9d;
  padding-bottom: 5px;
  margin: 0 0 10px 0;
}

.section-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #2c3e9d;
  font-size: 0.95rem;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
}

.section-list li {
  margin-bottom: 10px;
}

.skill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.toc-title {
  display: inline-block;
  margin-bottom: 40px;
}

.toc-swash {
  font-family: 'Ballet', cursive;
  font-size: 3rem;
  color: #2c3e9d;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.toc-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #2c3e9d;
  vertical-align: middle;
  margin-left: 8px;
}

.toc-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  text-align: left;
}

.toc-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #2c3e9d;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.toc-number {
  font-family: 'Ballet', cursive;
  font-size: 1.5rem;
  color: #2c3e9d;
}

.toc-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #2c3e9d;
}

#poster {
  background-color: #f5f3ec;
  text-align: center;
}

.poster-title {
  display: inline-block;
  margin-bottom: 20px;
}

.poster-swash {
  font-family: 'Ballet', cursive;
  font-size: 150px !important;
  color: #2c3e9d;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.poster-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #2c3e9d;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px;
  }

  section {
    padding: 100px 15px 60px;
  }

  .flower {
    width: 90px;
  }

  .flower-top-left {
    top: 15px;
    left: 15px;
  }

  .flower-bottom-right {
    bottom: 15px;
    right: 15px;
  }

  .text-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .letter-p {
    font-size: 3.2rem !important;
  }

  .rest-text {
    font-size: 1.8rem !important;
    margin-top: 0;
  }

  .year {
    font-size: 0.8rem !important;
    margin-top: 0.2rem;
  }

  .swash-letter {
    font-size: 2.5rem !important;
  }

  .swash-text {
    font-size: 1.1rem;
  }

  .content-grid,
  .skill-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .profile-photo {
    width: 300px !important;
    height: 300px !important;
  }

  .intro-text {
    text-align: center;
    max-width: 100%;
  }

  .adobe-icons {
    gap: 10px;
  }

  .icon-box {
    width: 40px;
    height: 40px;
  }

  .icon-label {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .section-list {
    font-size: 0.9rem;
  }
}

.carousel-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

.poster-desc-wrapper {
  max-width: 800px;
  margin: 60px auto 80px;
  text-align: center;
}

.desc-divider {
  width: 100%;
  height: 1px;
  background: #2c3e9d; 
  margin-bottom: 20px;
}

.poster-desc {
  color: #2c3e9d;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}
.poster-desc-wrapper1 {
  max-width: 800px;
  margin: 60px auto 10px;
  text-align: center;
}
.carousel-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: scale(0.7); 
  transform-origin: center;
  margin: 0 auto;
}
body {
  font-family: 'Poppins', sans-serif;
  color: #2c3e9d;
}

.form-control,
.form-floating > label {
  font-family: 'Poppins', sans-serif;
}

.form-control:focus {
  border-color: #2c3e9d;
  box-shadow: 0 0 0 0.25rem rgba(44, 62, 157, 0.25);
}

.btn-primary {
  background-color: #2c3e9d !important;
  border-color: #2c3e9d !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #1e2c7a !important;
  border-color: #1a2669 !important;
}

h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: #2c3e9d;
}

p, li {
  font-family: 'Poppins', sans-serif;
  color: #2c3e9d;
}

hr {
  border-color: #2c3e9d;
  opacity: 1;
}

#contact h2 {
  color: #2c3e9d;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

#contact hr {
  border-color: #2c3e9d;
  opacity: 1;
}