/* Combined design overrides: accent + typography + glass-plus */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700;800&display=swap');

:root {
  --accent-teal: #2a8d9c;
  --accent-teal-soft: rgba(42, 141, 156, 0.55);
  --accent-teal-faded: rgba(42, 141, 156, 0.25);
}

body {
  line-height: 1.72;
}

body,
.about-section,
.contant-section,
.timeline-card .card-body {
  font-feature-settings: 'ss01', 'cv01';
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.03em;
}

h2.h3 {
  position: relative;
  padding-bottom: 0.55rem;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

h2.h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-teal) 0%,
    var(--accent-teal-soft) 40%,
    transparent 100%
  );
  pointer-events: none;
}

.cover-bg .h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  letter-spacing: -0.01em;
}

.glass-btn--accent-label > span {
  color: #2a8d9c;
}

.about-section,
.skills-section,
.work-experience-section,
.education-section,
.contant-section {
  padding-top: 2rem !important;
  padding-bottom: 2.4rem !important;
  background: rgba(244, 245, 247, 0.72) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 30px rgba(255, 255, 255, 0.25),
    10px 10px 22px rgba(201, 208, 219, 0.55),
    -9px -9px 18px rgba(255, 255, 255, 0.65) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-section:hover,
.skills-section:hover,
.work-experience-section:hover,
.education-section:hover,
.contant-section:hover {
  transform: scale(1.005);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 40px rgba(255, 255, 255, 0.35),
    12px 12px 28px rgba(201, 208, 219, 0.6),
    -10px -10px 22px rgba(255, 255, 255, 0.7) !important;
}

.timeline-card {
  background: rgba(244, 245, 247, 0.68) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 24px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 0 24px rgba(255, 255, 255, 0.18),
    10px 10px 18px rgba(199, 205, 216, 0.55),
    -8px -8px 16px rgba(255, 255, 255, 0.6) !important;
}

.timeline-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 32px rgba(255, 255, 255, 0.28),
    14px 14px 22px rgba(192, 199, 210, 0.6),
    -10px -10px 16px rgba(255, 255, 255, 0.7) !important;
}

.timeline-card .text-muted {
  font-variant: small-caps;
  letter-spacing: 0.08em;
}

.timeline-card-primary::before {
  background: linear-gradient(160deg, #2a8d9c, #3a7a84);
}

.timeline-card-success::before {
  background: linear-gradient(160deg, #4db8c7, #2a8d9c);
}

.timeline-card-primary::after {
  background: linear-gradient(90deg, rgba(42, 141, 156, 0.85), rgba(186, 194, 210, 0.28));
}

.timeline-card-success::after {
  background: linear-gradient(90deg, rgba(77, 184, 199, 0.85), rgba(198, 205, 217, 0.32));
}

header .container {
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  background: linear-gradient(
    145deg,
    rgba(245, 246, 248, 0.78),
    rgba(232, 235, 240, 0.74)
  ) !important;
}

.progress {
  position: relative;
  background: linear-gradient(145deg, rgba(215, 220, 228, 0.6), rgba(245, 246, 248, 0.6)) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 5px 5px 13px rgba(209, 215, 224, 0.7),
    inset -5px -5px 13px rgba(255, 255, 255, 0.7) !important;
}

.progress-bar {
  background: linear-gradient(96deg, #2a8d9c, #677b9a, #a6b1c4);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    0 0 12px rgba(103, 123, 154, 0.3),
    0 8px 16px rgba(89, 103, 129, 0.24) !important;
}

.skills-section .col-md-6 .mb-2:nth-child(odd) .progress-bar {
  background: linear-gradient(96deg, #329da8, #7285a2, #b1bbcc);
}

.skills-section .col-md-6 .mb-2:nth-child(even) .progress-bar {
  background: linear-gradient(96deg, #2a8d9c, #5d708f, #9eaac0);
}

.form-control {
  background: rgba(238, 240, 244, 0.55) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow:
    inset 5px 5px 12px rgba(201, 208, 219, 0.5),
    inset -5px -5px 12px rgba(248, 249, 251, 0.5) !important;
}

.form-control:focus {
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow:
    inset 4px 4px 10px rgba(195, 202, 214, 0.5),
    inset -4px -4px 10px rgba(255, 255, 255, 0.6),
    0 0 0 0.2rem var(--ring),
    0 0 16px rgba(103, 123, 154, 0.15) !important;
}

footer .container {
  background: rgba(244, 245, 247, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 28px rgba(255, 255, 255, 0.2),
    10px 10px 22px rgba(201, 208, 219, 0.55),
    -9px -9px 18px rgba(255, 255, 255, 0.65) !important;
}

.page-content {
  position: relative;
}

.page-content::before,
.page-content::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.45;
}

.page-content::before {
  width: 55vw;
  height: 55vw;
  min-width: 300px;
  min-height: 300px;
  top: -10vw;
  right: -8vw;
  background: radial-gradient(
    circle,
    rgba(160, 180, 220, 0.28),
    rgba(160, 180, 220, 0) 70%
  );
  animation: glassAmbient1 18s ease-in-out infinite alternate;
}

.page-content::after {
  width: 50vw;
  height: 50vw;
  min-width: 280px;
  min-height: 280px;
  bottom: -15vw;
  left: -10vw;
  background: radial-gradient(
    circle,
    rgba(130, 155, 200, 0.22),
    rgba(130, 155, 200, 0) 70%
  );
  animation: glassAmbient2 22s ease-in-out infinite alternate;
}

@keyframes glassAmbient1 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translate(-4vw, 6vw) scale(1.12);
    opacity: 0.55;
  }

  100% {
    transform: translate(3vw, -3vw) scale(0.95);
    opacity: 0.35;
  }
}

@keyframes glassAmbient2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }

  50% {
    transform: translate(5vw, -4vw) scale(1.08);
    opacity: 0.5;
  }

  100% {
    transform: translate(-2vw, 5vw) scale(1.02);
    opacity: 0.38;
  }
}

.avatar:hover {
  box-shadow:
    14px 14px 24px rgba(91, 101, 121, 0.22),
    inset 1px 1px 0 rgba(255, 255, 255, 0.85),
    0 0 18px 3px var(--accent-teal-faded);
}

a {
  text-decoration-skip-ink: auto;
}

a:hover {
  color: #2a8d9c;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent-teal: #4db8c7;
    --accent-teal-soft: rgba(77, 184, 199, 0.55);
    --accent-teal-faded: rgba(77, 184, 199, 0.22);
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    letter-spacing: 0.03em;
  }

  .cover-bg .h1 {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    letter-spacing: -0.01em;
  }

  .glass-btn--accent-label > span {
    color: #4db8c7;
  }

  h2.h3::after {
    background: linear-gradient(
      90deg,
      var(--accent-teal) 0%,
      var(--accent-teal-soft) 40%,
      transparent 100%
    );
  }

  .timeline-card-primary::before {
    background: linear-gradient(160deg, #4db8c7, #2a8d9c);
  }

  .timeline-card-success::before {
    background: linear-gradient(160deg, #6fd4e0, #4db8c7);
  }

  .timeline-card-primary::after {
    background: linear-gradient(90deg, rgba(77, 184, 199, 0.8), rgba(203, 210, 221, 0.14));
  }

  .timeline-card-success::after {
    background: linear-gradient(90deg, rgba(111, 212, 224, 0.75), rgba(176, 183, 194, 0.14));
  }

  .about-section,
  .skills-section,
  .work-experience-section,
  .education-section,
  .contant-section {
    background: rgba(27, 36, 50, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 0 30px rgba(255, 255, 255, 0.03),
      10px 10px 22px rgba(9, 14, 23, 0.7),
      -9px -9px 18px rgba(26, 37, 54, 0.5) !important;
  }

  .about-section:hover,
  .skills-section:hover,
  .work-experience-section:hover,
  .education-section:hover,
  .contant-section:hover {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      inset 0 0 40px rgba(255, 255, 255, 0.05),
      14px 14px 28px rgba(9, 14, 23, 0.75),
      -11px -11px 22px rgba(30, 40, 55, 0.55) !important;
  }

  .timeline-card {
    background: rgba(27, 36, 50, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      inset 0 0 24px rgba(255, 255, 255, 0.02),
      10px 10px 18px rgba(9, 16, 26, 0.65),
      -8px -8px 16px rgba(30, 40, 56, 0.4) !important;
  }

  .timeline-card:hover {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 0 32px rgba(255, 255, 255, 0.04),
      14px 14px 22px rgba(8, 13, 22, 0.7),
      -10px -10px 16px rgba(38, 48, 64, 0.45) !important;
  }

  header .container {
    background: linear-gradient(
      145deg,
      rgba(23, 31, 45, 0.82),
      rgba(17, 23, 35, 0.78)
    ) !important;
  }

  .progress {
    background: linear-gradient(145deg, rgba(20, 27, 40, 0.55), rgba(33, 42, 58, 0.55)) !important;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
      inset 5px 5px 13px rgba(15, 22, 34, 0.6),
      inset -5px -5px 13px rgba(35, 45, 61, 0.4) !important;
  }

  .progress-bar {
    background: linear-gradient(96deg, #4db8c7, #7c8aa2, #56657d);
    box-shadow:
      inset 0 1px 1px rgba(233, 243, 255, 0.28),
      0 0 12px rgba(124, 138, 162, 0.2),
      0 8px 16px rgba(8, 19, 46, 0.55) !important;
  }

  .skills-section .col-md-6 .mb-2:nth-child(odd) .progress-bar {
    background: linear-gradient(96deg, #5ac4d0, #8b99b1, #63728b);
  }

  .skills-section .col-md-6 .mb-2:nth-child(even) .progress-bar {
    background: linear-gradient(96deg, #4db8c7, #73819a, #526078);
  }

  .form-control {
    background: rgba(23, 31, 45, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow:
      inset 5px 5px 12px rgba(12, 18, 29, 0.5),
      inset -5px -5px 12px rgba(33, 42, 59, 0.35) !important;
  }

  .form-control:focus {
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow:
      inset 4px 4px 10px rgba(11, 17, 27, 0.5),
      inset -4px -4px 10px rgba(40, 50, 68, 0.4),
      0 0 0 0.2rem var(--ring),
      0 0 14px rgba(124, 138, 162, 0.12) !important;
  }

  footer .container {
    background: rgba(27, 36, 50, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      inset 0 0 28px rgba(255, 255, 255, 0.02),
      10px 10px 22px rgba(9, 14, 23, 0.7),
      -9px -9px 18px rgba(26, 37, 54, 0.5) !important;
  }

  .page-content::before {
    background: radial-gradient(
      circle,
      rgba(80, 100, 150, 0.18),
      rgba(80, 100, 150, 0) 70%
    );
  }

  .page-content::after {
    background: radial-gradient(
      circle,
      rgba(60, 80, 130, 0.14),
      rgba(60, 80, 130, 0) 70%
    );
  }

  .avatar:hover {
    box-shadow:
      14px 14px 25px rgba(3, 7, 16, 0.58),
      inset 1px 1px 0 rgba(208, 226, 255, 0.22),
      0 0 20px 4px var(--accent-teal-faded);
  }

  a:hover {
    color: #4db8c7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-content::before,
  .page-content::after {
    animation: none !important;
  }

  .about-section,
  .skills-section,
  .work-experience-section,
  .education-section,
  .contant-section {
    transition: none !important;
  }
}
