/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  /* Colors */
  --bg-dark: #0f172a;
  --bg-darker: rgba(9, 12, 34, 0.8);
  --bg-card: #1e293b;
  --bg-hover: #334155;
  --border: #334155;
  --primary: #a855f7;
  --purple: #a78bfa;
  --cyan: #67e8f9;
  --green: #86efac;
  --accent: #fbbf24;
  --border: rgba(255, 255, 255, 0.08);

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;

  /* Fonts */
  --font-primary: 'Inter', 'Tajawal', sans-serif;
  --font-code: 'Fira Code', monospace;

  /* Gradients */
  --gradient-1: linear-gradient(135deg, #c084fc 0%, #a78bfa 50%, #67e8f9 100%);
  --gradient-2: linear-gradient(135deg, #67e8f9 0%, #a78bfa 50%, #fbbf24 100%);
  --gradient-3: linear-gradient(135deg, #86efac 0%, #67e8f9 100%);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(192, 132, 252, 0.3);

  /* Spacing & Transitions */
  --spacing-md: 2rem;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-1);
  border-radius: 10px;
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-2);
}

/* Firefox Support */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--purple) var(--bg-dark);
}


body {
  font-family: var(--font-primary);
  background: var(--bg-dark);
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  font-size: 1.05rem;
  line-height: 1.9;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

a {
  /* color: #149ddd; */
  color: var(--gradient-1);
  /* color: linear-gradient(135deg, #5c6cc5, #FF914D); */
  text-decoration: none;
}

a:hover {
  /* color: #37b3ed; */
  color: var(--gradient-2);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* font-family: "Raleway", sans-serif; */
  font-family: var(--font-primary);
}


/* Loading Screen */

.loader-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.loader-code-text {
  font-family: var(--font-code);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.code-line {
  display: block;
  margin: 0.5rem 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.code-line[data-line="1"] {
  animation-delay: 0.1s;
}

.code-line[data-line="2"] {
  animation-delay: 0.3s;
}

.code-line[data-line="3"] {
  animation-delay: 0.5s;
}

.code-line[data-line="4"] {
  animation-delay: 0.7s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loader-spinner-wrapper {
  margin: 2rem 0;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-right-color: var(--cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-progress-wrapper {
  width: 200px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 2rem auto;
  overflow: hidden;
}

.loader-progress-bar {
  height: 100%;
  background: var(--gradient-1);
  width: 0%;
  box-shadow: 0 0 10px var(--primary);
  transition: width 0.3s ease-out;
}

.loader-percentage {
  font-family: var(--font-code);
  color: var(--primary);
  font-size: 1rem;
  margin-top: 1rem;
}

/*end loading screen */

.logo-bracket {
  color: var(--purple);
}

.logo-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--gradient-2);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--purple);
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  transition: all ease-in-out 0.5s;
  z-index: 9997;
  transition: all 0.5s;
  padding: 0 15px;
  background: rgba(9, 12, 34, 0.8);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  /* Hide scrollbar for Firefox */
  scrollbar-width: none;
  /* Hide scrollbar for IE and Edge */
  -ms-overflow-style: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
#header::-webkit-scrollbar {
  display: none;
}

#header .profile img {
  margin: 15px auto;
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  padding: 3px;
  background: var(--gradient-1);
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(20, 157, 221, 0.4);
}

#header .profile h1 {
  font-family: var(--font-code);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 15px 0;
  text-align: center;
}

#header .profile h1 a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  white-space: nowrap;
}

#header .profile h1 a,
#header .profile h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .profile .social-links a {
  font-size: 18px;
  display: inline-block;
  background: var(--bg-hover);
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#header .profile .social-links a:hover {
  background: var(--gradient-1);
  color: #fff;
  text-decoration: none;
}

#main {
  margin-left: 300px;
}

.container,
.container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 1199px) {
  #header {
    left: -300px;
  }

  #main {
    margin-left: 0;
  }

  .container,
  .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
  padding: 30px 0 0 27px;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Left align */
  color: #fff;
  /* Force white text */
  padding: 12px 65px;
  margin-bottom: 15px;
  transition: 0.3s;
  font-size: 15px;
  width: 225px;
  max-width: 100%;

  /* Liquid Glass Button Style */
  background: url("../img/liquid-bg.png") center center no-repeat;
  background-size: cover;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 20px;
  width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 7px;
  color: #fff;
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover>a {
  text-decoration: none;
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(20, 157, 221, 0.4);
  color: var(--cyan);
}

.nav-menu a:hover i,
.nav-menu .active i,
.nav-menu .active:focus i,
.nav-menu li:hover>a i {
  color: var(--cyan);
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #149ddd;
  color: #fff;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/IMG_3203.JPG") top center;
  background-size: cover;
}

#hero:before {
  content: "";
  background: rgba(5, 13, 24, 0.3);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

#hero .hero-container {
  position: relative;
  z-index: 2;
  min-width: 300px;
  padding-top: 445px;
  /* Added to move the container lower */
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

#hero p {
  color: #fff;
  margin-bottom: 50px;
  font-size: 26px;
  font-family: var(--font-primary);
}

#hero p span {
  color: #fff;
  padding-bottom: 4px;
  letter-spacing: 1px;
  border-bottom: 3px solid #149ddd;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}


/*--------------------------------------------------------------
# Hero Section 2
--------------------------------------------------------------*/

.hero-name,
.section-title,
.timeline-title,
.project-title,
.category-title {
  font-weight: 800;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.code-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(var(--primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--primary) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.05;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  font-family: var(--font-code);
  font-size: 1.5rem;
  color: var(--primary);
  opacity: 0.1;
  animation: float 15s infinite ease-in-out;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10%,
  90% {
    opacity: 0.1;
  }

  50% {
    transform: translateY(-100px) rotate(180deg);
    opacity: 0.2;
  }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-greeting {
  font-family: var(--font-code);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.greeting-cursor {
  animation: blink 1s infinite;
  color: var(--primary);
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.hero-name {
  font-family: var(--font-code);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.name-prefix {
  color: var(--purple);
}

.name-operator {
  color: var(--cyan);
  margin: 0 0.5rem;
}

.name-value {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.name-suffix {
  color: var(--primary);
}

.hero-title {
  font-family: var(--font-code);
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: 2rem;
}

.title-prefix {
  color: var(--text-muted);
  margin-inline-end: 0.5rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.8;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(192, 132, 252, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(192, 132, 252, 0.3);
}

.hero-social {
  display: flex;
  gap: 2rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
}

.social-icon {
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--bg-hover);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(192, 132, 252, 0.2);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-container {
  position: relative;
  width: 400px;
  height: 400px;
}

.profile-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

.profile-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--primary);
  box-shadow: 0 0 30px rgba(255, 107, 157, 0.3),
    0 0 60px rgba(255, 107, 157, 0.1);
  overflow: hidden;
  background: var(--bg-card);
}

.profile-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  will-change: transform;
}

.profile-placeholder {
  font-size: 8rem;
  color: var(--primary);
  opacity: 0.3;
}

.floating-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: floatBadge 3s ease-in-out infinite;
  min-width: 200px;
  transition: all var(--transition);
}

.floating-badge {
  transition: all var(--transition-smooth);
}

.floating-badge:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--primary);
  box-shadow: 0 5px 20px rgba(192, 132, 252, 0.25);
}

.floating-badge i {
  font-size: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.badge-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.badge-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.badge-libs {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.4;
}

.badge-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 20%;
  right: -15%;
  animation-delay: 1s;
}

.badge-3 {
  top: 50%;
  left: -15%;
  animation-delay: 2s;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}


.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.scroll-mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--border);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}


@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-image-wrapper {
    order: -1;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-container {
    padding: 0 1rem;
    gap: 2rem;
  }

  .hero-name {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .hero-social {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .social-icon {
    width: 45px;
    height: 45px;
  }

  .section-header {
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .section-number {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
    flex-wrap: wrap;
  }

  .footer-container {
    padding: 0 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-text-wrapper {
    text-align: center;
  }

  .footer-text {
    justify-content: center;
    font-size: 0.85rem;
  }

  .footer-author {
    justify-content: center;
    font-size: 0.85rem;
  }

  .footer-social {
    justify-content: center;
    gap: 1rem;
  }

  .hero-image-container {
    width: 280px;
    height: 280px;
  }

  .floating-badge {
    display: none;
  }


  .badge-content {
    display: none;
  }

  .floating-badge {
    min-width: auto;
    padding: 0.8rem 1rem;
  }

  .floating-badge i {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .brand-logo {
    font-size: 1.2rem;
  }

  .lang-toggle,
  .theme-toggle {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }

  .hero-container {
    padding: 0 0.8rem;
  }

  .hero-name {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .name-prefix,
  .name-operator,
  .name-suffix {
    font-size: 0.9em;
  }

  .hero-title {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-number {
    font-size: 1rem;
  }

  .hero-image-container {
    width: 220px;
    height: 220px;
  }

  .profile-image-glow {
    width: 110%;
    height: 110%;
  }


  .btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }

  .footer-text {
    font-size: 0.8rem;
    flex-direction: column;
    gap: 0.3rem;
  }

  .footer-divider {
    display: none;
  }

  .footer-author {
    font-size: 0.75rem;
    flex-direction: column;
    gap: 0.3rem;
  }

  .footer-author-link {
    padding: 0.3rem 0.8rem;
  }

  .footer-social-link {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .loader-code-text {
    font-size: 1rem;
  }

  .loader-spinner {
    width: 50px;
    height: 50px;
  }

  .loader-progress-wrapper {
    width: 180px;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 13px;
  }

  .hero-name {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .hero-image-container {
    width: 180px;
    height: 180px;
  }

}

/*--------------------------------------------------------------
# Hero section 2 End
--------------------------------------------------------------*/



/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

/* .section-bg {
  background: #f5f8fd;
} */

.section-title {
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-code);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  white-space: nowrap;
  color: var(--text-primary);
}

.section-num {
  font-size: 1.5rem;
  color: var(--purple);
  font-weight: 700;
  font-family: var(--font-code);
  margin-right: 0.8rem;
}

.section-title h2 .logo-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0.5rem;
}

.section-title h2 .logo-bracket {
  color: var(--purple);
  font-weight: 700;
}

.section-line {
  flex-grow: 1;
  height: 2px;
  background: var(--gradient-1);
  opacity: 1;
  margin-left: 2rem;
}

.section-title p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 1700px;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: var(--purple);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
  color: var(--purple);
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 0;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/
.facts {
  padding-bottom: 30px;
}

.facts .count-box {
  padding: 20px;
  width: 100%;
  position: relative;
  isolation: isolate;
  /* Create new stacking context */
  border-radius: 20px;
  /* Match the iOS radius look, example had 56px but 20px fits better here */
  box-shadow: 0px 6px 24px rgba(60, 56, 56, 0.2);
  background: var(--bg-card);
  /* Clear previous backgrounds */
  border: 1px solid var(--border);
}

.facts .count-box::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Background layer */
  border-radius: 20px;
  box-shadow: inset 0 0 15px -5px rgba(0, 0, 0, 0.3);
  /* Slightly adjusting color for theme */
  background-color: rgba(255, 255, 255, 0);
}

.facts .count-box::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Bottom filter layer */
  border-radius: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  filter: url(#glass-distortion);
  -webkit-filter: url(#glass-distortion);
}

/* Ensure content sits on top of the effects */
.facts .count-box i,
.facts .count-box span,
.facts .count-box p,
.facts .count-box a {
  position: relative;
  z-index: 1;
}

.facts .count-box i {
  display: block;
  font-size: 36px;
  color: var(--purple);
  /* Theme blue icon */
  float: left;
  line-height: 0;
}

.facts .count-box span {
  font-size: 36px;
  line-height: 30px;
  display: block;
  font-weight: 700;
  color: var(--purple);
  /* Dark text */
  margin-left: 50px;
}

.facts .count-box p {
  padding: 10px 0 0 0;
  margin: 0 0 0 50px;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  line-height: 1.8;
}

.facts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 15px;
  font-size: 1.1rem;
  font-family: var(--font-primary);
  transition: ease-in-out 0.3s;
}

.facts .count-box a:hover {
  color: #1f5297;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--font-primary);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  height: 18px;
  /* Reduced thickness */
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  /* Tube depth effect */
  box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.2), inset 0 -4px 6px rgba(255, 255, 255, 0.1), 0 5px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.skills .progress-bar {
  width: 1px;
  height: 18px;
  /* Reduced thickness */
  transition: 0.9s;
  border-radius: 20px;
  /* Liquid effect */
  background: linear-gradient(90deg, #149ddd 0%, #3dc0f1 50%, #149ddd 100%);
  background-size: 200% 100%;
  animation: liquidFlow 2s infinite linear;
  box-shadow: 0 0 10px rgba(20, 157, 221, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.4), inset 0 -2px 2px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Add a surface glare/reflection to the liquid */
.skills .progress-bar::after {
  content: "";
  position: absolute;
  top: 2px;
  /* Adjusted for smaller height */
  left: 5px;
  right: 5px;
  height: 40%;
  border-radius: 20px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.1) 100%);
  filter: blur(1px);
}

@keyframes liquidFlow {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
}

.category-title {
  font-family: var(--font-code);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 700;
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.skill-item {
  position: relative;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-family: var(--font-code);
  color: var(--cyan);
  font-weight: 600;
}

.skill-percent {
  font-family: var(--font-code);
  color: var(--primary);
  font-weight: 600;
}

.skill-bar {
  height: 12px;
  background: var(--bg-darker);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 6px;
  width: 0%;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 107, 157, 0.5);
}

.skill-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: var(--cyan);
  font-family: var(--font-primary);
}

.resume .timeline {
  position: relative;
  margin-top: 2rem;
  padding-left: 2rem;
  /* Space for the timeline line */
}

.resume .timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  /* Position of the vertical line */
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.resume .timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.resume .timeline-marker {
  position: absolute;
  left: -30px;
  /* Position of the marker on the line */
  top: 0rem;
  width: 14px;
  height: 14px;
  background: var(--gradient-1);
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 2px var(--purple);
}

.resume .timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-left: -0.5rem;
  /* Space from the timeline line */
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.resume .timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.resume .timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.resume .timeline-year {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-muted);
  background: var(--bg-hover);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
}

.resume .timeline-content h4 {
  font-family: var(--font-code);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.resume .timeline-content h4 i {
  font-size: 1.5rem;
  color: var(--cyan);
}

.resume .timeline-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.resume .timeline-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.resume .timeline-content ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.resume .timeline-content ul li strong {
  display: inline-block;
  min-width: 180px;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.resume .timeline-content ul li i {
  font-size: 1rem;
  color: var(--cyan);
  margin-right: 0.75rem;
  margin-top: 0.2rem;
}

.resume .timeline-content strong {
  color: var(--purple);
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
  .resume .timeline {
    padding-left: 1.5rem;
  }

  .resume .timeline::before {
    left: 0.25rem;
  }

  .resume .timeline-marker {
    left: -25px;
    width: 12px;
    height: 12px;
    top: -0.5rem;
  }

  .resume .timeline-content {
    margin-left: 0rem;
    padding: 1rem;
  }

  .resume .timeline-content h4 {
    font-size: 1.1rem;
  }

  .resume .timeline-content h4 i {
    font-size: 1.3rem;
  }

  .resume .timeline-content ul li strong {
    min-width: 120px;
  }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  background: #fff;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 1.1rem;
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #149ddd;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  opacity: 1;
  left: 0;
  right: 0;
  bottom: -60px;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
  display: flex;
  justify-content: center;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  font-size: 28px;
  text-align: center;
  background: rgba(20, 157, 221, 0.75);
  transition: 0.3s;
  width: 50%;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  background: rgba(20, 157, 221, 0.95);
}

.portfolio .portfolio-wrap .portfolio-links a+a {
  border-left: 1px solid #37b3ed;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-links {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #149ddd;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #149ddd;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(5, 13, 24, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  align-items: center;
}

.portfolio-details .portfolio-info ul i {
  font-size: 16px;
  margin-right: 10px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 0;
}

.portfolio-details .portfolio-info ul strong {
  margin-right: 5px;
  color: var(--purple);
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.project-link-gradient {
  background: var(--gradient-2);
  margin-left: 7px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-weight: 700;
  border-bottom: 1px solid;
  border-image: var(--gradient-2) 1;
  transition: filter 0.3s ease;
  text-decoration: none !important;
}

.project-link-gradient:hover {
  filter: brightness(1.2);
  -webkit-text-fill-color: transparent;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .centered-paragraphs ul {
  list-style: none;
  padding: 0;
}

.portfolio-details .centered-paragraphs ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.portfolio-details .centered-paragraphs ul i {
  font-size: 16px;
  margin-right: 10px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 6px;
  line-height: 0;
}

.portfolio-details .centered-paragraphs strong {
  color: var(--purple);
  font-weight: 700;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  margin-bottom: 20px;
}

.services .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: var(--gradient-1);
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--gradient-1);
}

.services .icon i {
  color: #fff;
  font-size: 24px;
  line-height: 0;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #149ddd;
}

.services .title {
  margin-left: 80px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .title a {
  color: var(--purple);
}

.services .title a:hover {
  color: #149ddd;
}

.services .description {
  margin-left: 80px;
  line-height: 1.8;
  font-size: 1.1rem;
  font-family: var(--font-primary);
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #c3e8fa;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background: var(--bg-card);
  color: var(--text-primary);
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  font-size: 1.1rem;
  line-height: 1.8;
  font-family: var(--font-primary);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid #fff;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--gradient-1);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--gradient-1);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  padding-bottom: 130px;
}

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all var(--transition);
}

.contact-item {
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.contact-item:hover {
  border-color: var(--primary);
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-1);
  border-radius: 12px;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details {
  flex: 1;
}



.contact-value {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-code);
  display: block;
}

.contact-value:hover {
  color: var(--cyan);
}

.contact .info {
  padding: 10px;
  background: var(--bg-dark);
  border-radius: 12px;
  width: 100%;
}


.contact-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  font-family: var(--font-code);
}


.contact .php-email-form {
  width: 100%;
  padding: 15px;
  background: var(--bg-dark);
  border-radius: 12px;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form .form-group {
  margin-bottom: 15px;
}

.contact .php-email-form label {
  padding-bottom: 8px;
  color: var(--cyan);
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 12px;
  box-shadow: none;
  font-size: 1.1rem;
  font-family: var(--font-primary);
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 15px;
}

.contact .php-email-form button[type=submit] {
  background: var(--gradient-1);
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--purple);
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background: var(--bg-darker);
  position: sticky;
  top: 0;
  z-index: 997;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #0e2442;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 30px 15px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  font-family: var(--font-primary);
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 30px;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #eaebf0;
}

@media (max-width: 1199px) {
  #footer {
    position: static;
    width: auto;
    padding-right: 20px 15px;
  }
}

/*--------------------------------------------------------------
# Centered Paragraphs
--------------------------------------------------------------*/
.centered-paragraphs {
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
}

.centered-paragraphs p {
  margin-bottom: 20px;
  text-align: justify;
}


/*--------------------------------------------------------------
# Footer main
--------------------------------------------------------------*/

.main-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  line-height: 1.6;
}

.footer-copyright {
  color: var(--text-primary);
  font-weight: 600;
}

.footer-divider {
  color: var(--text-muted);
  margin: 0 0.3rem;
}

.footer-built {
  color: var(--text-secondary);
}

.footer-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-by-text {
  color: var(--text-muted);
}

.footer-author-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  transition: all var(--transition-fast);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.footer-author-link:hover {
  color: var(--cyan);
  background: rgba(192, 132, 252, 0.1);
  transform: translateY(-2px);
}

.footer-author-link i {
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 2rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-darker);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
}

.footer-social-link {
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}