/* ===========================
   CSS Custom Properties
   =========================== */
:root {
  --bg-primary: #dff7f9;
  --bg-secondary: #fff3ec;
  --bg-card: #ffffff;
  --accent: #23ced9;
  --accent-coral: #fca47c;
  --accent-deep: #097c87;
  --accent-sage: #a1cca6;
  --accent-yellow: #f9d779;
  --accent-glow: rgba(35, 206, 217, 0.18);
  --text-primary: #064e57;
  --text-secondary: #3a7060;
  --border: rgba(9, 124, 135, 0.12);
  --nav-height: 68px;
  --radius: 12px;
  --transition: 0.3s ease;
}

/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  padding-bottom: 50px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===========================
   Navigation
   =========================== */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--accent);
  box-shadow: 0 2px 12px rgba(35, 206, 217, 0.3);
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: var(--accent);
  box-shadow: 0 2px 16px rgba(35, 206, 217, 0.4);
}

.nav-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #032e34;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  color: #032e34;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover {
  color: #000000;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #032e34;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-deep);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-secondary {
  background: var(--accent-coral);
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(252, 164, 124, 0.45);
}

.btn-secondary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(252, 164, 124, 0.6);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===========================
   Hero Section
   =========================== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 3rem) 2rem 4rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: left;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  width: 100%;
  max-width: 380px;
  max-height: 420px;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: var(--bg-card);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: var(--accent-light);
  box-shadow: 0 16px 56px var(--accent-glow);
  overflow: hidden;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 21px;
}

.hero-greeting {
  font-size: 1.1rem;
  color: var(--accent-light);
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.hero-name {
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--accent-deep);
  margin-bottom: 0.75rem;
  font-family: "Baloo 2", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.hero-tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--text-secondary);
  margin-top: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: color var(--transition);
  z-index: 1;
}

.hero-scroll-hint a:hover {
  color: var(--accent-light);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ===========================
   Scroll Charm
   =========================== */
.scroll-charm {
  display: none;
}

.scroll-charm::before,
.scroll-charm::after {
  content: "";
  position: absolute;
  top: 0;
  border-left: 4px solid var(--star-gold);
  border-right: 4px solid var(--star-gold);
  border-bottom: 4px solid var(--star-gold);
  border-radius: 0 0 999px 999px;
  opacity: 0.9;
  z-index: 4;
}

.scroll-charm::before {
  left: 5%;
  width: 52%;
  height: 150px;
}

.scroll-charm::after {
  right: -10%;
  width: 54%;
  height: 200px;
}

.garden-line {
  display: none;
}

.hanging-star {
  position: absolute;
  top: 0;
  width: 58px;
  height: 25vh;
  transform-origin: top;
  animation: charm-sway 6.2s ease-in-out infinite;
  z-index: 3;
}

.hanging-star::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: calc(100% - 48px);
  border-radius: 999px;
  background: repeating-linear-gradient(
    180deg,
    var(--star-gold) 0 7px,
    transparent 7px 12px
  );
  transform: translateX(-50%);
}

.hanging-star::after {
  content: "\2605";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 58px;
  height: 58px;
  color: var(--star-gold);
  font-family: "Segoe UI Symbol", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-size: 3.35rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-shadow: 0 3px 0 rgba(125, 82, 0, 0.16);
  transform: translateX(-50%);
}

.star-one {
  right: 3%;
  height: 25vh;
}

.star-two {
  right: 23%;
  height: 40vh;
  animation-delay: -1.6s;
}

.star-three {
  right: 45%;
  height: 28vh;
  animation-delay: -3s;
}

.star-four {
  right: 62%;
  height: 48vh;
  animation-delay: -4.2s;
}

.star-five {
  right: 78%;
  height: 34vh;
  animation-delay: -2.4s;
}

.flower-sprig {
  position: absolute;
  --sprig-stem: 0.2;
  --sprig-leaf: 0.4;
  --sprig-bud: 1;
  --sprig-bloom: 0;
  width: 78px;
  height: 150px;
  right: 14%;
  bottom: 9%;
  transform-origin: 50% 100%;
  transition: transform 1s ease, opacity 0.8s ease;
  animation: sprig-sway 5.8s ease-in-out infinite;
  z-index: 2;
}

.sprig-one {
  --sprig-stem: var(--stem-1);
  --sprig-leaf: var(--leaf-1);
  --sprig-bud: var(--bud-1);
  --sprig-bloom: var(--bloom-1);
  transform: scale(var(--grow-1));
}

.sprig-two {
  --sprig-stem: var(--stem-2);
  --sprig-leaf: var(--leaf-2);
  --sprig-bud: var(--bud-2);
  --sprig-bloom: var(--bloom-2);
  right: 42%;
  bottom: 21%;
  transform: scale(var(--grow-2)) rotate(-8deg);
  animation-delay: -1.8s;
}

.sprig-three {
  --sprig-stem: var(--stem-3);
  --sprig-leaf: var(--leaf-3);
  --sprig-bud: var(--bud-3);
  --sprig-bloom: var(--bloom-3);
  right: 5%;
  bottom: 39%;
  transform: scale(var(--grow-3)) rotate(8deg);
  animation-delay: -3.1s;
}

.flower-sprig::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  width: 62px;
  height: 78px;
  background:
    radial-gradient(ellipse 18px 38px at 50% 12%, #64c878 0 62%, transparent 64%),
    radial-gradient(ellipse 26px 17px at 22% 57%, #64c878 0 62%, transparent 64%),
    radial-gradient(ellipse 26px 17px at 78% 55%, #64c878 0 62%, transparent 64%);
  filter:
    drop-shadow(0 0 0 #0b5f44)
    drop-shadow(1px 0 0 #0b5f44)
    drop-shadow(-1px 0 0 #0b5f44)
    drop-shadow(0 1px 0 #0b5f44);
  transform: translateX(-50%) scale(var(--sprig-bud));
  transform-origin: 50% 90%;
  transition: opacity 0.7s ease, transform 0.9s ease;
  opacity: var(--sprig-bud);
}

.flower-stem {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 7px;
  height: 118px;
  border-radius: 999px;
  border-left: 6px solid rgba(8, 120, 79, 0.82);
  transform: translateX(-50%) rotate(3deg) scaleY(var(--sprig-stem));
  transform-origin: 50% 100%;
  transition: transform 0.9s ease;
}

.flower-leaf {
  position: absolute;
  bottom: 42px;
  width: 34px;
  height: 18px;
  border-radius: 999px 0 999px 0;
  background: #64c878;
  box-shadow: inset 0 -3px 0 rgba(8, 120, 79, 0.2);
  opacity: var(--sprig-leaf);
  transform-origin: right center;
  transition: opacity 0.8s ease, transform 0.9s ease;
}

.leaf-left {
  left: 6px;
  transform: rotate(-38deg) scale(var(--sprig-leaf));
}

.leaf-right {
  right: 3px;
  transform: rotate(38deg) scaleX(-1) scale(var(--sprig-leaf));
}

.flower-bloom {
  position: absolute;
  left: 50%;
  top: 5px;
  width: 52px;
  height: 52px;
  transform: translateX(-50%) scale(var(--sprig-bloom));
  transition: opacity 0.7s ease, transform 1s ease;
  opacity: var(--sprig-bloom);
}

.flower-bloom span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 28px;
  border-radius: 999px 999px 6px 6px;
  background: #ffc400;
  transform-origin: 50% 100%;
}

.flower-bloom span:nth-child(1) { transform: translate(-50%, -100%) rotate(0deg); }
.flower-bloom span:nth-child(2) { transform: translate(-50%, -100%) rotate(72deg); }
.flower-bloom span:nth-child(3) { transform: translate(-50%, -100%) rotate(144deg); }
.flower-bloom span:nth-child(4) { transform: translate(-50%, -100%) rotate(216deg); }
.flower-bloom span:nth-child(5) { transform: translate(-50%, -100%) rotate(288deg); }

.flower-bloom::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff7d1;
  transform: translate(-50%, -50%);
}

.scroll-charm[data-section="about"] {
  --grow-1: 0.92;
  --grow-2: 0.68;
  --grow-3: 0.46;
  --stem-1: 0.62;
  --stem-2: 0.28;
  --stem-3: 0.16;
  --leaf-1: 1;
  --leaf-2: 0.72;
  --leaf-3: 0.36;
  --bud-1: 0.62;
  --bud-2: 1;
  --bud-3: 0.88;
  --bloom-1: 0.18;
  --bloom-2: 0;
  --bloom-3: 0;
}

.scroll-charm[data-section="projects"] {
  --grow-1: 1.08;
  --grow-2: 0.92;
  --grow-3: 0.58;
  --stem-1: 1;
  --stem-2: 0.78;
  --stem-3: 0.42;
  --leaf-1: 0.72;
  --leaf-2: 1;
  --leaf-3: 0.8;
  --bud-1: 0;
  --bud-2: 0.22;
  --bud-3: 1;
  --bloom-1: 1;
  --bloom-2: 0.58;
  --bloom-3: 0;
}

.scroll-charm[data-section="contact"] {
  --grow-1: 1.14;
  --grow-2: 1.08;
  --grow-3: 0.92;
  --stem-1: 1;
  --stem-2: 1;
  --stem-3: 0.88;
  --leaf-1: 0.5;
  --leaf-2: 0.62;
  --leaf-3: 1;
  --bud-1: 0;
  --bud-2: 0;
  --bud-3: 0.12;
  --bloom-1: 1.05;
  --bloom-2: 1;
  --bloom-3: 0.84;
}

.grass-slope {
  display: none;
}

.grass-slope::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 46%);
  pointer-events: none;
}

@keyframes charm-sway {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2.5deg); }
}

@keyframes sprig-sway {
  0%, 100% { margin-right: 0; }
  50%      { margin-right: 4px; }
}

/* ===========================
   Shared Section Styles
   =========================== */
section:not(#hero) {
  min-height: 100vh;
  padding: 6rem 2rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.section-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

#hero::before,
section:not(#hero)::before {
  display: none;
}

#hero::after,
section:not(#hero)::after {
  display: none;
}

.reveal-on-scroll {
  opacity: 0;
  transition: opacity 0.72s ease, transform 0.72s ease;
  will-change: opacity, transform;
}

.reveal-right {
  transform: translateX(-34px);
}

.reveal-left {
  transform: translateX(34px);
}

.reveal-up {
  transform: translateY(26px);
}

.reveal-pop {
  transform: translateY(26px) scale(0.96);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: none;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  font-family: "Baloo 2", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.section-title::after {
  content: "";
  display: block;
  height: 3px;
  width: 50%;
  background: linear-gradient(90deg, var(--accent-coral), var(--accent-yellow), var(--accent-sage));
  border-radius: 2px;
  margin-top: 0.4rem;
}

.section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 3rem;
  margin-top: 0.75rem;
}

/* ===========================
   About Section
   =========================== */
#about {
  background-color: #d0ede8;
  padding: 7rem 2rem;
}

#about .section-container {
  max-width: 1100px;
}

#about .section-title {
  margin-bottom: 2.5rem;
}

.about-content {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: center;
}

.about-avatar {
  flex-shrink: 0;
}

.avatar-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: var(--bg-card);
  border: 3px solid var(--accent-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  color: var(--accent-coral);
  box-shadow: 0 8px 40px rgba(252, 164, 124, 0.25);
  overflow: hidden;
}

.avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
  line-height: 1.8;
}

.about-links {
  display: flex;
  gap: 1.25rem;
  margin-top: 2rem;
}

.social-link {
  font-size: 1.6rem;
  color: var(--accent-coral);
  transition: color var(--transition), transform var(--transition);
}

.social-link:hover {
  color: var(--accent-deep);
  transform: translateY(-3px);
}

/* ===========================
   Projects Section
   =========================== */
#projects {
  background-color: #e0f2d8;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 2px 12px rgba(161, 204, 166, 0.12);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(35, 206, 217, 0.2);
  border-color: var(--accent);
}

.project-card.reveal-on-scroll {
  transition:
    opacity 0.68s ease,
    transform 0.68s ease,
    box-shadow var(--transition),
    border-color var(--transition);
}

.project-card.reveal-on-scroll.visible:hover {
  transform: translateY(-6px);
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-icon {
  font-size: 1.75rem;
  color: var(--accent);
}

.project-links {
  display: flex;
  gap: 0.75rem;
}

.project-links a {
  color: var(--accent-coral);
  font-size: 1.1rem;
  transition: color var(--transition);
}

.project-links a:hover {
  color: var(--accent-deep);
}

.project-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.project-description {
  font-size: 0.93rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.project-tags li {
  font-size: 0.78rem;
  color: var(--accent-deep);
  background: rgba(249, 215, 121, 0.45);
  border: 1px solid rgba(249, 215, 121, 0.7);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  font-weight: 600;
}

/* ===========================
   Contact Section
   =========================== */
#contact {
  background-color: #f0e6cc;
}

.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #e05c5c;
}

.form-status {
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}

.form-status.success {
  color: #6acf82;
}

.form-status.error {
  color: #e05c5c;
}

/* ===========================
   Inner pages — shared
   =========================== */

/* Always-visible navbar on inner pages */
#navbar.scrolled {
  background: var(--accent);
  box-shadow: 0 2px 16px rgba(35, 206, 217, 0.4);
}

.nav-active {
  color: var(--accent-deep) !important;
}

.nav-active::after {
  width: 100% !important;
  background: var(--accent-deep) !important;
}

/* Page header banner */
.page-header {
  background: var(--accent);
  border-bottom: none;
  padding: calc(var(--nav-height) + 3.5rem) 2rem 3.5rem;
}

.page-header-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-header-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  margin-bottom: 0.5rem;
}

.page-header-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 0.75rem;
  color: var(--accent-deep);
  font-family: "Baloo 2", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.page-header-sub {
  font-size: 1.1rem;
  color: rgba(6, 78, 87, 0.75);
}

/* Page main content */
.page-main {
  padding: 4rem 2rem 6rem;
}

/* ===========================
   Projects page extras
   =========================== */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-sage);
  border-color: var(--accent-sage);
  color: var(--accent-deep);
  font-weight: 700;
}

.projects-grid--large {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.project-card--featured {
  border-color: var(--accent);
  box-shadow: 0 4px 24px var(--accent-glow);
  position: relative;
}

.project-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-yellow);
  color: var(--accent-deep);
  border-radius: 4px;
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.25rem;
}

/* ===========================
   Project card — read more hint
   =========================== */
.project-card[role="button"] {
  cursor: pointer;
}

.project-card-readmore {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-coral);
  margin-top: 0.5rem;
  transition: gap var(--transition);
}

.project-card[role="button"]:hover .project-card-readmore {
  text-decoration: underline;
}

/* ===========================
   Locked / Access Denied Project Card
   =========================== */
.project-card--locked {
  border-color: var(--text-secondary);
  opacity: 0.65;
  position: relative;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.project-card--locked::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(6, 78, 87, 0.03) 10px,
    rgba(6, 78, 87, 0.03) 20px
  );
  pointer-events: none;
  z-index: 0;
}

.project-card--locked:hover {
  transform: none;
  box-shadow: 0 2px 12px rgba(6, 78, 87, 0.1);
}

.project-card--locked .project-icon {
  color: var(--text-secondary);
  opacity: 0.5;
}

.project-card--locked .project-links {
  position: relative;
  z-index: 1;
}

.project-locked-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--text-secondary);
  color: var(--bg-primary);
  border-radius: 4px;
  padding: 0.15rem 0.55rem;
}

.project-badge--locked {
  background: var(--text-secondary);
  color: var(--bg-primary);
}

.project-tags--locked li {
  background: rgba(6, 78, 87, 0.08);
  color: var(--text-secondary);
}

.project-card-readmore--locked {
  color: var(--text-secondary);
  font-style: italic;
}

/* ===========================
   Project detail modal
   =========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 40, 0.55);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  max-width: 860px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  animation: modal-in 0.22s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  z-index: 1;
}

.modal-close:hover {
  background: var(--accent-coral);
  color: #fff;
  border-color: var(--accent-coral);
}

.modal-image-wrap {
  background: var(--bg-secondary);
  border-radius: 20px 20px 0 0;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.modal-image-placeholder {
  font-size: 6rem;
  color: var(--accent-light);
  opacity: 0.5;
}

.modal-body {
  padding: 2.5rem 3rem;
}

.modal-badge {
  margin-bottom: 0.75rem;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--accent-deep);
}

.modal-tags {
  margin-bottom: 1.25rem;
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ===========================
   Community page
   =========================== */
.community-section {
  margin-bottom: 3.5rem;
}

.community-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.community-section-title i {
  color: var(--accent-coral);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(161, 204, 166, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(35, 206, 217, 0.18);
}

.community-card-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.community-icon-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(249, 215, 121, 0.25);
  border: 1px solid rgba(161, 204, 166, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-deep);
}

.community-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 0.2rem;
}

.community-card-meta {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.community-card-desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.community-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
}

.community-tags li {
  font-size: 0.75rem;
  color: var(--accent-light);
  background: rgba(124, 106, 247, 0.1);
  border-radius: 4px;
  padding: 0.15rem 0.55rem;
  font-weight: 500;
}

.community-causes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cause-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.cause-chip i {
  color: var(--accent-deep);
}

.cause-chip:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: rgba(35, 206, 217, 0.1);
}

/* NPO card highlight */
.community-card--npo {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(35, 206, 217, 0.2);
}

.community-icon-wrap--npo {
  background: rgba(35, 206, 217, 0.15);
  border-color: var(--accent);
}

.npo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-deep);
  transition: gap var(--transition), color var(--transition);
}

.npo-link:hover {
  color: var(--accent);
  gap: 0.65rem;
}

/* ===========================
   Now page
   =========================== */
.now-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.now-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(161, 204, 166, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}

.now-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(35, 206, 217, 0.15);
}

.now-card--wide {
  grid-column: 1 / -1;
}

.now-card-icon {
  font-size: 1.6rem;
  color: var(--accent-coral);
  margin-bottom: 0.75rem;
}

.now-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent-deep);
}

.now-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.now-list li {
  font-size: 0.97rem;
  color: var(--text-secondary);
  padding-left: 1.1rem;
  position: relative;
}

.now-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.now-text {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.now-updated {
  font-size: 0.82rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* ===========================
   Footer
   =========================== */
footer {
  background: var(--accent);
  border-top: none;
  text-align: center;
  padding: 1.25rem 2rem;
  color: var(--accent-deep);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-on-scroll,
  .reveal-on-scroll.visible {
    opacity: 1;
    transform: none;
  }

  section:not(#hero)::before,
  section.section-visible::before {
    opacity: 0.75;
    transform: rotate(-7deg);
  }

  #hero::after,
  section:not(#hero)::after,
  section.section-visible::after,
  section.section-current::after {
    opacity: 0.62;
    transform: none;
  }

  .scroll-charm {
    animation: none;
  }
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
  .scroll-charm {
    width: 150px;
    opacity: 0.45;
  }

  .hanging-star {
    width: 42px;
  }

  .hanging-star::before {
    width: 2px;
    height: calc(100% - 36px);
    background: repeating-linear-gradient(
      180deg,
      var(--star-gold) 0 6px,
      transparent 6px 11px
    );
  }

  .hanging-star::after {
    width: 42px;
    height: 42px;
    font-size: 2.45rem;
  }

  .star-four,
  .star-five {
    opacity: 0.45;
  }

  .flower-sprig {
    width: 58px;
    height: 112px;
  }

  .flower-stem {
    height: 88px;
  }

  .flower-sprig::before {
    width: 46px;
    height: 58px;
    background:
      radial-gradient(ellipse 14px 29px at 50% 12%, #64c878 0 62%, transparent 64%),
      radial-gradient(ellipse 20px 13px at 22% 57%, #64c878 0 62%, transparent 64%),
      radial-gradient(ellipse 20px 13px at 78% 55%, #64c878 0 62%, transparent 64%);
  }

  .flower-bloom {
    width: 40px;
    height: 40px;
  }

  .flower-bloom span {
    width: 13px;
    height: 22px;
  }

  .grass-slope {
    right: -24%;
    bottom: -5%;
    width: 132%;
    height: 52%;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-image-frame {
    max-width: 260px;
    font-size: 5rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--accent);
    backdrop-filter: blur(12px);
    padding: 2.5rem 2rem 2rem;
    gap: 1.25rem;
    border-top: 1px solid var(--border);
    z-index: 999;
    min-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .avatar-placeholder {
    width: 220px;
    margin: 0 auto;
  }

  .about-links {
    justify-content: center;
  }

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

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================
    HUD Corner Decoration (Bottom-Left)
    Futuristic Tech Design - Bold Version
    =========================== */
.hud-corner {
  display: none;
}

.hud-corner svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  transform-origin: bottom left;
  filter: 
    drop-shadow(0 0 8px rgba(10, 140, 155, 0.7))
    drop-shadow(0 0 16px rgba(10, 140, 155, 0.4));
  animation: hud-breathe 4s ease-in-out infinite;
}

/* Scanning line effect */
.hud-corner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 140, 155, 0.12) 50%, transparent 100%);
  animation: hud-scan 3s linear infinite;
  pointer-events: none;
}

@keyframes hud-breathe {
  0%, 100% {
    filter: 
      drop-shadow(0 0 8px rgba(10, 140, 155, 0.7))
      drop-shadow(0 0 16px rgba(10, 140, 155, 0.4));
  }
  50% {
    filter: 
      drop-shadow(0 0 16px rgba(10, 140, 155, 0.95))
      drop-shadow(0 0 32px rgba(10, 140, 155, 0.6));
  }
}

@keyframes hud-scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@media (max-width: 768px) {
  .hud-corner {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hud-corner {
    width: 150px;
    height: 150px;
  }
}

/* ===========================
   Projects Page - WIP Overlay on Cards
   =========================== */
.wip-card {
  position: relative;
  overflow: hidden;
}

.wip-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 0, 0, 0.08), transparent 70%),
    rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(5px);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.wip-card .wip-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 14%;
  pointer-events: none;
  gap: 1rem;
}

.wip-card-warning {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wip-card-triangle {
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid #ff1a1a;
  filter:
    drop-shadow(0 0 6px rgba(255, 200, 0, 0.9))
    drop-shadow(0 0 12px rgba(255, 0, 0, 0.6));
  animation: wip-card-pulse 2s ease-in-out infinite;
}

.wip-card-triangle-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wip-card-triangle-inner span {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 16px rgba(255, 200, 0, 0.5);
  line-height: 1;
}

.wip-card-text-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.wip-card-text-area .wip-card-subtext:first-child {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ff0000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
}

.wip-card-text-area .wip-card-subtext:last-child {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
}

.wip-card-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(255, 0, 0, 0.04) 1px,
    rgba(255, 0, 0, 0.04) 2px
  );
  pointer-events: none;
  animation: wip-card-scan 6s linear infinite;
  z-index: 5;
}

/* Disable clicking on WIP cards */
.wip-card {
  pointer-events: none;
  opacity: 0.6;
}

.wip-card:hover {
  transform: none;
  box-shadow: 0 2px 12px rgba(161, 204, 166, 0.12);
  border-color: var(--border);
}

@keyframes wip-card-pulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.8)); }
}

@keyframes wip-card-scan {
  0% { transform: translateY(0); }
  100% { transform: translateY(2px); }
}

/* ===========================
   BLOG POST STYLES (events)
   =========================== */

.blog-post {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: border-color 0.3s ease;
}

.blog-post:hover {
  border-color: var(--accent);
}

.blog-post-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.blog-post-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.blog-post-category {
  font-size: 0.75rem;
  background: rgba(10, 107, 117, 0.15);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
}

.blog-post-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0.75rem 0 0.25rem;
  line-height: 1.2;
}

.blog-post-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin: 0 0 1.5rem;
}

.blog-post-image {
  margin: 1.5rem 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.blog-post-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.blog-post-content {
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.blog-post-content p {
  margin-bottom: 1rem;
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.blog-tag {
  font-size: 0.75rem;
  background: rgba(10, 107, 117, 0.1);
  color: var(--accent);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

/* Blog post modal for featured projects */
.project-card--featured .project-card-readmore {
  display: block;
}

@media (max-width: 768px) {
  .blog-post {
    padding: 1.5rem;
  }

  .blog-post-title {
    font-size: 1.4rem;
  }

  .blog-post-subtitle {
    font-size: 1rem;
  }

  .blog-post-header {
    gap: 0.75rem;
  }

  .wip-card .wip-card-overlay {
    padding-top: 12%;
    gap: 0.85rem;
  }

  .wip-card-warning {
    width: 50px;
    height: 50px;
  }

  .wip-card-triangle {
    border-left-width: 25px;
    border-right-width: 25px;
    border-bottom-width: 43px;
  }

  .wip-card-triangle-inner {
    width: 20px;
    height: 20px;
  }

  .wip-card-triangle-inner span {
    font-size: 1.5rem;
  }

  .wip-card-text-area .wip-card-subtext:first-child {
    font-size: 0.95rem;
  }

.wip-card-text-area .wip-card-subtext:last-child {
    font-size: 0.82rem;
  }
}

/* ===========================
   Events Preview (index.html)
   =========================== */
#events-preview {
  background-color: #f0e4c8;
}

.events-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 2px 12px rgba(249, 215, 121, 0.12);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(249, 215, 121, 0.2);
  border-color: var(--accent-yellow);
}

.event-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.event-card-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.event-card-category {
  font-size: 0.75rem;
  background: rgba(249, 215, 121, 0.25);
  color: var(--accent-deep);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
}

.event-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin: 0;
}

.event-card-excerpt {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.event-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.event-tag {
  font-size: 0.75rem;
  background: rgba(249, 215, 121, 0.3);
  color: var(--accent-deep);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-weight: 500;
}

.event-card-readmore {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-coral);
  margin-top: 0.5rem;
  transition: text-decoration var(--transition);
}

.event-card:hover .event-card-readmore {
  text-decoration: underline;
}

/* ===========================
   Locked / Private Event Card
   =========================== */
.event-card--locked {
  border-color: var(--text-secondary);
  opacity: 0.65;
  position: relative;
  overflow: hidden;
}

.event-card--locked::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(6, 78, 87, 0.03) 10px,
    rgba(6, 78, 87, 0.03) 20px
  );
  pointer-events: none;
  z-index: 0;
}

.event-card--locked:hover {
  transform: none;
  box-shadow: 0 2px 12px rgba(6, 78, 87, 0.1);
}

.event-card-category--locked {
  background: var(--text-secondary);
  color: var(--bg-primary);
}

.event-tag--locked {
  background: rgba(6, 78, 87, 0.08);
  color: var(--text-secondary);
}

.event-card-readmore--locked {
  color: var(--text-secondary);
  font-style: italic;
}

@media (max-width: 768px) {
  .events-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
    Blog Image Carousel
    =========================== */
.blog-carousel {
  position: relative;
  margin: 1.5rem 0;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

/* Carousel Arrow Navigation */
.blog-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(15, 160, 175, 0.3);
  color: var(--accent-deep);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s ease;
  opacity: 0;
  backdrop-filter: blur(4px);
}

.blog-carousel:hover .blog-carousel-arrow {
  opacity: 1;
}

.blog-carousel-arrow:hover {
  background: rgba(15, 160, 175, 0.15);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(15, 160, 175, 0.3);
}

.blog-carousel-arrow:active {
  transform: translateY(-50%) scale(1.05);
}

.blog-carousel-arrow-prev {
  left: 12px;
}

.blog-carousel-arrow-next {
  right: 12px;
}

.blog-carousel-slide-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
}

.blog-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.blog-carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.blog-carousel-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.blog-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.blog-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.3);
}

.blog-carousel-dot.active {
  background: #0fa0af;
  border-color: #fff;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(15, 160, 175, 0.8);
}

@media (max-width: 768px) {
  .blog-carousel-slide-container {
    height: 250px;
  }

  .blog-carousel-dot {
    width: 8px;
    height: 8px;
  }
}
