@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css?family=Audiowide&display=swap");
:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --nav-bg: #f5f5f5;
  --link-color: #000;
  --button-icon-color: #444;
}

body.dark {
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --nav-bg: #1f1f1f;
  --link-color: #ffffff;
  --button-icon-color: #ccc;
}

* {
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh; /* Fix Safari iOS - Dynamic Viewport Height */
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  min-height: 100vh;
  min-height: 100dvh; /* Fix Safari iOS - Dynamic Viewport Height */
  transition: background 0.3s ease, color 0.3s ease;
  padding: 0;
  background: var(--bg-color);
  color: var(--text-color);
}

.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6 {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: white !important;
  background-clip: unset !important;
  color: white !important;
}

:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --nav-bg: #f5f5f5;
  --link-color: #000;
  --button-icon-color: #444;
}

body.dark {
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --nav-bg: #1f1f1f;
  --link-color: #ffffff;
  --button-icon-color: #ccc;
}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #314473 0%, #293961 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.dark .page-loader {
  background: linear-gradient(135deg, #222f4f 0%, rgb(18.6548672566, 25.7876106195, 43.3451327434) 100%);
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  position: relative;
}

.logo-container {
  position: relative;
  width: 9.375rem;
  height: 9.375rem;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-gb {
  font-size: 5rem;
  font-weight: 900;
  color: white;
  font-family: "Poppins", sans-serif;
  position: relative;
  z-index: 2;
  animation: logoFloat 2s ease-in-out infinite, logoPulse 1.5s ease-in-out infinite;
  text-shadow: 0 0 1.875rem rgba(173, 187, 220, 0.8), 0 0 3.75rem rgba(173, 187, 220, 0.5), 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.3);
  letter-spacing: -0.3125rem;
}

.loader-ring {
  position: absolute;
  border-radius: 50%;
  border: 0.1875rem solid transparent;
  border-top-color: #adbbdc;
  border-right-color: #adbbdc;
  animation: spin 1.5s linear infinite;
}
.loader-ring:nth-child(1) {
  width: 7.5rem;
  height: 7.5rem;
  top: 0.9375rem;
  left: 0.9375rem;
  animation-duration: 1.5s;
  border-top-color: rgba(173, 187, 220, 0.8);
  border-right-color: rgba(173, 187, 220, 0.4);
}
.loader-ring:nth-child(2) {
  width: 8.75rem;
  height: 8.75rem;
  top: 0.3125rem;
  left: 0.3125rem;
  animation-duration: 2s;
  animation-direction: reverse;
  border-top-color: rgba(255, 255, 255, 0.6);
  border-right-color: rgba(255, 255, 255, 0.3);
}
.loader-ring:nth-child(3) {
  width: 6.25rem;
  height: 6.25rem;
  top: 1.5625rem;
  left: 1.5625rem;
  animation-duration: 1.2s;
  border-top-color: rgba(173, 187, 220, 0.6);
  border-right-color: rgba(173, 187, 220, 0.2);
}

.loader-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.particle {
  position: absolute;
  width: 0.25rem;
  height: 0.25rem;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 3s ease-in-out infinite;
  box-shadow: 0 0 0.625rem rgba(255, 255, 255, 0.8);
}
.particle:nth-child(1) {
  top: 50%;
  left: 50%;
  animation-delay: 0.1s;
}
@keyframes particleFloat1 {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(5rem) scale(1);
    opacity: 0;
  }
}
.particle:nth-child(1) {
  animation-name: particleFloat1;
}
.particle:nth-child(2) {
  top: 50%;
  left: 50%;
  animation-delay: 0.2s;
}
@keyframes particleFloat2 {
  0% {
    transform: translate(-50%, -50%) rotate(30deg) translateX(0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(30deg) translateX(5rem) scale(1);
    opacity: 0;
  }
}
.particle:nth-child(2) {
  animation-name: particleFloat2;
}
.particle:nth-child(3) {
  top: 50%;
  left: 50%;
  animation-delay: 0.3s;
}
@keyframes particleFloat3 {
  0% {
    transform: translate(-50%, -50%) rotate(60deg) translateX(0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(60deg) translateX(5rem) scale(1);
    opacity: 0;
  }
}
.particle:nth-child(3) {
  animation-name: particleFloat3;
}
.particle:nth-child(4) {
  top: 50%;
  left: 50%;
  animation-delay: 0.4s;
}
@keyframes particleFloat4 {
  0% {
    transform: translate(-50%, -50%) rotate(90deg) translateX(0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(90deg) translateX(5rem) scale(1);
    opacity: 0;
  }
}
.particle:nth-child(4) {
  animation-name: particleFloat4;
}
.particle:nth-child(5) {
  top: 50%;
  left: 50%;
  animation-delay: 0.5s;
}
@keyframes particleFloat5 {
  0% {
    transform: translate(-50%, -50%) rotate(120deg) translateX(0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(120deg) translateX(5rem) scale(1);
    opacity: 0;
  }
}
.particle:nth-child(5) {
  animation-name: particleFloat5;
}
.particle:nth-child(6) {
  top: 50%;
  left: 50%;
  animation-delay: 0.6s;
}
@keyframes particleFloat6 {
  0% {
    transform: translate(-50%, -50%) rotate(150deg) translateX(0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(150deg) translateX(5rem) scale(1);
    opacity: 0;
  }
}
.particle:nth-child(6) {
  animation-name: particleFloat6;
}
.particle:nth-child(7) {
  top: 50%;
  left: 50%;
  animation-delay: 0.7s;
}
@keyframes particleFloat7 {
  0% {
    transform: translate(-50%, -50%) rotate(180deg) translateX(0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(180deg) translateX(5rem) scale(1);
    opacity: 0;
  }
}
.particle:nth-child(7) {
  animation-name: particleFloat7;
}
.particle:nth-child(8) {
  top: 50%;
  left: 50%;
  animation-delay: 0.8s;
}
@keyframes particleFloat8 {
  0% {
    transform: translate(-50%, -50%) rotate(210deg) translateX(0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(210deg) translateX(5rem) scale(1);
    opacity: 0;
  }
}
.particle:nth-child(8) {
  animation-name: particleFloat8;
}
.particle:nth-child(9) {
  top: 50%;
  left: 50%;
  animation-delay: 0.9s;
}
@keyframes particleFloat9 {
  0% {
    transform: translate(-50%, -50%) rotate(240deg) translateX(0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(240deg) translateX(5rem) scale(1);
    opacity: 0;
  }
}
.particle:nth-child(9) {
  animation-name: particleFloat9;
}
.particle:nth-child(10) {
  top: 50%;
  left: 50%;
  animation-delay: 1s;
}
@keyframes particleFloat10 {
  0% {
    transform: translate(-50%, -50%) rotate(270deg) translateX(0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(270deg) translateX(5rem) scale(1);
    opacity: 0;
  }
}
.particle:nth-child(10) {
  animation-name: particleFloat10;
}
.particle:nth-child(11) {
  top: 50%;
  left: 50%;
  animation-delay: 1.1s;
}
@keyframes particleFloat11 {
  0% {
    transform: translate(-50%, -50%) rotate(300deg) translateX(0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(300deg) translateX(5rem) scale(1);
    opacity: 0;
  }
}
.particle:nth-child(11) {
  animation-name: particleFloat11;
}
.particle:nth-child(12) {
  top: 50%;
  left: 50%;
  animation-delay: 1.2s;
}
@keyframes particleFloat12 {
  0% {
    transform: translate(-50%, -50%) rotate(330deg) translateX(0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(330deg) translateX(5rem) scale(1);
    opacity: 0;
  }
}
.particle:nth-child(12) {
  animation-name: particleFloat12;
}

.loader-text {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1875rem;
  text-transform: uppercase;
  animation: textPulse 1.5s ease-in-out infinite;
  text-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.3);
  margin-top: 1rem;
}
.loader-text::after {
  content: "";
  animation: dots 1.5s steps(4, end) infinite;
}

.loader-progress {
  width: 12.5rem;
  height: 0.1875rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.625rem;
  margin: 1.5rem auto 0;
  overflow: hidden;
  position: relative;
}
.loader-progress::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #adbbdc, white, #adbbdc, transparent);
  animation: progressSlide 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.625rem);
  }
}
@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.05);
    filter: brightness(1.2);
  }
}
@keyframes particleFloat {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) translateY(-5rem) scale(1);
    opacity: 0;
  }
}
@keyframes textPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}
@keyframes dots {
  0%, 20% {
    content: ".";
  }
  40% {
    content: "..";
  }
  60%, 100% {
    content: "...";
  }
}
@keyframes progressSlide {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
@media (max-width: 768px) {
  .logo-container {
    width: 7.5rem;
    height: 7.5rem;
  }
  .logo-gb {
    font-size: 4rem;
  }
  .loader-ring:nth-child(1) {
    width: 6.25rem;
    height: 6.25rem;
    top: 0.625rem;
    left: 0.625rem;
  }
  .loader-ring:nth-child(2) {
    width: 7.1875rem;
    height: 7.1875rem;
    top: 0.1563rem;
    left: 0.1563rem;
  }
  .loader-ring:nth-child(3) {
    width: 5.3125rem;
    height: 5.3125rem;
    top: 1.0938rem;
    left: 1.0938rem;
  }
  .loader-text {
    font-size: 1rem;
    letter-spacing: 0.125rem;
  }
  .loader-progress {
    width: 9.375rem;
  }
}
nav {
  width: 100%;
  height: 5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(0.625rem);
  box-shadow: 0 0.125rem 1.25rem rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  z-index: 1000;
  position: relative;
}
.dark nav {
  background: rgba(31, 31, 31, 0.95);
  box-shadow: 0 0.125rem 1.25rem rgba(0, 0, 0, 0.3);
}
nav .nav-container {
  max-width: 87.5rem;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
nav .nav-container .logo-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
nav .nav-container .social-links-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
nav .nav-container .social-links-nav a {
  color: #222f4f;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1875rem;
  height: 2.1875rem;
  text-decoration: none;
}
.dark nav .nav-container .social-links-nav a {
  color: white;
}
nav .nav-container .social-links-nav a:hover {
  color: #314473;
  transform: translateY(-0.125rem);
}
nav .nav-container .logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  color: var(--text-color);
  transition: all 0.3s ease;
  cursor: pointer;
}
nav .nav-container .logo .logo-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.125rem;
  height: 3.125rem;
  background: linear-gradient(135deg, #314473, #293961);
  color: white;
  border-radius: 0.3125rem;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 0.25rem 0.75rem rgba(49, 68, 115, 0.3);
  transition: all 0.3s ease;
  font-family: "Courier New", monospace;
}
nav .nav-container .logo:hover .logo-initials {
  transform: translateY(-0.125rem) rotate(5deg);
  box-shadow: 0 0.375rem 1rem rgba(49, 68, 115, 0.5);
}
nav .nav-container .logo .logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
nav .nav-container .logo .logo-text .logo-name {
  font-size: 1.1rem;
  color: #222f4f;
  font-weight: 700;
  letter-spacing: -0.0187rem;
  line-height: 1;
}
.dark nav .nav-container .logo .logo-text .logo-name {
  color: white;
}
nav .nav-container .logo .logo-text .logo-subtitle {
  font-size: 0.7rem;
  color: #314473;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
  line-height: 1;
}
.dark nav .nav-container .logo .logo-text .logo-subtitle {
  color: #adbbdc;
}
nav .nav-container .links {
  display: flex;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 550px) and (max-width: 1100px) {
  nav .nav-container .links {
    gap: 2.5rem;
  }
}
nav .nav-container .links .nav-dropdown {
  position: relative;
}
@media (max-width: 884px) {
  nav .nav-container .links .nav-dropdown {
    display: none;
  }
}
nav .nav-container .links .nav-dropdown .dropdown-trigger {
  position: relative;
  font-size: 1rem;
  color: #222f4f;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.dark nav .nav-container .links .nav-dropdown .dropdown-trigger {
  color: white;
}
nav .nav-container .links .nav-dropdown .dropdown-trigger i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}
nav .nav-container .links .nav-dropdown .dropdown-trigger::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.125rem;
  background: linear-gradient(90deg, #314473, #293961);
  transition: width 0.3s ease;
}
nav .nav-container .links .nav-dropdown .dropdown-trigger:hover {
  color: #314473;
}
nav .nav-container .links .nav-dropdown .dropdown-trigger:hover::before {
  width: 100%;
}
nav .nav-container .links .nav-dropdown .dropdown-trigger:hover i {
  transform: rotate(180deg);
}
nav .nav-container .links .nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0.625rem);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(0.625rem);
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
  min-width: 30rem;
  max-height: 25rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 0.625rem;
}
.dark nav .nav-container .links .nav-dropdown .dropdown-menu {
  background: rgba(31, 31, 31, 0.98);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.5);
}
nav .nav-container .links .nav-dropdown .dropdown-menu::-webkit-scrollbar {
  width: 0.375rem;
}
nav .nav-container .links .nav-dropdown .dropdown-menu::-webkit-scrollbar-thumb {
  background: #314473;
  border-radius: 0.1875rem;
}
nav .nav-container .links .nav-dropdown .dropdown-menu .dropdown-divider {
  height: 0.0625rem;
  background: rgba(34, 47, 79, 0.1);
  margin: 0.5rem 0;
}
nav .nav-container .links .nav-dropdown .dropdown-menu .dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  color: #222f4f;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 0.1875rem solid transparent;
}
.dark nav .nav-container .links .nav-dropdown .dropdown-menu .dropdown-item {
  color: white;
}
nav .nav-container .links .nav-dropdown .dropdown-menu .dropdown-item:first-child {
  border-radius: 0.5rem 0.5rem 0 0;
}
nav .nav-container .links .nav-dropdown .dropdown-menu .dropdown-item:last-child {
  border-radius: 0 0 0.5rem 0.5rem;
}
nav .nav-container .links .nav-dropdown .dropdown-menu .dropdown-item .project-category {
  font-size: 0.75rem;
  color: white;
  background: linear-gradient(135deg, #314473, #293961);
  padding: 0.1875rem 0.625rem;
  border-radius: 1.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.0313rem;
}
nav .nav-container .links .nav-dropdown .dropdown-menu .dropdown-item:hover {
  background: rgba(49, 68, 115, 0.08);
  border-left-color: #314473;
  padding-left: 1.5625rem;
}
nav .nav-container .links .nav-dropdown .dropdown-menu .dropdown-item.disabled {
  color: rgba(34, 47, 79, 0.4);
  cursor: not-allowed;
  pointer-events: none;
}
nav .nav-container .links .nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
nav .nav-container .links > a {
  position: relative;
  font-size: 1rem;
  color: #222f4f;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}
.dark nav .nav-container .links > a {
  color: white;
}
nav .nav-container .links > a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.125rem;
  background: linear-gradient(90deg, #314473, #293961);
  transition: width 0.3s ease;
}
nav .nav-container .links > a:hover {
  color: #314473;
}
nav .nav-container .links > a:hover::before {
  width: 100%;
}
nav .nav-container .cv-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 1.5625rem;
  background: linear-gradient(135deg, #314473, #293961);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 0.25rem 0.75rem rgba(193, 88, 207, 0.212);
  transition: all 0.3s ease;
}
@media (min-width: 550px) and (max-width: 1100px) {
  nav .nav-container .cv-btn {
    display: none;
  }
}
nav .nav-container .cv-btn i {
  font-size: 1rem;
}
nav .nav-container .cv-btn:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.375rem 1rem rgba(193, 88, 207, 0.212);
  background: linear-gradient(135deg, #560591, #bc13fe);
}
nav .nav-container .hamburg,
nav .nav-container .cancel {
  font-size: 2rem;
  color: #314473;
  cursor: pointer;
  display: none;
  align-self: center;
}
.dark nav .nav-container .hamburg,
.dark nav .nav-container .cancel {
  color: white;
}

.scroll-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 0.1875rem;
  background: #314473;
  width: 0%;
  transition: width 0.1s ease;
  z-index: 9999;
  box-shadow: 0 -0.125rem 0.625rem rgba(49, 68, 115, 0.3);
}
@media (max-width: 768px) {
  .scroll-progress {
    height: 0.25rem;
    z-index: 9999;
  }
}

.dropdown {
  background: rgba(255, 255, 255, 0.95);
  z-index: 100;
  position: absolute;
  top: 4.9rem;
  transform: translateX(-71.25rem);
  width: 100%;
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(49, 68, 115, 0.2);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.dark .dropdown {
  background: rgba(30, 30, 40, 0.95);
  border-top-color: rgba(49, 68, 115, 0.4);
}
@media (min-width: 885px) {
  .dropdown {
    display: none;
  }
}
.dropdown.active {
  transform: translateX(0);
}
.dropdown .links {
  padding: 0.5rem 0;
}
.dropdown .links a {
  color: #222f4f;
  padding: 1.2rem 2rem;
  text-decoration: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin: 0.25rem 1rem;
  border-radius: 12px;
}
.dark .dropdown .links a {
  color: white;
}
.dropdown .links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: linear-gradient(135deg, #314473, #293961);
  border-radius: 2px;
  transition: height 0.3s ease;
}
.dropdown .links a:hover, .dropdown .links a:active {
  color: #314473;
  padding-left: 2.5rem;
  background: rgba(49, 68, 115, 0.08);
}
.dark .dropdown .links a:hover, .dark .dropdown .links a:active {
  color: #314473;
  background: rgba(49, 68, 115, 0.15);
}
.dropdown .links a:hover::before, .dropdown .links a:active::before {
  height: 60%;
}

:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --nav-bg: #f5f5f5;
  --link-color: #000;
  --button-icon-color: #444;
}

body.dark {
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --nav-bg: #1f1f1f;
  --link-color: #ffffff;
  --button-icon-color: #ccc;
}

footer {
  z-index: 1;
  position: relative;
  background-color: var(--nav-bg);
  text-align: center;
  padding-top: 12rem;
  padding-bottom: 3rem;
  color: var(--text-color);
  overflow: hidden;
}
footer .wave {
  position: absolute;
  top: -1.25rem;
  left: 0;
  width: 100%;
  height: 15.625rem;
  background: url("../img/wave-footer.svg") no-repeat center top;
  background-size: 100% 100%;
  transform: scaleY(-1);
  z-index: 0;
}
footer h3, footer .footer-links, footer .footer-social, footer p {
  position: relative;
  z-index: 1;
}
footer h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #314473;
}
.dark footer h3 {
  color: #adbbdc;
}
footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
footer .footer-links a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}
footer .footer-links a:hover {
  color: #314473;
  background: rgba(49, 68, 115, 0.1);
  transform: translateY(-0.125rem);
}
.dark footer .footer-links a:hover {
  color: #adbbdc;
  background: rgba(173, 187, 220, 0.1);
}
footer .footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
footer .footer-social a {
  width: 2.8125rem;
  height: 2.8125rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nav-bg);
  border: 0.125rem solid #314473;
  color: #314473;
  font-size: 1.3rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
}
.dark footer .footer-social a {
  border-color: #adbbdc;
  color: #adbbdc;
}
footer .footer-social a:hover {
  background: #314473;
  color: white;
  transform: translateY(-0.3125rem) scale(1.1);
  box-shadow: 0 0.3125rem 0.9375rem rgba(49, 68, 115, 0.4);
}
.dark footer .footer-social a:hover {
  background: #adbbdc;
  color: #222f4f;
  box-shadow: 0 0.3125rem 0.9375rem rgba(173, 187, 220, 0.4);
}
footer p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  footer {
    padding-top: 10rem;
  }
  footer h3 {
    font-size: 1.5rem;
  }
  footer .footer-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  footer .footer-links a {
    width: 100%;
    max-width: 12.5rem;
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal.show {
  display: flex;
}
.modal .modal-content {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  animation: fadeIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
  max-width: 37.5rem;
  width: 90%;
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.3);
  position: relative;
}
.dark .modal .modal-content {
  background: #2a2a2a;
  color: white;
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.6);
}
.modal .modal-content h2 {
  color: #222f4f;
  margin-bottom: 1.5rem;
}
.dark .modal .modal-content h2 {
  color: white;
}
.modal .modal-content label {
  color: #333;
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: block;
}
.dark .modal .modal-content label {
  color: #e0e0e0;
}
.modal .modal-content input[type=text],
.modal .modal-content input[type=email],
.modal .modal-content input[type=file],
.modal .modal-content textarea,
.modal .modal-content select {
  width: 100%;
  padding: 0.5rem;
  border: 0.0625rem solid #ddd;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-family: "Poppins", sans-serif;
}
.dark .modal .modal-content input[type=text],
.dark .modal .modal-content input[type=email],
.dark .modal .modal-content input[type=file],
.dark .modal .modal-content textarea,
.dark .modal .modal-content select {
  background: #333;
  border-color: #555;
  color: white;
}
.dark .modal .modal-content input[type=text]::placeholder,
.dark .modal .modal-content input[type=email]::placeholder,
.dark .modal .modal-content input[type=file]::placeholder,
.dark .modal .modal-content textarea::placeholder,
.dark .modal .modal-content select::placeholder {
  color: #999;
}
.modal .modal-content input[type=text]:focus,
.modal .modal-content input[type=email]:focus,
.modal .modal-content input[type=file]:focus,
.modal .modal-content textarea:focus,
.modal .modal-content select:focus {
  outline: none;
  border-color: #314473;
  box-shadow: 0 0 0 0.1875rem rgba(49, 68, 115, 0.1);
}
.modal .modal-content textarea {
  min-height: 6.25rem;
  resize: vertical;
}
.modal .modal-content .checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.375rem, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.modal .modal-content .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 400;
  cursor: pointer;
}
.modal .modal-content .checkbox-group label input[type=checkbox] {
  width: auto;
  margin: 0;
}
.modal .modal-content .modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}
.modal .modal-content .modal-actions button {
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
.modal .modal-content .modal-actions button.submit-btn {
  background-color: #314473;
  color: white;
}
.modal .modal-content .modal-actions button.submit-btn:hover {
  background-color: #222f4f;
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.75rem rgba(49, 68, 115, 0.3);
}
.modal .modal-content .modal-actions button.cancel-btn {
  background-color: #e0e0e0;
  color: #333;
}
.dark .modal .modal-content .modal-actions button.cancel-btn {
  background-color: #444;
  color: #e0e0e0;
}
.modal .modal-content .modal-actions button.cancel-btn:hover {
  background-color: #d0d0d0;
}
.dark .modal .modal-content .modal-actions button.cancel-btn:hover {
  background-color: #555;
}
.modal .modal-content .close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.dark .modal .modal-content .close-modal {
  color: #aaa;
}
.modal .modal-content .close-modal:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
}
.dark .modal .modal-content .close-modal:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.btn {
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn.blue {
  background-color: #293961;
  color: white;
}
.btn.blue:hover {
  opacity: 0.9;
}

.contact-btn {
  padding: 0.375rem 1rem;
  border-radius: 1.5625rem;
  font-weight: 500;
  background-color: transparent;
  transition: all 0.3s ease;
  color: #314473;
  cursor: pointer;
}

.logout-btn {
  background-color: crimson;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.logout-btn:hover {
  opacity: 0.8;
}

.back-btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background-color: #314473;
  color: white;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}
.back-btn:hover {
  background-color: #222f4f;
  box-shadow: 0 0 0.625rem #314473;
}

.btn-delete-project {
  margin-top: auto;
  align-self: flex-start;
  background-color: crimson;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 0.3125rem;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}
.btn-delete-project:hover {
  opacity: 0.8;
}

.delete-category-btn {
  color: crimson;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}
.delete-category-btn:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.dark-mode-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #314473, #293961);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.25rem 0.9375rem rgba(49, 68, 115, 0.4);
  transition: 0.3s ease;
  z-index: 999;
}
.dark-mode-toggle:hover {
  transform: translateY(-0.1875rem) rotate(20deg);
  box-shadow: 0 0.375rem 1.25rem rgba(49, 68, 115, 0.5);
}
.dark-mode-toggle:active {
  transform: translateY(0) rotate(0);
}

.dark-mode-toggle-home {
  position: fixed;
  bottom: 1.875rem;
  left: 1.875rem;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #314473, #293961);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.375rem 1.25rem rgba(49, 68, 115, 0.4);
  transition: all 0.3s ease;
  z-index: 9999;
}
@media (max-width: 768px) {
  .dark-mode-toggle-home {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
    z-index: 9999;
  }
}
.dark-mode-toggle-home:hover {
  transform: translateY(-0.3125rem) rotate(20deg);
  box-shadow: 0 0.625rem 1.875rem rgba(49, 68, 115, 0.6);
}
.dark-mode-toggle-home:active {
  transform: translateY(-0.125rem) rotate(0);
}
.dark-mode-toggle-home i {
  transition: transform 0.3s ease;
}

.scroll-to-top {
  position: fixed;
  bottom: 1.875rem;
  right: 1.875rem;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #314473, #293961);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.375rem 1.25rem rgba(49, 68, 115, 0.4);
  transition: all 0.3s ease;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1.25rem);
}
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
    z-index: 9999;
  }
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  transform: translateY(-0.3125rem) scale(1.1);
  box-shadow: 0 0.625rem 1.875rem rgba(49, 68, 115, 0.6);
}
.scroll-to-top:active {
  transform: translateY(-0.125rem) scale(1.05);
}
.scroll-to-top i {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
@media (max-width: 768px) {
  .scroll-to-top i {
    font-size: 1.25rem;
  }
}

.edit-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #314473, #222f4f);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 0.25rem 0.75rem rgba(49, 68, 115, 0.3);
  transition: 0.3s ease;
}
.edit-profile-btn i {
  font-size: 0.9rem;
}
.edit-profile-btn:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.375rem 1.25rem rgba(49, 68, 115, 0.4);
}
.edit-profile-btn:active {
  transform: translateY(0);
}

.dashboard-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
  border: none;
  font-size: 0.9rem;
}
.dashboard-btn.btn-primary {
  background: linear-gradient(135deg, #314473, #222f4f);
  color: white;
  box-shadow: 0 0.125rem 0.5rem rgba(49, 68, 115, 0.3);
}
.dashboard-btn.btn-primary:hover {
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.25rem 0.75rem rgba(49, 68, 115, 0.4);
}
.dashboard-btn.btn-secondary {
  background: #e0e0e0;
  color: #666;
}
.dashboard-btn.btn-secondary:hover {
  background: #d0d0d0;
}
.dashboard-btn.btn-success {
  background: #4CAF50;
  color: white;
}
.dashboard-btn.btn-success:hover {
  background: rgb(63.6462151394, 146.5537848606, 66.9960159363);
  transform: translateY(-0.0625rem);
}
.dashboard-btn.btn-danger {
  background: crimson;
  color: white;
}
.dashboard-btn.btn-danger:hover {
  background: rgb(182.6, 16.6, 49.8);
  transform: translateY(-0.0625rem);
}
.dashboard-btn i {
  font-size: 0.85rem;
}

.card {
  flex: 1;
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.1);
  text-align: center;
}
.card h3 {
  margin-bottom: 0.5rem;
  color: #314473;
}
.card .count {
  font-size: 2rem;
  font-weight: bold;
  color: #314473;
  margin-bottom: 1rem;
}
.card .buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card .buttons button, .card .buttons .btn {
  padding: 0.5rem;
  border-radius: 0.375rem;
  color: white;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.card .buttons button:hover, .card .buttons .btn:hover {
  opacity: 0.9;
}
.card .buttons button {
  background-color: #314473;
}

:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --nav-bg: #f5f5f5;
  --link-color: #000;
  --button-icon-color: #444;
}

body.dark {
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --nav-bg: #1f1f1f;
  --link-color: #ffffff;
  --button-icon-color: #ccc;
}

.testimonials-section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, #314473 0%, rgb(26.1432926829, 36.2804878049, 61.3567073171) 100%);
  position: relative;
  overflow: visible;
}
.dark .testimonials-section {
  background: linear-gradient(135deg, rgb(26.3274336283, 36.3938053097, 61.1725663717) 0%, #222f4f 100%);
}
.testimonials-section::before {
  content: "";
  position: absolute;
  top: -6.1875rem;
  left: 0;
  width: 100%;
  height: 6.25rem;
  background-image: url("/img/wave-footer.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 1;
}
.testimonials-section::after {
  content: "";
  position: absolute;
  bottom: -6.1875rem;
  left: 0;
  width: 100%;
  height: 6.25rem;
  background-image: url("/img/wave-footer.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  transform: rotate(180deg);
  z-index: 1;
}

.testimonials-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.3);
}
.testimonials-title::after {
  content: "";
  display: block;
  width: 5rem;
  height: 0.25rem;
  background: white;
  margin: 1rem auto 0;
  border-radius: 0.125rem;
  box-shadow: 0 0.125rem 0.5rem rgba(255, 255, 255, 0.4);
}
@media (max-width: 768px) {
  .testimonials-title {
    font-size: 2rem;
  }
}

.testimonials-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
  max-width: 43.75rem;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .testimonials-subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
  }
}

.testimonials-container {
  max-width: 75rem;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 2;
}
@media (max-width: 768px) {
  .testimonials-container {
    flex-direction: column;
    gap: 2rem;
  }
}

.testimonial-arrow {
  background: white;
  border: none;
  width: 3.4375rem;
  height: 3.4375rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.2);
  z-index: 3;
  flex-shrink: 0;
}
.testimonial-arrow:hover {
  transform: scale(1.1);
  box-shadow: 0 0.375rem 1.5625rem rgba(0, 0, 0, 0.3);
  background: #adbbdc;
}
.testimonial-arrow:hover i {
  color: white;
}
.testimonial-arrow:active {
  transform: scale(0.95);
}
.testimonial-arrow i {
  font-size: 1.3rem;
  color: #314473;
  transition: color 0.3s ease;
}
@media (max-width: 768px) {
  .testimonial-arrow {
    width: 3.125rem;
    height: 3.125rem;
  }
  .testimonial-arrow i {
    font-size: 1.1rem;
  }
}

.testimonials-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 56.25rem;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .testimonials-wrapper {
    max-width: 100%;
  }
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 600%;
}

.testimonial-card {
  flex: 0 0 16.6666666667%;
  width: 16.6666666667%;
  padding: 0.9375rem 0.9375rem;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 0 0.625rem;
  }
}

.testimonial-content {
  background: white;
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.2);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 20rem;
}
.dark .testimonial-content {
  background: rgb(29.396460177, 40.6362831858, 68.303539823);
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
  .testimonial-content {
    padding: 2rem 1.5rem;
    min-height: 17.5rem;
  }
}

.testimonial-author {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.125rem solid rgba(49, 68, 115, 0.1);
}
.dark .testimonial-author {
  border-bottom-color: rgba(173, 187, 220, 0.2);
}
@media (max-width: 768px) {
  .testimonial-author {
    flex-direction: column;
    gap: 1rem;
  }
}

.author-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222f4f;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}
.dark .author-info h4 {
  color: white;
}
.author-info span {
  font-size: 0.95rem;
  color: #314473;
  font-weight: 500;
  display: block;
}
.dark .author-info span {
  color: #adbbdc;
}

.author-rating {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}
.author-rating i {
  font-size: 1.1rem;
  color: #ffc107;
  text-shadow: 0 0.0625rem 0.1875rem rgba(255, 193, 7, 0.3);
}

.testimonial-text {
  flex: 1;
  position: relative;
}
.testimonial-text .quote-icon {
  font-size: 3rem;
  color: #314473;
  opacity: 0.15;
  position: absolute;
  top: -0.625rem;
  left: -0.3125rem;
  z-index: 0;
}
.dark .testimonial-text .quote-icon {
  color: #adbbdc;
  opacity: 0.2;
}
.testimonial-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #222f4f;
  font-style: italic;
  margin: 0;
  position: relative;
  z-index: 1;
}
.dark .testimonial-text p {
  color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 768px) {
  .testimonial-text p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .testimonials-dots {
    margin-top: 2rem;
  }
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 0.125rem solid transparent;
}
.dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}
.dot.active {
  background: white;
  transform: scale(1.3);
  box-shadow: 0 0 0.75rem rgba(255, 255, 255, 0.6);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.875rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 480px) {
  .testimonials-section {
    padding: 4rem 1rem;
  }
  .testimonial-arrow {
    width: 2.8125rem;
    height: 2.8125rem;
  }
  .testimonial-arrow i {
    font-size: 1rem;
  }
  .testimonial-content {
    padding: 1.5rem;
  }
}
:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --nav-bg: #f5f5f5;
  --link-color: #000;
  --button-icon-color: #444;
}

body.dark {
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --nav-bg: #1f1f1f;
  --link-color: #ffffff;
  --button-icon-color: #ccc;
}

.timeline-section {
  margin-bottom: 2.5rem;
  padding: 4rem 2rem;
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}
.timeline-section .timeline-title {
  text-align: center;
  font-size: 2.5rem;
  color: #314473;
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.dark .timeline-section .timeline-title {
  color: white !important;
}
.timeline-section .timeline-title::after {
  content: "";
  display: block;
  width: 5rem;
  height: 0.25rem;
  background: #314473 !important;
  margin: 1rem auto 0;
  border-radius: 0.125rem;
}
.dark .timeline-section .timeline-title::after {
  background: white !important;
}
.timeline-section .timeline-description {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  max-width: 37.5rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.dark .timeline-section .timeline-description {
  color: #b0b0b0;
}

.timeline-container {
  max-width: 75rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.timeline-arrow {
  background-color: transparent;
  border: 0.125rem solid #314473;
  color: #314473;
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.dark .timeline-arrow {
  border-color: var(--text-color);
  color: var(--text-color);
}
.timeline-arrow:hover {
  background-color: #314473;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 1.25rem rgba(49, 68, 115, 0.5);
}
.dark .timeline-arrow:hover {
  background-color: #314473;
  border-color: #314473;
  box-shadow: 0 0 1.25rem rgba(49, 68, 115, 0.5);
}
.timeline-arrow:active {
  transform: scale(0.95);
}
.timeline-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.timeline-arrow i {
  font-size: 1.2rem;
}

.timeline-content {
  flex: 1;
  min-height: 26.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
@media (max-width: 768px) {
  .timeline-content {
    min-height: 36.25rem;
  }
}

.timeline-item {
  position: absolute;
  width: 100%;
  max-width: 43.75rem;
  background-color: var(--bg-color);
  border: 0.125rem solid #314473;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(6.25rem) scale(0.9);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.1);
}
.dark .timeline-item {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.3);
}
.timeline-item.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.timeline-item.prev {
  transform: translateX(-6.25rem) scale(0.9);
}

.timeline-icon {
  width: 4.375rem;
  height: 4.375rem;
  min-width: 4.375rem;
  background-color: #314473;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0.3125rem 1.25rem rgba(49, 68, 115, 0.4);
  margin-top: 0.2rem;
}
.dark .timeline-icon {
  background-color: #314473;
  box-shadow: 0 0.3125rem 1.25rem rgba(49, 68, 115, 0.4);
}
.timeline-icon i {
  font-size: 1.8rem;
  color: white;
}

.timeline-info {
  flex: 1;
  color: var(--text-color);
}
.timeline-info .timeline-degree {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  line-height: 1.4;
}
.timeline-info .timeline-period {
  font-size: 0.95rem;
  color: #314473;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.dark .timeline-info .timeline-period {
  color: #adbbdc;
}
.timeline-info .timeline-school {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.85;
  line-height: 1.6;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.timeline-info .timeline-description {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.75;
  line-height: 1.6;
  margin-top: 0.5rem;
}
.timeline-info .timeline-description ul {
  margin: 0.5rem 0 0 1.2rem;
  padding: 0;
}
.timeline-info .timeline-description ul li {
  margin-bottom: 0.3rem;
}
.timeline-info .company-logo {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.timeline-track {
  max-width: 62.5rem;
  margin: 3rem auto 0;
  position: relative;
  z-index: 1;
}

.timeline-years {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 0.625rem;
}

.year-marker {
  color: var(--text-color);
  opacity: 0.5;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 0.625rem;
}
.year-marker:hover {
  color: #314473;
  opacity: 1;
  background: rgba(49, 68, 115, 0.1);
}
.dark .year-marker:hover {
  background: rgba(49, 68, 115, 0.2);
}
.year-marker.active {
  color: #314473;
  opacity: 1;
  background: rgba(49, 68, 115, 0.15);
}
.dark .year-marker.active {
  color: #adbbdc;
  background: rgba(49, 68, 115, 0.25);
}
.year-marker.active::after {
  content: "";
  position: absolute;
  bottom: -0.9375rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.75rem;
  height: 0.75rem;
  background: #314473;
  border-radius: 50%;
  box-shadow: 0 0 0.625rem rgba(49, 68, 115, 0.8);
}
.dark .year-marker.active::after {
  background: #adbbdc;
  box-shadow: 0 0 0.625rem rgba(173, 187, 220, 0.8);
}

.timeline-progress {
  height: 0.25rem;
  background: rgba(49, 68, 115, 0.2);
  border-radius: 0.125rem;
  overflow: hidden;
  position: relative;
}
.dark .timeline-progress {
  background: rgba(255, 255, 255, 0.1);
}

.timeline-progress-bar {
  height: 100%;
  background: #314473;
  border-radius: 0.125rem;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 0.625rem rgba(49, 68, 115, 0.6);
}
.dark .timeline-progress-bar {
  background: #adbbdc;
  box-shadow: 0 0 0.625rem rgba(173, 187, 220, 0.6);
}

.timeline-item-indicators {
  position: absolute;
  bottom: -2.8125rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.indicator-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: rgba(49, 68, 115, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.dark .indicator-dot {
  background: rgba(255, 255, 255, 0.3);
}
.indicator-dot:hover {
  background: rgba(49, 68, 115, 0.6);
  transform: scale(1.2);
}
.dark .indicator-dot:hover {
  background: rgba(49, 68, 115, 0.8);
}
.indicator-dot.active {
  background: #314473;
  width: 0.75rem;
  height: 0.75rem;
  box-shadow: 0 0 0.5rem rgba(49, 68, 115, 0.6);
}
.dark .indicator-dot.active {
  background: #adbbdc;
  box-shadow: 0 0 0.5rem rgba(173, 187, 220, 0.6);
}

@media (max-width: 768px) {
  .timeline-section {
    padding: 3rem 1rem;
  }
  .timeline-title {
    font-size: 2rem;
  }
  .timeline-container {
    gap: 1rem;
  }
  .timeline-arrow {
    width: 2.5rem;
    height: 2.5rem;
  }
  .timeline-arrow i {
    font-size: 1rem;
  }
  .timeline-item {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 100%;
  }
  .timeline-icon {
    width: 3.75rem;
    height: 3.75rem;
  }
  .timeline-icon i {
    font-size: 1.5rem;
  }
  .timeline-info .timeline-degree {
    font-size: 1.2rem;
  }
  .timeline-info .timeline-period {
    font-size: 0.9rem;
  }
  .timeline-info .timeline-school {
    font-size: 0.85rem;
    justify-content: center;
  }
  .timeline-years {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }
  .year-marker {
    font-size: 0.9rem;
    padding: 0.3rem 0.7rem;
  }
  .year-marker.active::after {
    bottom: -0.625rem;
    width: 0.5rem;
    height: 0.5rem;
  }
  .timeline-item-indicators {
    bottom: -2.1875rem;
  }
  .indicator-dot {
    width: 0.5rem;
    height: 0.5rem;
  }
  .indicator-dot.active {
    width: 0.625rem;
    height: 0.625rem;
  }
}
@media (max-width: 480px) {
  .timeline-container {
    gap: 0.5rem;
  }
  .timeline-arrow {
    width: 2.1875rem;
    height: 2.1875rem;
  }
  .timeline-item {
    padding: 1.5rem 1rem;
    min-height: 15.625rem;
  }
  .timeline-title {
    font-size: 1.5rem;
  }
}
.base-template__wrapper {
  max-width: 97.5rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.base-template__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #314473, #293961);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  position: relative;
}
.dark .base-template__title {
  background: linear-gradient(135deg, rgb(64.237804878, 89.1463414634, 150.762195122), #314473);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.base-template__title::after {
  content: "";
  display: block;
  width: 5rem;
  height: 0.25rem;
  background: #314473 !important;
  margin: 1rem auto 0;
  border-radius: 0.125rem;
}
.dark .base-template__title::after {
  background: white !important;
}

.base-template__text {
  margin-bottom: 3.75rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.8;
  max-width: 37.5rem;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 55.25rem) {
  .base-template__text {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
}

/**
 * Slider Instance
 */
.swiper {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.emotions-slider {
  --color-gray: #818181;
  --color-gray-dark: var(--nav-bg);
  --color-blue: #314473;
  padding-inline: 6.125rem;
  position: relative;
}
@media (max-width: 55.25rem) {
  .emotions-slider {
    padding: 0;
    margin-inline: -1.25rem;
  }
}
.emotions-slider .swiper-wrapper {
  margin-bottom: 20px;
}

.emotions-slider__slide {
  display: flex;
  align-items: center;
  min-height: 34.375rem;
}

/**
 * Slider Navigation
 */
.slider-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  z-index: 1;
  pointer-events: none;
}

.slider-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 3rem;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease-out;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  color: #314473;
  border: 0.125rem solid rgba(49, 68, 115, 0.2);
}
.dark .slider-nav__item {
  color: white;
}
.slider-nav__item.disabled {
  cursor: default;
  opacity: 0.5;
}
.slider-nav__item svg {
  color: #314473;
  width: 0.875rem;
  height: 1.625rem;
}
.dark .slider-nav__item svg {
  color: white;
}
.slider-nav__item path {
  stroke: currentColor;
}
@media (hover: hover) and (pointer: fine) {
  .slider-nav__item:not(.disabled):hover {
    transform: scale(1.1);
  }
  .dark .slider-nav__item:not(.disabled):hover {
    border-color: rgba(255, 255, 255, 0.3);
  }
}
@media (hover: none) {
  .slider-nav__item:not(.disabled):active {
    color: var(--color-blue);
  }
}
@media (max-width: 55.25rem) {
  .slider-nav__item {
    display: none;
  }
}

/**
 * Slider Pagination
 */
.slider-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 2.5rem;
}

.swiper-pagination-lock {
  display: none !important;
}

.slider-pagination__item {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 6.1875rem;
  background: #314473;
  transition: all 0.3s ease-out;
  opacity: 0.3;
  cursor: pointer;
}
.slider-pagination__item.active {
  width: 1.875rem;
  opacity: 1;
}
.dark .slider-pagination__item {
  background: white;
}

/**
 * Slider Item
 */
.swiper-slide {
  width: auto;
  height: auto;
}

@keyframes btn-arrow-move {
  0% {
    translate: 0;
  }
  100% {
    translate: 100% -100%;
  }
}
.emotions-slider-item {
  --border-radius: 0.9375rem;
  width: calc(100dvw - 3.75rem);
  max-width: 25rem;
  background: white;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.dark .emotions-slider-item {
  background: var(--nav-bg);
}
.emotions-slider-item:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.9375rem 3.125rem rgba(0, 0, 0, 0.15);
}

.emotions-slider-item__badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, #314473, #293961);
  border-bottom-right-radius: var(--border-radius);
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 600;
  color: white;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}
.emotions-slider-item__badge::before {
  content: "⭐";
  font-size: 0.875rem;
}

.emotions-slider-item__image {
  aspect-ratio: 400/270;
  overflow: hidden;
}
.emotions-slider-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

.emotions-slider-item:hover .emotions-slider-item__image img {
  transform: scale(1.05);
}

.emotions-slider-item__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.875rem 1.5625rem;
}

.emotions-slider-item__header,
.emotions-slider-item__footer {
  max-height: 3.75rem;
  overflow: hidden;
  transition: max-height 0.6s ease-in;
}

.emotions-slider-item__footer {
  padding-bottom: 0.5rem;
}

.emotions-slider-item__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.emotions-slider-item__skills {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex: 1;
}

.skill-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  background: rgba(49, 68, 115, 0.15);
  color: #314473;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: 0.0625rem solid rgba(49, 68, 115, 0.2);
}
.dark .skill-badge {
  background: rgba(49, 68, 115, 0.25);
  color: rgb(101.7835365854, 127.0975609756, 189.7164634146);
  border-color: rgba(49, 68, 115, 0.3);
}
.skill-badge:hover {
  transform: scale(1.15);
  background: rgba(49, 68, 115, 0.25);
}
.dark .skill-badge:hover {
  background: rgba(49, 68, 115, 0.35);
}
.skill-badge i {
  font-size: 0.875rem;
}
.skill-badge .skill-initial {
  font-size: 0.75rem;
  font-weight: 700;
  color: inherit;
}
.skill-badge.more-skills {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #314473;
}
.dark .skill-badge.more-skills {
  color: rgb(101.7835365854, 127.0975609756, 189.7164634146);
}

.emotions-slider-item__price {
  font-weight: 600;
  font-size: 0.875rem;
  color: #314473;
  background: rgba(49, 68, 115, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  line-height: 1.2;
}
.dark .emotions-slider-item__price {
  color: rgb(83.9024390244, 112.1707317073, 182.0975609756);
  background: rgba(49, 68, 115, 0.2);
}

.emotions-slider-item__author {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.emotions-slider-item__author-image {
  flex-shrink: 0;
  aspect-ratio: 1;
  width: 1.5rem;
  border-radius: 100%;
  overflow: hidden;
}
.emotions-slider-item__author-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.emotions-slider-item__author-name {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--text-color);
  opacity: 0.7;
}

.emotions-slider-item__info {
  flex: 1;
}

.emotions-slider-item__title {
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.emotions-slider-item__text {
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-color);
  opacity: 0.8;
}

.emotions-slider-item__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #314473;
  text-decoration: none;
  transition: all 0.3s ease;
}
.emotions-slider-item__btn:hover {
  color: #293961;
}

.emotions-slider-item__btn-icon {
  flex-shrink: 0;
  display: block;
  aspect-ratio: 1;
  width: 1.25rem;
  position: relative;
  overflow: hidden;
}
.emotions-slider-item__btn-icon::before, .emotions-slider-item__btn-icon::after {
  content: "→";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  font-weight: bold;
  color: currentColor;
}
.emotions-slider-item__btn-icon::after {
  position: absolute;
  top: 100%;
  right: 100%;
}

.emotions-slider__slide:not(.swiper-slide-active) .emotions-slider-item__header,
.emotions-slider__slide:not(.swiper-slide-active) .emotions-slider-item__footer {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {
  .emotions-slider-item__btn:hover .emotions-slider-item__btn-icon::before,
  .emotions-slider-item__btn:hover .emotions-slider-item__btn-icon::after {
    animation: btn-arrow-move 0.4s ease forwards;
  }
}
@media (hover: none) {
  .emotions-slider-item__btn:active .emotions-slider-item__btn-icon::before,
  .emotions-slider-item__btn:active .emotions-slider-item__btn-icon::after {
    animation: btn-arrow-move 0.4s ease forwards;
  }
}
@media (max-width: 48rem) {
  .emotions-slider-item {
    max-width: 21.875rem;
  }
  .emotions-slider-item__content {
    padding: 1.5625rem 1.25rem;
  }
}
@media (max-width: 55.25rem) {
  .emotions-slider-item {
    width: calc(100vw - 2.5rem);
    max-width: 18.75rem;
  }
  .emotions-slider-item__content {
    padding: 1.25rem 0.9375rem;
    gap: 0.9375rem;
  }
  .emotions-slider-item__title {
    font-size: 1.1rem;
  }
}
.contacts-list {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
  padding: 2rem;
}
.contacts-list .dashboard-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.08);
}
.contacts-list .dashboard-header .header-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #222f4f;
  margin: 0;
}
.contacts-list .dashboard-header .header-content h1 i {
  color: #314473;
  margin-right: 1rem;
}
.contacts-list .dashboard-header .header-content .header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.contacts-list .dashboard-header .header-content .header-actions .message-count {
  padding: 0.5rem 1rem;
  background: #314473;
  color: white;
  border-radius: 1.5625rem;
  font-weight: 600;
}
.contacts-list .messages-grid {
  display: grid;
  gap: 2rem;
}
.contacts-list .messages-grid .message-card {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.08);
  border: 0.125rem solid transparent;
  transition: all 0.3s ease;
  position: relative;
}
.contacts-list .messages-grid .message-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.25rem;
  background: #ddd;
}
.contacts-list .messages-grid .message-card.unread {
  border-color: rgba(49, 68, 115, 0.2);
}
.contacts-list .messages-grid .message-card.unread::before {
  background: #314473;
}
.contacts-list .messages-grid .message-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);
}
.contacts-list .messages-grid .message-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contacts-list .messages-grid .message-card .card-header .sender-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contacts-list .messages-grid .message-card .card-header .sender-info .sender-avatar {
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 50%;
  background: #314473;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}
.contacts-list .messages-grid .message-card .card-header .sender-info .sender-details .sender-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.3rem 0;
}
.contacts-list .messages-grid .message-card .card-header .sender-info .sender-details .message-time {
  color: #666;
  font-size: 0.85rem;
}
.contacts-list .messages-grid .message-card .card-header .sender-info .sender-details .message-time i {
  margin-right: 0.3rem;
}
.contacts-list .messages-grid .message-card .card-header .badge-new {
  background: #ff6b6b;
  color: white;
  padding: 0.3rem 0.5rem;
  border-radius: 1.5625rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.contacts-list .messages-grid .message-card .message-subject {
  background: rgba(49, 68, 115, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  border-left: 0.1875rem solid #314473;
}
.contacts-list .messages-grid .message-card .message-subject i {
  color: #314473;
  margin-right: 0.5rem;
}
.contacts-list .messages-grid .message-card .message-subject span {
  font-weight: 600;
  color: #333;
}
.contacts-list .messages-grid .message-card .message-preview p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  margin-bottom: 1.5rem;
}
.contacts-list .messages-grid .message-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid #eee;
}
.contacts-list .messages-grid .message-card .card-footer .message-actions {
  display: flex;
  gap: 0.5rem;
}
.contacts-list .messages-grid .message-card .card-footer .message-actions .btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  transition: 0.2s ease;
}
.contacts-list .messages-grid .message-card .card-footer .message-actions .btn.btn-primary {
  background: #314473;
  color: white;
  border: none;
}
.contacts-list .messages-grid .message-card .card-footer .message-actions .btn.btn-primary:hover {
  background: #293961;
}
.contacts-list .messages-grid .message-card .card-footer .message-actions .btn.btn-mark-read, .contacts-list .messages-grid .message-card .card-footer .message-actions .btn.btn-delete {
  padding: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  color: white;
}
.contacts-list .messages-grid .message-card .card-footer .message-actions .btn.btn-mark-read:hover, .contacts-list .messages-grid .message-card .card-footer .message-actions .btn.btn-delete:hover {
  transform: scale(1.1);
}
.contacts-list .messages-grid .message-card .card-footer .message-actions .btn.btn-mark-read {
  background: #4CAF50;
}
.contacts-list .messages-grid .message-card .card-footer .message-actions .btn.btn-delete {
  background: #f44336;
}
.contacts-list .messages-grid .message-card .card-footer .btn-expand {
  background: none;
  border: none;
  color: #999;
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s ease;
}
.contacts-list .messages-grid .message-card .card-footer .btn-expand:hover {
  background: rgba(49, 68, 115, 0.1);
  color: #314473;
}
.contacts-list .messages-grid .message-card .message-full {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid #eee;
}
.contacts-list .messages-grid .message-card .message-full h4 {
  color: #333;
  margin-bottom: 1rem;
}
.contacts-list .messages-grid .message-card .message-full .message-body {
  background: rgba(49, 68, 115, 0.03);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border-left: 0.1875rem solid #314473;
  color: #666;
  line-height: 1.7;
}
.contacts-list .messages-grid .message-card .message-full .contact-details {
  font-size: 0.9rem;
}
.contacts-list .messages-grid .message-card .message-full .contact-details strong {
  color: #333;
}
.contacts-list .messages-grid .message-card .message-full .contact-details a {
  color: #314473;
  text-decoration: none;
}
.contacts-list .empty-state {
  text-align: center;
  padding: 6rem;
  background: white;
  border-radius: 0.75rem;
}
.contacts-list .empty-state .empty-icon {
  font-size: 4rem;
  color: #ccc;
  margin-bottom: 2rem;
}
.contacts-list .empty-state h3 {
  color: #666;
}
.contacts-list .empty-state p {
  color: #999;
}

.list-section {
  padding: 2rem;
  max-width: 75rem;
  margin: 0 auto;
}
.list-section .dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.125rem solid var(--border-color);
}
.list-section .dashboard-header .header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.list-section .dashboard-header h1 {
  color: var(--text-color);
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}
.list-section .dashboard-header h1 i {
  color: #314473;
  margin-right: 0.3rem;
}
.list-section .dashboard-header .projects-count {
  background: rgba(49, 68, 115, 0.1);
  color: #314473;
  padding: 0.3rem 0.5rem;
  border-radius: 0.3125rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.list-section .dashboard-header .btn {
  background: #314473;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.list-section .dashboard-header .btn:hover {
  background: #293961;
  transform: translateY(-0.125rem);
}
.list-section .empty-state {
  text-align: center;
  padding: 3rem;
  background: var(--bg-color);
  border: 0.125rem dashed var(--border-color);
  border-radius: 0.625rem;
  color: #666;
}
.list-section .empty-state p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}
.list-section .empty-state p:first-child {
  font-weight: 600;
  color: var(--text-color);
  font-size: 1.25rem;
}
.list-section .table-container {
  background: var(--bg-color);
  border-radius: 0.625rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.1);
  border: 0.0625rem solid var(--border-color);
}
.list-section .admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.list-section .admin-table thead {
  background: linear-gradient(135deg, #314473 0%, #293961 100%);
  color: white;
}
.list-section .admin-table thead th {
  padding: 1.5rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.0313rem;
  border-right: 0.0625rem solid rgba(255, 255, 255, 0.1);
}
.list-section .admin-table thead th:last-child {
  border-right: none;
  text-align: center;
}
.list-section .admin-table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 0.0625rem solid var(--border-color);
}
.list-section .admin-table tbody tr:hover {
  background: rgba(49, 68, 115, 0.05);
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
}
.list-section .admin-table tbody tr:last-child {
  border-bottom: none;
}
.list-section .admin-table tbody tr td {
  padding: 1.5rem 1rem;
  vertical-align: middle;
  color: var(--text-color);
}
.list-section .admin-table tbody tr td strong {
  color: #293961;
  font-weight: 600;
}
.list-section .admin-table tbody tr td code {
  background: rgba(49, 68, 115, 0.1);
  color: #293961;
  padding: 0.125rem 0.3rem;
  border-radius: 0.3125rem;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
}
.list-section .admin-table tbody tr td.actions {
  text-align: center;
  padding: 1rem;
}

.skills-list-admin .admin-table tbody td:nth-child(2) {
  text-transform: capitalize;
}
.skills-list-admin .admin-table tbody td:nth-child(2)::before {
  content: "●";
  margin-right: 0.3rem;
}
.skills-list-admin .admin-table tbody td:nth-child(2)[data-level=beginner]::before, .skills-list-admin .admin-table tbody td:nth-child(2):contains("beginner")::before {
  color: #ff6b6b;
}
.skills-list-admin .admin-table tbody td:nth-child(2)[data-level=intermediate]::before, .skills-list-admin .admin-table tbody td:nth-child(2):contains("intermediate")::before {
  color: #ffa726;
}
.skills-list-admin .admin-table tbody td:nth-child(2)[data-level=advanced]::before, .skills-list-admin .admin-table tbody td:nth-child(2):contains("advanced")::before {
  color: #4caf50;
}
.skills-list-admin .admin-table tbody td:nth-child(2)[data-level=expert]::before, .skills-list-admin .admin-table tbody td:nth-child(2):contains("expert")::before {
  color: #2196f3;
}
.skills-list-admin .admin-table tbody td:nth-child(3) {
  text-transform: capitalize;
  color: #666;
  font-style: italic;
}
.skills-list-admin .admin-table tbody td:nth-child(4) {
  text-align: center;
  font-weight: 600;
  color: #314473;
}

.categories-list-admin .admin-table tbody td:nth-child(2) {
  max-width: 18.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

.btn.btn-sm {
  padding: 0.3rem 0.5rem;
  font-size: 0.8rem;
  border-radius: 0.3125rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.125rem;
}
.btn.btn-sm i {
  font-size: 0.75rem;
}
.btn.btn-sm.btn-edit {
  background: #4caf50;
  color: white;
}
.btn.btn-sm.btn-edit:hover {
  background: #388e3c;
  transform: scale(1.05);
}
.btn.btn-sm.btn-delete {
  background: #f44336;
  color: white;
}
.btn.btn-sm.btn-delete:hover {
  background: #d32f2f;
  transform: scale(1.05);
}
.btn.btn-sm.btn-full {
  flex: 1;
  justify-content: center;
}
.btn.btn-sm.btn-primary {
  background: #314473;
  color: white;
}
.btn.btn-sm.btn-primary:hover {
  background: #293961;
  transform: scale(1.05);
}
.btn.btn-sm.btn-secondary {
  background: #9e9e9e;
  color: white;
}
.btn.btn-sm.btn-secondary:hover {
  background: #757575;
  transform: scale(1.05);
}

@media (max-width: 48rem) {
  .list-section {
    padding: 1.5rem;
  }
  .list-section .dashboard-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .list-section .dashboard-header h1 {
    font-size: 1.5rem;
  }
  .list-section .admin-table {
    font-size: 0.85rem;
  }
  .list-section .admin-table thead th,
  .list-section .admin-table tbody td {
    padding: 0.5rem;
  }
}
@media (max-width: 55.25rem) {
  .list-section {
    padding: 1rem;
  }
  .list-section .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .list-section .admin-table {
    min-width: 37.5rem;
    font-size: 0.8rem;
  }
  .list-section .admin-table thead th {
    padding: 0.5rem 0.3rem;
  }
  .list-section .admin-table tbody td {
    padding: 0.5rem 0.3rem;
  }
  .list-section .admin-table tbody td.actions .btn.btn-sm {
    padding: 0.3rem;
    margin: 0.0625rem;
  }
  .list-section .admin-table tbody td.actions .btn.btn-sm span {
    display: none;
  }
}
.projects-list-admin .empty-state .empty-icon {
  font-size: 4rem;
  color: #314473;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}
.projects-list-admin .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(21.875rem, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.projects-list-admin .project-card {
  background: var(--bg-color);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.625rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.projects-list-admin .project-card:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.15);
  border-color: #314473;
}
.projects-list-admin .project-card .card-image {
  position: relative;
  height: 12.5rem;
  overflow: hidden;
  background: #f8f9fa;
}
.projects-list-admin .project-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.projects-list-admin .project-card .card-image:hover img {
  transform: scale(1.05);
}
.projects-list-admin .project-card .card-image .card-overlay {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}
.projects-list-admin .project-card .card-image .card-overlay .category-badge {
  background: rgba(49, 68, 115, 0.9);
  color: white;
  padding: 0.3rem 0.5rem;
  border-radius: 0.3125rem;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(0.625rem);
}
.projects-list-admin .project-card .card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.projects-list-admin .project-card .card-content .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.projects-list-admin .project-card .card-content .card-header .project-title {
  color: #293961;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  flex: 1;
}
.projects-list-admin .project-card .card-content .card-header .project-meta .project-id {
  background: rgba(102, 102, 102, 0.1);
  color: #666;
  padding: 0.125rem 0.3rem;
  border-radius: 0.3125rem;
  font-size: 0.75rem;
  font-family: monospace;
  font-weight: 600;
}
.projects-list-admin .project-card .card-content .project-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  flex: 1;
}
.projects-list-admin .project-card .card-content .card-actions {
  display: flex;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 0.0625rem solid var(--border-color);
  margin-top: auto;
}
@media (max-width: 48rem) {
  .projects-list-admin .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(18.75rem, 1fr));
    gap: 1.5rem;
  }
}
@media (max-width: 55.25rem) {
  .projects-list-admin .projects-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .projects-list-admin .project-card .card-image {
    height: 9.375rem;
  }
  .projects-list-admin .project-card .card-content {
    padding: 1rem;
  }
  .projects-list-admin .project-card .card-content .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  .projects-list-admin .project-card .card-content .card-actions .btn.btn-sm {
    flex: 1;
    justify-content: center;
  }
}

.edit-section {
  padding: 2rem;
  max-width: 50rem;
  margin: 0 auto;
}
.edit-section .form-container {
  background: var(--bg-color);
  border-radius: 0.625rem;
  padding: 2rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.1);
  border: 0.0625rem solid var(--border-color);
}
.edit-section .form-group {
  margin-bottom: 1.5rem;
}
.edit-section .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #293961;
  font-size: 0.95rem;
}
.edit-section .form-group label i {
  color: #314473;
  margin-right: 0.3rem;
}
.edit-section .form-group label .required {
  color: #f44336;
  margin-left: 0.125rem;
}
.edit-section .form-group input[type=text],
.edit-section .form-group textarea,
.edit-section .form-group select {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 0.125rem solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--bg-color);
  color: var(--text-color);
}
.edit-section .form-group input[type=text]:focus,
.edit-section .form-group textarea:focus,
.edit-section .form-group select:focus {
  outline: none;
  border-color: #314473;
  box-shadow: 0 0 0 0.1875rem rgba(49, 68, 115, 0.1);
}
.edit-section .form-group textarea {
  resize: vertical;
  min-height: 6.25rem;
  font-family: inherit;
}
.edit-section .form-group .current-image {
  margin-top: 0.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
  text-align: center;
}
.edit-section .form-group .gallery-preview {
  margin-top: 0.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}
.edit-section .form-group .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: normal;
  margin-bottom: 0;
}
.edit-section .form-group .checkbox-label input[type=checkbox] {
  width: auto;
  cursor: pointer;
}
.edit-section .form-group .skills-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}
.edit-section .form-group .skills-selector .skill-checkbox {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.5rem;
  background: white;
  border: 0.125rem solid #e0e0e0;
  border-radius: 0.3125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: normal;
}
.edit-section .form-group .skills-selector .skill-checkbox input[type=checkbox] {
  width: auto;
  cursor: pointer;
}
.edit-section .form-group .skills-selector .skill-checkbox:hover {
  border-color: #314473;
  background: rgba(49, 68, 115, 0.05);
}
.edit-section .form-group .skills-selector .skill-checkbox input[type=checkbox]:checked + span {
  color: #314473;
  font-weight: 600;
}
.edit-section .form-group .file-input-wrapper {
  position: relative;
  margin-top: 0.5rem;
}
.edit-section .form-group .file-input-wrapper input[type=file] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}
.edit-section .form-group .file-input-wrapper .file-input-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #f8f9fa;
  border: 0.125rem dashed #ccc;
  border-radius: 0.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.edit-section .form-group .file-input-wrapper .file-input-label i {
  font-size: 2rem;
  color: #314473;
  margin-bottom: 0.5rem;
}
.edit-section .form-group .file-input-wrapper .file-input-label span {
  color: #666;
  font-size: 0.9rem;
}
.edit-section .form-group .file-input-wrapper .file-input-label:hover {
  border-color: #314473;
  background: rgba(49, 68, 115, 0.05);
}
.edit-section .form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid var(--border-color);
}
.edit-section .form-actions .btn {
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: none;
  font-size: 1rem;
}
.edit-section .form-actions .btn.btn-primary {
  background: linear-gradient(135deg, #314473, #293961);
  color: white;
  box-shadow: 0 0.25rem 0.75rem rgba(49, 68, 115, 0.3);
}
.edit-section .form-actions .btn.btn-primary:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.375rem 1rem rgba(49, 68, 115, 0.4);
}
.edit-section .form-actions .btn.btn-secondary {
  background: #e0e0e0;
  color: #666;
}
.edit-section .form-actions .btn.btn-secondary:hover {
  background: #d0d0d0;
}
.edit-section #editMessage {
  margin-top: 1.5rem;
}
.edit-section #editMessage .alert {
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.edit-section #editMessage .alert i {
  font-size: 1.2rem;
}
.edit-section #editMessage .alert.alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 0.0625rem solid #4caf50;
}
.edit-section #editMessage .alert.alert-error {
  background: #ffebee;
  color: #c62828;
  border: 0.0625rem solid #f44336;
}
@media (max-width: 48rem) {
  .edit-section {
    padding: 1.5rem;
  }
  .edit-section .form-container {
    padding: 1.5rem;
  }
  .edit-section .form-actions {
    flex-direction: column-reverse;
  }
  .edit-section .form-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 55.25rem) {
  .edit-section {
    padding: 1rem;
  }
  .edit-section .form-container {
    padding: 1rem;
  }
  .edit-section .form-group .skills-selector .skill-checkbox {
    flex: 1 0 calc(50% - 0.25rem);
    min-width: calc(50% - 0.25rem);
  }
}

.section-animate {
  opacity: 0;
  transform: translateY(1.875rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-animate.section-visible {
  opacity: 1;
  transform: translateY(0);
}

h2::after {
  transform: scaleX(0);
  transition: transform 0.8s ease 0.3s;
}

.section-visible h2::after,
h2.section-visible::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .section-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
  h2::after {
    transform: scaleX(1);
    transition: none;
  }
}
.main-container {
  margin-top: 3.75rem;
  display: flex;
  justify-content: space-evenly;
}
@media (max-width: 55.25rem) {
  .main-container {
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
  }
}
.main-container .content {
  width: 50%;
}
.main-container .content h1 span,
.main-container .content .typewriter span {
  color: #314473;
  animation: none !important;
  filter: none !important;
}
.main-container .content button {
  background-color: #314473;
  color: white;
  border-radius: 0.3125rem;
  transition: 0.2s linear;
}
.main-container .content button:hover {
  scale: 1.1;
  color: #314473;
  border: 0.125rem solid #314473;
  background-color: transparent;
  box-shadow: 0 0 2.5rem #314473;
}

.image {
  position: relative;
  display: inline-block;
}

.status-badge {
  position: absolute;
  top: 45rem;
  left: 60%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #314473 0%, rgb(33.762195122, 46.8536585366, 79.237804878) 100%);
  color: white;
  padding: 0.7rem 1.5rem 0.7rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 0.25rem 0.9375rem rgba(49, 68, 115, 0.5), 0 0.125rem 0.5rem rgba(49, 68, 115, 0.3);
  z-index: 10;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}
@media (max-width: 55.25rem) {
  .status-badge {
    top: 27rem;
    left: 52%;
  }
}
.status-badge {
  clip-path: polygon(0% 0%, calc(100% - 0.9375rem) 0%, 100% 50%, calc(100% - 0.9375rem) 100%, 0% 100%, 0.5rem 50%);
}
.status-badge::before {
  content: "";
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  right: 0.125rem;
  bottom: 0.125rem;
  background: linear-gradient(135deg, #314473 0%, rgb(33.762195122, 46.8536585366, 79.237804878) 100%);
  clip-path: polygon(0% 0%, calc(100% - 0.9375rem) 0%, 100% 50%, calc(100% - 0.9375rem) 100%, 0% 100%, 0.5rem 50%);
  z-index: -1;
}
.status-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
  clip-path: polygon(0% 0%, calc(100% - 0.9375rem) 0%, 100% 50%, calc(100% - 0.9375rem) 100%, 0% 100%, 0.5rem 50%);
  pointer-events: none;
}
.status-badge i {
  font-size: 1.1rem;
  filter: drop-shadow(0 0.125rem 0.25rem rgba(0, 0, 0, 0.3));
  display: flex;
  align-items: center;
}
.status-badge span {
  position: relative;
  z-index: 1;
  text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
}
.status-badge:hover {
  transform: translateX(-50%) translateY(-0.1875rem) scale(1.05);
  box-shadow: 0 0.375rem 1.25rem rgba(49, 68, 115, 0.6), 0 0.1875rem 0.625rem rgba(49, 68, 115, 0.4);
}
.dark .status-badge {
  background: linear-gradient(135deg, #adbbdc 0%, rgb(190.8717948718, 201.8205128205, 227.6282051282) 100%);
  color: #222f4f;
  box-shadow: 0 0.25rem 0.9375rem rgba(173, 187, 220, 0.5), 0 0.125rem 0.5rem rgba(173, 187, 220, 0.3);
}
.dark .status-badge::before {
  background: linear-gradient(135deg, #adbbdc 0%, rgb(190.8717948718, 201.8205128205, 227.6282051282) 100%);
}
.dark .status-badge:hover {
  box-shadow: 0 0.375rem 1.25rem rgba(173, 187, 220, 0.6), 0 0.1875rem 0.625rem rgba(173, 187, 220, 0.4);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}
.imageHome {
  margin: -3.75rem 1.875rem 1.875rem 1.875rem;
  width: 100%;
  max-height: 46.875rem;
  object-fit: contain;
  border-radius: 0.5rem;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
  backface-visibility: hidden;
  transform: translateZ(0);
}

@keyframes cursor {
  to {
    border-left: 0.1875rem solid #b74b4b;
  }
}
@keyframes words {
  0%, 33% {
    content: "Rigoureux";
  }
  34%, 66% {
    content: "Curieux";
  }
  67%, 100% {
    content: "Passionné";
  }
}
.skills-section {
  margin: 1.875rem 0;
  text-align: center;
}

.skill-category {
  margin-bottom: 1.875rem;
}
.skill-category .category-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #314473;
  margin-bottom: 0.9375rem;
  text-align: center;
}
.dark .skill-category .category-title {
  color: white;
}

.skills-home {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.skills-home .skill-icon-link {
  text-decoration: none;
}
.skills-home .skill-icon-link i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  background-color: #ffffff;
  border: 0.2rem solid #222f4f;
  border-radius: 50%;
  margin: 0;
  font-size: 1.5rem;
  transition: 0.2s linear;
}
.dark .skills-home .skill-icon-link i {
  border: 0.1875rem solid #222f4f;
}
.skills-home .skill-icon-link i:hover {
  scale: 1.3;
  color: white;
  background-color: #222f4f;
  filter: drop-shadow(0 0 0.625rem #222f4f);
}
.dark .skills-home .skill-icon-link i:hover {
  background-color: #314473;
  filter: drop-shadow(0 0 0.625rem #314473);
}

.content .text-content {
  text-align: center;
  margin-top: 0.8125rem;
}
.content h1 {
  font-size: clamp(1rem, 2rem + 5vw, 3rem);
  text-align: center;
}
@media (max-width: 55.25rem) {
  .content h1 {
    margin-top: 4rem;
    font-size: 2rem;
  }
}
.content h1 span {
  color: #314473;
  text-shadow: 0 0 0.375rem #314473;
}
.content .typewriter {
  font-weight: 600;
  font-size: clamp(1rem, 1rem + 5vw, 2rem);
  text-align: center;
}
@media (max-width: 1000px) {
  .content .typewriter {
    display: none;
  }
}
.content .typewriter span {
  color: #314473;
  font-size: 2rem;
  text-shadow: 0 0 0.3125rem #314473;
  position: relative;
  transition: 0.3s linear;
}
.content .typewriter span::after {
  content: "";
  position: absolute;
  width: calc(100% + 0.5rem);
  height: 100%;
  border-left: 0.1875rem solid black;
  animation: cursor 0.6s linear infinite;
}
.content button {
  padding: 0.625rem 1.25rem;
  height: 6vh;
  margin: 1.875rem;
  background-color: #6366f1;
  color: white;
  border: none;
  outline: none;
  font-size: 100%;
  font-weight: 700;
  border-radius: 0.3125rem;
  transition: 0.2s linear;
}
.content button:hover {
  scale: 1.1;
  color: #222f4f;
  border: 0.125rem solid #222f4f;
  background-color: transparent;
  font-weight: 700;
  box-shadow: 0 0 2.5rem #222f4f;
}

.social-and-cv-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.875rem;
  text-decoration: none;
}

.social-links {
  margin-top: 0;
  margin-left: 0;
  display: flex;
  gap: 1rem;
  text-decoration: none;
}
.social-links a {
  text-decoration: none;
}
.social-links i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  border: 0.2rem solid #222f4f;
  border-radius: 50%;
  color: #222f4f;
  margin: 0;
  font-size: 1.5rem;
  transition: 0.2s linear;
}
.dark .social-links i {
  border-color: white;
  color: white;
}
.social-links i:hover {
  scale: 1.3;
  color: white;
  background-color: #222f4f;
  filter: drop-shadow(0 0 0.625rem #222f4f);
}
.dark .social-links i:hover {
  background-color: #314473;
  filter: drop-shadow(0 0 0.625rem #314473);
}

.scroll-indicator {
  position: absolute;
  bottom: 1.875rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #314473;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}
.dark .scroll-indicator {
  color: white;
}
.scroll-indicator:hover {
  color: #293961;
  transform: translateX(-50%) translateY(-0.3125rem);
}
.dark .scroll-indicator:hover {
  color: #314473;
}
.scroll-indicator .scroll-arrow {
  font-size: 1.5rem;
  animation: bounceArrow 2s infinite;
}
.scroll-indicator .scroll-arrow i {
  filter: drop-shadow(0 0.125rem 0.25rem rgba(0, 0, 0, 0.3));
}
.scroll-indicator .scroll-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
  opacity: 0.8;
  text-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.3);
}
@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-0.5rem);
  }
  60% {
    transform: translateY(-0.25rem);
  }
}
@media (max-height: 37.5rem) and (orientation: landscape) {
  .scroll-indicator {
    display: none;
  }
}
@media (max-width: 55.25rem) {
  .scroll-indicator {
    bottom: 1.25rem;
  }
  .scroll-indicator .scroll-arrow {
    font-size: 1.25rem;
  }
  .scroll-indicator .scroll-text {
    font-size: 0.6875rem;
  }
}

.portfolio {
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 5rem 2rem;
  position: relative;
}

#categoryFilter {
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  border: 0.125rem solid rgba(49, 68, 115, 0.2);
  background: var(--nav-bg);
  color: var(--text-color);
  margin-bottom: 3rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}
#categoryFilter:hover {
  border-color: #314473;
  box-shadow: 0 0.25rem 0.75rem rgba(49, 68, 115, 0.15);
  transform: translateY(-0.125rem);
}
#categoryFilter:focus {
  outline: none;
  border-color: #314473;
  box-shadow: 0 0 0 0.1875rem rgba(49, 68, 115, 0.1);
}

.portfolio-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #333;
}
.dark .portfolio-title {
  color: white;
}

.portfolio-filter {
  margin-bottom: 2rem;
}
.portfolio-filter label {
  font-weight: 500;
  margin-right: 0.5rem;
}
.portfolio-filter select {
  padding: 0.5rem 1rem;
  border-radius: 0.3125rem;
  border: 0.0625rem solid #ccc;
  font-size: 1rem;
}

.project-details {
  max-width: 62.5rem;
  margin: 5rem auto;
  padding: 2rem;
  background-color: var(--nav-bg);
  color: var(--text-color);
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.1);
}
.project-details h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #222f4f;
  text-align: center;
}
.dark .project-details h1 {
  color: white;
}
.project-details .category {
  text-align: center;
  font-style: italic;
  color: var(--link-color);
  margin-bottom: 2rem;
  font-weight: 500;
}
.project-details img {
  width: 100%;
  max-height: 31.25rem;
  object-fit: cover;
  border-radius: 0.625rem;
  margin-bottom: 2rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.2);
}
.project-details p.description {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 2rem;
}

.projects-list {
  padding: 2rem;
  background-color: var(--bg-color);
  color: var(--text-color);
}
.projects-list a[href*=dashboard] {
  display: inline-block;
  margin-bottom: 2rem;
  background-color: #314473;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.projects-list a[href*=dashboard]:hover {
  background-color: #222f4f;
}
.projects-list .project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: 2rem;
}
.projects-list .project-cards .project-card {
  background-color: white;
  border-radius: 0.625rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.2s ease;
}
.projects-list .project-cards .project-card:hover {
  transform: translateY(-0.3125rem);
}
.projects-list .project-cards .project-card .imgProject {
  max-width: 100%;
  max-height: 12.5rem;
  object-fit: cover;
  border-radius: 0.375rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 23.75rem;
  background-color: var(--nav-bg);
  color: var(--text-color);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 0.0625rem solid rgba(49, 68, 115, 0.1);
  position: relative;
}
.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.25rem;
  background: linear-gradient(90deg, #314473, #293961);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.project-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 0.75rem 2rem rgba(49, 68, 115, 0.2);
}
.project-card:hover::before {
  transform: scaleX(1);
}
.project-card:hover img {
  transform: scale(1.05);
}
.project-card img {
  width: 100%;
  height: 13.75rem;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card .project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.project-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222f4f;
  margin: 0;
  line-height: 1.3;
}
.dark .project-card h3 {
  color: white;
}
.project-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  flex-grow: 1;
  margin: 0;
}
.dark .project-card p {
  color: #ccc;
}
.project-card .category {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(49, 68, 115, 0.1);
  color: #314473;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 1.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.0313rem;
  align-self: flex-start;
}
.dark .project-card .category {
  background: rgba(49, 68, 115, 0.2);
  color: rgb(64.237804878, 89.1463414634, 150.762195122);
}
.project-card #btn-project {
  display: inline-block;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #314473, #293961);
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0.25rem 0.75rem rgba(49, 68, 115, 0.3);
  margin-top: 0.5rem;
}
.project-card #btn-project:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.375rem 1.25rem rgba(49, 68, 115, 0.4);
}
.project-card #btn-project:active {
  transform: translateY(0);
}

.project-list {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
  max-width: 100rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem 0 6.125rem;
  overflow: visible;
}
.project-list .swiper-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.project-list .swiper-slide {
  width: auto;
  height: auto;
}
.project-list .project-card {
  width: calc(100vw - 3.75rem);
  max-width: 25rem;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}
.project-list .project-card .category,
.project-list .project-card #btn-project {
  max-height: 3.125rem;
  overflow: hidden;
  transition: max-height 0.6s ease-in;
}
.project-list .swiper-slide:not(.swiper-slide-active) .project-card .category,
.project-list .swiper-slide:not(.swiper-slide-active) .project-card #btn-project {
  max-height: 0;
}
.project-list .swiper-slide-active .project-card {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  filter: blur(0);
}
.project-list .swiper-slide-prev .project-card {
  opacity: 0.5;
  transform: scale(0.8);
  z-index: 1;
  filter: blur(0.0313rem);
}
.project-list .swiper-slide-next .project-card {
  opacity: 0.5;
  transform: scale(0.8);
  z-index: 1;
  filter: blur(0.0313rem);
}
@media (max-width: 768px) {
  .project-list {
    padding: 0;
    margin-inline: -1.25rem;
  }
  .project-list .project-card {
    max-width: 100%;
  }
}

.slider-nav,
.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  z-index: 10;
  pointer-events: none;
}
.slider-nav .slider-nav__item,
.slider-nav .project-nav-btn,
.project-nav .slider-nav__item,
.project-nav .project-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 3rem;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease-out;
  background: transparent;
  border: none;
  color: white;
}
.slider-nav .slider-nav__item svg,
.slider-nav .project-nav-btn svg,
.project-nav .slider-nav__item svg,
.project-nav .project-nav-btn svg {
  width: 1rem;
  height: 1.75rem;
}
.slider-nav .slider-nav__item.swiper-button-disabled, .slider-nav .slider-nav__item.disabled,
.slider-nav .project-nav-btn.swiper-button-disabled,
.slider-nav .project-nav-btn.disabled,
.project-nav .slider-nav__item.swiper-button-disabled,
.project-nav .slider-nav__item.disabled,
.project-nav .project-nav-btn.swiper-button-disabled,
.project-nav .project-nav-btn.disabled {
  cursor: default;
  opacity: 0.3;
}
.slider-nav .slider-nav__item:not(.swiper-button-disabled):not(.disabled):hover,
.slider-nav .project-nav-btn:not(.swiper-button-disabled):not(.disabled):hover,
.project-nav .slider-nav__item:not(.swiper-button-disabled):not(.disabled):hover,
.project-nav .project-nav-btn:not(.swiper-button-disabled):not(.disabled):hover {
  color: #314473;
}
@media (max-width: 768px) {
  .slider-nav,
  .project-nav {
    display: none;
  }
}

.slider-pagination,
.project-nav-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 2.5rem;
}
.slider-pagination .swiper-pagination-lock,
.project-nav-dots .swiper-pagination-lock {
  display: none !important;
}
.slider-pagination .dot,
.project-nav-dots .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 6.1875rem;
  background: #fff;
  transition: all 0.3s ease-out;
  opacity: 0.2;
  cursor: pointer;
}
.slider-pagination .dot.active,
.project-nav-dots .dot.active {
  width: 1.875rem;
  opacity: 1;
}
.slider-pagination .dot:hover,
.project-nav-dots .dot:hover {
  opacity: 0.6;
}

.project-detail-page {
  min-height: 100vh;
  background: #ffffff;
}
.dark .project-detail-page {
  background: #1a1a1a;
}

.back-to-portfolio {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  background: #f8f9fa;
  color: #333;
  text-decoration: none;
  border-radius: 3.125rem;
  font-weight: 600;
  transition: all 0.3s;
  margin: 1.875rem 1.875rem 1.875rem 1.875rem;
  width: fit-content;
  max-width: 75rem;
  margin-left: 1.25rem;
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
}
.dark .back-to-portfolio {
  background: #2a2a2a;
  color: #ffffff;
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.3);
}
.back-to-portfolio:hover {
  background: #314473;
  color: white;
  transform: translateX(-0.3125rem);
  box-shadow: 0 0.25rem 0.9375rem rgba(49, 68, 115, 0.3);
}
.back-to-portfolio i {
  transition: transform 0.3s;
}
.back-to-portfolio:hover i {
  transform: translateX(-0.1875rem);
}

.project-detail-container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.project-detail-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}
.project-detail-intro .project-detail-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #314473;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.dark .project-detail-intro .project-detail-title {
  color: #314473;
}
.project-detail-intro .project-skills-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9375rem;
  flex-wrap: wrap;
}
.project-detail-intro .project-skills-icons i {
  font-size: 2rem;
  transition: transform 0.3s;
}
.project-detail-intro .project-skills-icons i:hover {
  transform: scale(1.2);
}

.project-detail-single-image {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.1);
  margin-bottom: 3.75rem;
  max-height: 37.5rem;
}
.dark .project-detail-single-image {
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.5);
}
.project-detail-single-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.project-detail-carousel {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.1);
  margin-bottom: 3.75rem;
  max-height: 31.25rem;
}
.dark .project-detail-carousel {
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.5);
}
.project-detail-carousel .swiper-slide img {
  width: 100%;
  height: 31.25rem;
  display: block;
  object-fit: contain;
}
.project-detail-carousel .swiper-button-prev,
.project-detail-carousel .swiper-button-next {
  color: #314473;
  background: rgba(255, 255, 255, 0.9);
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 50%;
  box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.2);
}
.project-detail-carousel .swiper-button-prev::after,
.project-detail-carousel .swiper-button-next::after {
  font-size: 1.25rem;
}
.project-detail-carousel .swiper-button-prev:hover,
.project-detail-carousel .swiper-button-next:hover {
  background: white;
}
.project-detail-carousel .swiper-pagination {
  bottom: 0.9375rem;
}
.project-detail-carousel .swiper-pagination .swiper-pagination-bullet {
  background: white;
  opacity: 0.7;
  width: 0.625rem;
  height: 0.625rem;
}
.project-detail-carousel .swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #314473;
  width: 1.875rem;
  border-radius: 0.3125rem;
}

.project-detail-description {
  margin-bottom: 2.5rem;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 0.9375rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08);
}
.dark .project-detail-description {
  background: #2a2a2a;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.4);
}
.project-detail-description h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #314473;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.project-detail-description h2 i {
  font-size: 1.5rem;
}
.project-detail-description .description-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}
.dark .project-detail-description .description-content {
  color: #e0e0e0;
}

.project-actions-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.project-actions-bottom .project-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.project-actions-bottom .project-btn i {
  font-size: 1.2rem;
}
.project-actions-bottom .project-btn.btn-github {
  background: #333;
  color: white;
}
.project-actions-bottom .project-btn.btn-github:hover {
  background: #000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.project-actions-bottom .project-btn.btn-demo {
  background: #314473;
  color: white;
}
.project-actions-bottom .project-btn.btn-demo:hover {
  background: #293961;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(49, 68, 115, 0.4);
}

.project-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}
.project-skills-list .skill-item {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.project-skills-list .skill-item i {
  font-size: 30px;
}
.project-skills-list .skill-item .skill-text {
  font-size: 12px;
  font-weight: 700;
  color: #314473;
}
.project-skills-list .skill-item:hover {
  transform: translateY(-5px) rotate(5deg);
  box-shadow: 0 8px 20px rgba(49, 68, 115, 0.2);
}

.project-actions {
  display: flex;
  gap: 0.9375rem;
  flex-wrap: wrap;
}
.project-actions .project-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  border-radius: 3.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.1);
}
.project-actions .project-btn.btn-github {
  background: #24292e;
  color: white;
}
.project-actions .project-btn.btn-github:hover {
  background: #000;
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.3);
}
.project-actions .project-btn.btn-demo {
  background: #314473;
  color: white;
}
.project-actions .project-btn.btn-demo:hover {
  background: rgb(33.762195122, 46.8536585366, 79.237804878);
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.375rem 1.25rem rgba(49, 68, 115, 0.4);
}

.project-detail-description {
  background: #f8f9fa;
  border-radius: 1.25rem;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.05);
}
.project-detail-description h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.8rem;
  margin-bottom: 1.5625rem;
  color: #333;
}
.project-detail-description h2 i {
  color: #314473;
}
.project-detail-description .description-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}
.project-detail-description .description-content p {
  margin-bottom: 0.5rem;
}
.project-detail-description .description-content ul, .project-detail-description .description-content ol {
  padding-left: 1.5625rem;
  margin-bottom: 0.9375rem;
}

.project-detail-gallery {
  margin-bottom: 40px;
}
.project-detail-gallery h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--text-color);
}
.project-detail-gallery h2 i {
  color: #314473;
}
.project-detail-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.project-detail-gallery .gallery-grid .gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}
.project-detail-gallery .gallery-grid .gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(49, 68, 115, 0.2);
}
.project-detail-gallery .gallery-grid .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.project-detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.project-detail-meta .meta-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: var(--nav-bg);
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}
.project-detail-meta .meta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(49, 68, 115, 0.15);
}
.project-detail-meta .meta-card i {
  font-size: 2rem;
  color: #314473;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(49, 68, 115, 0.1);
  border-radius: 12px;
}
.project-detail-meta .meta-card h3 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.project-detail-meta .meta-card p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
}

.project-cta {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, #314473 0%, rgb(33.762195122, 46.8536585366, 79.237804878) 100%);
  border-radius: 20px;
  color: white;
  box-shadow: 0 10px 40px rgba(49, 68, 115, 0.3);
}
.project-cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.project-cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}
.project-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: white;
  color: #314473;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.project-cta .cta-button:hover {
  background: #adbbdc;
  color: #222f4f;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark .project-detail-title,
.dark .project-detail-description h2,
.dark .project-detail-gallery h2,
.dark .project-detail-meta h3,
.dark .project-detail-meta p {
  color: var(--text-color);
}

@media (max-width: 768px) {
  .project-detail-page {
    padding-top: 0;
  }
  .project-detail-carousel .swiper-slide img {
    height: 19.25rem;
  }
  .back-to-portfolio {
    margin-left: 20px;
    margin-right: 20px;
  }
  .project-detail-description,
  .project-cta {
    padding: 25px;
  }
  .project-actions {
    flex-direction: column;
  }
  .project-actions .project-btn {
    width: 100%;
    justify-content: center;
  }
  .project-detail-meta {
    grid-template-columns: 1fr;
  }
}
.project-detail-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}
.project-detail-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.project-detail-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 40px 20px;
  max-width: 900px;
  animation: fadeInUp 0.8s ease;
}
.project-detail-hero .back-btn {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s;
}
.project-detail-hero .back-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-5px);
}
.project-detail-hero .project-category {
  display: inline-block;
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
}
.project-detail-hero .project-title-hero {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin: 0 0 35px 0;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.project-detail-hero .project-quick-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.project-detail-hero .project-quick-actions .quick-btn {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}
.project-detail-hero .project-quick-actions .quick-btn.github-btn {
  background: #24292e;
  color: white;
}
.project-detail-hero .project-quick-actions .quick-btn.github-btn:hover {
  background: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.project-detail-hero .project-quick-actions .quick-btn.demo-btn {
  background: white;
  color: #667eea;
}
.project-detail-hero .project-quick-actions .quick-btn.demo-btn:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.project-detail-content {
  padding: 80px 0;
  background: var(--bg-color);
}

.container-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.project-images-showcase {
  margin-bottom: 5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
}
.project-images-showcase .showcase-image {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.project-images-showcase .showcase-image:hover {
  transform: translateY(-0.625rem) scale(1.02);
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.15);
}
.project-images-showcase .showcase-image img {
  width: 100%;
  height: auto;
  display: block;
}

.project-main-info .info-block {
  background: var(--nav-bg);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}
.project-main-info .info-block:hover {
  transform: translateY(-5px);
}
.project-main-info .info-block h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--text-color);
}
.project-main-info .info-block h2 i {
  color: #667eea;
  font-size: 1.5rem;
}
.project-main-info .description-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}
.project-main-info .description-content p {
  margin-bottom: 15px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tech-stack .tech-tag {
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
}
.tech-stack .tech-tag:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.details-grid .detail-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--bg-color);
  border-radius: 12px;
  border-left: 4px solid #667eea;
}
.details-grid .detail-item .detail-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}
.details-grid .detail-item .detail-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
}

.cta-block {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  color: white;
  margin-top: 60px;
}
.cta-block h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.cta-block p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}
.cta-block .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-block .cta-buttons .cta-btn {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}
.cta-block .cta-buttons .cta-btn.primary {
  background: white;
  color: #667eea;
}
.cta-block .cta-buttons .cta-btn.primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.cta-block .cta-buttons .cta-btn.secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}
.cta-block .cta-buttons .cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.floating-share {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}
.floating-share .share-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
  transition: all 0.3s;
}
.floating-share .share-toggle:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 35px rgba(102, 126, 234, 0.6);
}
.floating-share .share-options {
  position: absolute;
  bottom: 75px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s;
}
.floating-share .share-options.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.floating-share .share-options .share-option {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.floating-share .share-options .share-option.linkedin {
  background: #0077b5;
}
.floating-share .share-options .share-option.linkedin:hover {
  background: #005885;
  transform: scale(1.15);
}
.floating-share .share-options .share-option.twitter {
  background: #1da1f2;
}
.floating-share .share-options .share-option.twitter:hover {
  background: #0d8bd9;
  transform: scale(1.15);
}
.floating-share .share-options .share-option.copy {
  background: #24292e;
}
.floating-share .share-options .share-option.copy:hover {
  background: #000;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .project-detail-hero {
    min-height: 60vh;
  }
  .project-detail-hero .back-btn {
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
  }
  .project-detail-hero .project-title-hero {
    font-size: 2rem;
  }
  .project-detail-hero .project-quick-actions {
    flex-direction: column;
  }
  .project-detail-hero .project-quick-actions .quick-btn {
    width: 100%;
    justify-content: center;
  }
  .project-images-showcase {
    grid-template-columns: 1fr;
  }
  .info-block {
    padding: 25px !important;
  }
  .cta-block {
    padding: 35px 25px !important;
  }
  .cta-block .cta-buttons {
    flex-direction: column;
  }
  .cta-block .cta-buttons .cta-btn {
    width: 100%;
    justify-content: center;
  }
  .floating-share {
    bottom: 20px;
    right: 20px;
  }
}
.project-details {
  min-height: 100vh;
  padding: 100px 0 60px;
  background: var(--bg-color);
}

.project-details-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--text-muted);
}
.breadcrumb .breadcrumb-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb .breadcrumb-link:hover {
  color: var(--primary-color);
}
.breadcrumb .breadcrumb-separator {
  color: var(--text-muted);
  opacity: 0.5;
}
.breadcrumb .breadcrumb-current {
  color: var(--text-color);
  font-weight: 500;
}

.project-header {
  text-align: center;
  margin-bottom: 50px;
}
.project-header .category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-darker));
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.project-header .project-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 20px 0;
  color: var(--text-color);
  line-height: 1.2;
}
.project-header .project-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}
.project-header .project-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 25px;
}
.project-header .project-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}
.project-header .project-meta .meta-item i {
  color: var(--primary-color);
}

.project-gallery {
  margin-bottom: 3.75rem;
}
.project-gallery .gallery-main {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.1);
  margin-bottom: 1.25rem;
}
.project-gallery .gallery-main .gallery-main-image {
  width: 100%;
  height: auto;
  max-height: 37.5rem;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}
.project-gallery .gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 0.9375rem;
}
.project-gallery .gallery-thumbnails .gallery-thumbnail {
  width: 100%;
  height: 6.25rem;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 0.1875rem solid transparent;
}
.project-gallery .gallery-thumbnails .gallery-thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}
.project-gallery .gallery-thumbnails .gallery-thumbnail.active {
  opacity: 1;
  border-color: var(--primary-color);
}

.project-content-grid {
  display: grid;
  grid-template-columns: 1fr 21.875rem;
  gap: 3.125rem;
  margin-bottom: 3.125rem;
}
@media (max-width: 1024px) {
  .project-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.project-main-content .project-section {
  margin-bottom: 3.125rem;
}
.project-main-content .project-section .section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5625rem;
  color: var(--text-color);
}
.project-main-content .project-section .section-title i {
  color: var(--primary-color);
  font-size: 1.5rem;
}
.project-main-content .project-section .section-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}
.project-main-content .project-section .section-content p {
  margin-bottom: 1.25rem;
}
.project-main-content .project-section .section-content ul, .project-main-content .project-section .section-content ol {
  padding-left: 1.5625rem;
  margin-bottom: 1.25rem;
}
.project-main-content .project-section .section-content ul li, .project-main-content .project-section .section-content ol li {
  margin-bottom: 0.75rem;
}
.project-main-content .project-section .section-content code {
  background: var(--nav-bg);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
}
.project-main-content .features-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9375rem;
}
.project-main-content .features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9375rem;
  background: var(--nav-bg);
  border-radius: 0.5rem;
  border-left: 0.1875rem solid var(--primary-color);
  transition: transform 0.2s;
}
.project-main-content .features-list li:hover {
  transform: translateX(0.3125rem);
}
.project-main-content .features-list li i {
  color: var(--primary-color);
  margin-top: 0.1875rem;
  flex-shrink: 0;
}

.project-sidebar .sidebar-section {
  background: var(--nav-bg);
  border-radius: 1rem;
  padding: 1.5625rem;
  margin-bottom: 1.5625rem;
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
}
.project-sidebar .sidebar-section .sidebar-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--text-color);
}
.project-sidebar .sidebar-section .sidebar-title i {
  color: var(--primary-color);
}
.project-sidebar .technologies-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.project-sidebar .technologies-grid .tech-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: var(--bg-color);
  border: 0.0625rem solid rgba(128, 128, 128, 0.2);
  border-radius: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-color);
  transition: all 0.2s;
}
.project-sidebar .technologies-grid .tech-badge:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-0.125rem);
}
.project-sidebar .technologies-grid .tech-badge i {
  font-size: 1rem;
}
.project-sidebar .project-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.project-sidebar .project-actions .action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.25rem;
  border-radius: 0.625rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.project-sidebar .project-actions .action-btn.btn-github {
  background: #24292e;
  color: white;
}
.project-sidebar .project-actions .action-btn.btn-github:hover {
  background: #000;
  transform: translateY(-0.125rem);
}
.project-sidebar .project-actions .action-btn.btn-demo {
  background: var(--primary-color);
  color: white;
}
.project-sidebar .project-actions .action-btn.btn-demo:hover {
  background: var(--primary-darker);
  transform: translateY(-0.125rem);
}
.project-sidebar .project-actions .action-btn.btn-contact {
  background: var(--bg-color);
  color: var(--text-color);
  border: 0.125rem solid var(--primary-color);
}
.project-sidebar .project-actions .action-btn.btn-contact:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-0.125rem);
}
.project-sidebar .share-buttons {
  display: flex;
  gap: 0.625rem;
}
.project-sidebar .share-buttons .share-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.project-sidebar .share-buttons .share-btn.btn-linkedin {
  background: #0077b5;
  color: white;
}
.project-sidebar .share-buttons .share-btn.btn-linkedin:hover {
  background: #005885;
  transform: scale(1.1);
}
.project-sidebar .share-buttons .share-btn.btn-twitter {
  background: #1da1f2;
  color: white;
}
.project-sidebar .share-buttons .share-btn.btn-twitter:hover {
  background: #0d8bd9;
  transform: scale(1.1);
}
.project-sidebar .share-buttons .share-btn.btn-copy {
  background: var(--bg-color);
  color: var(--text-color);
  border: 0.0625rem solid var(--primary-color);
}
.project-sidebar .share-buttons .share-btn.btn-copy:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.back-to-projects {
  text-align: center;
  margin-top: 3.75rem;
}
.back-to-projects .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  background: var(--nav-bg);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 3.125rem;
  font-weight: 600;
  transition: all 0.3s;
  border: 0.125rem solid transparent;
}
.back-to-projects .back-link:hover {
  border-color: var(--primary-color);
  transform: translateX(-0.3125rem);
}
.back-to-projects .back-link:hover i {
  transform: translateX(-0.1875rem);
}
.back-to-projects .back-link i {
  transition: transform 0.3s;
}

.contact-section {
  margin-top: 2.5rem;
  padding: 4rem 2rem;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 1rem;
}
.contact-section .contact-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--text-color);
  opacity: 0.7;
  margin-bottom: 3rem;
  max-width: 37.5rem;
}
.contact-section .contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.contact-section .contact-left,
.contact-section .contact-right {
  flex: 1 1 25rem;
  padding: 1rem;
}
.contact-section .contact-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-section .contact-left .contact-intro {
  margin-bottom: 1.5rem;
  text-align: center;
}
.contact-section .contact-left .contact-intro h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 2rem;
}
.contact-section .contact-left .contact-intro p {
  font-size: 1rem;
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
}
.contact-section .contact-left .contact-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-section .contact-left .contact-option {
  background: var(--nav-bg);
  border-radius: 0.625rem;
  padding: 1.5rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-direction: column;
  transition: all 0.3s ease;
}
.contact-section .contact-left .contact-option i {
  font-size: 2rem;
  color: var(--button-icon-color);
}
.contact-section .contact-left .contact-option:hover:hover {
  transform: translateY(-0.3125rem);
}
.contact-section .contact-left .contact-option:hover {
  box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.2);
}
.contact-section .contact-left .contact-option .info {
  text-align: center;
}
.contact-section .contact-left .contact-option .info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}
.contact-section .contact-left .contact-option .info a {
  color: var(--link-color);
  font-size: 0.95rem;
  text-decoration: none;
}
.contact-section .contact-left .contact-option .info a:hover {
  text-decoration: underline;
}
.contact-section .contact-right .contact-intro {
  margin-bottom: 1.5rem;
  text-align: center;
}
.contact-section .contact-right .contact-intro h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 2rem;
}
.contact-section .contact-right .contact-intro p {
  font-size: 1rem;
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
}
.contact-section .contact-right .contact-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-section .contact-right .contact-form .form-group {
  display: flex;
  flex-direction: column;
}
.contact-section .contact-right .contact-form .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}
.contact-section .contact-right .contact-form .form-group label .required {
  color: crimson;
  margin-left: 0.25rem;
  font-weight: 700;
}
.contact-section .contact-right .contact-form .form-group input,
.contact-section .contact-right .contact-form .form-group textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 0.625rem;
  border: 0.125rem solid rgba(0, 0, 0, 0.1);
  background: var(--nav-bg);
  color: var(--text-color);
  resize: none;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}
.dark .contact-section .contact-right .contact-form .form-group input,
.dark .contact-section .contact-right .contact-form .form-group textarea {
  border-color: rgba(255, 255, 255, 0.1);
}
.contact-section .contact-right .contact-form .form-group input:focus,
.contact-section .contact-right .contact-form .form-group textarea:focus {
  outline: none;
  border-color: #314473;
  box-shadow: 0 0 0 0.1875rem rgba(49, 68, 115, 0.1);
}
.contact-section .contact-right .contact-form .form-group input::placeholder,
.contact-section .contact-right .contact-form .form-group textarea::placeholder {
  color: var(--text-color);
  opacity: 0.5;
}
.contact-section .contact-right .contact-form .submit-btn {
  align-self: flex-start;
  background: #314473;
  color: white;
  padding: 0.9rem 2.5rem;
  border: none;
  border-radius: 0.625rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.contact-section .contact-right .contact-form .submit-btn i {
  font-size: 1rem;
}
.contact-section .contact-right .contact-form .submit-btn:hover {
  background: #222f4f;
  box-shadow: 0 0.25rem 0.9375rem rgba(49, 68, 115, 0.3);
  transform: translateY(-0.125rem);
}
.contact-section .contact-right .contact-form .submit-btn:active {
  transform: translateY(0);
}
.contact-section .contact-right .contact-form .form-disclaimer {
  margin-top: 1rem;
}
.contact-section .contact-right .contact-form .form-disclaimer .required-note {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.contact-section .contact-right .contact-form .form-disclaimer .required-note .required {
  color: crimson;
  font-weight: 700;
}
.contact-section .contact-right .contact-form .form-disclaimer p:not(.required-note) {
  font-size: 0.85rem;
  color: rgba(var(--text-color), 0.7);
  line-height: 1.4;
  text-align: center;
}
.dark .contact-section .contact-right .contact-form .form-disclaimer p:not(.required-note) {
  color: rgba(255, 255, 255, 0.6);
}
.contact-section .project-card {
  padding: 2em;
  background-color: var(--nav-bg);
  border-radius: 0.75rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.contact-section .project-card:hover {
  box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.15);
}
.contact-section .project-card {
  overflow: hidden;
}
.contact-section .project-card:hover {
  transform: translateY(-0.3125rem);
}
.contact-section .project-card img {
  width: 100%;
  height: 11.25rem;
  object-fit: cover;
}
.contact-section .project-card h3, .contact-section .project-card p, .contact-section .project-card .category {
  padding: 0 1rem;
}
.contact-section .project-card h3 {
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
  color: var(--text-color);
}
.contact-section .project-card p {
  font-size: 1rem;
  color: var(--text-color);
}
.contact-section .project-card .category {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--link-color);
}
.contact-section .project-card .h2projet {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
}
.contact-section .project-card #btn-project,
.contact-section .project-card .btn-project {
  display: inline-block;
  margin: 1rem auto;
  padding: 0.6rem 1.4rem;
  background-color: var(--link-color);
  color: white;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.contact-section .project-card #btn-project:hover,
.contact-section .project-card .btn-project:hover {
  background-color: var(--button-icon-color);
  box-shadow: 0 0 0.5rem var(--link-color);
  transform: scale(1.05);
}
.contact-section .project-details {
  max-width: 50rem;
  margin: 5rem auto;
  padding: 2rem;
  text-align: center;
}
.contact-section .project-details h1 {
  font-size: 2.2rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}
.contact-section .project-details .category {
  font-style: italic;
  color: var(--link-color);
  margin-bottom: 1.5rem;
}
.contact-section .project-details img {
  max-width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}
.contact-section .project-details p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
}

@media (max-width: 55.25rem) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .contact-left,
  .contact-right {
    width: 100%;
    max-width: 31.25rem;
  }
}
.login-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #293961 0%, #222f4f 100%);
  padding: 1rem;
}
.login-container .login-box {
  background: white;
  padding: 3rem;
  border-radius: 0.625rem;
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 26.25rem;
  animation: fadeInUp 0.6s ease;
}
.login-container .login-box h2 {
  text-align: center;
  color: #222f4f;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 600;
  position: relative;
}
.login-container .login-box h2::after {
  content: "";
  display: block;
  width: 3.75rem;
  height: 0.1875rem;
  background: #314473;
  margin: 1rem auto 0;
  border-radius: 0.125rem;
}
.login-container .login-box form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.login-container .login-box form .honeypot {
  position: absolute;
  left: -624.9375rem;
  width: 0.0625rem;
  height: 0.0625rem;
  opacity: 0;
  pointer-events: none;
}
.login-container .login-box form .form-group {
  position: relative;
}
.login-container .login-box form .form-group label {
  display: block;
  color: #222f4f;
  font-weight: 500;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}
.login-container .login-box form .form-group input {
  width: 100%;
  padding: 1rem;
  border: 0.125rem solid #e0e0e0;
  border-radius: 0.3125rem;
  font-size: 1rem;
  transition: 0.3s ease;
  outline: none;
}
.login-container .login-box form .form-group input:focus {
  border-color: #314473;
  box-shadow: 0 0 0 0.1875rem rgba(49, 68, 115, 0.1);
}
.login-container .login-box form .form-group input::placeholder {
  color: #999;
}
.login-container .login-box form button[type=submit] {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #314473 0%, #222f4f 100%);
  color: white;
  border: none;
  border-radius: 0.3125rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  margin-top: 0.5rem;
}
.login-container .login-box form button[type=submit]:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.3125rem 1.25rem rgba(49, 68, 115, 0.4);
}
.login-container .login-box form button[type=submit]:active {
  transform: translateY(0);
}
.login-container .login-box form .error-message {
  background: rgba(220, 20, 60, 0.1);
  color: crimson;
  padding: 1rem;
  border-radius: 0.3125rem;
  border-left: 0.25rem solid crimson;
  font-size: 0.9rem;
  animation: shake 0.5s ease;
}
.login-container .login-box form .info-message {
  text-align: center;
  color: #666;
  font-size: 0.85rem;
  margin-top: 1rem;
}
.login-container .login-box form .info-message a {
  color: #314473;
  text-decoration: none;
  font-weight: 500;
}
.login-container .login-box form .info-message a:hover {
  text-decoration: underline;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.875rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-0.3125rem);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(0.3125rem);
  }
}
@media (max-width: 55.25rem) {
  .login-container .login-box {
    padding: 2rem;
  }
  .login-container .login-box h2 {
    font-size: 1.5rem;
  }
}
.dashboard {
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e3f2fd 100%);
  padding: 2rem;
  box-sizing: border-box;
}
.dark .dashboard {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}
.dashboard .dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.08);
}
.dark .dashboard .dashboard-header {
  background: #2a2a2a;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.4);
}
.dashboard .dashboard-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222f4f;
  margin: 0;
}
.dark .dashboard .dashboard-header h1 {
  color: white;
}
.dashboard .dashboard-header h1 i {
  margin-right: 1rem;
  color: #314473;
}
.dashboard .dashboard-header .header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.dashboard .dashboard-header .header-actions .dashboard-btn, .dashboard .dashboard-header .header-actions .logout-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dashboard .dashboard-header .header-actions .dashboard-btn i, .dashboard .dashboard-header .header-actions .logout-btn i {
  font-size: 0.9rem;
}
.dashboard .dashboard-header .header-actions .dashboard-btn.btn-secondary, .dashboard .dashboard-header .header-actions .logout-btn.btn-secondary {
  background: #6c757d;
  color: white;
  border: none;
}
.dashboard .dashboard-header .header-actions .dashboard-btn.btn-secondary:hover, .dashboard .dashboard-header .header-actions .logout-btn.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-0.125rem);
}
.dashboard .dashboard-header .header-actions .logout-btn {
  background: #dc3545;
  color: white;
  border: none;
}
.dashboard .dashboard-header .header-actions .logout-btn:hover {
  background: #c82333;
  transform: translateY(-0.125rem);
}
.dashboard .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.dashboard .stats-grid .stat-card {
  background: white;
  padding: 3rem;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.2s ease;
}
.dark .dashboard .stats-grid .stat-card {
  background: #2a2a2a;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.4);
}
.dashboard .stats-grid .stat-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);
}
.dark .dashboard .stats-grid .stat-card:hover {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5);
}
.dashboard .stats-grid .stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.25rem;
  background: linear-gradient(90deg, #314473, #293961);
}
.dashboard .stats-grid .stat-card .stat-icon {
  width: 3.75rem;
  height: 3.75rem;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #314473, #293961);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}
.dashboard .stats-grid .stat-card .stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222f4f;
  margin-bottom: 0.5rem;
}
.dark .dashboard .stats-grid .stat-card .stat-value {
  color: white;
}
.dashboard .stats-grid .stat-card .stat-label {
  color: #666;
  font-size: 1.1rem;
  font-weight: 500;
}
.dark .dashboard .stats-grid .stat-card .stat-label {
  color: #aaa;
}
.dashboard .items h2 {
  color: #222f4f;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
}
.dark .dashboard .items h2 {
  color: white;
}
.dashboard .items h2 i {
  margin-right: 1rem;
  color: #314473;
}
.dashboard .items .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.dashboard .items .cards .stat-card {
  background: white;
  padding: 3rem;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.08);
  transition: 0.2s ease;
}
.dark .dashboard .items .cards .stat-card {
  background: #2a2a2a;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.4);
}
.dashboard .items .cards .stat-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);
}
.dark .dashboard .items .cards .stat-card:hover {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5);
}
.dashboard .items .cards .stat-card .stat-icon {
  width: 3.125rem;
  height: 3.125rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #314473, #293961);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}
.dashboard .items .cards .stat-card h3 {
  color: #222f4f;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
}
.dark .dashboard .items .cards .stat-card h3 {
  color: white;
}
.dashboard .items .cards .stat-card h3 i {
  margin-right: 1rem;
  color: #314473;
}
.dashboard .items .cards .stat-card .card-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.dashboard .items .cards .stat-card .card-actions .btn {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.dashboard .items .cards .stat-card .card-actions .btn.btn-primary {
  background: #314473;
  color: white;
  border: none;
}
.dashboard .items .cards .stat-card .card-actions .btn.btn-primary:hover {
  background: #293961;
  transform: translateY(-0.125rem);
}
.dashboard .items .cards .stat-card .card-actions .btn.btn-outline {
  background: transparent;
  color: #314473;
  border: 0.125rem solid #314473;
}
.dashboard .items .cards .stat-card .card-actions .btn.btn-outline:hover {
  background: #314473;
  color: white;
}
.dashboard .items .cards .stat-card .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #314473;
  text-align: center;
  margin-bottom: 0.5rem;
}
.dashboard .items .cards .stat-card .stat-description {
  color: #666;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .dashboard {
    padding: 1rem;
  }
  .dashboard .dashboard-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .dashboard .dashboard-header h1 {
    font-size: 1.8rem;
  }
  .dashboard .dashboard-header .header-actions {
    justify-content: center;
  }
  .dashboard .stats-grid {
    grid-template-columns: 1fr;
  }
  .dashboard .items .cards {
    grid-template-columns: 1fr;
  }
}
.recent-messages {
  margin-top: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 0.625rem;
  border: 0.0625rem solid #e0e0e0;
}
.dark .recent-messages {
  background: #2a2a2a;
  border-color: #444;
}
.recent-messages .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.0625rem solid #e0e0e0;
}
.dark .recent-messages .section-header {
  border-bottom-color: #444;
}
.recent-messages .section-header h2 {
  color: #222f4f;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}
.dark .recent-messages .section-header h2 {
  color: white;
}
.recent-messages .section-header h2 i {
  color: #314473;
  margin-right: 0.3rem;
}
.recent-messages .section-header .message-count {
  background: rgba(49, 68, 115, 0.1);
  color: #314473;
  padding: 0.3rem 0.5rem;
  border-radius: 0.3125rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.recent-messages .empty-state {
  text-align: center;
  padding: 2rem;
  color: #666;
}
.dark .recent-messages .empty-state {
  color: #aaa;
}
.recent-messages .empty-state i {
  font-size: 3rem;
  color: #999;
  margin-bottom: 0.5rem;
}
.recent-messages .empty-state p {
  margin: 0;
  font-size: 1.1rem;
}
.recent-messages .messages-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.recent-messages .message-item {
  background: white;
  border: 0.0625rem solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}
.dark .recent-messages .message-item {
  background: #333;
  border-color: #555;
}
.recent-messages .message-item:last-child {
  margin-bottom: 0;
}
.recent-messages .message-item:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1.5625rem rgba(0, 0, 0, 0.1);
  border-color: #314473;
}
.dark .recent-messages .message-item:hover {
  box-shadow: 0 0.5rem 1.5625rem rgba(0, 0, 0, 0.5);
}
.recent-messages .message-item.unread {
  border-top: 0.0625rem solid #314473;
  border-bottom: 0.0625rem solid #314473;
  border-left: 0.25rem solid #ff6b6b;
  border-right: none;
  background: rgba(255, 107, 107, 0.02);
}
.dark .recent-messages .message-item.unread {
  background: rgba(255, 107, 107, 0.1);
}
.recent-messages .message-item.read {
  border-top: 0.0625rem solid #314473;
  border-bottom: 0.0625rem solid #314473;
  border-left: 0.25rem solid #4CAF50;
  border-right: none;
  background: rgba(76, 175, 80, 0.02);
}
.dark .recent-messages .message-item.read {
  background: rgba(76, 175, 80, 0.1);
}
.recent-messages .message-item .message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.recent-messages .message-item .message-header .sender-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.recent-messages .message-item .message-header .sender-info .sender-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #314473, #222f4f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}
.recent-messages .message-item .message-header .sender-info .sender-details h4 {
  margin: 0 0 0.125rem 0;
  color: #333;
  font-size: 1rem;
  font-weight: 600;
}
.dark .recent-messages .message-item .message-header .sender-info .sender-details h4 {
  color: white;
}
.recent-messages .message-item .message-header .sender-info .sender-details .sender-email {
  color: #666;
  font-size: 0.875rem;
}
.dark .recent-messages .message-item .message-header .sender-info .sender-details .sender-email {
  color: #aaa;
}
.recent-messages .message-item .message-header .message-meta {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.recent-messages .message-item .message-header .message-meta .message-date {
  color: #666;
  font-size: 0.8rem;
}
.dark .recent-messages .message-item .message-header .message-meta .message-date {
  color: #aaa;
}
.recent-messages .message-item .message-header .message-meta .unread-badge {
  background: #314473;
  color: white;
  padding: 0.125rem 0.3rem;
  border-radius: 0.3125rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.recent-messages .message-item .message-preview {
  color: #666;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.dark .recent-messages .message-item .message-preview {
  color: #ccc;
}
.recent-messages .message-item .message-actions {
  display: flex;
  gap: 0.3rem;
}
.recent-messages .message-item .message-actions .btn-action {
  background: none;
  border: 0.0625rem solid #e0e0e0;
  padding: 0.3rem 0.5rem;
  border-radius: 0.3125rem;
  color: #666;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dark .recent-messages .message-item .message-actions .btn-action {
  border-color: #555;
  color: #aaa;
}
.recent-messages .message-item .message-actions .btn-action:hover {
  background: #314473;
  color: white;
  border-color: #314473;
}
.recent-messages .message-item .message-actions .btn-action.danger:hover {
  background: crimson;
  border-color: crimson;
}
.recent-messages .message-item .message-actions .btn-action i {
  margin-right: 0.25rem;
}
@media (max-width: 55.25rem) {
  .recent-messages {
    padding: 1rem;
  }
  .recent-messages .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  .recent-messages .section-header h2 {
    font-size: 1.25rem;
  }
  .recent-messages .message-item {
    padding: 1rem;
  }
  .recent-messages .message-item .message-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  .recent-messages .message-item .message-actions {
    flex-wrap: wrap;
  }
}

.error-404-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
  padding: 2rem;
}

.error-404-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  animation: fadeInUp 0.8s ease-out;
}

.error-404-animation {
  margin-bottom: 2rem;
}

.error-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 150px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .error-number {
    font-size: 100px;
  }
}
@media (max-width: 480px) {
  .error-number {
    font-size: 80px;
  }
}

.digit {
  display: inline-block;
  animation: bounce 2s infinite;
}
.digit:nth-child(1) {
  animation-delay: 0s;
}
.digit:nth-child(3) {
  animation-delay: 0.2s;
}
.digit.zero {
  position: relative;
  width: 150px;
  height: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .digit.zero {
    width: 100px;
    height: 100px;
  }
}
@media (max-width: 480px) {
  .digit.zero {
    width: 80px;
    height: 80px;
  }
}

.orbit {
  position: absolute;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 100%;
  height: 100%;
  animation: rotate 10s linear infinite;
}
.orbit.orbit-2 {
  width: 80%;
  height: 80%;
  animation-duration: 7s;
  animation-direction: reverse;
}

.planet {
  position: absolute;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  animation: pulse 2s ease-in-out infinite;
}
@media (max-width: 768px) {
  .planet {
    width: 20px;
    height: 20px;
  }
}

.error-404-title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .error-404-title {
    font-size: 2.5rem;
  }
}
@media (max-width: 480px) {
  .error-404-title {
    font-size: 2rem;
  }
}

.error-404-message {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .error-404-message {
    font-size: 1.1rem;
  }
}
@media (max-width: 480px) {
  .error-404-message {
    font-size: 1rem;
  }
}

.error-404-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-404-home,
.btn-404-projects {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid #fff;
}
.btn-404-home i,
.btn-404-projects i {
  font-size: 1.2rem;
}
@media (max-width: 480px) {
  .btn-404-home,
  .btn-404-projects {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}

.btn-404-home {
  background: #fff;
  color: #667eea;
}
.btn-404-home:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-404-projects {
  background: transparent;
  color: #fff;
}
.btn-404-projects:hover {
  background: #fff;
  color: #667eea;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.error-404-links {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}
.error-404-links p {
  margin-bottom: 1rem;
  font-weight: 500;
}
.error-404-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .error-404-links ul {
    flex-direction: column;
    gap: 0.8rem;
  }
}
.error-404-links a {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}
.error-404-links a:hover {
  border-bottom-color: #fff;
}

.error-404-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  animation: twinkle 3s infinite;
}
.star:nth-child(1) {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}
.star:nth-child(2) {
  top: 20%;
  left: 80%;
  animation-delay: 0.5s;
}
.star:nth-child(3) {
  top: 30%;
  left: 15%;
  animation-delay: 1s;
}
.star:nth-child(4) {
  top: 40%;
  left: 90%;
  animation-delay: 1.5s;
}
.star:nth-child(5) {
  top: 60%;
  left: 10%;
  animation-delay: 2s;
}
.star:nth-child(6) {
  top: 70%;
  left: 85%;
  animation-delay: 2.5s;
}
.star:nth-child(7) {
  top: 80%;
  left: 25%;
  animation-delay: 3s;
}
.star:nth-child(8) {
  top: 15%;
  left: 50%;
  animation-delay: 0.8s;
}
.star:nth-child(9) {
  top: 85%;
  left: 70%;
  animation-delay: 1.2s;
}
.star:nth-child(10) {
  top: 50%;
  left: 5%;
  animation-delay: 1.8s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}
@keyframes twinkle {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@media (max-width: 55.25rem) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .contact-left,
  .contact-right {
    width: 100%;
    max-width: 31.25rem;
  }
  .imageHome {
    max-height: 26rem !important;
    display: flex;
    justify-content: center;
    margin: 0;
  }
  nav .nav-container .links {
    display: none;
  }
  nav .nav-container {
    /* ensure the nav container can be a positioning context */
    position: relative;
  }
  nav .nav-container .hamburg {
    display: block;
    /* place the hamburger at the bottom-right of the header */
    position: absolute;
    right: 1.5rem;
    bottom: 1.4rem;
    z-index: 1500;
    /* ensure it doesn't inherit flex orders */
    order: 0;
    margin: 0;
  }
  nav .nav-container .cv-btn {
    /* reduce size so it doesn't visually compete with the hamburger */
    order: 0;
    padding-inline: 0.6rem;
    font-size: 0.9rem;
  }
  nav .nav-container {
    /* on very small screens, hide the inline CV button (we added it in the dropdown) */
    /* Additional explicit media block matching your preference */
  }
}
@media (max-width: 55.25rem) and (max-width: 30rem) {
  nav .nav-container .cv-btn {
    display: none;
  }
}
@media (max-width: 55.25rem) and (max-width: 55.25rem) {
  nav .nav-container .hamburg {
    display: block;
    position: absolute;
    right: 1.5rem;
    bottom: 1.4rem;
    z-index: 1500;
    order: 0;
    margin: 0;
  }
  nav .nav-container {
    /* Hide social icons on mobile to free space */
  }
  nav .nav-container .social-links-nav {
    display: none;
  }
  nav .nav-container {
    /* Tweak dropdown visual to sit below header and use primary color */
    /* make this selector specific to avoid being overridden and apply mobile styles */
  }
  nav .nav-container nav .nav-container .dropdown {
    background: #314473 !important;
    z-index: 100;
    position: absolute;
    top: 5rem !important;
    transform: translateY(-31.25rem);
    width: 100%;
    /* backdrop-filter removed for better mobile performance */
    box-shadow: 0 0 1.25rem black;
    transition: transform 0.3s ease;
  }
}
@media (max-width: 55.25rem) {
  .dropdown {
    display: block;
  }
  .dropdown .cancel {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
  }
  .main-container {
    flex-direction: column;
  }
  .main-container .content,
  .main-container .image {
    width: 80%;
  }
}
@media (max-width: 48rem) {
  .project-details {
    padding: 1.5rem;
  }
  .project-details h1 {
    font-size: 2rem;
  }
  .project-details p.description {
    font-size: 1rem;
  }
}
/* Global media query placed at root to ensure correct selectors (avoid nested duplication) */
@media (max-width: 55.25rem) {
  nav .nav-container .dropdown {
    background: #314473 !important;
    top: 5rem !important;
  }
  nav .nav-container .social-links-nav {
    display: none;
  }
  nav .nav-container .hamburg {
    display: block;
    position: absolute;
    right: 1.5rem;
    bottom: 1.4rem;
    z-index: 1500;
  }
}

/*# sourceMappingURL=style.css.map */
